/*
Theme Name: PressForge
Theme URI: https://pressforge.com
Author: PressForge Team
Author URI: https://pressforge.com
Description: Premium News Magazine WordPress Theme. Sharp journalism, clear thinking.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pressforge
Tags: news, magazine, blog, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, translation-ready, two-columns

PressForge WordPress Theme, (C) 2026 PressForge Media Ltd.
PressForge is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  /* Core palette */
  --primary:    #D71920;
  --accent:     #D71920;
  --dark:       #101418;
  --dark-2:     #0F172A;
  --text:       #1F2937;
  --muted:      #667085;
  --border:     #E5E7EB;
  --white:      #FFFFFF;
  --soft:       #F7F8FA;

  /* Category accents (subtle, tuned) */
  --cat-world:    #D71920;
  --cat-tech:     #2563EB;
  --cat-health:   #059669;
  --cat-travel:   #D97706;
  --cat-sport:    #7C3AED;
  --cat-recipes:  #EA580C;
  --cat-fashion:  #DB2777;

  /* Typography */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:      1240px;
  --content-max: 780px;
  --radius:     8px;
  --radius-sm:  5px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(17,24,39,.05);
  --shadow-md: 0 10px 30px -12px rgba(17,24,39,.14);

  /* Spacing scale */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px;
  --s9: 48px; --s10: 64px;

  /* Dynamic (Customizer overrides) */
  --header-bg:   #FFFFFF;
  --footer-bg:   #0F172A;
  --section-pad: 56px;
  --h1-size: clamp(2.375rem, 5vw, 3.25rem);
  --h2-size: clamp(1.75rem, 3.2vw, 2.125rem);
  --h3-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  --base-size: 16px;
  --base-lh: 1.65;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--base-size);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--base-lh);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s ease; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
  text-wrap: balance;
}

::selection { background: var(--primary); color: #fff; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.section-block { padding: var(--section-pad) 0; }

/* Accessibility helper */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal;
}

.skip-link { position: absolute; left: 8px; top: 8px; z-index: 9999; padding: .6rem 1rem; background: var(--dark); color: #fff; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: .8125rem; font-weight: 600; transform: translateY(-200%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.skip-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Page preloader (Lottie) */
.pressforge-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .35s ease, visibility .35s ease;
}
.pressforge-preloader.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.pressforge-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.pressforge-preloader-text {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pressforge-preloader-lottie { display: block; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7em 1.4em;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #c0141b; color: #fff; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1f2937; color: #fff; }

.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--dark); color: var(--dark); }

.btn-sm { padding: .45em 1em; font-size: .75rem; }

/* ==========================================================================
   4. Badges & Category Colors
   ========================================================================== */
.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.6;
  padding: .22em .72em;
  border-radius: 3px;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
  vertical-align: middle;
}
.badge-world   { background: var(--cat-world); }
.badge-tech    { background: var(--cat-tech); }
.badge-health  { background: var(--cat-health); }
.badge-travel  { background: var(--cat-travel); }
.badge-sport   { background: var(--cat-sport); }
.badge-recipes { background: var(--cat-recipes); }
.badge-fashion { background: var(--cat-fashion); }
.badge-break   { background: var(--primary); animation: pulse-b 1.8s infinite; }
@keyframes pulse-b { 0%,100% { opacity: 1 } 50% { opacity: .6 } }

/* ==========================================================================
   5. Meta line
   ========================================================================== */
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .75rem;
  color: var(--muted);
}
.meta-author { font-weight: 600; color: var(--meta-accent, var(--text)); }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.meta--light { color: rgba(255,255,255,.55); }
.meta--light .meta-author { color: rgba(255,255,255,.85); }

/* ==========================================================================
   6. Section Headers
   ========================================================================== */
.sec-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.sec-head::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 2px;
  background: var(--accent);
}
.sec-title-wrap { display: flex; flex-direction: column; gap: .25rem; }
.sec-eyebrow {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  line-height: 1.2;
}
.sec-title--white { color: var(--white); }
.sec-eyebrow--white { color: rgba(255,255,255,.45); }
.sec-sub { font-size: .875rem; color: var(--muted); margin-top: .25rem; }
.sec-more {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: .25rem;
  transition: color .2s ease, gap .2s ease;
}
.sec-more::after { content: '\2192'; transition: transform .2s ease; }
.sec-more:hover { color: var(--primary); }
.sec-more:hover::after { transform: translateX(3px); }
.sec-head--light { border-color: rgba(255,255,255,.12); }
.sec-head--light::before { background: var(--primary); }
.sec-more--light { color: rgba(255,255,255,.5); }
.sec-more--light:hover { color: #fff; }

/* ==========================================================================
   7. Header
   ========================================================================== */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.72);
  font-size: .75rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.25rem; }
.topbar-date { color: rgba(255,255,255,.45); white-space: nowrap; }
.topbar-links { display: flex; gap: 1.25rem; }
.topbar-links a { color: rgba(255,255,255,.55); }
.topbar-links a:hover { color: #fff; }
.topbar-note {
  display: inline-flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.8); white-space: nowrap;
}
.topbar-note::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(215,25,32,.25);
}
.top-social { display: flex; gap: .3rem; }
.top-social .soc-icon-btn {
  width: 26px; height: 26px;
  font-size: .6875rem;
}
.top-social .soc-icon-btn svg { width: 13px; height: 13px; }
.top-social a:hover { background: var(--primary); color: #fff; }

/* Social icon buttons (shared brand circles) */
.soc-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.soc-icon-btn svg { width: 15px; height: 15px; display: block; }
.soc-icon-btn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.soc-icon-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Main header */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  z-index: 200;
}
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 2px 20px -10px rgba(17,24,39,.12); }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.125rem 0;
}

