/* ============================================================================
   AliothPress Theme: Solar Flare
   
   Concept: The explosive warmth of a solar corona against the void —
   deep ink-blue darkness torn open by molten amber and gold light.
   Bold and energetic, but not screaming. A confident, modern edge
   for brands that want to be noticed.
   Dark mode by default. Light mode via .light-theme class on <html>.
   
   Architecture: ONLY overrides CSS custom properties from core.css.
   Components stay untouched — themes are fully portable.
   ============================================================================ */


@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-cyrillic-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-greek-ext-400-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-greek-400-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-vietnamese-400-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-latin-400-normal.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: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-cyrillic-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-cyrillic-400-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-greek-ext-400-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-greek-400-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-vietnamese-400-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-latin-400-italic.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-cyrillic-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-greek-ext-500-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-greek-500-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-vietnamese-500-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-latin-500-normal.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: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-cyrillic-ext-500-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-cyrillic-500-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-greek-ext-500-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-greek-500-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-vietnamese-500-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-latin-ext-500-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-latin-500-italic.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-cyrillic-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-greek-ext-600-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-greek-600-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-vietnamese-600-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-latin-600-normal.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: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-cyrillic-ext-600-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-cyrillic-600-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-greek-ext-600-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-greek-600-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-vietnamese-600-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-latin-ext-600-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-latin-600-italic.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-cyrillic-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-greek-ext-700-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-greek-700-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-vietnamese-700-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-latin-700-normal.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: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-cyrillic-ext-700-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-cyrillic-700-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-greek-ext-700-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-greek-700-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-vietnamese-700-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-latin-ext-700-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-latin-700-italic.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: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/space-grotesk/space-grotesk-vietnamese-400-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/space-grotesk/space-grotesk-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/space-grotesk/space-grotesk-latin-400-normal.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: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/space-grotesk/space-grotesk-vietnamese-500-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/space-grotesk/space-grotesk-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/space-grotesk/space-grotesk-latin-500-normal.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: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/space-grotesk/space-grotesk-vietnamese-600-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/space-grotesk/space-grotesk-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/space-grotesk/space-grotesk-latin-600-normal.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: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/space-grotesk/space-grotesk-vietnamese-700-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/space-grotesk/space-grotesk-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/space-grotesk/space-grotesk-latin-700-normal.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;
}


/* ============================================================================
   DARK THEME (default)
   ============================================================================ */

:root {
  /* --- Brand: Molten Amber & Warm Gold --- */
  --ap-color-primary:        #e6a535;
  --ap-color-primary-hover:  #f0bb5c;
  --ap-color-primary-light:  rgba(230, 165, 53, 0.14);
  --ap-color-primary-subtle: rgba(230, 165, 53, 0.06);
  
  --ap-color-accent:         #e87e3c;
  --ap-color-accent-hover:   #f09a5e;
  
  /* --- Semantic --- */
  --ap-color-success:  #5cb87a;
  --ap-color-warning:  #e6a535;
  --ap-color-error:    #e05c5c;
  --ap-color-info:     #5ca8d4;
  
  /* --- Surfaces: Deep Ink Blue --- */
  --ap-color-bg:            #0b0e18;
  --ap-color-surface:       #111628;
  --ap-color-surface-alt:   #191f34;
  --ap-color-border:        rgba(230, 200, 140, 0.07);
  --ap-color-border-strong: rgba(230, 200, 140, 0.12);
  
  /* --- Text: Cool Silver on Ink --- */
  --ap-color-text:           #e8d5b8;
  --ap-color-text-secondary: #b09c80;
  --ap-color-text-muted:     #968873;
  --ap-color-text-inverse:   #0b0e18;
  --ap-color-link:           #e6a535;
  --ap-color-link-hover:     #f0bb5c;
  
  --ap-color-white: #ffffff;
  --ap-color-black: #0b0e18;

  /* --- Header: Deep glass --- */
  --ap-header-bg:         rgba(11, 14, 24, 0.88);
  --ap-header-text:       #fef3d9;
  --ap-header-link:       rgba(234, 236, 242, 0.50);
  --ap-header-link-hover: #ffffff;

  /* --- Footer --- */
  --ap-footer-bg:         #070a12;
  --ap-footer-text:       #968873;
  --ap-footer-link:       #b09c80;
  --ap-footer-link-hover: #e6a535;
  --ap-footer-border:     rgba(230, 200, 140, 0.06);
  
  /* --- Typography: Bold & Modern --- */
  --ap-font-heading: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --ap-font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --ap-font-mono:    'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  
  /* --- Shapes: Sharp, assertive --- */
  --ap-radius-sm:  2px;
  --ap-radius-md:  5px;
  --ap-radius-lg:  10px;
  --ap-radius-xl:  14px;
  
  /* --- Shadows: Amber-edged darkness --- */
  --ap-shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.45);
  --ap-shadow-md:  0 4px 14px rgba(0, 0, 0, 0.5);
  --ap-shadow-lg:  0 8px 28px rgba(0, 0, 0, 0.55);
  --ap-shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.65);
  --ap-shadow-glow: 0 0 24px rgba(230, 165, 53, 0.1);
}

