/*
 * Theme Name:  Nairaseed
 * Theme URI:   https://nairaseed.com
 * Description: Finance & Business Magazine Theme — Nigeria's premier personal finance, investment and business intelligence platform.
 * Author:      Nairaseed Editorial
 * Author URI:  https://nairaseed.com
 * Version:     3.3.0
 * License:     GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: nairaseed
 * Tags:        finance, magazine, blog, news, dark-mode, responsive
 * Requires at least: 6.4
 * Requires PHP: 8.0
 */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --color-green-900: #061A0F;
  --color-green-800: #0C3823;
  --color-green-700: #155C38;
  --color-green-600: #1E7D4E;
  --color-green-500: #27A060;
  --color-green-400: #3EBF79;
  --color-green-300: #7AB897;
  --color-green-200: #B8D9C8;
  --color-green-100: #E8F5EE;
  --color-green-50:  #F3FAF6;

  --color-gold-700:  #8B5A00;
  --color-gold-500:  #C8810A;
  --color-gold-400:  #E09A1A;
  --color-gold-300:  #F0B840;
  --color-gold-200:  #FAD98A;
  --color-gold-100:  #FEF3D7;

  /* Surfaces — light mode */
  --surface-bg:         #FAFAF8;
  --surface-card:       #FFFFFF;
  --surface-elevated:   #FFFFFF;
  --surface-overlay:    rgba(6,26,15,.65);
  --surface-input:      #F4F7F5;
  --surface-header:     #FFFFFF;

  /* Text */
  --text-primary:   #0F1F16;
  --text-secondary: #3D5247;
  --text-muted:     #7A9186;
  --text-inverse:   #FFFFFF;
  --text-link:      #0C3823;
  --text-link-hover:#1E7D4E;

  /* Borders */
  --border:       #E2EDE7;
  --border-light: #EEF5F1;
  --border-dark:  #C5D9CE;

  /* Radii */
  --r-sm: 4px;
  --r:    8px;
  --r-md: 12px;
  --r-btn: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Category colours */
  --cat-personal-finance: #0C3823;
  --cat-investing:        #1A5276;
  --cat-business:         #6E2F8A;
  --cat-immigration:      #C0392B;
  --cat-career:           #D35400;
  --cat-forex:            #117A65;

  /* Spacing (8-pt grid) */
  --s1:  4px;  --s2:  8px;  --s3:  12px; --s4:  16px;
  --s5:  20px; --s6:  24px; --s8:  32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px;

  /* Type scale */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --tx-xs:   .75rem;
  --tx-sm:   .8125rem;
  --tx-base: 1rem;
  --tx-lg:   1.125rem;
  --tx-xl:   1.25rem;
  --tx-2xl:  1.5rem;
  --tx-3xl:  1.875rem;
  --tx-4xl:  2.25rem;

  --lh-tight:  1.25;
  --lh-snug:   1.4;
  --lh-normal: 1.65;
  --lh-loose:  1.8;

  /* Aliases for theme.json, which references these names directly but never defined them */
  --text-base: var(--tx-base);
  --text-md:   var(--tx-base);
  --text-lg:   var(--tx-lg);
  --text-xl:   var(--tx-xl);
  --text-2xl:  var(--tx-2xl);
  --text-3xl:  var(--tx-3xl);
  --text-4xl:  var(--tx-4xl);
  --leading-normal: var(--lh-normal);
  --space-5:   var(--s5);
  --text-link:       var(--color-green-600);
  --text-link-hover: var(--color-gold-500);

  --fw-light:     300;
  --fw-normal:    400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;

  /* Shadows */
  --sh-xs:   0 1px 2px rgba(0,0,0,.04);
  --sh-sm:   0 1px 4px rgba(0,0,0,.07);
  --sh-md:   0 4px 12px rgba(0,0,0,.08);
  --sh-lg:   0 8px 24px rgba(0,0,0,.10);
  --sh-xl:   0 16px 48px rgba(0,0,0,.14);
  --sh-card: 0 2px 8px rgba(12,56,35,.06), 0 0 0 1px rgba(12,56,35,.04);
  --sh-card-hover: 0 8px 24px rgba(12,56,35,.13), 0 0 0 1px rgba(12,56,35,.07);
  --sh-header: 0 2px 16px rgba(0,0,0,.08);

  /* Motion */
  --ease-fast: 150ms ease;
  --ease-base: 220ms ease;
  --ease-slow: 350ms cubic-bezier(.4,0,.2,1);

  /* Layout */
  --max-w:        1400px;
  --sidebar-w:    320px;
  --header-h:     68px;
  --px:           clamp(16px, 4vw, 40px);
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { font-family: var(--font-sans); font-size: var(--tx-base); font-weight: var(--fw-light); line-height: var(--lh-normal); color: var(--text-primary); background: var(--surface-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: var(--fw-semibold); line-height: var(--lh-tight); color: var(--text-primary); }
:focus-visible { outline: 2px solid var(--color-green-500); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ============================================================
   3. LAYOUT
   ============================================================ */
#page { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; padding: var(--s12) 0; }
/* Category/tag/author archives and static Pages: hero band should sit flush under the nav, no gap */
.archive .site-main,
.page .site-main { padding-top: 0; }

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--s10);
  align-items: start;
}
.primary-content { min-width: 0; }

/* ============================================================
   4. ACCESSIBILITY
   ============================================================ */