.site-logo { display: flex; flex-direction: column; flex-shrink: 0; }
.site-logo .custom-logo { width: 220px; max-width: 100%; height: auto; }
@media (min-width: 768px) and (max-width: 1023px) {
  .site-logo .custom-logo { width: 180px; }
}
@media (max-width: 767px) {
  .site-logo { flex: 1 1 auto; min-width: 0; }
  .site-logo .custom-logo { width: auto; max-width: min(38vw, 130px); max-height: 40px; object-fit: contain; }
  .site-logo .logo-word { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
.logo-word {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--dark);
  line-height: 1;
  transition: opacity .2s ease;
}
.site-logo:hover .logo-word { opacity: .85; }
.logo-word em {
  background: linear-gradient(135deg, var(--primary) 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
.logo-tag {
  font-family: var(--font-display);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .45rem;
  padding-top: .45rem;
  border-top: 1px solid var(--border);
}

.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.search-wrap { position: relative; }
.search-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color .2s ease, color .2s ease;
}
.search-btn:hover { border-color: var(--dark); color: var(--dark); }
.search-btn svg { width: 15px; height: 15px; }
.search-dropdown-header {
  position: absolute;
  top: calc(100% + .625rem);
  right: 0;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px -8px rgba(16, 20, 24, .18);
  padding: .625rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 400;
}
.search-wrap.active .search-dropdown-header { opacity: 1; visibility: visible; transform: translateY(0); }
.search-form-header { position: relative; display: flex; align-items: center; gap: .375rem; }
.search-form-icon { position: absolute; left: .75rem; color: var(--muted); pointer-events: none; }
.search-input-header {
  width: 100%;
  padding: .7rem 3rem .7rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .875rem;
  color: var(--text);
  outline: none;
  background: var(--soft);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.search-input-header:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
}
.search-submit {
  position: absolute;
  right: .375rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, #b9141b 100%);
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.search-submit:hover { transform: translateY(-50%) scale(1.05); box-shadow: 0 4px 12px -4px rgba(215, 25, 32, .5); }
.search-submit:active { transform: translateY(-50%) scale(.92); }

.header-cta { display: inline-flex; }

/* Primary navigation */
.site-nav { border-top: 1px solid var(--border); background: var(--header-bg); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-list { display: flex; flex-wrap: wrap; }
.nav-link {
  display: block;
  padding: .9rem 1.1rem;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
  position: relative;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover, .nav-link.active,
.nav-link.current-menu-item, .nav-link.current-menu-ancestor { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after,
.nav-link.current-menu-item::after, .nav-link.current-menu-ancestor::after { transform: scaleX(1); }

/* Dropdown */
.menu-item-has-children { position: relative; }
.menu-item-has-children > .nav-link { padding-right: 1.9rem; }
.menu-item-has-children > .nav-link::before {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: .6;
  transition: transform .2s ease;
}
.menu-item-has-children:hover > .nav-link::before { transform: translateY(-35%) rotate(-135deg); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 300;
  padding: .4rem 0;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu .nav-link {
  padding: .45rem 1.125rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  white-space: nowrap;
}
.sub-menu .nav-link::before, .sub-menu .nav-link::after { display: none; }
.sub-menu .nav-link:hover { color: var(--primary); background: var(--soft); }
.menu-item-has-children:hover > .sub-menu { display: block; }

.sub-menu .menu-item-has-children > .nav-link::before {
  right: .875rem;
  transform: translateY(-50%) rotate(135deg);
}
.sub-menu .sub-menu { top: -.4rem; left: 100%; border-radius: var(--radius-sm); }
.menu-item-has-children:hover > .sub-menu .sub-menu {
  transform: translateX(4px);
}

/* ==========================================================================
   8. Ticker / Breaking strip
   ========================================================================== */
.ticker { border-bottom: 1px solid var(--border); background: var(--soft); overflow: hidden; }
.ticker-inner { display: flex; align-items: stretch; }
.ticker-label {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-row { display: flex; gap: 0; animation: scroll-x 40s linear infinite; width: max-content; }
.ticker-item {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text);
  padding: .5rem 2.5rem .5rem .25rem;
  white-space: nowrap;
  display: inline-block;
}
.ticker-item a { color: var(--text); }
.ticker-item a:hover { color: var(--primary); }
.ticker-item::before { content: '\25C6'; font-size: .4rem; opacity: .5; vertical-align: middle; margin-right: .4rem; }
@keyframes scroll-x { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker:hover .ticker-row { animation-play-state: paused; }

/* ==========================================================================
   9. Layout helpers (content + sidebar)
   ========================================================================== */
.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.content-col { min-width: 0; }
.entry-content { padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 1.5rem); }

/* ==========================================================================
   10. Card System
   ========================================================================== */
.news-card { display: flex; flex-direction: column; gap: .65rem; min-width: 0; }
.news-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  aspect-ratio: 16 / 10;
}
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.news-card:hover .news-media img, .featured-card:hover .news-media img,
.overlay-card:hover .news-media img, .list-card:hover .news-media img { transform: scale(1.03); }

.news-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.01em;
  color: var(--text);
  transition: color .2s ease;
}
a.news-title:hover, .news-card:hover .news-title,
.featured-card:hover .news-title, .list-card:hover .news-title,
.overlay-card:hover .news-title {
  color: var(--primary);
}
.news-excerpt {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--muted);
}
.news-card-title { font-size: min(1.125rem, 4.5vw); }

/* Featured card (large) */
.featured-card { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.featured-card .news-media { aspect-ratio: 16 / 9; }
.featured-card .news-title { font-size: var(--h2-size); line-height: 1.2; }

/* Overlay card */
.overlay-card { position: relative; border-radius: var(--radius); overflow: hidden; min-width: 0; }
.overlay-card .news-media { aspect-ratio: 4 / 3; border-radius: 0; }
.overlay-card--tall .news-media { aspect-ratio: 3 / 4; }
.overlay-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(17,24,39,.94) 0%, rgba(17,24,39,.45) 55%, transparent 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.overlay-card .news-title { color: var(--white); font-size: 1.125rem; }
.overlay-card:hover .news-title { color: #fff; opacity: .88; }

/* Travel slider (Off The Map) — auto-play, no arrows */
.travel-slider { position: relative; }
.travel-slider__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.travel-slider__track::-webkit-scrollbar { display: none; }
.travel-slider__track > .overlay-card { flex: 0 0 calc((100% - 3rem) / 3); scroll-snap-align: start; }
.travel-slider__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.travel-slider__dot {
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #C7C9D3;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 27, .12);
  cursor: pointer;
  flex: none;
  transition: width .25s ease, background-color .25s ease;
}
.travel-slider__dot.active { width: 26px; background: var(--cat-travel); box-shadow: inset 0 0 0 1px rgba(217, 119, 6, .35); }
.travel-slider__dot:hover, .travel-slider__dot:focus-visible { background: var(--cat-travel); box-shadow: inset 0 0 0 1px rgba(217, 119, 6, .35); outline: none; }
/* Hero slider dots use the brand color */
.hero-slider .travel-slider__dots .travel-slider__dot.active,
.hero-slider .travel-slider__dots .travel-slider__dot:hover,
.hero-slider .travel-slider__dots .travel-slider__dot:focus-visible { background: var(--primary); box-shadow: inset 0 0 0 1px rgba(215, 25, 32, .35); }

/* List card (thumb right or plain) */
.list-card { display: flex; align-items: flex-start; gap: 1rem; }
.list-card .news-media { flex: 0 0 120px; aspect-ratio: 3 / 2; border-radius: var(--radius-sm); }
.list-card .news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .35rem; }

/* Trending (numbered) card */
.trending-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .875rem 0;
  border-bottom: 1px solid var(--border);
}
.trending-card:first-child { padding-top: 0; }
.trending-card:last-child { padding-bottom: 0; border-bottom: none; }
.trending-num {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
  color: #D1D5DB;
  min-width: 2ch;
  user-select: none;
}
.trending-card:hover .trending-num { color: var(--primary); }
.trending-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.trending-title {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color .2s ease;
}
.trending-card:hover .trending-title { color: var(--primary); }

/* Video card */
.video-card { min-width: 0; }
.video-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; }
.video-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.video-card:hover .video-media img { transform: scale(1.03); }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.play-btn svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.video-card:hover .play-btn { background: var(--primary); border-color: var(--primary); }

/* ==========================================================================
   11. Grids
   ========================================================================== */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-span-2 { grid-column: span 2; }
.grid-span-3 { grid-column: span 3; }

/* ==========================================================================
   12. Hero
   ========================================================================== */
.hero { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--border); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.hero-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
}
.hero-feature .news-media { aspect-ratio: auto; border-radius: 0; position: absolute; inset: 0; }
.hero-feature .news-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,.94) 0%, rgba(17,24,39,.35) 55%, rgba(17,24,39,.05) 100%);
}
.hero-feature .news-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 2.25rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--white);
}
.hero-feature:hover .hero-title { color: var(--white); }
.hero-excerpt { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 56ch; }

