/* ============================================================
   ME03 — Global CSS v3.2.0
   Global Layout Standard — enforced site-wide
   ============================================================ */

:root {
    --c-black:  #0A0A0A;
    --c-yellow: #FFC500;
    --c-hover:  #E6B000;
    --c-white:  #FFFFFF;
    --c-grey:   #F5F5F5;
    --c-red:    #CC0000;
    --c-sub:    rgba(255,255,255,0.8);
    --f-head:   'Montserrat', sans-serif;
    --f-body:   'Open Sans', sans-serif;
    --max-hero: 860px;
    --max-body: 1100px;
    --t:        0.2s ease;
}

/* ── BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-black);
    background: var(--c-white);
    margin: 0; padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--f-head) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    margin: 0 0 0.75em;
}
p { margin: 0 0 1.1em; }
a { color: var(--c-black); transition: color var(--t); }
a:hover { color: var(--c-hover); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 2px; }

/* ══════════════════════════════════════════════════════
   GLOBAL LAYOUT STANDARD — SECTION SYSTEM
   Every page follows: hero → alternating content sections.
   Enforced here so it applies to ALL pages automatically.
   ══════════════════════════════════════════════════════ */

/* ── HERO SECTION (first alignfull group on every page) ── */
/* Full-width dark block, 80px padding, 860px inner content */
.wp-block-group.alignfull:first-child,
.entry-content > .wp-block-group.alignfull:first-of-type {
    background-color: var(--c-black) !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin: 0 !important;
    width: 100% !important;
}
/* Hero inner group — constrained to 860px, centred */
.wp-block-group.alignfull:first-child > .wp-block-group,
.entry-content > .wp-block-group.alignfull:first-of-type > .wp-block-group {
    max-width: var(--max-hero) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}
/* Hero H1 */
.wp-block-group.alignfull:first-child h1,
.entry-content > .wp-block-group.alignfull:first-of-type h1 {
    color: var(--c-white) !important;
    font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
    font-weight: 900 !important;
    font-family: var(--f-head) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 16px !important;
}
/* Hero subtitle paragraph */
.wp-block-group.alignfull:first-child > .wp-block-group > p,
.wp-block-group.alignfull:first-child > .wp-block-group > .wp-block-paragraph,
.entry-content > .wp-block-group.alignfull:first-of-type > .wp-block-group > p {
    color: var(--c-sub) !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
}

/* ── CONTENT SECTIONS — alternating white / grey ─────── */
/* All alignfull groups after the first get 90px padding */
.wp-block-group.alignfull:not(:first-child) {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin: 0 !important;
    width: 100% !important;
}

/* ── INNER CONTENT CONSTRAINT — 1100px ─────────────────── */
/* Every section's direct child group is the 1100px container */
.wp-block-group.alignfull:not(:first-child) > .wp-block-group {
    max-width: var(--max-body) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* ── NO RAW PAGE TITLES ────────────────────────────────── */
.entry-header,
.page-header,
.page-title,
.entry-title,
.post-title,
header.entry-header,
.page-title-bar,
.page-title-bar-wrap,
.kadence-page-title-wrap,
.wp-block-post-title {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* ── REMOVE HELLO/ELEMENTOR TOP GAP ───────────────────── */
.site-content,
#content,
.site-main,
#main,
#primary,
.entry-content,
.post-content,
article.page,
article.post,
.article-content-wrap,
.entry-content-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.entry-content > *:first-child,
.post-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ── COVER BLOCK FIX ──────────────────────────────────── */
.wp-block-cover,
.wp-block-cover.alignfull,
.wp-block-cover.alignwide {
    min-height: 0 !important;
    height: auto !important;
}

/* ══════════════════════════════════════════════════════
   ELEMENTOR SECTIONS — full-width fix
   Removes the boxed indentation from Elementor Free.
   ══════════════════════════════════════════════════════ */
.elementor-section,
.elementor-top-section,
.e-con,
.e-con.e-parent,
.elementor-section.elementor-section-full_width,
.elementor-section.elementor-section-boxed {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.elementor-section > .elementor-container,
.elementor-section .elementor-container,
.e-con > .e-con-inner,
.e-con-inner {
    max-width: var(--max-body) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.elementor-section.elementor-top-section:first-child,
.e-con.e-parent:first-child {
    margin-top: 0 !important;
}

/* ══════════════════════════════════════════════════════
   ANNOUNCEMENT BAR (#FFC500 — only approved exception)
   ══════════════════════════════════════════════════════ */
#me03-announce {
    background: var(--c-black);
    border-bottom: 2px solid var(--c-yellow);
    padding: 7px 24px;
    text-align: center;
    font-family: var(--f-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-yellow);
    width: 100%;
    box-sizing: border-box;
}
#me03-announce a { color: var(--c-white); text-decoration: underline; }
#me03-announce a:hover { color: var(--c-yellow); text-decoration: none; }

/* ══════════════════════════════════════════════════════
   BUTTONS — brand standard
   ══════════════════════════════════════════════════════ */
.wp-block-button__link,
.elementor-button,
.woocommerce a.button,
.woocommerce button.button,
input[type="submit"],
.wpforms-container .wpforms-submit {
    font-family: var(--f-head) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    background: var(--c-yellow) !important;
    color: var(--c-black) !important;
    border: 2px solid var(--c-yellow) !important;
    border-radius: 4px !important;
    padding: 13px 28px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background var(--t), transform 0.15s !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}
.wp-block-button__link:hover,
.elementor-button:hover,
input[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover {
    background: var(--c-hover) !important;
    border-color: var(--c-hover) !important;
    color: var(--c-black) !important;
    transform: translateY(-1px) !important;
}
/* Outline variant (dark sections) */
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--c-white) !important;
    border-color: rgba(255,255,255,0.45) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: var(--c-white) !important;
}

/* ══════════════════════════════════════════════════════
   INLINE COMPONENTS — cards, stat boxes, quote blocks
   These may use #0A0A0A or #FFC500 as backgrounds
   at the component level only.
   ══════════════════════════════════════════════════════ */

/* Stat tiles — alternating black/yellow */
.me03-stat {
    padding: 36px 24px;
    text-align: center;
}
.me03-stat-num {
    font-family: var(--f-head) !important;
    font-size: 2.8rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em !important;
}
.me03-stat-label {
    font-family: var(--f-head) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

/* Card components */
.me03-card {
    background: var(--c-white);
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 28px 24px;
}
.me03-card-yellow-border { border-top: 4px solid var(--c-yellow); }
.me03-card h3 {
    font-size: 1rem !important;
    font-weight: 900 !important;
    margin-bottom: 10px !important;
}
.me03-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #444;
}

/* Quote block */
.me03-quote {
    border-left: 4px solid var(--c-yellow);
    padding-left: 20px;
}
.me03-quote p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}
.me03-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-yellow);
    font-style: normal;
}