.skip-link { position: absolute; top: -100%; left: var(--s4); z-index: 9999; padding: var(--s3) var(--s5); background: var(--color-green-800); color: #fff; font-weight: var(--fw-semibold); border-radius: 0 0 var(--r) var(--r); transition: top var(--ease-fast); }
.skip-link:focus { top: 0; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

/* ============================================================
   5. ENTRY CONTENT (single post body)
   ============================================================ */
.entry-content { font-size: var(--tx-base); line-height: var(--lh-loose); font-weight: var(--fw-light); }
.entry-content > * + * { margin-top: 1.5em; }
.entry-content h2 { font-family: var(--font-serif); font-size: var(--tx-2xl); font-weight: 600; margin-top: 2em; }
.entry-content h3 { font-family: var(--font-serif); font-size: var(--tx-xl);  font-weight: 600; margin-top: 1.75em; }
.entry-content h4 { font-size: var(--tx-lg);  font-weight: var(--fw-medium);   margin-top: 1.5em; }
.entry-content a  { color: var(--color-green-600); border-bottom: 1px solid var(--color-green-300); }
.entry-content a:hover { border-color: var(--color-green-600); }
.entry-content ul  { list-style: disc;    padding-left: 1.5em; }
.entry-content ol  { list-style: decimal; padding-left: 1.5em; }
.entry-content li  { margin-bottom: .4em; }
.entry-content blockquote { border-left: 4px solid var(--color-gold-400); padding: var(--s5) var(--s6); background: var(--color-gold-100); border-radius: 0 var(--r) var(--r) 0; font-style: italic; font-size: var(--tx-xl); color: var(--text-secondary); }
.entry-content blockquote p { margin: 0; }
.entry-content code { font-family: var(--font-mono); font-size: .875em; background: var(--color-green-100); color: var(--color-green-800); padding: 2px 6px; border-radius: var(--r-sm); }
.entry-content pre  { background: var(--color-green-900); color: var(--color-green-200); padding: var(--s6); border-radius: var(--r); overflow-x: auto; }
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: var(--s3) var(--s4); border: 1px solid var(--border); text-align: left; }
.entry-content th { background: var(--color-green-50); font-weight: var(--fw-semibold); }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-size: var(--tx-sm); color: var(--text-muted); text-align: center; margin-top: var(--s2); }
.entry-content hr { border: none; border-top: 2px solid var(--border); margin: 2.5em 0; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: var(--s2); padding: 10px 22px; font-size: var(--tx-sm); font-weight: var(--fw-semibold); border-radius: var(--r-btn); border: 2px solid transparent; transition: background var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast), box-shadow var(--ease-fast), transform var(--ease-fast); white-space: nowrap; cursor: pointer; letter-spacing: .02em; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--color-green-800); color: #fff; border-color: var(--color-green-800); }
.btn--primary:hover { background: var(--color-green-700); border-color: var(--color-green-700); color: #fff; box-shadow: var(--sh-md); }
.btn--subscribe { background: var(--color-gold-400); color: var(--color-green-900); border-color: var(--color-gold-400); font-weight: var(--fw-bold); }
.btn--subscribe:hover { background: var(--color-gold-300); border-color: var(--color-gold-300); color: var(--color-green-900); }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   7. TRENDING BAR
   ============================================================ */
.trending-bar { background: var(--color-green-900); font-size: var(--tx-xs); overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.07); }
.trending-bar .container { display: flex; align-items: center; gap: var(--s4); height: 36px; overflow: hidden; }
.trending-bar__label { display: flex; align-items: center; gap: var(--s1); color: var(--color-gold-300); font-weight: var(--fw-semibold); white-space: nowrap; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; flex-shrink: 0; padding-right: var(--s3); border-right: 1px solid rgba(255,255,255,.12); }
.trending-bar__ticker { flex: 1; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent); }
.trending-bar__inner { display: flex; gap: var(--s8); white-space: nowrap; animation: ticker-scroll 40s linear infinite; }
.trending-bar__inner a { color: var(--color-green-200); transition: color var(--ease-fast); flex-shrink: 0; font-size: var(--tx-xs); }
.trending-bar__inner a:hover { color: var(--color-gold-300); }
.trending-bar__inner a::before { content: '•'; color: var(--color-green-500); margin-right: var(--s3); }
.trending-bar__ticker:hover .trending-bar__inner { animation-play-state: paused; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   8. FOREX BAR
   ============================================================ */
.forex-bar { background: var(--color-green-800); font-size: var(--tx-xs); border-bottom: 1px solid rgba(255,255,255,.08); }
.forex-bar .container { display: flex; align-items: center; gap: var(--s4); height: 34px; overflow: hidden; }
.forex-bar__label { display: flex; align-items: center; gap: var(--s1); color: var(--color-gold-200); font-weight: var(--fw-semibold); white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; flex-shrink: 0; padding-right: var(--s3); border-right: 1px solid rgba(255,255,255,.15); }
.forex-bar__rates { display: flex; align-items: center; gap: var(--s5); flex: 1; overflow: hidden; }
.forex-rate { display: flex; align-items: center; gap: var(--s1); white-space: nowrap; }
.forex-rate__cur { color: var(--color-green-300); font-size: 10px; }
.forex-rate__val { color: var(--color-green-50); font-weight: var(--fw-semibold); }
.forex-bar__updated { color: var(--color-green-400); font-size: 10px; margin-left: auto; white-space: nowrap; }
.forex-bar__cta { color: var(--color-gold-300); font-size: 10px; font-weight: var(--fw-semibold); white-space: nowrap; flex-shrink: 0; border-left: 1px solid rgba(255,255,255,.12); padding-left: var(--s3); }
.forex-bar__cta:hover { color: var(--color-gold-200); }
.forex-bar__loading { color: var(--color-green-400); }

/* ============================================================
   9. STICKY SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface-header);
  border-bottom: 1px solid var(--border-light);
  box-shadow: none;
  transition: box-shadow var(--ease-base), background var(--ease-base);
  will-change: box-shadow;
}
/* Shadow appears once user scrolls past the fold */
.site-header.is-scrolled {
  box-shadow: var(--sh-header);
}
/* Container inside header carries the flex height */
.site-header .container {
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  width: 100%;
  height: 100%;
}
.site-header__actions { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }

/* Logo */
.site-logo { display: flex; align-items: center; gap: var(--s3); text-decoration: none; flex-shrink: 0; }
.site-logo__img-dark,
.site-logo__img-light { height: 38px; width: auto; max-width: 155px; object-fit: contain; display: block; }
.site-logo__img-dark  { display: block; }
.site-logo__img-light { display: none;  }
[data-theme="dark"] .site-logo__img-dark  { display: none;  }
[data-theme="dark"] .site-logo__img-light { display: block; }

/* Header icon buttons */
.header-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--r); color: var(--text-secondary); transition: background var(--ease-fast), color var(--ease-fast); }
.header-btn:hover { background: var(--color-green-50); color: var(--color-green-800); }
.header-btn--menu { display: none; }

/* Hamburger → X animation */
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.hamburger span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--ease-base), opacity var(--ease-fast), width var(--ease-base); transform-origin: center; }
[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; width: 0; }
[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dark mode icons */
[data-theme="light"] .theme-icon--moon { display: none; }
[data-theme="dark"]  .theme-icon--sun  { display: none; }

/* ============================================================
   10. SEARCH — desktop dropdown / mobile full-screen
   ============================================================ */
/* Desktop: slides down from header */
.header-search {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 190;
  background: var(--surface-header);
  border-bottom: 2px solid var(--color-green-600);
  box-shadow: var(--sh-md);
  padding: var(--s4) 0;
}
.header-search.is-open { display: block; }

/* Mobile: full-screen overlay */
@media (max-width: 768px) {
  .header-search {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: flex-start;
    padding-top: calc(var(--header-h) + var(--s6));
    background: rgba(6,26,15,.97);
    border-bottom: none;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease-base);
    z-index: 400;
  }
  .header-search.is-open {
    display: flex;
    opacity: 1;
    pointer-events: all;
  }
  .header-search__form { gap: var(--s2); }
  .header-search__input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; height: 52px; font-size: var(--tx-lg); }
  .header-search__input::placeholder { color: rgba(255,255,255,.5); }
  .header-search__input:focus { border-color: var(--color-gold-400); background: rgba(255,255,255,.15); }
  .header-search__submit,
  .header-search__close { color: rgba(255,255,255,.8); }
  .header-search__submit:hover,
  .header-search__close:hover { background: rgba(255,255,255,.1); color: #fff; }
}

.header-search__form { display: flex; align-items: center; gap: var(--s3); }
.header-search__input { flex: 1; height: 48px; padding: 0 var(--s5); border: 2px solid var(--border-dark); border-radius: var(--r-full); background: var(--surface-input); color: var(--text-primary); font-size: var(--tx-base); transition: border-color var(--ease-fast); }
.header-search__input:focus { outline: none; border-color: var(--color-green-600); }
.header-search__submit,
.header-search__close { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r-full); color: var(--text-secondary); transition: background var(--ease-fast), color var(--ease-fast); }
.header-search__submit:hover,
.header-search__close:hover { background: var(--color-green-50); color: var(--color-green-800); }

@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 40%{transform:translateX(6px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(4px)} }
.header-search__input.shake { animation: shake .4s ease; }

/* ============================================================
   11. PRIMARY NAV (desktop)
   ============================================================ */
.primary-nav { display: flex; flex: 1; min-width: 0; overflow: hidden; }
.primary-nav__list { display: flex; align-items: center; gap: var(--s1); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.primary-nav__list::-webkit-scrollbar { display: none; }
.primary-nav__list .menu-item { position: relative; flex-shrink: 0; }
.primary-nav__list .menu-item > a { display: flex; align-items: center; padding: var(--s2) var(--s3); border-radius: var(--r); font-size: var(--tx-sm); font-weight: var(--fw-medium); color: var(--text-secondary); white-space: nowrap; transition: background var(--ease-fast), color var(--ease-fast); }
.primary-nav__list .menu-item > a:hover,
.primary-nav__list .current-menu-item > a,
.primary-nav__list .current-menu-ancestor > a { background: var(--color-green-50); color: var(--color-green-800); }
/* Dropdown */
.primary-nav__list .sub-menu { position: absolute; top: calc(100% + var(--s2)); left: 0; min-width: 200px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: var(--s2); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--ease-base), transform var(--ease-base), visibility var(--ease-base); z-index: 100; }
.primary-nav__list .menu-item:hover > .sub-menu,
.primary-nav__list .menu-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav__list .sub-menu .menu-item > a { display: block; padding: var(--s2) var(--s3); border-radius: var(--r-sm); font-size: var(--tx-sm); color: var(--text-secondary); }
.primary-nav__list .sub-menu .menu-item > a:hover { background: var(--color-green-50); color: var(--color-green-800); }

