/*
Theme Name: NEXTAI Magazine
Theme URI: https://qa-news--eb60c464.1.optimyz.ai
Author: NEXTAI Editorial Team
Description: Ultra-polished, authoritative Hebrew AI news magazine theme with light editorial aesthetic.
Version: 2.28.0
Text Domain: nextai
*/

:root{
  --bg-main: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-elevated: #FFFFFF;

  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-strong: #94A3B8;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --brand-indigo: #4F46E5;
  --brand-cyan: #0284C7;
  --brand-neon: #4F46E5;
  --brand-violet: #7C3AED;
  --brand-emerald: #059669;
  --brand-amber: #D97706;
  --brand-rose: #E11D48;
  --breaking-red: #DC2626;

  --brand-gradient: #4F46E5;
  --brand-glow: none;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* One Google family for Hebrew, Latin, UI and editorial text. */
  --font-site: "Google Sans", Arial, sans-serif;

  /* Fluid typography scale */
  --fs-lead: clamp(2rem, 1.4rem + 2.4vw, 3.3rem);      /* 32 → 53px */
  --fs-h1:   clamp(1.9rem, 1.45rem + 1.7vw, 2.75rem);  /* 30 → 44px */
  --fs-h2:   clamp(1.4rem, 1.2rem + .8vw, 1.85rem);    /* 22 → 30px */
  --fs-h3:   clamp(1.15rem, 1.06rem + .34vw, 1.35rem); /* 18 → 22px */
  --fs-h4:   1.0625rem;                                 /* 17px */
  --fs-dek:  clamp(1rem, .96rem + .2vw, 1.15rem);      /* 16 → 18px */
  --fs-body: 1rem;                                      /* 16px */
  --fs-sm:   .875rem;                                   /* 14px */
  --fs-xs:   .8125rem;                                  /* 13px */
  --fs-2xs:  .6875rem;                                  /* 11px */

  --lh-tight: 1.18;
  --lh-snug:  1.3;
  --lh-body:  1.8;

  --measure:  62ch;

  --container-max: 1360px;
  --page-gutter: clamp(20px, 3.8vw, 64px);
}*, *::before, *::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}html{
  font-family: var(--font-site);
  direction: rtl;
  text-align: right;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-snug);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}body{
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}::selection{
  background: rgba(99, 102, 241, 0.35);
  color: #182234;
}

/* Custom Scrollbar */::-webkit-scrollbar{
  width: 8px;
  height: 8px;
}::-webkit-scrollbar-track{
  background: var(--bg-main);
}::-webkit-scrollbar-thumb{
  background: #1E293B;
  border-radius: 4px;
}::-webkit-scrollbar-thumb:hover{
  background: #334155;
}a{
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}a:hover{
  color: var(--brand-cyan);
}img{
  max-width: 100%;
  height: auto;
  display: block;
}.container{
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

/* READING PROGRESS BAR */

/* ==========================================================================
   FULL-WIDTH ULTRA-CLEAN MODERN EDITORIAL HEADER
   ========================================================================== */.site-header{
  background-color: rgba(247, 248, 252, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  width: 100%;
}.header-fluid{
  position: relative;
  width: 100%;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}.header-compact-row{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  gap: clamp(20px, 2.2vw, 36px);
}

/* Right Side: Clean Brand Logo */.header-brand-side{
  display: flex;
  align-items: center;
  flex-shrink: 0;
}.brand-logo{
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  direction: ltr;
  unicode-bidi: isolate;
  color: #182234;
  text-decoration: none;
  transition: opacity 0.2s ease;
}.brand-logo:hover{
  opacity: 0.92;
}.brand-logo .next{
  color: #182234;
  font-weight: 700;
}.brand-logo .ai{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-left: 1px;
}.brand-logo .dot{
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--brand-cyan);
  border-radius: 50%;
  margin-left: 3px;
  margin-bottom: 3px;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}

/* Center: Streamlined Editorial Nav */.main-nav{
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  min-width: 0;
}.nav-list{
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.7vw, 8px);
  margin: 0;
  padding: 0;
}.nav-list li{
  min-width: 0;
}.nav-list li a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: #616B7C;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  letter-spacing: 0;
  position: relative;
}.nav-list li a::after{
  content: "";
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}.nav-list li a:hover{
  color: #182234;
  background-color: rgba(24, 34, 52, 0.055);
  transform: translateY(-1px);
}.nav-list li a:hover::after{
  transform: scaleX(0.55);
}.nav-list li.current-menu-item a{
  color: #182234;
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.28);
}.nav-list li.current-menu-item a::after{
  transform: scaleX(1);
}