/* Hero side stories */
.hero-trending { display: flex; flex-direction: column; }
.hero-trending .sec-head { margin-bottom: 1rem; padding-bottom: .75rem; }
.hero-side-list { display: flex; flex-direction: column; flex: 1; }
.hero-story {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.hero-story:first-child { padding-top: 0; }
.hero-story:last-child { padding-bottom: 0; border-bottom: none; }
.hero-story .news-media { aspect-ratio: 3 / 2; border-radius: var(--radius-sm); }
.hero-story-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  transition: color .2s ease;
}
.hero-story:hover .hero-story-title { color: var(--primary); }
.hero-story .news-body { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }

/* Hero slider (big banner, 5 posts auto-cycling) */
.hero-slider { position: relative; min-width: 0; }
.hero-slider__track { gap: 0; padding: 0; }
.hero-slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.hero-slider__slide .hero-title { font-size: clamp(1.375rem, 2.6vw, var(--h1-size)); }
.hero-slider__dots { margin-top: 1.25rem; }

/* ==========================================================================
   13. Homepage sections
   ========================================================================== */
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark-2); }

/* Magazine / News grid */
.mag-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.mag-side { display: flex; flex-direction: column; gap: 2rem; position: sticky; top: 1.5rem; align-self: start; }
.trending-panel { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.trending-panel .panel-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--dark);
  position: relative;
}
.trending-panel .panel-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 48px; height: 2px;
  background: var(--primary);
}

/* Overlay grid (Travel etc) */
.travel-card { position: relative; }

/* Video section */
.vid-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.vid-list { display: flex; flex-direction: column; }
.video-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1rem;
  align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.video-item:first-child { padding-top: 0; }
.video-item:last-child { padding-bottom: 0; border-bottom: none; }
.video-item .video-media { aspect-ratio: 3 / 2; border-radius: var(--radius-sm); }
.video-item .play-btn { width: 34px; height: 34px; border-width: 1px; }
.video-item .play-btn svg { width: 12px; height: 12px; }
.video-item .news-title { color: rgba(255,255,255,.9); font-size: .9375rem; line-height: 1.4; }
.video-item:hover .news-title { color: var(--white); }
.video-item .meta { color: rgba(255,255,255,.35); }

/* ==========================================================================
   14. Newsletter CTA
   ========================================================================== */