/* ============================================================
   12. MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 90vw); background: var(--surface-card); z-index: 500; display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--ease-slow); box-shadow: var(--sh-xl); overflow-y: auto; overflow-x: hidden; }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__overlay { position: fixed; inset: 0; background: var(--surface-overlay); z-index: 490; opacity: 0; pointer-events: none; transition: opacity var(--ease-slow); }
.mobile-nav__overlay.is-active { opacity: 1; pointer-events: all; }
.mobile-nav__header { display: flex; align-items: center; justify-content: space-between; padding: var(--s5) var(--s6); border-bottom: 1px solid var(--border-light); flex-shrink: 0; }
.mobile-nav__logo-img { height: 32px; width: auto; max-width: 130px; object-fit: contain; }
.mobile-nav__close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r); color: var(--text-secondary); }
.mobile-nav__close:hover { background: var(--color-green-50); }
.mobile-nav__list { flex: 1; padding: var(--s2) var(--s3); overflow-y: auto; }
.mobile-nav__list .menu-item > a { display: block; padding: var(--s4); border-radius: var(--r); font-size: var(--tx-base); font-weight: var(--fw-medium); color: var(--text-primary); border-bottom: 1px solid var(--border-light); transition: background var(--ease-fast), color var(--ease-fast); }
.mobile-nav__list .menu-item:last-child > a { border-bottom: none; }
.mobile-nav__list .menu-item > a:hover { background: var(--color-green-50); color: var(--color-green-800); }
.mobile-nav__list .sub-menu { padding-left: var(--s4); }
.mobile-nav__list .sub-menu .menu-item > a { font-size: var(--tx-sm); border-bottom: none; padding: var(--s3) var(--s4); }
.mobile-nav__footer { padding: var(--s5) var(--s6); border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: var(--s3); flex-shrink: 0; }
.mobile-nav__search { width: 100%; height: 44px; padding: 0 var(--s4); border: 2px solid var(--border); border-radius: var(--r-full); background: var(--surface-input); color: var(--text-primary); font-size: var(--tx-base); box-sizing: border-box; }
.mobile-nav__search:focus { outline: none; border-color: var(--color-green-600); }

/* ============================================================
   13. HERO CAROUSEL
   ============================================================ */
.hero-section { padding: var(--s6) 0 var(--s8); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: var(--s4); height: 480px; }
.hero-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--color-green-900); }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity var(--ease-slow); }
.hero-slide.is-active { opacity: 1; pointer-events: all; }
.hero-slide__image { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__image--blank { background: linear-gradient(135deg, var(--color-green-800), var(--color-green-600)); }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,26,15,.93) 0%, rgba(6,26,15,.4) 55%, transparent 100%); }
.hero-slide__content { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--s8); display: flex; flex-direction: column; gap: var(--s3); }
.hero-slide__title { font-family: var(--font-serif); font-size: clamp(var(--tx-2xl), 3vw, var(--tx-4xl)); font-weight: 600; line-height: var(--lh-tight); color: #fff; letter-spacing: -.01em; }
.hero-slide__title a { color: inherit; }
.hero-slide__title a:hover { color: var(--color-gold-200); }
.hero-slide__excerpt { font-size: var(--tx-base); color: rgba(255,255,255,.8); line-height: var(--lh-snug); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-slide__meta { display: flex; align-items: center; gap: var(--s2); font-size: var(--tx-xs); color: rgba(255,255,255,.65); font-weight: var(--fw-medium); }
.cat-badge--hero { background: var(--color-gold-500); color: var(--color-green-900); font-size: 10px; padding: 3px 10px; align-self: flex-start; border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .06em; font-weight: var(--fw-bold); }
/* Controls */
.hero-controls { position: absolute; bottom: var(--s6); right: var(--s6); display: flex; align-items: center; gap: var(--s3); }
.hero-controls__arrow { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-full); background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(4px); transition: background var(--ease-fast); }
.hero-controls__arrow:hover { background: rgba(255,255,255,.3); }
.hero-dots { display: flex; gap: var(--s2); }
.hero-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: rgba(255,255,255,.35); transition: background var(--ease-fast), width var(--ease-fast); }
.hero-dot.is-active { background: var(--color-gold-400); width: 20px; }
/* Stack */
.hero-stack { display: flex; flex-direction: column; gap: var(--s3); }
.hero-stack__item { display: flex; align-items: flex-start; gap: var(--s3); background: var(--surface-card); padding: var(--s4); border-radius: var(--r); border: 1px solid var(--border-light); transition: border-color var(--ease-fast), box-shadow var(--ease-fast); flex: 1; cursor: pointer; }
.hero-stack__item.is-active { border-color: var(--color-green-400); }
.hero-stack__item:hover { border-color: var(--color-green-300); box-shadow: var(--sh-sm); }
.hero-stack__thumb { width: 80px; height: 56px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; }
.hero-stack__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s1); }
.hero-stack__cat { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-green-600); font-weight: var(--fw-semibold); }
.hero-stack__title { font-size: var(--tx-sm); font-weight: var(--fw-medium); line-height: var(--lh-snug); color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-stack__title a { color: inherit; }
.hero-stack__title a:hover { color: var(--color-green-700); }
.hero-stack__meta { font-size: var(--tx-xs); color: var(--text-muted); }

/* ============================================================
   14. SECTION HEADERS
   ============================================================ */
.content-section { margin-bottom: var(--s12); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s6); padding-bottom: var(--s4); border-bottom: 2px solid var(--color-green-800); }
.section-header__title { font-family: var(--font-serif); font-size: var(--tx-xl); font-weight: 600; color: var(--color-green-800); display: flex; align-items: center; gap: var(--s2); }
.section-header__icon { width: 20px; height: 20px; color: var(--color-gold-500); flex-shrink: 0; }
.section-header__icon svg { width: 100%; height: 100%; }
.section-header__link { font-size: var(--tx-sm); font-weight: var(--fw-semibold); color: var(--color-green-700); }
.section-header__link:hover { color: var(--color-green-500); }

/* ============================================================
   15. POST CARDS — unified component
   ============================================================ */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: border-color var(--ease-base), box-shadow var(--ease-base);
}
.post-card:hover { border-color: var(--color-green-300); box-shadow: var(--sh-sm); }

/* Thumbnail */
.post-card__thumb-link { display: block; overflow: hidden; flex-shrink: 0; }
.post-card__thumb-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.post-card__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease-slow); }
.post-card:hover .post-card__thumb { transform: scale(1.04); }
.post-card__breaking-label { position: absolute; top: var(--s3); left: var(--s3); background: #E53E3E; color: #fff; font-size: 10px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: var(--r-full); }

/* Body */
.post-card__body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); flex: 1; min-width: 0; }
.post-card__top { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.post-card__title { font-size: var(--tx-base); font-weight: var(--fw-semibold); line-height: var(--lh-snug); color: var(--text-primary); }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--color-green-700); }
.post-card__excerpt { font-size: var(--tx-sm); color: var(--text-secondary); line-height: var(--lh-normal); font-weight: var(--fw-light); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__footer { display: flex; align-items: center; gap: var(--s3); margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--border-light); flex-wrap: wrap; }
.post-card__views { display: flex; align-items: center; gap: var(--s1); font-size: var(--tx-xs); color: var(--text-muted); margin-left: auto; }