/* Left Side: Actions & Command-style Search */.header-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}.search-toggle-btn{
  background: rgba(24, 34, 52, 0.03);
  border: 1px solid rgba(24, 34, 52, 0.1);
  border-radius: 20px;
  color: #616B7C;
  padding: 0 14px 0 10px;
  height: 36px;
  font-size: var(--fs-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}.search-toggle-btn:hover{
  color: #182234;
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.06);
}.search-shortcut{
  font-size: var(--fs-2xs);
  font-weight: 700;
  background: rgba(24, 34, 52, 0.08);
  border: 1px solid rgba(24, 34, 52, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  color: #616B7C;
}.mobile-toggle{
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(24, 34, 52, 0.03);
  border: 1px solid rgba(24, 34, 52, 0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}.mobile-toggle:hover,
.mobile-toggle.is-open{
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.08);
}.mobile-toggle span{
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}.mobile-toggle.is-open span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}.mobile-toggle.is-open span:nth-child(2){
  opacity: 0;
}.mobile-toggle.is-open span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* Slide-Down Search Overlay */.header-search-wrap{
  display: none;
  padding: 14px 0 18px 0;
  border-top: 1px solid rgba(24, 34, 52, 0.08);
}.header-search-wrap.active{
  display: block;
}.header-search-form{
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}.search-icon-inside{
  position: absolute;
  right: 16px;
  color: var(--text-muted);
  pointer-events: none;
}.search-field{
  flex: 1;
  background: #F7F8FC;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 12px 46px 12px 16px;
  color: #182234;
  font-size: var(--fs-body);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}.search-field:focus{
  border-color: var(--brand-cyan);
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.search-submit{
  background: var(--brand-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: transform 0.15s ease;
}.search-submit:hover{
  transform: translateY(-1px);
}.search-close{
  background: rgba(24, 34, 52, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: var(--fs-sm);
  transition: color 0.15s ease;
}.search-close:hover{
  color: #182234;
}

/* CATEGORY BADGES SYSTEM */.category-badge{
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  width: fit-content;
}.cat-models{
  --cat-accent: #6366F1;
}.category-badge.cat-models{
  background: rgba(99, 102, 241, 0.15);
  color: #A5B4FC;
  border: 1px solid rgba(99, 102, 241, 0.35);
}.cat-business{
  --cat-accent: #F59E0B;
}.category-badge.cat-business{
  background: rgba(245, 158, 11, 0.15);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.35);
}.cat-tools{
  --cat-accent: #10B981;
}.category-badge.cat-tools{
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}.cat-hardware{
  --cat-accent: #F43F5E;
}.category-badge.cat-hardware{
  background: rgba(244, 63, 94, 0.15);
  color: #FDA4AF;
  border: 1px solid rgba(244, 63, 94, 0.35);
}.cat-policy{
  --cat-accent: #0EA5E9;
}.category-badge.cat-policy{
  background: rgba(14, 165, 233, 0.15);
  color: #7DD3FC;
  border: 1px solid rgba(14, 165, 233, 0.35);
}.cat-tutorials{
  --cat-accent: #A855F7;
}.category-badge.cat-tutorials{
  background: rgba(168, 85, 247, 0.15);
  color: #D8B4FE;
  border: 1px solid rgba(168, 85, 247, 0.35);
}.cat-default{
  --cat-accent: #5952D6;
}.category-badge.cat-default{
  background: rgba(99, 102, 241, 0.15);
  color: #67E8F9;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

/* ==========================================================================
   2. EDITOR`S SPOTLIGHT (DUAL WIDESCREEN FEATURE CARDS)
   ========================================================================== */.spotlight-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}.spotlight-media{
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #F7F8FC;
}.spotlight-media-link{
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}.spotlight-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}.spotlight-col:hover .spotlight-img{
  transform: scale(1.05);
}.spotlight-title{
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #182234;
}.spotlight-title a{
  color: inherit;
  transition: color 0.15s ease;
}.spotlight-title a:hover{
  color: var(--brand-cyan);
}.spotlight-excerpt{
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   3. THE MAIN EDITORIAL FEED (3-COLUMN NEWS CARDS)
   ========================================================================== */.site-main{
  flex: 1;
  min-width: 0;
}

/* Auxiliary page headers (archive / search / 404) — same scale as homepage sections. */.page-pad{
  padding-top: 40px;
  padding-bottom: 60px;
}.section-header{
  margin-bottom: 36px;
}.section-heading{
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: #182234;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 8px 0 0 0;
}.archive-description{
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 10px;
  line-height: 1.6;
}.search-result-count{
  color: var(--text-muted);
  font-size: var(--fs-sm);
  white-space: nowrap;
}.search-query-term{
  color: var(--brand-cyan);
}

/* Small CTA buttons (404 / search empty states). */.btn-primary-small{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-cyan));
  border: 1px solid transparent;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}.btn-primary-small:hover{
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.btn-primary-small.btn-secondary{
  background: var(--bg-card);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}

/* 404 error card. */.error-card-wrap{
  padding: 80px 24px 100px 24px;
  text-align: center;
}.error-card{
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.error-code{
  font-size: calc(var(--fs-lead) * 1.5);
  font-weight: 700;
  color: var(--brand-indigo);
  line-height: 1;
  margin-bottom: 16px;
}.error-text{
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin-bottom: 28px;
}.error-card-centered{
  text-align: center;
}.error-text-lead{
  font-size: var(--fs-h3);
  color: #182234;
  margin-bottom: 12px;
}.error-actions{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}.cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}.news-card{
  height: 100%;
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.news-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cat-accent, transparent);
  transition: background 0.25s ease;
  z-index: 4;
}.news-card:hover{
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.news-card:hover::before{
  filter: brightness(1.35);
}


.card-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.card-reading-meta{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.card-excerpt p{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: var(--fs-sm); 
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.card-footer-meta time,
.news-card .card-footer-meta time{
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
}
.card-read-link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-indigo);
  text-decoration: none;
}

/* CARD MEDIA / THUMBNAIL CONTAINER */.card-media{
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #F7F8FC;
  isolation: isolate;
}

/* Keep every editorial image edge-to-edge and optically consistent. */.card-media::after,
.spotlight-media::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(24, 34, 52, 0.06);
  z-index: 2;
}.card-media-link{
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}.card-thumbnail-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}.news-card:hover .card-thumbnail-img{
  transform: scale(1.06);
}.category-badge-floating{
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: var(--fs-2xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
  backdrop-filter: blur(8px);
}

/* Homepage layout refinements. */

/* Section spacing is owned by --section-space below. */

/* --- 2. One consistent section-header pattern (RTL, right-anchored) --- */

/* --- 3. Equal-height cards, footers pinned to the same baseline --- */.spotlight-grid,
.cards-grid{
  align-items: stretch;
}.news-card{
  height: 100%;
}.news-card-inner{
  flex: 1;
  display: flex;
  flex-direction: column;
}.spotlight-excerpt,
.card-excerpt{ 
  flex: 1;
}.card-footer-meta{ 
  margin-top: auto;
}

/* Fixed line budgets so sibling cards align */.spotlight-title,
.card-title{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
  overflow-wrap: break-word;
}.spotlight-title,
.card-title{
  -webkit-line-clamp: 2;
  min-height: 2.7em;
}.spotlight-excerpt,
.card-excerpt{ 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.2em;
}

/* --- 4. Uniform image treatment: 16:9 everywhere, cover, no distortion --- */.card-media{
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F7F8FC;
}.card-media-link{
  display: block;
  width: 100%;
  height: 100%;
}.card-thumbnail-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
}.spotlight-media{
  aspect-ratio: 16 / 9;
}