.newsletter-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(215,25,32,.06), transparent 44%),
    radial-gradient(circle at 8% 90%, rgba(215,25,32,.04), transparent 40%);
  padding: clamp(4rem, 9vw, 6rem) 0;
}
.newsletter-cta .container {
  position: relative;
  max-width: calc(var(--max-w) + 0px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  box-shadow: 0 24px 60px -24px rgba(17,24,39,.35);
}
.cta-copy { min-width: 0; }
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(215,25,32,.08);
  padding: .4rem .85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.cta-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(215,25,32,.15);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: .9rem;
  max-width: 18ch;
}
.cta-title em { font-style: normal; color: var(--primary); }
.cta-text { font-size: .9375rem; color: var(--muted); line-height: 1.7; max-width: 52ch; }
.cta-perks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-top: 1.25rem;
}
.cta-perks li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
}
.cta-perks li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background-color: rgba(5,150,105,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23059669' d='M4.6 8.6 2.4 6.4l-.9.9 3.1 3.1 5.9-5.9-.9-.9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.cta-panel { min-width: 0; }
.cta-form {
  display: flex;
  gap: .5rem;
  align-items: center;
  background: #fff;
  padding: .375rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cta-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(215,25,32,.12); }
.cta-mail-icon {
  flex-shrink: 0;
  margin-left: .875rem;
  color: var(--muted);
  display: inline-flex;
}
.cta-input {
  flex: 1;
  min-width: 0;
  padding: .85rem .5rem;
  border: none;
  background: transparent;
  font-size: .9375rem;
  color: var(--dark);
  outline: none;
}
.cta-input::placeholder { color: var(--muted); }
.cta-btn {
  background: var(--primary);
  color: #fff;
  padding: .85rem 1.5rem;
  min-height: 48px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(215,25,32,.55);
}
.cta-btn:hover { background: #c0141b; color: #fff; transform: translateY(-1px); }
.cta-note { margin-top: .85rem; font-size: .6875rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.cta-note.is-success { color: var(--cat-health); }
.cta-note.is-error { color: var(--primary); }

/* Unsubscribe confirmation banner */
.pressforge-flash {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: #fff;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  padding: .65rem 1.25rem;
  font-size: .8125rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}
.pressforge-flash.is-success { border-color: var(--border); border-left-color: var(--cat-health); color: var(--text); }
.pressforge-flash.is-error { border-color: var(--border); border-left-color: var(--primary); color: var(--text); }

@media (max-width: 768px) {
  .newsletter-cta { padding: 2.5rem 0; }
  .newsletter-cta .container { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1.5rem; border-radius: 14px; }
  .cta-title { font-size: clamp(1.5rem, 6vw, 1.875rem); }
  .newsletter-cta .cta-form { flex-direction: row; background: #fff; padding: .375rem; box-shadow: var(--shadow-sm); max-width: none; }
  .newsletter-cta .cta-input { background: transparent; padding: .8rem .5rem; border-radius: 0; }
  .newsletter-cta .cta-btn { width: auto; min-height: 46px; justify-content: center; }
}

/* ==========================================================================
   15. Sidebar & Widgets
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 2rem; min-width: 0; position: sticky; top: 1.5rem; align-self: start; max-height: calc(100vh - 3rem); overflow-y: auto; }
.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.widget-title {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.widget-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 40px; height: 2px;
  background: var(--primary);
}

/* Core widgets: keep sidebar designed no matter which standard widgets are used */
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul ul { margin: .35rem 0 0 1rem; padding-left: 1rem; border-left: 1px solid var(--border); }
.widget li { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; line-height: 1.55; }
.widget li:last-child { border-bottom: none; }
.widget li > a { color: var(--text); font-family: var(--font-display); font-weight: 500; transition: color .2s ease; }
.widget li a:hover { color: var(--primary); }
.widget p { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.widget .post-date, .widget .rss-date { display: block; font-size: .6875rem; color: var(--muted); margin-top: .15rem; }
.widget select { width: 100%; margin-top: .5rem; padding: .5rem .6rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .875rem; color: var(--text); background: var(--white); }
.widget_title a, .widget-title a { color: var(--dark); }
.widget .screen-reader-text { position: absolute; }
.widget img { max-width: 100%; height: auto; }
.widget_search .search-form { margin: 0; max-width: none; }
.widget_search .search-form-input { flex: 1; min-width: 0; }
.widget_search .search-form-submit { flex-shrink: 0; }
.widget_calendar table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.widget_calendar caption { font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; text-align: left; margin-bottom: .75rem; color: var(--dark); }
.widget_calendar th, .widget_calendar td { text-align: center; padding: .4rem 0; }
.widget_calendar th { color: var(--muted); font-weight: 600; }
.widget_calendar td a { font-weight: 700; color: var(--primary); }
.widget_calendar #prev, .widget_calendar #next { padding-top: .5rem; }
.widget_calendar #prev a, .widget_calendar #next a { font-family: var(--font-display); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text); }
.widget_calendar #prev a:hover, .widget_calendar #next a:hover { color: var(--primary); }
.tagcloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tagcloud a { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: .8125rem !important; color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: .3em .85em; line-height: 1.4; transition: all .2s ease; }
.tagcloud a:hover { border-color: var(--primary); color: var(--primary); }
.widget_rss .rsswidget { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.widget_rss cite { display: block; font-style: normal; font-size: .6875rem; color: var(--muted); margin-top: .25rem; }
.widget_meta li, .widget_pages li, .widget_nav_menu li, .widget_rss li, .widget_archive li, .widget_categories li { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.widget_meta li:last-child, .widget_pages li:last-child, .widget_nav_menu li:last-child, .widget_rss li:last-child, .widget_archive li:last-child, .widget_categories li:last-child { border-bottom: none; }
.widget_recent_comments li a { font-family: var(--font-display); font-weight: 500; color: var(--text); }

/* Gutenberg block widgets (sidebar may use block widgets instead of classic ones) */
.widget h2.wp-block-heading {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark);
  margin: 0 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.widget h2.wp-block-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 40px; height: 2px;
  background: var(--primary);
}
.widget .wp-block-search { margin: 0; }
.widget .wp-block-search__inside-wrapper { gap: .5rem; }
.widget .wp-block-search__label {
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.widget .wp-block-search__input {
  min-width: 0; width: 100%;
  padding: .55rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text);
  background: var(--white);
}
.widget .wp-block-search__input:focus { outline: none; border-color: var(--primary); }
.widget .wp-block-search__button {
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .04em;
  padding: .55rem .9rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.widget .wp-block-search__button:hover { background: var(--dark); }
.widget .wp-block-latest-posts,
.widget .wp-block-latest-comments,
.widget .wp-block-archives-list,
.widget .wp-block-categories-list {
  list-style: none; margin: 0; padding: 0;
}
.widget .wp-block-latest-posts li,
.widget .wp-block-latest-comments li,
.widget .wp-block-archives-list li,
.widget .wp-block-categories-list li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem; line-height: 1.55;
}
.widget .wp-block-latest-posts li:last-child,
.widget .wp-block-latest-comments li:last-child,
.widget .wp-block-archives-list li:last-child,
.widget .wp-block-categories-list li:last-child { border-bottom: none; }
.widget .wp-block-latest-posts__list a,
.widget .wp-block-archives-list a,
.widget .wp-block-categories-list a {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  transition: color .2s ease;
}
.widget .wp-block-latest-posts__list a:hover,
.widget .wp-block-archives-list a:hover,
.widget .wp-block-categories-list a:hover { color: var(--primary); }
.widget .wp-block-latest-posts__post-date,
.widget .wp-block-latest-comments__comment-date {
  display: block;
  font-size: .6875rem;
  color: var(--muted);
  margin-top: .15rem;
}
.widget .wp-block-latest-posts__featured-image { margin-bottom: .4rem; }
.widget .wp-block-latest-posts__featured-image img { border-radius: var(--radius-sm); }
.widget .wp-block-latest-comments__comment { font-size: .875rem; line-height: 1.55; }
.widget .wp-block-latest-comments__comment-author,
.widget .wp-block-latest-comments__comment-link {
  font-family: var(--font-display); font-weight: 500; color: var(--text);
}
.widget .wp-block-categories__list { margin-top: .35rem; padding-left: 1rem; border-left: 1px solid var(--border); }
.widget .wp-block-group { margin: 0; }

/* Widget: recent/must-read (numbered) */
.mr-list { display: flex; flex-direction: column; }
.mr-item { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.mr-item:first-child { padding-top: 0; }
.mr-item:last-child { padding-bottom: 0; border-bottom: none; }
.mr-thumb { flex: 0 0 72px; width: 72px; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; }
.mr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mr-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #D1D5DB;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}
.mr-item:hover .mr-num { color: var(--primary); }
.mr-body { flex: 1; min-width: 0; }
.mr-hl {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: .3rem;
  transition: color .2s ease;
}
.mr-item:hover .mr-hl { color: var(--primary); }

/* Widget: categories */
.cat-list { display: flex; flex-direction: column; }
.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .2s ease;
}
.cat-item:last-child { border-bottom: none; }
.cat-item:hover { padding-left: .5rem; }
.cat-name {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}
.cat-dot { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }
.cat-count { font-family: var(--font-display); font-size: .6875rem; color: var(--muted); }

/* Widget: social follow */
.social-panel { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.social-panel-title {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1rem;
}
.soc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.soc-stat {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color .2s ease, transform .15s ease;
}
.soc-stat:hover { border-color: rgba(17,24,39,.3); transform: translateY(-1px); }
.soc-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.soc-body { flex: 1; min-width: 0; }
.soc-count { font-family: var(--font-display); font-size: .9375rem; font-weight: 600; color: var(--dark); line-height: 1.1; }
.soc-label { font-family: var(--font-body); font-size: .625rem; color: var(--muted); }
.soc-btn {
  font-family: var(--font-display);
  font-size: .625rem; font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  padding: .3em .7em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  transition: background .2s ease, color .2s ease;
}
.soc-btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }

/* Widget: advertisement */
.widget-ad { text-align: center; padding: 0; overflow: hidden; }
.ad-source {
  display: block;
  font-family: var(--font-display);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .625rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--soft);
}
.ad-box { padding: 0; min-height: 220px; display: flex; align-items: center; justify-content: center; }
.ad-placeholder { color: var(--border); font-family: var(--font-display); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.widget-promo img { width: 100%; height: 120px; object-fit: cover; }
.widget-promo-body { padding: 1rem 1.25rem; }

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.6); }
.footer-top { padding: 3rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(150px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.footer-brand { min-width: 0; }
.footer-col { min-width: 0; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}
.footer-logo em { color: var(--primary); font-style: normal; }
.footer-logo .custom-logo-link { display: inline-block; }
.footer-logo .custom-logo-link img { width: 170px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.footer-logo .custom-logo-link:hover img { opacity: .85; }
.footer-about { font-size: .8125rem; line-height: 1.7; color: rgba(255,255,255,.45); margin: .875rem 0 1.25rem; max-width: 34ch; }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-soc-link { width: 32px; height: 32px; }

/* Brand colors */
.soc-fb  { background: #1877F2; }
.soc-x   { background: #111827; }
.soc-yt  { background: #FF0000; }
.soc-ig  { background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888); }
.soc-li  { background: #0A66C2; }
.soc-wa  { background: #25D366; }
.soc-social { background: var(--primary); }
.footer-col-title {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.125rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.footer-nav a { font-size: .8125rem; color: rgba(255,255,255,.42); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-copy { font-family: var(--font-body); font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-family: var(--font-body); font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-legal a:hover { color: #fff; }

/* ==========================================================================
   17. Pagination
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active, .page-btn.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.next, .page-btn.prev { min-width: 44px; font-size: .9375rem; }

/* ==========================================================================
   18. Single Post
   ========================================================================== */
.single-header { margin-bottom: 1.5rem; }
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: var(--border); }
.single-title {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.18;
  margin: 1rem 0 1.25rem;
}
.single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0;
}
.single-meta .author-chip { display: flex; align-items: center; gap: .625rem; }
.single-meta .avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.entry-meta-name { font-weight: 600; color: var(--text); font-size: .8125rem; }
.single-thumb { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }
.single-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Social share */
.share-bar { display: flex; align-items: center; gap: .5rem; margin: 0 0 2rem; }
.share-label { font-family: var(--font-display); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .25rem; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.share-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Entry content */
.entry-content-inner { font-size: 1rem; max-width: var(--content-max); }
.entry-content-inner > * { margin-bottom: 1.25rem; }
.entry-content-inner h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  margin: 2.2em 0 .6em;
}
.entry-content-inner h3 {
  font-family: var(--font-display);
  font-size: var(--h3-size);
  margin: 2em 0 .5em;
}
.entry-content-inner p { line-height: 1.75; color: var(--text); }
.entry-content-inner a { color: var(--primary); }
.entry-content-inner a:hover { text-decoration: underline; }
.entry-content-inner img { border-radius: var(--radius); }
.entry-content-inner .alignwide { margin-left: -2rem; margin-right: -2rem; max-width: calc(100% + 4rem); }
.entry-content-inner .alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }
.entry-content-inner blockquote {
  border-left: 3px solid var(--primary);
  background: var(--soft);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--dark);
}
.entry-content-inner blockquote p { margin-bottom: 0; }
.entry-content-inner ul, .entry-content-inner ol { margin: 0 0 1.25rem 1.25rem; }
.entry-content-inner ul { list-style: disc; }
.entry-content-inner ol { list-style: decimal; }
.entry-content-inner li { margin-bottom: .5rem; }
.entry-content-inner table { border-collapse: collapse; width: 100%; }
.entry-content-inner th, .entry-content-inner td { border: 1px solid var(--border); padding: .6rem .75rem; text-align: left; }
.entry-content-inner th { background: var(--soft); font-family: var(--font-display); font-weight: 600; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .75rem; color: var(--muted); padding: .5rem 0; text-align: center; }

/* Post tags */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.tag-chip {
  display: inline-block;
  padding: .3em .9em;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .75rem;
  color: var(--muted);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tag-chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Author box */
.author-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 2rem 0;
}
.author-box .avatar { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; }
.author-box h4 { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: .35rem; }
.author-box p { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.author-box .author-role { font-family: var(--font-display); font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .6rem; display: block; }

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.post-nav .nav-block { display: block; }
.post-nav .nav-block--next { text-align: right; }
.post-nav .nav-label {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .4rem;
}
.post-nav .nav-title { font-family: var(--font-display); font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--text); transition: color .2s ease; }
.post-nav a:hover .nav-title { color: var(--primary); }

/* Related posts */
.related-posts { margin: 2.5rem 0; }

/* Comments */
.comments-area { margin: 2.5rem 0; }
.comment-list li { margin-bottom: 0; }
.comment { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.comment-body { display: flex; gap: 1rem; }
.comment .avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.comment .fn { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; }
.comment .fn a { color: var(--dark); }
.comment .comment-text { font-size: .875rem; line-height: 1.65; margin: .4rem 0; }
.comment-reply-link {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
}
.comment-reply-title { font-family: var(--font-display); font-size: 1.375rem; color: var(--dark); }
.comment-form label { display: block; font-size: .8125rem; font-weight: 600; margin-bottom: .35rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: .7rem .875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text);
  outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--primary); }
.comment-notes { font-size: .75rem; color: var(--muted); }

/* ==========================================================================
   19. Archive / Blog listing
   ========================================================================== */
.archive-header { padding: clamp(1.5rem, 3vw, 2rem) 0; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.archive-title { font-family: var(--font-display); font-size: var(--h2-size); font-weight: 600; color: var(--text); }
.archive-desc { color: var(--muted); margin-top: .5rem; max-width: 70ch; }

/* List style blog */
.blog-list { display: flex; flex-direction: column; gap: 2.25rem; }
.blog-item { padding-bottom: 2.25rem; border-bottom: 1px solid var(--border); }

/* ==========================================================================
   20. 404 / Search empty
   ========================================================================== */
.page-404 { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.page-404 .big-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}
.page-404 h2 { font-family: var(--font-display); font-size: 1.75rem; margin: 1rem 0; }
.page-404 p { color: var(--muted); margin-bottom: 2rem; max-width: 46ch; margin-inline: auto; }
.page-404-search { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.page-404-search .search-form { margin: 0; flex: 1 1 320px; max-width: 480px; }
.page-404-posts { text-align: left; margin-top: 1rem; }
.search-empty { text-align: center; padding: 4rem 0; }
.search-empty p { color: var(--muted); margin-bottom: 1.75rem; }

/* ==========================================================================
   21. Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  z-index: 500;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); }

/* ==========================================================================
   22. Reveal animation (subtle)
   ========================================================================== */
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .ticker-row, .badge-break { animation: none; }
}

/* ==========================================================================
   23. Mobile navigation
   ========================================================================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 1px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--dark); border-radius: 1px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle:hover span { background: var(--primary); }
.nav-toggle.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   24. Gutenberg blocks
   ========================================================================== */
.wp-block-button__link { background: var(--primary); color: #fff; padding: .7em 1.4em; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; }
.wp-block-button__link:hover { background: #c0141b; color: #fff; }
.wp-block-quote { border-left: 3px solid var(--primary); padding: 1rem 1.25rem; margin: 1.5rem 0; background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-code { background: var(--soft); padding: 1rem; border-radius: var(--radius-sm); font-size: .8125rem; overflow: auto; }
.wp-block-tag-cloud a { display: inline-block; padding: .2em .8em; margin: .2em; background: var(--soft); border: 1px solid var(--border); border-radius: 999px; font-size: .75rem !important; color: var(--muted); }
.wp-block-tag-cloud a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); }
.gallery-item img { width: 100%; height: 160px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* Sticky (post class in archives) */
.sticky { grid-column: 1 / -1; }

/* ==========================================================================
   25. Component refinements
   ========================================================================== */
.news-media, .video-media { display: block; }

/* Video */
.video-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-top: .875rem;
}
.video-title a { color: #fff; }
.video-title a:hover { color: var(--primary); }
.video-item-body { display: flex; flex-direction: column; min-width: 0; }
.video-item .news-title { display: inline-block; }

/* Search form (used in search.php empty state) */
.search-form { display: flex; gap: .5rem; max-width: 480px; margin: 0 auto; }
.search-form-input {
  flex: 1;
  min-width: 0;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease;
}
.search-form-input:focus { border-color: var(--primary); }
.search-form-submit { flex-shrink: 0; }
.search-term { color: var(--primary); }

/* Single meta */
.author-chip { display: flex; align-items: center; gap: .75rem; }
.entry-meta-name { font-weight: 600; color: var(--text); font-size: .875rem; }

/* Magazine main column */
.mag-main { min-width: 0; }
.trending-list { display: flex; flex-direction: column; gap: .25rem; }

/* ==========================================================================
   26. Responsive — organized: tablet → mobile → phones → small phones
   ========================================================================== */

/* Global utilities kept from the previous responsive layer */
html { scroll-padding-top: 90px; }
body.nav-open { overflow: hidden; }

/* Touch-target & hover-state performance for coarse pointers */
@media (hover: none) {
  .news-media img, .video-media img { transition: none; }
  .news-card:hover .news-media img, .featured-card:hover .news-media img,
  .overlay-card:hover .news-media img, .list-card:hover .news-media img { transform: none; }
}

/* Accordion caret only appears when JS enables accordions */
.acc-caret { display: none; }

/* ====================== TABLET (≤1024px) ====================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .mag-grid, .vid-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .content-wrap { grid-template-columns: minmax(0, 1fr) 280px; }
}

/* ====================== SMALL TABLET / LANDSCAPE (≤900px) ====================== */
@media (max-width: 900px) {
  :root { --section-pad: 48px; }

  .content-wrap, .mag-grid, .vid-grid { grid-template-columns: 1fr; }
  .sidebar, .mag-side { position: static; max-height: none; overflow: visible; margin-top: 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-feature { min-height: 380px; }

  /* Header: hamburger nav */
  .nav-toggle { display: flex; }
  .site-nav { overflow: hidden; transition: max-height .35s ease; max-height: 0; }
  .site-nav.open { max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav-list { flex-direction: column; padding: .5rem 0 1rem; }
  .nav-link { padding: .9rem .25rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-link::before, .nav-link::after { display: none; }
  .menu-item-has-children > .nav-link::before { display: block; position: absolute; right: .25rem; }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: auto;
    padding: 0 0 .25rem 1rem;
    display: none;
    background: transparent;
  }
  .menu-item-has-children.open > .sub-menu { display: block; }
  .sub-menu .nav-link { border-bottom: none; padding: .7rem .25rem; font-size: .9375rem; color: var(--text); }
  .sub-menu .nav-link:hover { background: none; }
  .nav-list .dropdown-toggle { display: inline-flex; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-btn span { display: none; }
  .header-cta { display: inline-flex; padding: .5rem .9rem; font-size: .75rem; white-space: nowrap; }
  .topbar-links { display: none; }

  .nav-toggle, .search-btn, .dropdown-toggle { min-width: 44px; min-height: 44px; }
}

/* ====================== MOBILE (≤768px) ====================== */
@media (max-width: 768px) {
  :root { --section-pad: 36px; }
  body { font-size: .9375rem; }

  .hero, .section-block { padding-top: 36px !important; padding-bottom: 36px !important; }

  /* ---- Header: compact & premium ---- */
  .header-main { gap: .75rem; padding: .625rem 0; }
  .header-actions { gap: .375rem; }
  .site-logo { min-width: 0; justify-content: center; align-self: center; }
  .logo-word { font-size: clamp(1.25rem, 5vw, 1.375rem); white-space: nowrap; }
  .logo-tag {
    display: block;
    max-width: 40vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: .16em;
    font-size: .5rem;
    margin-top: .35rem;
    padding-top: 0;
    border-top: none;
  }
  .search-btn, .nav-toggle {
    width: 40px; height: 40px; min-width: 40px; min-height: 40px;
    padding: 0; justify-content: center;
    border: none; border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, #b9141b 100%);
    color: #fff;
    box-shadow: 0 4px 12px -4px rgba(215, 25, 32, .5), inset 0 0 0 1px rgba(255,255,255,.12);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .search-btn:hover, .nav-toggle:hover, .nav-toggle.open { transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(215,25,32,.55), inset 0 0 0 1px rgba(255,255,255,.12); }
  .search-btn:active, .nav-toggle:active { transform: scale(.9); }
  .search-btn:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  .search-btn svg { width: 16px; height: 16px; }
  .nav-toggle span, .nav-toggle:hover span, .nav-toggle.open span { background: #fff; }
  .nav-toggle span { width: 18px; height: 2px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-list .dropdown-toggle { width: 34px; height: 34px; min-width: 34px; min-height: 34px; font-size: .875rem; }
  .btn.header-cta { min-height: 34px; padding: .375rem .75rem; font-size: .6875rem; }
  .search-dropdown-header { width: min(320px, calc(100vw - 2rem)); right: -44px; }
  .topbar-inner { flex-wrap: wrap; row-gap: .25rem; }

  /* ---- Breaking news bar ---- */
  .ticker-label { padding: .5rem .75rem; font-size: .5625rem; letter-spacing: .1em; }
  .ticker-item { font-size: .8125rem; padding-block: .5rem; }

  /* ---- Section headers ---- */
  .sec-head { margin-bottom: 1.25rem; }
  .sec-title { font-size: clamp(1.25rem, 5vw, 1.5rem); }
  .sec-eyebrow { font-size: .625rem; }
  .sec-more { font-size: .75rem; }

  /* ---- Post cards: full-width, image top, text below ---- */
  .news-card,
  .featured-card {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    min-height: 0;
    gap: .55rem;
  }
  .news-card > .news-media,
  .featured-card > .news-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9 !important;
    border-radius: var(--radius);
  }
  .news-card > .news-title,
  .featured-card > .news-title { order: 0; }
  .news-card .news-title { font-size: clamp(1.0625rem, 4.4vw, 1.125rem); line-height: 1.35; }
  .news-card .news-excerpt,
  .featured-card .news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .875rem;
    line-height: 1.55;
  }
  .news-card .badge,
  .featured-card .badge { display: inline-block; font-size: .6875rem; }
  .news-card .meta,
  .featured-card .meta { font-size: .75rem; }

  /* Big first story keeps a bolder headline */
  .latest .grid-3 > .news-card:first-child { grid-column: 1 / -1; gap: .7rem; }
  .latest .grid-3 > .news-card:first-child .news-title,
  .world-news .featured-card .news-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    line-height: 1.22;
  }

  /* ---- Overlay cards (travel slider / fashion): compact horizontal ---- */
  .overlay-card {
    position: relative;
    padding-left: 42%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    justify-content: center;
  }
  .overlay-card > .news-media {
    position: absolute;
    inset: 0 auto 0 0;
    width: 40%;
    height: 100%;
    aspect-ratio: auto !important;
    border-radius: var(--radius-sm);
  }
  .overlay-card .overlay-body {
    position: static;
    inset: auto;
    padding: 0;
    background: none;
    gap: .4rem;
  }
  .overlay-card .news-title { color: var(--text); font-size: .9375rem; }
  .overlay-card .meta--light { color: var(--muted); }
  .overlay-card .meta--light .meta-author { color: var(--text); }
  .section-dark .overlay-card .news-title { color: #fff; }
  .section-dark .overlay-card .meta--light { color: rgba(255,255,255,.65); }
  .section-dark .overlay-card .meta--light .meta-author { color: #fff; }

  /* ---- Grids: single column ---- */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .blog-list .grid { grid-template-columns: 1fr; }
  .grid-span-2, .grid-span-3 { grid-column: span 1; }
  .blog-list { gap: 1.5rem; }
  .blog-item { padding-bottom: 1.5rem; }
  .list-card .news-media { flex-basis: 96px; }
  .list-card .news-title { font-size: 1rem; }

  /* ---- Hero compact ---- */
  .hero-feature { min-height: 300px; }
  .hero-title { font-size: clamp(1.5rem, 7.5vw, 1.875rem); line-height: 1.2; }
  .hero-excerpt { display: none; }
  .hero-story { grid-template-columns: 112px 1fr; gap: .875rem; }
  .hero-story-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .9375rem; }
  .hero-slider { padding-left: 2px; padding-right: 2px; }
  .hero-slider__slide { margin-top: 2px; margin-bottom: 2px; }
  .hero-slider .travel-slider__track { gap: 0; }

  /* ---- Travel slider: two cards ---- */
  .travel-slider__track { gap: 1rem; }
  .travel-slider__track > .overlay-card { flex: 0 0 calc((100% - 1rem) / 2); }

  /* ---- Video rows ---- */
  .video-item { grid-template-columns: 108px 1fr; gap: .75rem; }
  .video-title { font-size: 1.0625rem; }
  .video-item .news-title { font-size: 1rem; }

  /* ---- Sidebar: below content, compact, collapsible ---- */
  .sidebar { gap: .875rem; margin-top: 2.25rem; }
  .widget { padding: 1rem 1.125rem; }
  .widget-title { font-size: .6875rem; margin-bottom: .75rem; padding-bottom: .6rem; }
  .mr-item { padding: .7rem 0; gap: .875rem; }
  .mr-thumb { flex-basis: 68px; width: 68px; }
  .mr-num { font-size: 1.125rem; }
  .cat-item { padding: .55rem 0; }
  .trending-card { padding: .7rem 0; gap: .875rem; }
  .trending-title { font-size: .875rem; }

  /* Accordions on mobile (JS adds .acc-enabled / .is-collapsed) */
  .acc-enabled .widget-title,
  .acc-enabled .footer-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: 0;
  }
  .acc-enabled .widget-title { margin-bottom: .6rem; }
  .acc-caret {
    display: inline-flex;
    width: 9px; height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .55;
    flex-shrink: 0;
    transition: transform .2s ease, opacity .2s ease;
  }
  .acc-enabled.is-collapsed .acc-caret { transform: rotate(-135deg); }
  .acc-enabled.is-collapsed > :not(.widget-title):not(.footer-col-title) { display: none; }

  /* ---- Pagination ---- */
  .pagination { flex-wrap: wrap; gap: .5rem; }
  .page-btn { min-width: 44px; height: 44px; padding: 0 .8rem; font-size: .875rem; }

  /* ---- Footer: stacked ---- */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-top { padding: 2rem 0 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; padding: 1.25rem 0; }
  .footer-legal { gap: 1rem; flex-wrap: wrap; justify-content: center; }

  /* ---- Single post ---- */
  .archive-header { padding: 1.25rem 0; margin-bottom: 1.75rem; }
  .single-title { font-size: clamp(1.625rem, 6.5vw, 2rem); line-height: 1.2; margin: .75rem 0 1rem; text-wrap: balance; }
  .entry-content-inner { font-size: 1rem; }
  .breadcrumbs { font-size: .6875rem; }
  .author-box { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .nav-block--next { text-align: left; }
  .share-btn { width: 44px; height: 44px; }
  .tag-chip { padding: .45em 1em; }
  .comment .avatar { width: 40px; height: 40px; }
  .comment { padding: 1rem 0; }

  /* ---- Overflow guards: wrap long words, contain tables/media ---- */
  .entry-content-inner, .news-title, .trending-title, .nav-link, .widget,
  .footer-copy, .footer-legal, .breadcrumbs, .comment-text, .cta-text { overflow-wrap: break-word; }
  .entry-content-inner table, .entry-content-inner pre, .wp-block-code,
  .entry-content-inner .wp-block-table { display: block; overflow-x: auto; width: 100%; }
  .entry-content-inner iframe, .wp-block-embed iframe, .wp-block-embed__wrapper,
  .wp-block-image img, .entry-content-inner img { max-width: 100%; }

  .btn { min-height: 44px; }

  /* Disable scroll-reveal on mobile (perf) */
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ====================== PHONES (≤600px) ====================== */
@media (max-width: 600px) {
  :root { --section-pad: 30px; }

  .topbar-inner { flex-wrap: wrap; justify-content: center; row-gap: .4rem; padding: .45rem 0; }
  .topbar-left, .topbar-right { flex-wrap: wrap; justify-content: center; gap: .75rem; }
  .top-social .soc-icon-btn { width: 24px; height: 24px; }
  .top-social .soc-icon-btn svg { width: 12px; height: 12px; }

  .header-cta { display: none; }
  .travel-slider__track > .overlay-card { flex-basis: 84%; }
  .fashion .grid-4 { grid-template-columns: 1fr; }

  .hero-feature { min-height: 280px; }
  .hero-story { grid-template-columns: 104px 1fr; gap: .75rem; }

  .video-item { grid-template-columns: 100px 1fr; gap: .75rem; }
  .list-card .news-media { flex-basis: 88px; }
  .newsletter-cta .container { padding: 1.75rem 1.25rem; }
}

/* ====================== SMALL PHONES (≤480px) ====================== */
@media (max-width: 480px) {
  :root { --section-pad: 26px; }

  .search-btn, .nav-toggle { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
  .search-btn svg { width: 15px; height: 15px; }
  .nav-toggle span { width: 16px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }
  .header-main { gap: .5rem; }
  .header-actions { gap: .375rem; }
  .hero-feature { min-height: 260px; }
  .hero-story { grid-template-columns: 92px 1fr; gap: .625rem; }
  .logo-word { font-size: 1.3125rem; }
  .header-main { padding: .625rem 0; }
  .video-item { grid-template-columns: 88px 1fr; gap: .625rem; }
  .section-block, .hero { padding-top: 30px !important; padding-bottom: 30px !important; }
  .single-meta { gap: .75rem; }
  .single-header { margin-bottom: 1rem; }
  .single-title { font-size: clamp(1.125rem, 5.2vw, 1.375rem); line-height: 1.25; }
  .breadcrumbs { margin-bottom: .75rem; }
  .cta-form { flex-wrap: nowrap; }
  .topbar-note { display: none; }
  .footer-soc-link, .soc-icon-btn { width: 30px; height: 30px; }
}

/* ====================== TINY PHONES (≤375px) ====================== */
@media (max-width: 375px) {
  .logo-tag { display: none; }
  .news-card .news-title { font-size: 1rem; }
  .hero-story { grid-template-columns: 1fr; }
  .hero-story .news-media { aspect-ratio: 16 / 9; }
  .video-item { grid-template-columns: 1fr; }
  .video-item .video-media { aspect-ratio: 16 / 9; }
  .header-cta { padding: .45rem .75rem; font-size: .6875rem; }
}