/* Badges */
.post-card__badge { font-size: 10px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: var(--r-full); background: var(--color-green-100); color: var(--color-green-800); }
.post-card__badge--guide     { background: #EBF5FB; color: #1A5276; }
.post-card__badge--analysis  { background: #F4ECF7; color: #6E2F8A; }
.post-card__badge--interview { background: #FEF9E7; color: #7D6608; }
.post-card__badge--sponsored { background: #FDF2F8; color: #8E44AD; }
.post-card__badge--opinion   { background: #FDEDEC; color: #C0392B; }
.post-card__affiliate { font-size: 10px; color: var(--color-gold-700); background: var(--color-gold-100); border-radius: var(--r-full); padding: 2px 8px; font-weight: var(--fw-medium); }

/* Read time: only on single post, never on cards */
.post-card .post-meta__read-time,
.post-card .post-meta__dot:last-of-type { display: none; }

/* SIZE variants */
.post-card--large .post-card__title { font-family: var(--font-serif); font-size: var(--tx-xl); font-weight: 600; }
.post-card--large .post-card__thumb-wrap { aspect-ratio: 16/9; }

/* ============================================================
   16. MAGAZINE LAYOUT — fixed
   ============================================================ */
.posts-grid--magazine {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}
/* First card: full-width horizontal with image filling full height */
.posts-grid--magazine .post-card:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 300px;
}
.posts-grid--magazine .post-card:first-child .post-card__thumb-link {
  width: 45%;
  flex-shrink: 0;
  align-self: stretch;
}
.posts-grid--magazine .post-card:first-child .post-card__thumb-wrap {
  height: 100%;
  aspect-ratio: unset;
}
.posts-grid--magazine .post-card:first-child .post-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.posts-grid--magazine .post-card:first-child .post-card__body {
  padding: var(--s8);
  justify-content: center;
}
.posts-grid--magazine .post-card:first-child .post-card__title {
  font-family: var(--font-serif);
  font-size: var(--tx-2xl);
  font-weight: 600;
}
.posts-grid--magazine .post-card:first-child .post-card__excerpt {
  -webkit-line-clamp: 4;
}

/* ============================================================
   17. POSTS GRIDS
   ============================================================ */
.posts-grid { display: grid; gap: var(--s6); }
.posts-grid--2col { grid-template-columns: repeat(2, 1fr); }
/* "3col" class now renders 2-col on desktop as requested */
.posts-grid--3col { grid-template-columns: repeat(2, 1fr); }

/* ============================================================
   18. CATEGORY BADGES
   ============================================================ */
.cat-badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: var(--r-full); background: var(--color-green-100); color: var(--color-green-800); white-space: nowrap; transition: background var(--ease-fast); }
.cat-badge:hover { background: var(--color-green-200); }
.cat-badge--personal-finance { background: #E8F5EE; color: var(--cat-personal-finance); }
.cat-badge--investing        { background: #EBF5FB; color: var(--cat-investing); }
.cat-badge--business         { background: #F4ECF7; color: var(--cat-business); }
.cat-badge--immigration      { background: #FDEDEC; color: var(--cat-immigration); }
.cat-badge--career           { background: #FEF5E7; color: var(--cat-career); }
.cat-badge--forex            { background: #E8F8F5; color: var(--cat-forex); }

/* ============================================================
   19. POST META
   ============================================================ */
.post-meta { display: flex; align-items: center; gap: var(--s2); font-size: var(--tx-xs); color: var(--text-muted); font-weight: var(--fw-normal); }
.post-meta__avatar { width: 22px; height: 22px; border-radius: var(--r-full); object-fit: cover; }
.post-meta__author { font-weight: var(--fw-medium); color: var(--text-secondary); }
.post-meta__dot { opacity: .4; }

/* ============================================================
   20. SINGLE ARTICLE
   ============================================================ */
.single-article { max-width: 780px; }
.single-article__top { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s4); flex-wrap: wrap; }
.single-article__affiliate-notice { font-size: var(--tx-xs); color: var(--color-gold-700); background: var(--color-gold-100); padding: 2px 8px; border-radius: var(--r-full); }
.single-article__title { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--text-primary); margin-bottom: var(--s6); }
.single-article__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s6); border-bottom: 1px solid var(--border); margin-bottom: var(--s6); flex-wrap: wrap; }
.single-article__author { display: flex; align-items: center; gap: var(--s3); }
.single-article__avatar { width: 40px; height: 40px; border-radius: var(--r-full); object-fit: cover; }
.single-article__author-name { font-weight: var(--fw-semibold); color: var(--text-primary); font-size: var(--tx-sm); display: block; }
.single-article__author-sub { font-size: var(--tx-xs); color: var(--text-muted); display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s1); }
.single-article__share-top { flex-shrink: 0; }
.single-article__share-bottom { margin-bottom: var(--s8); }
.single-article__gnews { margin-bottom: var(--s6); }
.single-article__hero { margin-bottom: var(--s8); border-radius: var(--r-md); overflow: hidden; }
.single-article__hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.single-article__hero-caption { font-size: var(--tx-xs); color: var(--text-muted); text-align: center; padding: var(--s2) var(--s4); background: var(--surface-input); }
.single-article__content { margin-bottom: var(--s10); }
.single-article__tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s8); }
.tag-pill { font-size: var(--tx-xs); color: var(--text-secondary); border: 1px solid var(--border-dark); border-radius: var(--r-full); padding: 4px 12px; transition: background var(--ease-fast), color var(--ease-fast); }
.tag-pill:hover { background: var(--color-green-800); color: #fff; border-color: var(--color-green-800); }
.page-links { display: flex; align-items: center; gap: var(--s2); margin: var(--s8) 0; font-size: var(--tx-sm); }
.page-links a, .page-links span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--r); border: 1px solid var(--border); font-size: var(--tx-sm); }
.page-links a:hover { background: var(--color-green-800); color: #fff; border-color: var(--color-green-800); }

/* ============================================================
   21. RELATED POSTS / AUTHOR BOX / SOCIAL SHARE
   ============================================================ */
.related-posts { padding-top: var(--s10); border-top: 2px solid var(--border); margin-top: var(--s10); }
.related-posts__heading { font-size: var(--tx-2xl); font-weight: var(--fw-bold); margin-bottom: var(--s6); color: var(--color-green-800); }
.related-posts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }

.author-box { display: flex; gap: var(--s5); background: var(--color-green-50); border: 1px solid var(--color-green-200); border-radius: var(--r-md); padding: var(--s6); margin: var(--s10) 0; }
.author-box__avatar { width: 64px; height: 64px; border-radius: var(--r-full); object-fit: cover; flex-shrink: 0; }
.author-box__content { flex: 1; min-width: 0; }
.author-box__header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.author-box__byline { font-size: var(--tx-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s1); }
.author-box__name { font-size: var(--tx-lg); font-weight: var(--fw-semibold); color: var(--color-green-800); }
.author-box__socials { display: flex; gap: var(--s2); }
.author-box__socials a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: var(--r); color: var(--text-muted); transition: background var(--ease-fast), color var(--ease-fast); }
.author-box__socials a:hover { background: var(--color-green-200); color: var(--color-green-800); }
.author-box__bio { font-size: var(--tx-sm); color: var(--text-secondary); line-height: var(--lh-normal); margin-bottom: var(--s3); font-weight: var(--fw-light); }
.author-box__link { font-size: var(--tx-sm); font-weight: var(--fw-semibold); color: var(--color-green-700); }

