/*
Theme Name: Autumn's Gate Lite
Description: Lightweight, BitOS-compatible classic theme for Autumn's Gate Main and Market. Native WooCommerce templates and payment-plan hooks remain authoritative.
Version: 0.1.5
Requires at least: 6.6
Requires PHP: 8.0
Author: Autumn's Gate
License: GPL-2.0-or-later
Text Domain: ag-lite
*/
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/bebas-neue-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/poppins-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/poppins-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/poppins-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/poppins-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --agl-ink: #19191A;
    --agl-muted: #4B5563;
    --agl-paper: #FFFFFF;
    --agl-surface: #F3F4F6;
    --agl-line: #D1D5DB;
    --agl-blue: #097EA9;
    --agl-blue-hover: #086587;
    --agl-orange: #E74100;
    --agl-orange-hover: #C63700;
    --agl-green: #8DC63F;
    --agl-focus: #097EA9;
    --agl-radius: 12px;
    --agl-gutter: clamp(16px, 3vw, 36px);
    --agl-body-font: 'Poppins', system-ui, sans-serif;
    --agl-display-font: 'Bebas Neue', 'Arial Narrow', sans-serif;
}

body.ag-lite {
    margin: 0;
    background: var(--agl-paper);
    color: var(--agl-ink);
    font: 400 16px/1.5 var(--agl-body-font);
}
.ag-lite-shell,.ag-lite-shell *,.ag-lite-fallback,.ag-lite-fallback *{box-sizing:border-box}
.ag-lite-shell{width:100%;max-width:1240px;margin-inline:auto;padding:clamp(20px,3vw,44px) var(--agl-gutter);min-width:0;overflow-wrap:anywhere}
.ag-lite-main.ag-lite-front .ag-lite-shell{max-width:none;padding:0}
.ag-lite-shell .entry-content{min-width:0;max-width:100%}
.ag-lite-shell img{max-width:100%;height:auto}
.ag-lite-shell video,.ag-lite-shell iframe{max-width:100%}
.ag-lite-shell :where(h2, h3, h4) {font-family:var(--agl-body-font); line-height:1.25; letter-spacing:normal;}
.ag-lite-shell :where(h2) {font-size:clamp(24px,4vw,32px); font-weight:700;}
.ag-lite-shell :where(h3) {font-size:clamp(20px,3vw,24px); font-weight:600;}
.ag-lite-shell :where(h4) {font-size:20px; font-weight:600;}
.ag-lite-shell :where(h1) {font:400 clamp(32px,5vw,48px)/1.1 var(--agl-display-font); letter-spacing:.04em;}
.ag-lite-shell :where(button, input, select, textarea) {font-family:inherit;}
.ag-lite-shell .page-header{margin:0 0 24px}
.ag-lite-shell .page-header h1{font-size:clamp(32px,5vw,48px);margin:0}
.ag-lite-shell a{color:var(--agl-blue);text-underline-offset:3px}
.ag-lite-shell :where(a,button,input,select,textarea,summary):focus-visible,.ag-lite-fallback :where(a,button):focus-visible{outline:3px solid var(--agl-focus);outline-offset:3px}
.ag-lite-shell .alignwide{max-width:100%}.ag-lite-shell .alignfull{max-width:100%}
.ag-lite-shell .screen-reader-text,.ag-lite-skip:not(:focus){position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ag-lite-skip:focus{position:fixed;top:12px;left:12px;padding:12px 18px;background:white;color:var(--agl-ink);z-index:100000}
.ag-lite-fallback{padding:18px var(--agl-gutter);border-bottom:1px solid var(--agl-line)}.ag-lite-fallback a{color:var(--agl-blue)}
.ag-lite-fallback ul{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0;margin:0}
header.ag-lite-fallback {background:var(--agl-blue); color:#fff; padding:24px var(--agl-gutter);}
header.ag-lite-fallback a {color:#fff;}
header.ag-lite-fallback :focus-visible {outline-color:#fff;}
.ag-lite-fallback .ag-lite-brand {display:inline-block; margin:8px; line-height:0;}
.ag-lite-fallback .ag-lite-brand img {width:clamp(144px,25vw,220px); max-width:100%; height:auto;}
.ag-lite-gateway{max-width:760px;margin:0 auto;padding:clamp(24px,5vw,64px) 0}
.ag-lite-gateway h1{font-size:clamp(32px,6vw,48px);line-height:1.1;margin:10px 0 16px}
.ag-lite-gateway .ag-lite-kicker{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--agl-muted)}
.ag-lite-gateway .ag-lite-intro{font-size:clamp(16px,2.5vw,19px);color:var(--agl-muted);max-width:58ch}
.ag-lite-gateway .ag-lite-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0}
.ag-lite-gateway .ag-lite-tile{display:flex;flex-direction:column;gap:7px;min-height:100px;padding:20px;border:1px solid var(--agl-line);border-radius:var(--agl-radius);text-decoration:none;background:var(--agl-paper)}
.ag-lite-gateway .ag-lite-tile strong{font-size:18px;color:var(--agl-ink)}.ag-lite-gateway .ag-lite-tile span{font-size:14px;color:var(--agl-muted)}
.ag-lite-gateway .ag-lite-tile:hover{border-color:var(--agl-blue);background:var(--agl-surface)}
.ag-lite-gateway .ag-lite-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;color:white;background:var(--agl-orange);border-radius:40px;font-size:20px;font-weight:700;text-decoration:none}
.ag-lite-gateway .ag-lite-note{font-size:14px;color:var(--agl-muted);margin-top:24px}
@media(max-width:700px){
.ag-lite-shell{padding:22px 16px}
.ag-lite-gateway .ag-lite-tiles{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.ag-lite-shell *{transition:none!important;scroll-behavior:auto!important}}

.ag-lite-gateway .ag-lite-primary:hover {background:var(--agl-orange-hover);}

/* The old Halloween page puts its video and offer text in the same row. */
.ag-lite-shell #ag-native-6609 .ag-row:has(> iframe[src*="youtube-nocookie.com"]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 900px) {
    .ag-lite-shell #ag-native-6609 .ag-row:has(> iframe[src*="youtube-nocookie.com"]) {
        grid-template-columns: minmax(0, 1fr);
    }
}