/* Section heading — standard pattern */
.me03-section-label {
    font-family: var(--f-head) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--c-yellow) !important;
    display: block;
    margin-bottom: 12px;
}
.me03-section-heading {
    font-family: var(--f-head) !important;
    font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 12px !important;
}
.me03-section-sub {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════════
   WPFORMS
   ══════════════════════════════════════════════════════ */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container select,
.wpforms-container textarea {
    font-family: var(--f-body) !important;
    border: 2px solid #D0D0D0 !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    width: 100% !important;
    background: var(--c-white) !important;
    transition: border-color var(--t) !important;
}
.wpforms-container input:focus,
.wpforms-container textarea:focus {
    border-color: var(--c-yellow) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255,197,0,0.18) !important;
}
.wpforms-field-label {
    font-family: var(--f-head) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: var(--c-black) !important;
    margin-bottom: 6px !important;
}

/* ══════════════════════════════════════════════════════
   WOOCOMMERCE
   ══════════════════════════════════════════════════════ */
.woocommerce .price {
    color: var(--c-black) !important;
    font-family: var(--f-head) !important;
    font-weight: 700 !important;
}
.woocommerce span.onsale {
    background: var(--c-yellow) !important;
    color: var(--c-black) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--f-head) !important;
    font-weight: 700 !important;
}

/* ══════════════════════════════════════════════════════
   FOOTER — default hidden, replaced by PHP footer
   ══════════════════════════════════════════════════════ */
#site-footer, .site-footer, #colophon { display: none !important; }

/* ══════════════════════════════════════════════════════
   EMERGENCY BANNER
   ══════════════════════════════════════════════════════ */
#me03-emergency-banner {
    background: var(--c-red);
    color: #fff;
    text-align: center;
    padding: 9px 20px;
    font-family: var(--f-body);
    font-size: 13px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10001;
}
#me03-emergency-banner a {
    color: var(--c-yellow);
    text-decoration: none;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .wp-block-group.alignfull:first-child,
    .entry-content > .wp-block-group.alignfull:first-of-type {
        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }
    .wp-block-group.alignfull:first-child h1,
    .entry-content > .wp-block-group.alignfull:first-of-type h1 {
        font-size: 2rem !important;
    }
    .wp-block-group.alignfull:not(:first-child) {
        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }
    .elementor-section > .elementor-container,
    .e-con > .e-con-inner {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .wp-block-button__link,
    .elementor-button {
        width: 100% !important;
        justify-content: center !important;
    }
    .wp-block-columns {
        flex-direction: column !important;
    }
}
@media (max-width: 480px) {
    .wp-block-group.alignfull:first-child h1 {
        font-size: 1.75rem !important;
    }
}