.social-share { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.social-share__label { font-size: var(--tx-xs); font-weight: var(--fw-semibold); color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.social-share__btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--r); border: 1px solid var(--border-dark); color: var(--text-secondary); transition: background var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast); }
.social-share__btn:hover { border-color: transparent; color: #fff; }
.social-share__btn--twitter:hover  { background: #000; }
.social-share__btn--facebook:hover { background: #1877F2; }
.social-share__btn--whatsapp:hover { background: #25D366; }
.social-share__btn--linkedin:hover { background: #0077B5; }
.social-share__btn--copy:hover     { background: var(--color-green-800); }

/* ============================================================
   22. ARCHIVE HEADER
   ============================================================ */
.archive-header { background: linear-gradient(135deg, var(--color-green-800), var(--color-green-700)); color: #fff; padding: var(--s12) 0 var(--s10); margin-bottom: var(--s10); }
.archive-header__inner { display: flex; align-items: center; gap: var(--s6); }
.archive-header__icon { width: 40px; height: 40px; color: var(--color-gold-400); flex-shrink: 0; }
.archive-header__icon svg { width: 100%; height: 100%; }
.archive-header__author-avatar { width: 80px; height: 80px; border-radius: var(--r-full); border: 3px solid rgba(255,255,255,.3); flex-shrink: 0; }
.archive-header__title { font-family: var(--font-serif); font-size: clamp(var(--tx-2xl), 4vw, var(--tx-4xl)); font-weight: 600; line-height: var(--lh-tight); color: #fff; margin-bottom: var(--s2); }
.archive-header__title mark { background: none; color: var(--color-gold-300); }
.archive-header__description { font-size: var(--tx-base); color: rgba(255,255,255,.8); line-height: var(--lh-normal); max-width: 60ch; margin-bottom: var(--s3); font-weight: var(--fw-light); }
.archive-header__count { font-size: var(--tx-sm); color: rgba(255,255,255,.55); }
.archive-search-form { display: flex; gap: var(--s2); margin-top: var(--s4); flex-wrap: wrap; }
.archive-search-form input { height: 44px; padding: 0 var(--s4); border: 2px solid rgba(255,255,255,.3); border-radius: var(--r-full); background: rgba(255,255,255,.1); color: #fff; font-size: var(--tx-sm); flex: 1; min-width: 220px; }
.archive-search-form input::placeholder { color: rgba(255,255,255,.5); }
.archive-search-form input:focus { outline: none; border-color: rgba(255,255,255,.7); }
.archive-search-form button { height: 44px; padding: 0 var(--s5); background: var(--color-gold-400); color: var(--color-green-900); border-radius: var(--r-full); font-size: var(--tx-sm); font-weight: var(--fw-bold); white-space: nowrap; }
.archive-search-form button:hover { background: var(--color-gold-300); }

/* ============================================================
   23. PAGINATION
   ============================================================ */
.pagination { margin-top: var(--s10); display: flex; justify-content: center; }
.pagination .page-numbers { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers a,
.pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 var(--s3); border: 1px solid var(--border-dark); border-radius: var(--r); font-size: var(--tx-sm); font-weight: var(--fw-medium); color: var(--text-secondary); transition: background var(--ease-fast), color var(--ease-fast); }
.pagination .page-numbers a:hover { background: var(--color-green-800); color: #fff; border-color: var(--color-green-800); }
.pagination .page-numbers .current { background: var(--color-green-800); color: #fff; border-color: var(--color-green-800); }
.pagination .page-numbers .dots { border: none; color: var(--text-muted); }
.comments-pagination { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s6); }
.comments-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border: 1px solid var(--border-dark); border-radius: var(--r); font-size: var(--tx-sm); color: var(--text-secondary); transition: background var(--ease-fast); }
.comments-pagination .page-numbers:hover,
.comments-pagination .page-numbers.current { background: var(--color-green-800); color: #fff; border-color: var(--color-green-800); }

/* ============================================================
   24. SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--s6));
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  max-height: calc(100vh - var(--header-h) - var(--s12));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-dark) transparent;
}
.sidebar-widget { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--r-md); overflow: hidden; }
.sidebar-widget__title { display: flex; align-items: center; gap: var(--s2); font-size: var(--tx-sm); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; color: var(--color-green-800); padding: var(--s4) var(--s5); border-bottom: 2px solid var(--color-green-800); background: var(--color-green-50); }
.widget { padding: var(--s5); }
.widget-title { font-size: var(--tx-sm); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; color: var(--color-green-800); margin-bottom: var(--s4); padding-bottom: var(--s3); border-bottom: 2px solid var(--color-green-800); }

/* ============================================================
   25. TRENDING WIDGET
   ============================================================ */
.trending-item { display: flex; align-items: flex-start; gap: var(--s4); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--border-light); transition: background var(--ease-fast); }
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: var(--color-green-50); }
.trending-item__rank { font-size: var(--tx-xl); font-weight: var(--fw-bold); color: var(--color-green-200); line-height: 1; flex-shrink: 0; width: 28px; font-variant-numeric: tabular-nums; }
.trending-item:first-child .trending-item__rank { color: var(--color-gold-400); }
.trending-item:nth-child(2) .trending-item__rank { color: var(--color-green-300); }
.trending-item__content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s1); }
.trending-item__title { font-size: var(--tx-sm); font-weight: var(--fw-medium); line-height: var(--lh-snug); color: var(--text-primary); }
.trending-item__title a { color: inherit; }
.trending-item__title a:hover { color: var(--color-green-700); }
.trending-item__meta { font-size: var(--tx-xs); color: var(--text-muted); }

/* ============================================================
   26. NEWSLETTER STRIP
   ============================================================ */
.newsletter-strip { background: var(--color-green-800); border-top: 3px solid var(--color-gold-400); padding: var(--s16) 0; margin-top: var(--s16); }
.newsletter-strip__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: center; }
.newsletter-strip__eyebrow { font-size: var(--tx-xs); color: var(--color-gold-300); text-transform: uppercase; letter-spacing: .1em; font-weight: var(--fw-semibold); margin-bottom: var(--s3); }
.newsletter-strip__heading { font-family: var(--font-serif); font-size: clamp(var(--tx-2xl), 3vw, var(--tx-4xl)); font-weight: 600; color: #fff; letter-spacing: -.01em; line-height: var(--lh-tight); margin-bottom: var(--s4); }
.newsletter-strip__body { font-size: var(--tx-base); color: rgba(255,255,255,.75); line-height: var(--lh-normal); max-width: 42ch; font-weight: var(--fw-light); }
.newsletter-strip__disclaimer { font-size: var(--tx-xs); color: rgba(255,255,255,.5); margin-top: var(--s3); }
.nl-form { display: flex; flex-direction: column; gap: var(--s3); }
.nl-form__fname, .nl-form__email { height: 50px; padding: 0 var(--s4); border: 2px solid rgba(255,255,255,.25); border-radius: var(--r-btn); background: rgba(255,255,255,.1); color: #fff; font-size: var(--tx-base); width: 100%; font-weight: var(--fw-light); }
.nl-form__fname::placeholder, .nl-form__email::placeholder { color: rgba(255,255,255,.45); }
.nl-form__fname:focus, .nl-form__email:focus { outline: none; border-color: var(--color-gold-400); background: rgba(255,255,255,.15); }
.nl-form__email-row { display: flex; gap: var(--s3); }
.nl-form__email-row .nl-form__email { flex: 1; }
.nl-form__email-row .nl-form__submit { flex-shrink: 0; border-radius: var(--r-btn); padding: 0 var(--s6); height: 50px; }
.nl-form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); left: -9999px; }
.nl-form__status { font-size: var(--tx-sm); min-height: 1.4em; }
.nl-form__status.is-success { color: var(--color-gold-200); font-weight: var(--fw-semibold); }
.nl-form__status.is-error   { color: #FCA5A5; }
/* Sidebar NL */
.sidebar-widget--newsletter { background: linear-gradient(135deg, var(--color-green-800), var(--color-green-700)); }
.sidebar-nl { padding: var(--s6); }
.sidebar-widget--newsletter { display: none; }

/* Mobile nav: utility page links added below categories */
.mobile-nav__section-label { padding: var(--s3) var(--s4) var(--s1); font-size: var(--tx-xs); text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.45); }
.sidebar-nl .nl-form__email-row { flex-direction: column; }
.sidebar-nl .nl-form__email-row .nl-form__submit { width: 100%; height: 44px; }
.sidebar-nl__eyebrow { font-size: var(--tx-xs); color: var(--color-gold-300); letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--s2); }
.sidebar-nl__heading { font-size: var(--tx-lg); font-weight: var(--fw-semibold); color: #fff; margin-bottom: var(--s2); line-height: var(--lh-tight); }
.sidebar-nl__body { font-size: var(--tx-xs); color: rgba(255,255,255,.7); margin-bottom: var(--s4); line-height: var(--lh-normal); font-weight: var(--fw-light); }

/* ============================================================
   27. COMMENTS
   ============================================================ */
.comments { padding-top: var(--s10); border-top: 2px solid var(--border); margin-top: var(--s10); }
.comments__title { font-size: var(--tx-2xl); font-weight: var(--fw-bold); margin-bottom: var(--s8); color: var(--color-green-800); }
.comments__list { display: flex; flex-direction: column; gap: var(--s6); }
.comments__list li { list-style: none; }
.comment-body { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--r-md); padding: var(--s5); }
.comment-body.bypostauthor { border-color: var(--color-green-300); background: var(--color-green-50); }
.comment-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s4); flex-wrap: wrap; gap: var(--s3); }
.comment-author { display: flex; align-items: center; gap: var(--s3); }
.comment-avatar { width: 40px; height: 40px; border-radius: var(--r-full); }
.comment-author .fn { font-weight: var(--fw-semibold); color: var(--text-primary); }
.comment-metadata { font-size: var(--tx-xs); color: var(--text-muted); }
.comment-content { font-size: var(--tx-base); color: var(--text-secondary); line-height: var(--lh-normal); font-weight: var(--fw-light); }
.comment-content p:not(:last-child) { margin-bottom: 1em; }
.comment-awaiting-moderation { display: block; font-size: var(--tx-xs); color: var(--color-gold-700); background: var(--color-gold-100); padding: var(--s2) var(--s3); border-radius: var(--r-sm); margin-bottom: var(--s3); }
.reply { margin-top: var(--s3); }
.comment-reply-link { font-size: var(--tx-xs); font-weight: var(--fw-semibold); color: var(--color-green-700); }
.children { margin-top: var(--s4); margin-left: var(--s8); display: flex; flex-direction: column; gap: var(--s4); }
.comment-form { margin-top: var(--s8); }
.comment-form .comment-form__field { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s4); }
.comment-form .comment-form__field label { font-size: var(--tx-sm); font-weight: var(--fw-medium); color: var(--text-secondary); }
.comment-form .comment-form__field input,
.comment-form .comment-form__field textarea { padding: var(--s3) var(--s4); border: 2px solid var(--border); border-radius: var(--r); background: var(--surface-input); color: var(--text-primary); font-size: var(--tx-base); width: 100%; font-weight: var(--fw-light); }
.comment-form .comment-form__field input:focus,
.comment-form .comment-form__field textarea:focus { outline: none; border-color: var(--color-green-600); }
.comment-form .comment-form__field textarea { resize: vertical; min-height: 140px; }
.comment-form .comments__reply-title { font-size: var(--tx-lg); font-weight: var(--fw-bold); color: var(--color-green-800); margin-bottom: var(--s5); }

