/*
Theme Name: Kingdom Council Advisory
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: WordPress theme generated from Kingdom Council Advisory project.
Version: 1.3.7
License: GNU General Public License v2 or later
Text Domain: tmt
*/

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  max-width: 100%;
}
body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; }

/* About section photo: hard-center on mobile (flex + w-full was preventing centering). */
@media (max-width: 1023px) {
  #about .about-photo-column {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  #about .about-photo-reveal,
  #about .about-photo-figure {
    width: 100% !important;
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #about .about-photo-caption {
    text-align: center !important;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #about .about-photo-reveal,
  #about .about-photo-figure {
    max-width: 360px !important;
  }
}

/* WordPress admin bar: offset fixed header on desktop only (783px+). */
@media screen and (min-width: 783px) {
  html.admin-bar #tmt-app header.fixed,
  body.admin-bar #tmt-app header.fixed {
    top: var(--wp-admin--admin-bar--height, 32px) !important;
  }
  html.admin-bar #tmt-app > div.fixed.inset-x-0.top-0,
  body.admin-bar #tmt-app > div.fixed.inset-x-0.top-0 {
    top: var(--wp-admin--admin-bar--height, 32px) !important;
  }
  html.admin-bar,
  body.admin-bar {
    scroll-padding-top: calc(128px + var(--wp-admin--admin-bar--height, 32px));
  }
}
