/* Site-level additions on top of the purchased theme (style.css stays untouched). */

/* Page titles promoted from <h2> to <h1> (one h1 per page) keep the theme's h2 look. */
h1.page-title {
    font-size: 52px;
    line-height: 1.1em;
    letter-spacing: -.025em;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
@media only screen and (max-width: 992px) {
    h1.page-title { font-size: 40px; }
}

/* Hero-to-content spacing. The hero (#subheader) is itself a <section>, and the theme gives every
   section 120px top and bottom (60px under 992px), so the hero's bottom padding plus the next
   section's top padding left a ~240px empty band below the hero text (2026-10-22). */
@media (min-width: 993px) {
    section#subheader:not([class*=" pb"]) { padding-bottom: 60px; }   /* a hero with its own pbNN class keeps it */
    #subheader + section { padding-top: 50px; }
}
@media (max-width: 992px) {
    section#subheader:not([class*=" pb"]) { padding-bottom: 30px; }
    #subheader + section { padding-top: 30px; }
}

/* Footer newsletter: the theme floats the email field at 80% width beside a 78px arrow, so in any
   column narrower than ~390px the arrow wrapped onto the next line. One flex row instead: the
   arrow keeps its size and the field takes the rest (2026-10-22). */
#form_subscribe .col { display: flex; align-items: stretch; }
#form_subscribe .col input[type=email] { float: none; flex: 1 1 auto; width: auto; min-width: 0; }
#form_subscribe .col #btn-subscribe { flex: 0 0 auto; }
#form_subscribe #btn-subscribe i { float: none; display: block; }
/* Everything after the field + arrow (Turnstile box, status line, noscript note) wraps onto its own full-width line
   below them instead of joining the row and squeezing the field (2026-10-30). */
#form_subscribe .col { flex-wrap: wrap; }
#form_subscribe .col > .clearfix, #form_subscribe .col > .newsletter-turnstile,
#form_subscribe .col > .newsletter-status, #form_subscribe .col > noscript { flex: 0 0 100%; }
#form_subscribe .newsletter-turnstile { margin-top: 12px; }
#form_subscribe .newsletter-status { margin: 8px 0 0; text-align: left; }
#form_subscribe .newsletter-status:empty { display: none; }

/* Cookie consent banner (fleet consent standard; _includes/cookies.php + js/consent.js, 2026-10-24) */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000; padding: 18px 20px;
    background: #16121f; border-top: 1px solid rgba(var(--secondary-color-rgb), .45);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .85); font-size: 15px; }
.cookie-banner[hidden], .cookie-customize[hidden] { display: none; }
.cookie-banner-content { max-width: 1140px; margin: 0 auto; display: flex; align-items: center;
    justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.cookie-banner-text { flex: 1 1 420px; }
.cookie-banner-title { font-size: 18px; margin: 0 0 6px; color: #fff; }
.cookie-banner-text p { margin: 0; line-height: 1.55; }
.cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn { border: 1px solid rgba(var(--secondary-color-rgb), .8); border-radius: 30px; padding: 9px 18px;
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: #fff; }
.cookie-btn:hover, .cookie-btn:focus-visible { background: rgba(var(--secondary-color-rgb), .2); outline: none; }
.cookie-btn-accept { background: var(--primary-color); border-color: var(--primary-color); }
.cookie-btn-accept:hover, .cookie-btn-accept:focus-visible { background: var(--secondary-color); border-color: var(--secondary-color); }
.cookie-customize { max-width: 1140px; margin: 14px auto 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.cookie-category-info { flex: 1; }
.cookie-category-info strong { display: block; color: #fff; }
.cookie-category-info span { font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.cookie-category input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--secondary-color); }
.cookie-customize-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
@media (max-width: 480px) { .cookie-banner-actions { width: 100%; } .cookie-btn { flex: 1; } }

/* "Cookie settings" in the footer link list: a button (it opens the banner), styled like its sibling links */
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-button:hover, .link-button:focus-visible { text-decoration: underline; }

/* Skip link for keyboard users: off-screen until focused (first Tab on every page) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10001; padding: 10px 16px; border-radius: 6px;
    background: var(--primary-color); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

/* Phone menu control is a real <button> (fleet web baseline, 2026-10-31); the theme styles #menu-btn by id, so only
   strip the browser's button chrome. js/menu.js keeps aria-expanded in step with the theme's toggle. */
#menu-btn { background: none; border: 0; border-radius: 0; font: inherit; line-height: 1; color: #fff; }
#menu-btn:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 2px; }
/* The theme only clips the closed phone menu with the header's height, so its links stayed focusable (Tab walked into
   links nobody could see) and counted as visible. Hide them for real until the menu is open. */
header.header-mobile:not(.menu-open) #mainmenu { display: none; }

/* iPhone status-bar haze (2026-11-22, BaselineYourLife's recipe). iPhone Safari 26 ignores theme-color and tints the strip
   under the clock from a solid bar touching the top of the screen. With viewport-fit=cover (head.php) the phone menu bar,
   already fixed at top:0, reaches up under the clock; it gets an opaque fill and safe-area padding so the logo stays below
   the clock. The scrolled desktop/iPad bar is made opaque too (the theme had it at 90%). */
@media (max-width: 992px) {
    header.header-mobile { background: #1e1f22 !important; padding-top: env(safe-area-inset-top, 0px); }
}
header.smaller { background: #1e1f22; }