/* WordPress core comment_form() default markup — was unstyled, inheriting the large article body font */
#comments .comment-notes,
#comments .logged-in-as { font-size: var(--tx-sm); color: var(--text-secondary); margin-bottom: var(--s4); }
#comments .comment-form p { margin-bottom: var(--s4); }
#comments .comment-form label { display: block; font-size: var(--tx-sm); font-weight: var(--fw-medium); color: var(--text-secondary); margin-bottom: var(--s2); }
#comments .comment-form input[type="text"],
#comments .comment-form input[type="email"],
#comments .comment-form input[type="url"],
#comments .comment-form textarea { padding: var(--s3) var(--s4); border: 2px solid var(--border); border-radius: var(--r-btn); background: var(--surface-input); color: var(--text-primary); font-size: var(--tx-base); width: 100%; font-weight: var(--fw-light); }
#comments .comment-form textarea { resize: vertical; min-height: 140px; }
#comments .comment-form input:focus,
#comments .comment-form textarea:focus { outline: none; border-color: var(--color-green-600); }
#comments .form-submit { margin-top: var(--s4); margin-bottom: 0; }
#comments .form-submit #submit { display: inline-flex; align-items: center; padding: 10px 22px; font-size: var(--tx-sm); font-weight: var(--fw-semibold); border-radius: var(--r-btn); border: 2px solid transparent; background: var(--color-green-700); color: #fff; cursor: pointer; }
#comments .form-submit #submit:hover { background: var(--color-green-800); }
#comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: var(--s2); margin-bottom: var(--s4); }
#comments .comment-form-cookies-consent input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--color-green-600); }
#comments .comment-form-cookies-consent label { display: inline; font-size: var(--tx-sm); font-weight: var(--fw-light); color: var(--text-secondary); margin: 0; }
#comments .akismet_comment_form_privacy_notice { font-size: var(--tx-sm); }
.comments__closed { font-size: var(--tx-sm); color: var(--text-muted); font-style: italic; padding: var(--s5); background: var(--surface-input); border-radius: var(--r); text-align: center; }

/* ============================================================
   28. NO RESULTS / 404
   ============================================================ */
.no-results { text-align: center; padding: var(--s20) var(--s6); max-width: 480px; margin-inline: auto; }
.no-results__icon { font-size: 48px; margin-bottom: var(--s4); }
.no-results__title { font-size: var(--tx-2xl); font-weight: var(--fw-bold); color: var(--color-green-800); margin-bottom: var(--s3); }
.no-results__description { color: var(--text-secondary); margin-bottom: var(--s6); font-weight: var(--fw-light); }
.no-results__search { margin-bottom: var(--s5); }
.error-page { text-align: center; padding: var(--s20) var(--s6); max-width: 600px; margin-inline: auto; }
.error-page__code { font-size: 120px; font-weight: var(--fw-bold); color: var(--color-green-200); line-height: 1; margin-bottom: var(--s2); letter-spacing: -.05em; }
.error-page__title { font-size: var(--tx-3xl); font-weight: var(--fw-bold); color: var(--color-green-800); margin-bottom: var(--s3); }
.error-page__description { color: var(--text-secondary); margin-bottom: var(--s6); font-weight: var(--fw-light); }
.error-page__search { max-width: 400px; margin: 0 auto var(--s6); }
.error-page__latest { margin-top: var(--s12); }
.error-page__latest-heading { font-size: var(--tx-xl); font-weight: var(--fw-bold); margin-bottom: var(--s6); color: var(--color-green-800); }
.page-title { font-size: var(--tx-3xl); font-weight: var(--fw-bold); color: var(--color-green-800); margin-bottom: var(--s8); letter-spacing: -.02em; }
.page-article__title { font-size: clamp(var(--tx-2xl), 4vw, var(--tx-4xl)); font-weight: var(--fw-bold); letter-spacing: -.02em; margin-bottom: var(--s6); }
.page-article__hero { margin-bottom: var(--s8); border-radius: var(--r-md); overflow: hidden; }
.page-article__hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ============================================================
   29. FOOTER
   ============================================================ */