/* --- 5. Headline quad: top-aligned rows, even internal rhythm --- */

/* --- 6. Flash strip: even padding, aligned meta rows --- */

/* --- 7. LLM leaderboard: equal heights, calm rank system --- */
/* Silver rank legibility on light badges */.podium-rank-tag.rank-silver,
.rank-badge.rank-silver{
  color: #182234;
  border: 1px solid rgba(247, 248, 252, 0.96);
}

/* --- 8. Bidi-safe mixed Hebrew/Latin (prices, model names, scores) --- */

/* --- 9. Hero footer row: byline + CTA share one baseline --- */

/* --- 10. Filter pills: one size system --- */

/* Unified light editorial finishing layer */:root{color-scheme:light;--brand-gradient:linear-gradient(120deg,#6366f1,#8b5cf6);--border-subtle:#e7e9f0;--border-medium:#d8dce6;--border-strong:#b9bfce;}.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--border-subtle);box-shadow:none;}.brand-logo .dot{box-shadow:none;}.search-toggle-btn, .mobile-toggle, .search-shortcut, .search-close{background:#f7f8fc;border-color:var(--border-subtle);color:#616b7c;}.search-field{background:#fff;color:#182234;}.nav-list li.current-menu-item a, .nav-list li a:hover{background:#f3f1ff;color:#5145b5;border-color:#ded9f4;}.news-card, .podium-card{border-color:var(--border-subtle);}.news-card .category-badge-floating{background:rgba(255,255,255,.96);color:#182234;border-color:#e7e9f0;box-shadow:none;}.benchmark-tab-btn, .bench-filter-chip{background:#f7f8fc;color:#616b7c;border-color:var(--border-subtle);}.benchmark-tab-btn.active, .bench-filter-chip.active{background:#eeeaff;color:#5145b5;box-shadow:none;border-color:#cfc8f2;}.cat-models{color:#4f46b8;}.cat-business{color:#895800;}.cat-tools{color:#08734f;}.cat-hardware{color:#b22949;}.cat-policy{color:#12688c;}.cat-tutorials{color:#7e36ab;}.cat-default{color:#5145b5;}.weight-tag.open-weight, .license-badge.open, .price-chip.chip-budget, .podium-price-val.is-budget{color:#08734f;}.podium-score-box{background:#f7f8fc;border-color:var(--border-subtle);}.benchmark-tab-btn .tab-count, .benchmark-tab-btn.active .tab-count{background:#e7e5f3;color:#5145b5;}.podium-rank-tag, .rank-badge.rank-gold, .rank-badge.rank-silver{color:#182234;}.highlight-cyan{background:none;-webkit-text-fill-color:#5952d6;color:#5952d6;}h1, h2, h3{letter-spacing:0;}:is(a, button, input):focus-visible{outline:2px solid #5952d6;outline-offset:4px;}@media(max-width:1100px){.main-nav{background:#fff;border-color:var(--border-subtle);}}

/* --- Homepage Rhythm & Premium Editorial Polish --- */.cards-grid{gap: 24px; margin-top: 24px;}@media(max-width: 1024px){.cards-grid{grid-template-columns: repeat(2, 1fr);}}@media(max-width: 680px){.cards-grid{grid-template-columns: 1fr;}}.news-card{border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 14px rgba(24, 34, 52, 0.035); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease; display: flex; flex-direction: column;}.news-card:hover{transform: translateY(-4px); box-shadow: 0 12px 28px rgba(99, 102, 241, 0.09); border-color: rgba(99, 102, 241, 0.3);}.news-card .card-media{aspect-ratio: 16/10; overflow: hidden;}.news-card .card-thumbnail-img{width: 100%!important; height: 100%!important; object-fit: cover!important; transition: transform 0.35s ease;}.news-card:hover .card-thumbnail-img{transform: scale(1.04);}.news-card .news-card-inner{padding: 18px 20px; flex: 1; display: flex; flex-direction: column;}.news-card .card-title a{ font-size: var(--fs-h4); line-height: 1.42; font-weight: 700; color: #182234; transition: color 0.15s ease;}.news-card .card-title a:hover{color: #5952d6;}.news-card .card-footer-meta{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: #fbfbfe; border-top: 1px solid var(--border-subtle); font-size: var(--fs-xs); color: #616b7c;}@media(max-width: 768px){.cards-grid{gap: 16px; margin-top: 16px;}.news-card .news-card-inner{padding: 14px 16px;}.news-card .card-title a{ font-size: var(--fs-h4);}
}

/* --- Phase 2: Refined Flash Strip, Filter Nav & Global Footer --- */
.site-footer{
  position: relative;
  background-color: #f8f9fc;
  border-top: 1px solid var(--border-subtle);
  padding: 46px 0 0;
}

/* Three-column editorial grid — brand block gets ~1.6x the link columns. */
.footer-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px 56px;
  align-items: start;
}

.footer-about{
  min-width: 0;
}

/* The brand lockup carries the same eyebrow rule as the link columns so all
   three column heads sit on one horizontal band. `.brand-logo` keeps
   `direction: ltr` (the NEXT/AI lockup must not reorder in RTL), so the row is
   pushed to the inline start with flex-end rather than the inherited direction. */
.footer-about .brand-logo{
  display: flex;
  justify-content: flex-end;
  min-height: 39px;
  box-sizing: border-box;
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-h2);
}