/* --- Header glass --- */
.ap-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 200, 140, 0.04);
}

/* --- Headings: bright white with tight tracking --- */
h1, h2, h3, h4, h5, h6 {
  color: #fef3d9;
  letter-spacing: -0.025em;
}

/* --- Prose code blocks --- */
.ap-prose pre {
  background: #0e1120;
  border: 1px solid rgba(230, 200, 140, 0.06);
}

.ap-prose code {
  background: rgba(230, 165, 53, 0.1);
  color: #f0bb5c;
}

/* --- Blockquotes: amber border --- */
.ap-prose blockquote {
  border-left-color: #e6a535;
  background: rgba(230, 165, 53, 0.05);
  color: #b09c80;
}

/* --- Tables --- */
.ap-prose th {
  background: #111628;
  border-bottom-color: rgba(230, 200, 140, 0.09);
}

.ap-prose td {
  border-bottom-color: rgba(230, 200, 140, 0.05);
}

.ap-prose tbody tr:hover {
  background: rgba(230, 165, 53, 0.04);
}

/* --- Post cards --- */
.ap-post-card__title a {
  color: #fef3d9;
}

.ap-post-card__title a:hover {
  color: #e6a535;
}

.ap-post-card {
  border-bottom-color: rgba(230, 200, 140, 0.06);
}

/* --- Article title --- */
.ap-article__title {
  color: #fef3d9;
}

/* --- Language dropdown --- */
.ap-lang__dropdown {
  background: #111628;
  border-color: rgba(230, 200, 140, 0.08);
}

.ap-lang__option {
  color: #e8d5b8;
}

.ap-lang__option:hover {
  background: rgba(230, 165, 53, 0.08);
  color: #fef3d9;
}

.ap-lang__option.is-active {
  color: #e6a535;
  background: rgba(230, 165, 53, 0.12);
}

/* --- Mobile sidebar --- */
.ap-sidebar {
  background: #0e1120;
  border-left: 1px solid rgba(230, 200, 140, 0.05);
}

.ap-sidebar__header {
  border-bottom-color: rgba(230, 200, 140, 0.06);
}

.ap-sidebar__title {
  color: #fef3d9;
}

.ap-sidebar__link {
  color: #e8d5b8;
}

.ap-sidebar__link:hover {
  background: rgba(230, 165, 53, 0.08);
  color: #e6a535;
}

.ap-sidebar__close {
  color: #b09c80;
}

.ap-sidebar__close:hover {
  background: rgba(230, 200, 140, 0.05);
  color: #fef3d9;
}

.ap-sidebar__lang-link {
  color: #b09c80;
  border-color: rgba(230, 200, 140, 0.1);
}

.ap-sidebar__lang-link:hover {
  border-color: #e6a535;
  color: #e6a535;
}

.ap-sidebar__lang-link.is-active {
  background: #e6a535;
  border-color: #e6a535;
  color: #0b0e18;
}

/* --- Social icons --- */
.ap-social-icon {
  background: rgba(230, 200, 140, 0.05);
  color: #b09c80;
}