.site-footer { background: var(--color-green-900); color: rgba(255,255,255,.7); padding-top: var(--s16); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s10); padding-bottom: var(--s12); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .site-logo { margin-bottom: var(--s5); }
.footer-brand__desc { font-size: var(--tx-sm); color: rgba(255,255,255,.6); line-height: var(--lh-normal); margin-bottom: var(--s5); max-width: 34ch; font-weight: var(--fw-light); }
.footer-brand__gnews { margin-bottom: var(--s5); }
.footer-social { display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); transition: background var(--ease-fast), color var(--ease-fast); }
.footer-social a:hover { background: var(--color-green-700); border-color: var(--color-green-700); color: #fff; }
.footer-col__heading { font-size: var(--tx-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.9); margin-bottom: var(--s5); }
.footer-col__list { display: flex; flex-direction: column; gap: var(--s3); }
.footer-col__list li a { font-size: var(--tx-sm); color: rgba(255,255,255,.55); transition: color var(--ease-fast); font-weight: var(--fw-light); }
.footer-col__list li a:hover { color: rgba(255,255,255,.9); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: var(--s5) 0; flex-wrap: wrap; gap: var(--s3); }
.site-footer__copy { font-size: var(--tx-xs); color: rgba(255,255,255,.4); }
.site-footer__copy a { color: rgba(255,255,255,.6); }
.site-footer__credit { font-size: var(--tx-xs); color: rgba(255,255,255,.4); }
.site-footer__credit a { color: rgba(255,255,255,.6); transition: color var(--ease-fast); }
.site-footer__credit a:hover { color: #fff; text-decoration: underline; }
.google-follow, .google-follow--meta { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--tx-xs); font-weight: var(--fw-semibold); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-full); padding: 6px 14px; color: rgba(255,255,255,.8); transition: background var(--ease-fast); }
.google-follow:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.google-follow--meta { border-color: var(--border-dark); color: var(--text-secondary); }
.google-follow--meta:hover { background: var(--color-green-50); border-color: var(--color-green-400); color: var(--color-green-800); }

/* ============================================================
   30. MISC: Ads, Podcast, Progress, Search form, Utilities
   ============================================================ */
.ad-unit { text-align: center; }
.ad-wrap  { margin: var(--s4) 0; text-align: center; }
.podcast-block { background: var(--color-green-50); border: 1px solid var(--color-green-200); border-radius: var(--r-md); padding: var(--s6); margin: var(--s8) 0; }
.podcast-block__header { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.podcast-block__icon { font-size: 28px; }
.podcast-block__label { font-size: var(--tx-xs); text-transform: uppercase; letter-spacing: .06em; font-weight: var(--fw-bold); color: var(--color-green-700); }
.podcast-block__player { width: 100%; height: 50px; border-radius: var(--r); }
.podcast-block__embed { width: 100%; height: 152px; border: none; border-radius: var(--r); }
.podcast-block__platforms { display: flex; gap: var(--s3); margin-top: var(--s4); flex-wrap: wrap; }
.podcast-block__platform { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--tx-xs); font-weight: var(--fw-semibold); padding: 6px 14px; border-radius: var(--r-full); border: 1px solid var(--border-dark); color: var(--text-secondary); transition: background var(--ease-fast), color var(--ease-fast); }
.podcast-block__platform--spotify:hover { background: #1DB954; color: #fff; border-color: #1DB954; }
.podcast-block__platform--apple:hover   { background: #FC3C44; color: #fff; border-color: #FC3C44; }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(to right, var(--color-green-500), var(--color-gold-400)); z-index: 9999; transition: width 100ms linear; will-change: width; }
.search-form__wrap { display: flex; align-items: center; border: 2px solid var(--border-dark); border-radius: var(--r-full); background: var(--surface-input); overflow: hidden; transition: border-color var(--ease-fast); }
.search-form__wrap:focus-within { border-color: var(--color-green-600); }
.search-form__field { flex: 1; height: 44px; padding: 0 var(--s4); border: none; background: transparent; color: var(--text-primary); font-size: var(--tx-base); font-weight: var(--fw-light); }
.search-form__field:focus { outline: none; }
.search-form__submit { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-muted); flex-shrink: 0; }
.search-form__submit:hover { color: var(--color-green-700); }
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-green-800); color: #fff; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s, transform .25s, background .15s; box-shadow: var(--sh-lg); }
.back-to-top.is-visible { opacity: 1; pointer-events: all; transform: none; }
.back-to-top:hover { background: var(--color-green-700); }
img[loading="lazy"] { opacity: 0; transition: opacity .4s ease; }
img[loading="lazy"].is-loaded { opacity: 1; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }

/* ============================================================
   31. DARK MODE — complete overrides
   ============================================================ */