.footer-about .brand-logo::after{
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  inset-inline-start: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: #5952d6;
}

.footer-about p{
  margin: 0;
  color: #616b7c;
  font-size: var(--fs-xs);
  line-height: 1.72;
}

/* Section eyebrow: hairline rule with a short brand-coloured segment. */
.footer-col-title{
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  position: relative;
  min-height: 39px;
  margin: 0 0 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-subtle);
  color: #182234;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0;
}

.footer-col-title::after{
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  inset-inline-start: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: #5952d6;
}

.footer-links{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li{
  margin: 0;
  padding: 0;
}

.footer-links a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: var(--fs-xs);
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.16s ease;
}

.footer-links a::before{
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  transition: opacity 0.16s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible{
  color: #5952d6;
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before{
  opacity: 1;
}

.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 38px;
  padding: 15px 0 19px;
  border-top: 1px solid var(--border-subtle);
  color: #616b7c;
  font-size: var(--fs-xs);
  line-height: 1.6;
}

.footer-bottom span:first-child{
  color: #475569;
}

/* #94A3B8 failed AA on this surface (2.4:1) — hierarchy now comes from the
   slightly darker copyright above instead of a low-contrast grey. */
.footer-bottom span:last-child{
  color: #616b7c;
}

@media (max-width: 1024px){
  .footer-grid{
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 30px;
  }
}

@media (max-width: 760px){
  .footer-grid{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px 28px;
  }
  .footer-about{
    grid-column: 1 / -1;
  }
  .footer-about p{
    max-width: 58ch;
  }
}

@media (max-width: 560px){
  .site-footer{
    padding-top: 32px;
  }
  /* Two link columns are kept at phone widths — stacking all three sections
     cost ~190px of height for no readability gain (the longest label still
     fits a 166px column without wrapping). */
  .footer-grid{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px 18px;
  }
  .footer-links{
    gap: 9px;
  }
  .footer-about p{
    max-width: none;
  }
  .footer-about .brand-logo,
  .footer-col-title{
    min-height: 35px;
  }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 26px;
    padding: 14px 0 17px;
  }
}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;}}