/* --- Footer nav --- */
.ap-footer__nav {
  border-top-color: rgba(230, 200, 140, 0.06);
}

/* --- Pagination --- */
.ap-pagination a {
  color: #b09c80;
  border-color: rgba(230, 200, 140, 0.1);
}

.ap-pagination a:hover {
  color: #e6a535;
  border-color: #e6a535;
  background: rgba(230, 165, 53, 0.08);
}

/* --- Tags --- */
.ap-tag {
  color: #f0bb5c;
  background: rgba(230, 165, 53, 0.1);
}

.ap-tag:hover {
  background: rgba(230, 165, 53, 0.18);
  color: #f0bb5c;
}

/* --- Buttons --- */
.ap-btn--primary {
  background: #e6a535;
  color: #0b0e18;
}

.ap-btn--primary:hover {
  background: #f0bb5c;
  color: #0b0e18;
}

.ap-btn--outline {
  color: #e6a535;
  border-color: rgba(230, 165, 53, 0.35);
}

.ap-btn--outline:hover {
  background: #e6a535;
  color: #0b0e18;
}

/* --- HR --- */
.ap-prose hr {
  border-top-color: rgba(230, 200, 140, 0.06);
}

/* --- Focus ring --- */
:focus-visible {
  outline: 2px solid #e6a535;
  outline-offset: 2px;
}


/* ============================================================================
   LIGHT THEME — "Solar Day"
   
   Crisp, clean white with warm amber authority. Not pastel, not muted —
   the amber stays bold even on light. Like sunlight on white architecture.
   WCAG contrast ratio ≥ 4.5:1 on all text.
   ============================================================================ */

.light-theme {
  /* --- Surfaces: clean cool white --- */
  --ap-color-bg:            #fefdf9;
  --ap-color-surface:       #faf6ed;
  --ap-color-surface-alt:   #f1ead8;
  --ap-color-border:        #e8dec3;
  --ap-color-border-strong: #d4c69e;
  
  /* --- Text: deep ink for authority --- */
  --ap-color-text:           #2c1a05;
  --ap-color-text-secondary: #5a4020;
  --ap-color-text-muted:     #7a5d2c;
  --ap-color-text-inverse:   #fefdf9;
  
  /* --- Primary: deep amber, not washed out --- */
  --ap-color-primary:        #8b5e0a;
  --ap-color-primary-hover:  #744e08;
  --ap-color-primary-light:  #fdf0d5;
  --ap-color-primary-subtle: #fef8ec;
  --ap-color-link:           #8b5e0a;
  --ap-color-link-hover:     #744e08;
  
  --ap-color-accent:         #c05e1a;
  --ap-color-accent-hover:   #a34e14;
  
  /* --- Header --- */
  --ap-header-bg:         rgba(250, 251, 252, 0.92);
  --ap-header-text:       #2c1a05;
  --ap-header-link:       #5a4020;
  --ap-header-link-hover: #2c1a05;
  
  /* --- Footer --- */
  --ap-footer-bg:         #faf6ed;
  --ap-footer-text:       #7a5d2c;
  --ap-footer-link:       #7a5d2c;
  --ap-footer-link-hover: #2c1a05;
  --ap-footer-border:     #e8dec3;
  
  /* --- Shadows --- */
  --ap-shadow-sm:  0 1px 2px rgba(44, 26, 5, 0.05);
  --ap-shadow-md:  0 4px 6px -1px rgba(44, 26, 5, 0.07), 0 2px 4px -2px rgba(44, 26, 5, 0.04);
  --ap-shadow-lg:  0 10px 15px -3px rgba(44, 26, 5, 0.08), 0 4px 6px -4px rgba(44, 26, 5, 0.04);
  --ap-shadow-xl:  0 20px 25px -5px rgba(44, 26, 5, 0.09), 0 8px 10px -6px rgba(44, 26, 5, 0.04);
}

.light-theme .ap-header {
  border-bottom-color: #e8dec3;
}

.light-theme h1,
.light-theme h2,
.light-theme h3,
.light-theme h4,
.light-theme h5,
.light-theme h6 {
  color: #2c1a05;
}