[data-theme="dark"] {
  --surface-bg:       #0A100C;
  --surface-card:     #111A14;
  --surface-elevated: #1A261E;
  --surface-input:    #1A261E;
  --surface-header:   #0E1811;
  --surface-overlay:  rgba(0,0,0,.8);
  --text-primary:     #E8F5EE;
  --text-secondary:   #9CBFAC;
  --text-muted:       #5A7A68;
  --text-link:        #3EBF79;
  --text-link-hover:  #7AB897;
  --border:           #1E3028;
  --border-light:     #182B21;
  --border-dark:      #2A4035;
  --sh-card:          0 2px 8px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.03);
  --sh-card-hover:    0 8px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  --sh-header:        0 2px 16px rgba(0,0,0,.4);
}
[data-theme="dark"] .section-header { border-color: var(--color-green-600); }
[data-theme="dark"] .section-header__title { color: var(--color-green-300); }
[data-theme="dark"] .sidebar-widget__title { background: rgba(255,255,255,.04); color: var(--color-green-300); border-color: var(--color-green-600); }
[data-theme="dark"] .widget-title { color: var(--color-green-300); border-color: var(--color-green-600); }
[data-theme="dark"] .trending-item:hover { background: var(--surface-elevated); }
[data-theme="dark"] .hero-stack__item { background: var(--surface-card); border-color: var(--border); }
[data-theme="dark"] .hero-stack__item.is-active { border-color: var(--color-green-500); }
[data-theme="dark"] .archive-header { background: linear-gradient(135deg, var(--color-green-900), var(--color-green-800)); }
[data-theme="dark"] .author-box { background: var(--surface-elevated); border-color: var(--border); }
[data-theme="dark"] .sidebar-widget--newsletter { background: linear-gradient(135deg, var(--color-green-900), var(--color-green-800)); }
[data-theme="dark"] .entry-content code { background: var(--surface-elevated); color: var(--color-green-300); }
[data-theme="dark"] .entry-content blockquote { background: rgba(200,129,10,.12); border-color: var(--color-gold-500); color: var(--text-secondary); }
[data-theme="dark"] .podcast-block { background: var(--surface-elevated); border-color: var(--border); }
[data-theme="dark"] .comment-body { background: var(--surface-card); border-color: var(--border-light); }
[data-theme="dark"] .comment-body.bypostauthor { background: var(--surface-elevated); border-color: var(--color-green-700); }
[data-theme="dark"] .tag-pill { border-color: var(--border-dark); color: var(--text-muted); }
[data-theme="dark"] .tag-pill:hover { background: var(--color-green-700); border-color: var(--color-green-700); color: #fff; }
[data-theme="dark"] .cat-badge--personal-finance { background: rgba(12,56,35,.5);   color: var(--color-green-300); }
[data-theme="dark"] .cat-badge--investing        { background: rgba(26,82,118,.4);  color: #85C1E9; }
[data-theme="dark"] .cat-badge--business         { background: rgba(110,47,138,.3); color: #D7BDE2; }
[data-theme="dark"] .cat-badge--immigration      { background: rgba(192,57,43,.3);  color: #F1948A; }
[data-theme="dark"] .cat-badge--career           { background: rgba(211,84,0,.3);   color: #F0B27A; }
[data-theme="dark"] .cat-badge--forex            { background: rgba(17,122,101,.3); color: #76D7C4; }
[data-theme="dark"] .header-btn:hover { background: rgba(255,255,255,.08); color: var(--color-green-300); }
[data-theme="dark"] .primary-nav__list .menu-item > a:hover,
[data-theme="dark"] .primary-nav__list .current-menu-item > a { background: rgba(255,255,255,.06); color: var(--color-green-300); }
[data-theme="dark"] .primary-nav__list .sub-menu { background: var(--surface-elevated); border-color: var(--border); }
[data-theme="dark"] .mobile-nav { background: var(--surface-card); }
[data-theme="dark"] .mobile-nav__list .menu-item > a { border-color: var(--border-light); color: var(--text-primary); }
[data-theme="dark"] .mobile-nav__search { background: var(--surface-input); border-color: var(--border); color: var(--text-primary); }
[data-theme="dark"] .post-card { background: var(--surface-card); border-color: var(--border-light); }
[data-theme="dark"] .post-card:hover { border-color: var(--border); }
[data-theme="dark"] .post-card__footer { border-color: var(--border-light); }
[data-theme="dark"] .related-posts { border-color: var(--border); }
[data-theme="dark"] .search-form__wrap { background: var(--surface-input); border-color: var(--border-dark); }
[data-theme="dark"] .search-form__field { color: var(--text-primary); }
[data-theme="dark"] .newsletter-strip { background: var(--color-green-900); }
[data-theme="dark"] .header-search { background: var(--surface-header); border-color: var(--color-green-500); }

/* ============================================================
   32. PRINT
   ============================================================ */
@media print {
  .trending-bar,.forex-bar,.site-header,.sidebar,.newsletter-strip,
  .site-footer,.social-share,.author-box,.related-posts,.ad-unit,.ad-wrap,
  .comments,.back-to-top,.read-progress { display: none !important; }
  .content-sidebar-layout { grid-template-columns: 1fr; }
  .single-article { max-width: 100%; }
  .entry-content { font-size: 11pt; line-height: 1.6; }
}

/* ============================================================
   33. RESPONSIVE
   ============================================================ */

/* ─── 1100px: narrow sidebar ─── */
@media (max-width: 1100px) {
  :root { --sidebar-w: 280px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
}

/* ─── 960px: stack sidebar, simplify hero ─── */
@media (max-width: 960px) {
  .content-sidebar-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s5);
  }
  .hero-grid { grid-template-columns: 1fr; height: auto; }
  .hero-main { height: 400px; }
  .hero-stack { flex-direction: row; flex-wrap: wrap; }
  .hero-stack__item { flex: 1 1 calc(50% - var(--s2)); }
  .newsletter-strip__inner { grid-template-columns: 1fr; gap: var(--s8); }
  .posts-grid--magazine .post-card:first-child .post-card__title { font-size: var(--tx-xl); }
}

/* ─── 768px: mobile — hamburger, horizontal cards, full-screen search ─── */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .primary-nav  { display: none; }
  .btn--subscribe { display: none; }
  .header-btn--menu { display: flex; }

  /* Hero */
  .hero-main { height: 300px; }
  .hero-slide__content { padding: var(--s5) var(--s5) var(--s10); }
  .hero-slide__title { font-size: var(--tx-xl); }
  .hero-slide__excerpt { display: none; }
  .hero-stack { display: none; }

  /* MOBILE CARDS — horizontal: thumbnail left, title+meta right */
  .posts-grid--3col,
  .posts-grid--2col { grid-template-columns: 1fr; gap: var(--s4); }

  .post-card {
    flex-direction: row;
    align-items: flex-start;
  }
  .post-card__thumb-link {
    width: 110px;
    flex-shrink: 0;
  }
  .post-card__thumb-wrap {
    aspect-ratio: 1/1;
    height: auto;
    border-radius: var(--r-sm);
  }
  .post-card__thumb { height: 100%; }
  .post-card__body { padding: var(--s3) var(--s4); gap: var(--s2); justify-content: flex-start; }
  .post-card__title { font-size: var(--tx-sm); line-height: 1.35; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .post-card__excerpt { display: none; }
  .post-card__footer { padding-top: var(--s2); border-top: none; }
  .post-card__views { display: none; }
  /* Override for large card variant on mobile */
  .post-card--large { flex-direction: row; }
  .post-card--large .post-card__thumb-link { width: 130px; }
  .post-card--large .post-card__title { font-size: var(--tx-base); }

  /* Magazine first card: stack vertically on mobile */
  .posts-grid--magazine { grid-template-columns: 1fr; }
  .posts-grid--magazine .post-card:first-child {
    flex-direction: column;
    min-height: unset;
  }
  .posts-grid--magazine .post-card:first-child .post-card__thumb-link {
    width: 100%;
    align-self: unset;
  }
  .posts-grid--magazine .post-card:first-child .post-card__thumb-wrap {
    height: auto;
    aspect-ratio: 16/9;
  }
  .posts-grid--magazine .post-card:first-child .post-card__body { padding: var(--s4); }
  .posts-grid--magazine .post-card:first-child .post-card__title { font-size: var(--tx-lg); }
  /* Remaining magazine cards also horizontal */
  .posts-grid--magazine .post-card:not(:first-child) {
    flex-direction: row;
  }
  .posts-grid--magazine .post-card:not(:first-child) .post-card__thumb-link { width: 110px; flex-shrink: 0; }
  .posts-grid--magazine .post-card:not(:first-child) .post-card__thumb-wrap { aspect-ratio: 1/1; height: auto; }

  /* Related posts: 1 col */
  .related-posts__grid { grid-template-columns: 1fr; gap: var(--s4); }

  /* Sidebar: stack */
  .sidebar { grid-template-columns: 1fr; }

  /* Archive header */
  .archive-header { padding: var(--s8) 0; margin-bottom: var(--s8); }
  .archive-header__inner { flex-direction: column; align-items: flex-start; gap: var(--s3); }
  .archive-header__icon { width: 32px; height: 32px; }
  .archive-search-form input { min-width: unset; width: 100%; }

  /* Single */
  .single-article__meta { flex-direction: column; align-items: flex-start; }
  .single-article__share-top { display: none; }
  .single-article__title { font-size: 1.5rem; }

  /* Author box */
  .author-box { flex-direction: column; }
  .author-box__header { flex-direction: column; align-items: flex-start; }

  /* Footer */
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }

  /* Forex bar */
  .forex-bar__cta { display: none; }

  /* Newsletter */
  .nl-form__email-row { flex-direction: column; }
  .nl-form__email-row .nl-form__email { flex: none; width: 100%; }
  /* Comment form */
  #comments .comment-form textarea { height: 110px; min-height: 90px; }
  #comments .comment-form p { margin-bottom: var(--s3); }
  #comments .comment-notes { margin-bottom: var(--s3); }
  #comments .comment-form-author label,
  #comments .comment-form-email label,
  #comments .comment-form-url label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; margin: 0; }

  /* Newsletter section */
  .newsletter-strip { padding: var(--s10) 0; margin-top: var(--s8); }
  .nl-form__fname, .nl-form__email { height: 54px; font-size: var(--tx-base); }
  .nl-form__email-row .nl-form__submit { height: 54px; }
  .nl-form { gap: var(--s2); }
  .nl-form__status { min-height: 0; }
  .newsletter-strip__disclaimer { margin-top: var(--s2); }
}

/* ─── 480px: small phones ─── */
@media (max-width: 480px) {
  :root { --px: 14px; }
  .hero-main { height: 260px; }
  .hero-slide__content { padding: var(--s4) var(--s4) var(--s8); }
  .hero-controls { bottom: var(--s3); right: var(--s3); }
  .error-page__code { font-size: 72px; }
  .social-share__label { display: none; }
  .forex-bar__rates { gap: var(--s3); }
  .children { margin-left: var(--s4); }
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
  .post-card__thumb-link { width: 90px; }
}