/* ==========================================================================
   NEXTAI MASTER EDITORIAL ARCHITECTURE (V2.21.0)
   Ultra-Clean, High-Precision AI Journalism Design System
   Zero Duplication • Zero Clutter • Pure Typography & Clean Hairlines
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Layout & Global Utilities
   -------------------------------------------------------------------------- */.editorial-main-flow{
  --section-space: 24px;
  width: 100%;
  background-color: #ffffff;
  color: #0f172a;
  overflow-x: hidden;
}.meta-dot{
  color: #94a3b8;
  font-size: var(--fs-xs);
  user-select: none;
}

/* Authoritative Section Headers - Solid black baseline */.section-editorial-header{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 10px;
  margin-bottom: 24px;
  gap: 16px;
}.header-text-group{
  display: flex;
  flex-direction: column;
  gap: 3px;
}.editorial-header-title{
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 700;
  color: #09090b;
  line-height: 1.2;
  margin: 0;
}.editorial-header-link{
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}.editorial-header-link:hover{
  color: #0f172a;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   1. SECTION 1: THE NEWSROOM HERO DECK
   -------------------------------------------------------------------------- */

/* 1A. Lead story — balanced landscape media and clear editorial hierarchy */

/* Media Column */

/* Content Column */.byline-prefix{
  color: #94a3b8;
}.byline-author{
  font-weight: 700;
  color: #0f172a;
}.byline-time{ font-size: var(--fs-xs); font-weight: 500; color: #64748b;
}

/* 1B. Curated Quad Headlines (4 Columns - Clean typography, no background cards) */

/* Pure text number badge - no gray box background */

/* --------------------------------------------------------------------------
   2. SECTION 2: DUAL EDITOR'S SPOTLIGHT
   -------------------------------------------------------------------------- */.spotlight-section{
  padding: var(--section-space) 0;
  border-bottom: 1px solid #e2e8f0;
}.spotlight-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}.spotlight-col{
  display: flex;
  flex-direction: column;
}.spotlight-col-content{
  display: flex;
  flex-direction: column;
  flex: 1;
}.spotlight-byline{
  margin-top: auto;
}.spotlight-col:not(:first-child){
  border-right: 0;
  padding-right: 0;
}.spotlight-col-media{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 14px;
}.spotlight-media-link{
  display: block;
  width: 100%;
  height: 100%;
}.spotlight-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}.spotlight-meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