.light-theme .ap-article__title {
  color: #2c1a05;
}

.light-theme .ap-post-card__title a {
  color: #2c1a05;
}

.light-theme .ap-post-card__title a:hover {
  color: #8b5e0a;
}

.light-theme .ap-post-card {
  border-bottom-color: #e8dec3;
}

.light-theme .ap-prose pre {
  background: #2c1a05;
  border-color: #2c1a05;
}

.light-theme .ap-prose code {
  background: #fef8ec;
  color: #8b5e0a;
}

.light-theme .ap-prose blockquote {
  border-left-color: #8b5e0a;
  background: #fef8ec;
  color: #5a4020;
}

.light-theme .ap-prose th {
  background: #faf6ed;
  border-bottom-color: #e8dec3;
}

.light-theme .ap-prose td {
  border-bottom-color: #e8dec3;
}

.light-theme .ap-prose tbody tr:hover {
  background: #fefdf9;
}

.light-theme .ap-prose hr {
  border-top-color: #e8dec3;
}

.light-theme .ap-lang__trigger {
  color: #5a4020;
  border-color: #e8dec3;
}

.light-theme .ap-lang__trigger:hover {
  color: #2c1a05;
  border-color: #d4c69e;
  background: rgba(44, 26, 5, 0.03);
}

.light-theme .ap-lang__dropdown {
  background: #ffffff;
  border-color: #e8dec3;
}

.light-theme .ap-lang__option {
  color: #5a4020;
}

.light-theme .ap-lang__option:hover {
  background: #faf6ed;
  color: #2c1a05;
}

.light-theme .ap-lang__option.is-active {
  color: #8b5e0a;
  background: #fef8ec;
}

.light-theme .ap-sidebar {
  background: #ffffff;
  border-left-color: #e8dec3;
}

.light-theme .ap-sidebar__header {
  border-bottom-color: #e8dec3;
}

.light-theme .ap-sidebar__title {
  color: #2c1a05;
}

.light-theme .ap-sidebar__link {
  color: #2c1a05;
}

.light-theme .ap-sidebar__link:hover {
  background: #faf6ed;
  color: #8b5e0a;
}

.light-theme .ap-sidebar__close {
  color: #7a5d2c;
}

.light-theme .ap-sidebar__close:hover {
  background: #faf6ed;
  color: #2c1a05;
}

.light-theme .ap-sidebar__lang-link {
  color: #5a4020;
  border-color: #e8dec3;
}

.light-theme .ap-sidebar__lang-link:hover {
  border-color: #8b5e0a;
  color: #8b5e0a;
}

.light-theme .ap-sidebar__lang-link.is-active {
  background: #8b5e0a;
  border-color: #8b5e0a;
  color: #ffffff;
}

.light-theme .ap-social-icon {
  background: #faf6ed;
  color: #7a5d2c;
}

.light-theme .ap-footer__nav {
  border-top-color: #e8dec3;
}

.light-theme .ap-pagination a {
  color: #5a4020;
  border-color: #e8dec3;
}

.light-theme .ap-pagination a:hover {
  color: #8b5e0a;
  border-color: #8b5e0a;
  background: #fef8ec;
}

.light-theme .ap-tag {
  color: #8b5e0a;
  background: #fef8ec;
}

.light-theme .ap-tag:hover {
  background: #fdf0d5;
  color: #8b5e0a;
}

.light-theme .ap-btn--primary {
  background: #8b5e0a;
  color: #ffffff;
}

.light-theme .ap-btn--primary:hover {
  background: #744e08;
  color: #ffffff;
}

.light-theme .ap-btn--outline {
  color: #8b5e0a;
  border-color: #8b5e0a;
}

.light-theme .ap-btn--outline:hover {
  background: #8b5e0a;
  color: #ffffff;
}

.light-theme .ap-hamburger__line {
  background: #2c1a05;
}

.light-theme .ap-hamburger:hover {
  background: rgba(44, 26, 5, 0.05);
}

.light-theme :focus-visible {
  outline-color: #8b5e0a;
}