/* Clean text badge - no red box background */.spotlight-tag-pill{
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: #dc2626;
  background: none;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}.spotlight-category{
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
}.spotlight-category:hover{
  text-decoration: underline;
}.reading-time-pill{
  font-size: var(--fs-xs);
  color: #64748b;
}.spotlight-title{
  font-size: clamp(22px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
  color: #09090b;
  margin: 0 0 10px 0;
}.spotlight-title a{
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}.spotlight-col:hover .spotlight-title a{
  color: #4f46e5;
}.spotlight-excerpt{ font-size: var(--fs-dek); font-weight: 400;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}.spotlight-byline{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: #64748b;
}

/* --------------------------------------------------------------------------
   3. SECTION 3: THE MAIN INTELLIGENCE FEED & SIDEBAR
   -------------------------------------------------------------------------- */.main-intelligence-section{
  padding: var(--section-space) 0;
  border-bottom: 1px solid #e2e8f0;
}.intelligence-layout{
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Main 2-Column Feed */.feed-cards-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  row-gap: 32px;
}.feed-editorial-card{
  display: flex;
  flex-direction: column;
  background-color: #f5f6f9;
  border-bottom: 1px solid #dce2eb;
}.feed-card-content{
  padding: 4px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}.feed-card-content .feed-card-title{
  color: #15243b;
  line-height: 1.3;
}.feed-card-media{
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 10px;
}.feed-media-link{
  display: block;
  width: 100%;
  height: 100%;
}.feed-card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}.feed-card-meta{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}.feed-cat-name{
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
}.feed-cat-name:hover{
  text-decoration: underline;
}.feed-time{ font-size: var(--fs-xs); font-weight: 500;
  color: #64748b;
}.feed-card-title{
  min-height: 2.6em;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}.feed-card-title a{
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}.feed-editorial-card:hover .feed-card-title a{
  color: #4f46e5;
}.feed-card-excerpt{ font-size: var(--fs-sm); font-weight: 400; line-height: 1.55; color: #475569;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}.feed-card-byline{
  margin-top: auto;
  padding-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: #64748b;
}

/* Sidebar Widgets */.intelligence-sidebar{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Widget 1: Most Read (Numbered 01-05) */.sidebar-box-header{
  border-bottom: 2px solid #0f172a;
  padding-bottom: 8px;
  margin-bottom: 16px;
}.sidebar-box-title{ font-size: var(--fs-h4); font-weight: 700;
  color: #09090b;
  margin: 2px 0 0 0;
}

/* Widget 2: Clean Editorial Radar Card (White background, crisp right accent border) */.radar-card-dark{
  background-color: #ffffff;
  color: #0f172a;
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
  padding: 20px 0 0;
}.radar-card-title{ font-size: var(--fs-h4); font-weight: 700;
  color: #09090b;
  line-height: 1.3;
  margin: 0 0 8px 0;
}.radar-card-text{
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px 0;
}.radar-card-cta{
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
}.radar-card-cta:hover{
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. SECTION 4: CATEGORY DESKS
   -------------------------------------------------------------------------- */.category-desks-section{
  padding: var(--section-space) 0 32px;
  background-color: #ffffff;
}.category-desks-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}.category-desk-col{
  display: flex;
  flex-direction: column;
}.category-desk-col:not(:first-child){
  border-right: 0;
  padding-right: 0;
}.desk-col-header{
  margin-bottom: 16px;
}.desk-accent-bar{
  display: block;
  width: 28px;
  height: 2px;
  background-color: #4f46e5;
  margin-bottom: 8px;
}.cat-business-ai .desk-accent-bar{ background-color: #059669; }.cat-hardware .desk-accent-bar{ background-color: #d97706; }.desk-name{ font-size: var(--fs-h4); font-weight: 700;
  margin: 2px 0 0 0;
}.desk-name a{
  color: #09090b;
  text-decoration: none;
  transition: color 0.15s ease;
}.desk-name a:hover{
  color: #4f46e5;
}.desk-posts-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Desk Lead Item */.desk-lead-item{
  display: flex;
  flex-direction: column;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}.desk-lead-thumb-link{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 8px;
}.desk-lead-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}.desk-time{ font-size: var(--fs-xs); font-weight: 500;
  color: #64748b;
  margin-bottom: 4px;
  display: block;
}.desk-lead-title{ font-size: 18px; font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 0;
}.desk-lead-title a{
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}.desk-lead-title a:hover{
  color: #4f46e5;
}

/* Desk Sub Item */.desk-sub-item{
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}.desk-sub-item:last-child{
  border-bottom: none;
  padding-bottom: 0;
}.desk-sub-title{ font-size: 16px; font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  margin: 0;
}.desk-sub-title a{
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}.desk-sub-title a:hover{
  color: #4f46e5;
}

/* --------------------------------------------------------------------------
   5. Clean Overrides for Header, Nav & Global Chrome
   -------------------------------------------------------------------------- */
/* Header refresh: fixed vector wordmark and quiet editorial navigation. */
.site-header {
  --header-accent: #5952d6;
  --header-ink: #182234;
  --header-tint: #f5f4ff;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: none;
}
.site-header .header-wordmark {
  min-height: 44px;
  flex: none;
  line-height: 0;
}
.nextai-wordmark { display: block; width: 150px; height: auto; overflow: visible; }
.site-header .nav-list { gap: clamp(12px, 1.5vw, 24px); }
.site-header .nav-list li a {
  min-height: 68px;
  padding: 0 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--header-ink);
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: none;
  transition: color .18s ease;
}
.site-header .nav-list li a::after {
  right: 2px; left: 2px; bottom: 0;
  height: 2px; border-radius: 0;
  background: var(--header-accent);
}
.site-header .nav-list li a:hover,
.site-header .nav-list li.current-menu-item a,
.site-header .nav-list li.current-menu-parent a {
  color: var(--header-accent);
  background: transparent;
  border: 0;
  transform: none;
}
.site-header .nav-list li a:hover::after,
.site-header .nav-list li.current-menu-item a::after,
.site-header .nav-list li.current-menu-parent a::after { transform: scaleX(1); }
.site-header .search-toggle-btn,
.site-header .mobile-toggle {
  height: 44px;
  background: var(--header-tint);
  border: 1px solid #e2dff5;
  border-radius: 6px;
  color: var(--header-accent);
  box-shadow: none;
}
.site-header .search-toggle-btn { font-size: 14px; padding: 0 12px; }
.site-header .search-toggle-btn svg { width: 18px; height: 18px; }
.site-header .mobile-toggle { width: 44px; }
.site-header .search-toggle-btn:hover,
.site-header .mobile-toggle:hover,
.site-header .mobile-toggle.is-open,
.site-header .search-toggle-btn[aria-expanded="true"] { border-color: var(--header-accent); color: var(--header-accent); background: #eeecfc; }
.site-header .mobile-toggle span { background-color: currentColor; }
.site-header :is(a, button, input):focus-visible { outline: 2px solid var(--header-accent); outline-offset: 3px; }
.site-header .search-shortcut {
  direction: ltr; unicode-bidi: isolate;
  background: transparent; border: 0; padding: 0;
  color: #667085; font-size: 11px; font-family: var(--font-site);
}
.site-header .search-field { min-width: 0; height: 44px; border-radius: 6px; }
.site-header .search-field:focus { border-color: var(--header-accent); box-shadow: none; }
.site-header .search-icon-inside { color: var(--header-accent); }
.site-header .search-submit:hover { background: #4942bc; transform: none; }
.site-header .search-submit { background: var(--header-accent); min-height: 44px; border-radius: 6px; }
.site-header .search-close { width: 44px; height: 44px; padding: 0; flex: none; border-radius: 6px; }
@media (min-width: 1101px) {
  .header-compact-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; }
  .header-actions { justify-self: end; }
}
@media (max-width: 1100px) {
  .site-header .nav-list { gap: 0; }
  .site-header .main-nav .nav-list li a { min-height: 48px; display: flex; justify-content: flex-start; padding: 10px 4px; border-bottom: 1px solid var(--border-subtle); }
  .site-header .nav-list li:last-child a { border-bottom: 0; }
  .site-header .nav-list li.current-menu-item a { color: var(--header-accent); }
  .site-header .main-nav { max-height: calc(100dvh - 80px); overflow-y: auto; }
}
@media (max-width: 640px) {
  .header-compact-row { height: 64px; gap: 16px; }
  .nextai-wordmark { width: 132px; }
  .header-actions { gap: 8px; }
  .site-header .search-toggle-btn { width: 44px; padding: 0; justify-content: center; }
  .site-header .search-btn-label, .site-header .search-shortcut { display: none; }
  .header-search-form { gap: 8px; }
  .site-header .search-submit { padding: 10px 12px; }
  .site-header .search-field { padding: 12px 12px; }
  .site-header .search-icon-inside { display: none; }
}
/* Preserve the existing footer lockup, outside the header refresh. */
.footer-about .brand-logo .ai { background: none; -webkit-text-fill-color: #4f46e5; color: #4f46e5; }
.footer-about .brand-logo .dot { background: #4f46e5; box-shadow: none; }
/* Footer styling is owned by the single block near the top of this file — the
   legacy `!important` override that lived here was removed (V2.22.1). It forced
   a white background over the footer's tinted surface and re-declared a border
   that the primary rule already sets. */

/* --------------------------------------------------------------------------
   6. Responsive Precision
   -------------------------------------------------------------------------- */@media (max-width: 1100px){.intelligence-layout{
    grid-template-columns: 1fr;
    gap: 36px;
  }.intelligence-sidebar{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}@media (max-width: 900px){.spotlight-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }.spotlight-col:not(:first-child){
    border-right: none;
    padding-right: 0;
  }.category-desks-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }.category-desk-col:not(:first-child){
    border-right: none;
    padding-right: 0;
  }
}

/* --------------------------------------------------------------------------
   6. Mobile Navigation (toggle dropdown) — prevents horizontal page overflow
   --------------------------------------------------------------------------
   The hamburger is rendered by header.php and driven by main.js
   (`.main-nav.mobile-open`). Without these rules the desktop nav stays
   visible and pushes ~160px of horizontal scroll onto every mobile load. */@media (max-width: 1100px){.mobile-toggle{
    display: inline-flex;
  }.main-nav{
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    inset-inline: 0;
    flex: none;
    justify-content: flex-start;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 4px 0 10px;
    z-index: 999;
  }.main-nav.mobile-open{
    display: block;
  }.main-nav .nav-list{
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }.main-nav .nav-list li{
    width: 100%;
  }.main-nav .nav-list li a{
    display: block;
    width: 100%;
    justify-content: flex-start;
    min-height: 0;
    padding: 12px 4px;
    border-radius: 0;
    border-bottom: 1px solid #eef1f6;
    text-align: start;
    transform: none;
  }.main-nav .nav-list li:last-child a{
    border-bottom: none;
  }.main-nav .nav-list li a::after,
.main-nav .nav-list li.current-menu-item a::after{
    display: none;
  }.main-nav .nav-list li.current-menu-item a,
.main-nav .nav-list li a:hover{
    background-color: transparent;
    border: none;
    color: #4f46e5;
    transform: none;
  }
}@media (max-width: 640px){.editorial-main-flow{
    --section-space: 16px;
  }.feed-cards-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Global Editorial Background Reset */html, body, #page{
  background-color: #ffffff !important;
  background: #ffffff !important;
}.media-placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  color: #94a3b8;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Section 5 Typography Rules */
.article-body > p,
.article-body > h2,
.article-body > h3,
.article-body > ul,
.article-body > ol {
  max-width: var(--measure);   /* 62ch ≈ 680px */
  margin-inline: auto;
}

.article-body > p {
  line-height: var(--lh-body);
}

/* Native controls share the site family; sizes and weights remain component-owned. */
button, input, select, textarea { font-family: inherit; }
