/* ================================================
   EBNEWS DAILY — Stylesheet v6
   Publication of Saglomedia
   ================================================ */

/* Inter: 300 Light → 900 Black — full range for body + display use */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy:       #0d2257;
  --navy-deep:  #07122e;
  --navy-mid:   #1a3470;
  --red:        #c8102e;
  --red-dark:   #9e0c23;
  --red-light:  #e8294a;
  --charcoal:   #1a1a1a;
  --mid:        #4a4a4a;
  --muted:      #888;
  --border:     #e2e6ea;
  --border-lt:  #f0f2f4;
  --bg:         #e4e8ed;
  --white:      #ffffff;
  --cream:      #f9f8f4;
  --light:      #f2f4f7;
  --gold:       #c9a84c;
  --press-bg:   #f0f4ff;
  --press-accent: #2d52b0;

  /* Typography — Inter across the board (corporate, legible, modern) */
  --font-display: 'Inter', system-ui, -apple-system, sans-serif; /* headlines: weight 800–900 */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif; /* body copy: weight 400–500 */
  --font-ui:      'Inter', system-ui, -apple-system, sans-serif; /* nav/labels: weight 600–700 */

  --shadow-xs:  0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm:  0 2px 10px rgba(0,0,0,0.09);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.16);

  --box-width:  1180px;
  --col-gap:    18px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: linear-gradient(150deg, #dce1e9 0%, #cdd3db 100%);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Inter-specific: tabular nums in data, ligatures in text */
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

a { color: inherit; text-decoration: none; transition: color 0.18s; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Inter display heading refinements ──────────
   Inter at 800–900 needs tighter tracking at large sizes.
   Apply to all elements using --font-display.              */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}
/* Large headlines: pull tracking in */
h1 { letter-spacing: -0.03em; }
h2 { letter-spacing: -0.02em; }
h3 { letter-spacing: -0.01em; }

/* ── PAGE BOX ───────────────────────────────────── */
.page-box {
  max-width: var(--box-width);
  margin: 0 auto 28px;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 12px 50px rgba(0,0,0,0.16);
  border-radius: 0 0 10px 10px;
  /* overflow: clip instead of hidden — 'hidden' creates a scroll container that breaks position:sticky */
  overflow: clip;
}

.container { padding: 0 26px; }

/* ── TOP BAR ────────────────────────────────────── */
.top-bar {
  background: var(--navy-deep);
  padding: 0 26px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar .inner {
  height: 34px;
  display: flex; align-items: center; justify-content: space-between;
}
.top-bar .left { display: flex; align-items: center; gap: 0; }
.top-bar .right { display: flex; align-items: center; gap: 16px; }

.top-bar .weather {
  font-size: 11px; color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 5px;
  padding-right: 12px; margin-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
#current-date { font-size: 11px; color: rgba(255,255,255,0.40); }
.top-bar .edition { font-size: 11px; color: rgba(255,255,255,0.40); }
.top-bar .social-links { display: flex; gap: 10px; align-items: center; }
.top-bar .social-links a { color: rgba(255,255,255,0.40); font-size: 11px; transition: color 0.2s; }
.top-bar .social-links a:hover { color: var(--red-light); }

/* ── STICKY HEADER WRAPPER ──────────────────────── */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 500;
  /* Subtle shadow appears when scrolled (added via JS class .scrolled) */
  transition: box-shadow 0.25s;
}
.sticky-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
}


.site-header {
  background: var(--white);
  padding: 0 26px;
  border-bottom: 4px solid var(--red);
}
.site-header .inner {
  height: 90px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo — 540×106 transparent WebP, ratio 5.09:1 */
.site-logo { display: block; flex-shrink: 0; text-decoration: none; line-height: 0; }
.site-logo img {
  height: 62px;          /* 62px tall → ~316px wide — full name visible */
  width: auto;
  max-width: 340px;      /* hard cap so it never overflows on mid-screen */
  display: block;
  object-fit: contain;
  object-position: left center;
}

/* Spacer pushes actions to right */
.header-spacer { flex: 1; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-search {
  color: var(--muted); font-size: 14px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  background: var(--light); border: 1px solid var(--border); cursor: pointer;
  border-radius: 6px;
}
.btn-search:hover { color: var(--navy); background: var(--border); }

/* Publish Post CTA */
.btn-publish {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 10px 20px; border: none; cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(200,16,46,0.32);
  white-space: nowrap;
}
.btn-publish:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,16,46,0.42);
}
.btn-publish i { font-size: 12px; }

/* ── NAVIGATION ─────────────────────────────────── */
.main-nav {
  background: var(--navy);
  /* Sticky positioning is now on .sticky-header wrapper — no longer needed here */
  box-shadow: 0 3px 14px rgba(0,0,0,0.26);
}
.main-nav .inner {
  display: flex; align-items: stretch;
  justify-content: space-between;
  padding: 0 26px;
  /* Prevent overflow — let items wrap if needed */
  overflow: hidden;
}

.nav-list { display: flex; align-items: stretch; flex-shrink: 1; min-width: 0; }
.nav-list li { position: relative; }

.nav-list > li > a {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 0 11px; height: 44px;
  display: flex; align-items: center; gap: 3px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav-list > li > a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-list > li.active > a { color: var(--white); border-bottom-color: var(--red); }
.nav-list .has-dropdown > a::after { content: "▾"; font-size: 8px; opacity: 0.5; margin-left: 1px; }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 196px;
  background: var(--navy-deep);
  border-top: 2px solid var(--red);
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 300;
}
.nav-list li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; font-size: 12px; color: rgba(255,255,255,0.72);
  padding: 9px 15px; border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s, padding-left 0.15s;
}
.dropdown a:hover { background: rgba(255,255,255,0.07); color: var(--white); padding-left: 20px; }
.dropdown li:last-child a { border-bottom: none; border-radius: 0 0 6px 6px; }

/* Brands nav item — gold accent */
.nav-list > li.brands-nav > a {
  color: var(--gold);
}
.nav-list > li.brands-nav > a:hover { background: rgba(201,168,76,0.12); color: var(--gold); }
.nav-list > li.brands-nav.active > a { border-bottom-color: var(--gold); }

/* Nav right */
.nav-right { display: flex; align-items: center; flex-shrink: 0; }
.nav-right a {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.50); padding: 0 10px; height: 44px;
  display: flex; align-items: center; gap: 5px;
  transition: color 0.18s; white-space: nowrap;
}
.nav-right a:hover { color: var(--white); }
.nav-right a.live { color: #ff6b6b; }
.nav-right a.live::before { content: "●"; font-size: 7px; animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.25} }

/* ── SEARCH OVERLAY ─────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(7,18,46,0.96);
  z-index: 500;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; visibility: hidden; transition: all 0.28s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: 660px; max-width: 90%; }
.search-box label {
  display: block; margin-bottom: 14px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.search-box .field { display: flex; border-bottom: 2px solid rgba(255,255,255,0.25); }
.search-box input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: var(--white); padding: 6px 0;
}
.search-box input::placeholder { color: rgba(255,255,255,0.18); }
.search-box button { color: rgba(255,255,255,0.45); font-size: 18px; padding: 6px 10px; transition: color 0.2s; }
.search-box button:hover { color: var(--white); }
.search-close {
  position: absolute; top: 28px; right: 30px;
  color: rgba(255,255,255,0.4); font-size: 22px;
  background: none; border: none; cursor: pointer; transition: color 0.2s;
}
.search-close:hover { color: var(--white); }

/* ── HERO ───────────────────────────────────────── */
.hero { background: #0f0f12; }
.hero .grid {
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: 3px;
}

.hero-feature { position: relative; overflow: hidden; background: #1a1a20; }
.hero-feature .img-wrap { height: 492px; overflow: hidden; position: relative; }
.hero-feature .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 7s ease;
}
.hero-feature:hover .img-wrap img { transform: scale(1.04); }
.hero-feature .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.38) 52%, rgba(0,0,0,0.05) 100%);
}
.hero-feature .content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 32px;
}
.hero-feature .content .tag { margin-bottom: 10px; border-radius: 3px; }
.hero-feature h1 {
  font-family: var(--font-display);
  font-size: 27px; font-weight: 800; color: var(--white); line-height: 1.18; margin-bottom: 10px;
  letter-spacing: -0.025em;
}
.hero-feature h1 a:hover { color: rgba(255,255,255,0.84); }
.hero-feature .excerpt {
  font-size: 13px; color: rgba(255,255,255,0.70); margin-bottom: 14px; line-height: 1.56;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-feature .meta { color: rgba(255,255,255,0.48); font-size: 11px; }

.hero-side { display: flex; flex-direction: column; gap: 3px; }
.hero-side-item { position: relative; overflow: hidden; background: #1a1a20; flex: 1; }
.hero-side-item .img-wrap { height: 100%; min-height: 162px; overflow: hidden; }
.hero-side-item .img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 5s ease;
}
.hero-side-item:hover .img-wrap img { transform: scale(1.06); }
.hero-side-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.05) 60%);
}
.hero-side-item .content { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px 17px; }
.hero-side-item h3 {
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  color: var(--white); line-height: 1.3; margin-top: 6px;
}
.hero-side-item h3 a:hover { color: rgba(255,255,255,0.82); }

/* ── PILL NAV ───────────────────────────────────── */
.pill-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.pill-nav .inner {
  display: flex; align-items: center;
  overflow-x: auto; scrollbar-width: none; padding: 0 26px;
}
.pill-nav .inner::-webkit-scrollbar { display: none; }
.pill-nav a {
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--mid); padding: 11px 13px;
  white-space: nowrap; border-bottom: 3px solid transparent;
  transition: all 0.18s; display: block;
}
.pill-nav a:hover { color: var(--navy); }
.pill-nav a.active { color: var(--red); border-bottom-color: var(--red); font-weight: 800; }

/* ── MAIN CONTENT ───────────────────────────────── */
.main-content { padding: 26px 26px; background: var(--white); }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 262px;
  gap: 26px;
  align-items: start;
}

/* ── SECTION TITLE ──────────────────────────────── */
.section-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--navy);
  border-bottom: 2px solid var(--red);
  padding: 0 0 8px 10px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.section-title::before {
  content: "";
  position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 3px; background: var(--red); border-radius: 2px;
}
.section-title a { font-size: 10px; color: var(--red); letter-spacing: 0.04em; padding-left: 10px; }

/* Brands section title variant */
.section-title.brands-title { color: var(--press-accent); border-bottom-color: var(--press-accent); }
.section-title.brands-title::before { background: var(--press-accent); }
.section-title.brands-title a { color: var(--press-accent); }

/* ── TAG ────────────────────────────────────────── */
.tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--white); background: var(--red);
  padding: 3px 8px; display: inline-block; line-height: 1.4; border-radius: 3px;
}
.tag.navy { background: var(--navy); }
.tag.gold  { background: var(--gold); }
.tag.green { background: #1a7a4a; }
.tag.press { background: var(--press-accent); }

/* ── META ───────────────────────────────────────── */
.meta {
  font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.meta span { display: flex; align-items: center; gap: 4px; }

/* ── NEWS CARD ──────────────────────────────────── */
.news-card {
  display: grid; grid-template-columns: 182px 1fr; gap: 15px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border-lt);
  margin-bottom: 18px;
  transition: all 0.18s;
}
.news-card:last-child { border-bottom: none; margin-bottom: 0; }
.news-card:hover { background: var(--light); margin-left: -8px; padding-left: 8px; border-radius: 6px; }

.news-card .img-wrap {
  height: 116px; overflow: hidden; background: var(--light); border-radius: 4px; flex-shrink: 0;
}
.news-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.news-card:hover .img-wrap img { transform: scale(1.07); }
.news-card .card-body { display: flex; flex-direction: column; gap: 5px; padding-top: 2px; }
.news-card h3 { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--charcoal); line-height: 1.28; }
.news-card h3 a:hover { color: var(--red); }
.news-card .excerpt { font-size: 12px; color: var(--mid); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── LIST CARD ──────────────────────────────────── */
.list-card {
  display: flex; gap: 11px; align-items: flex-start;
  padding-bottom: 13px; border-bottom: 1px solid var(--border-lt); margin-bottom: 13px;
  transition: background 0.18s;
}
.list-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.list-card:hover { background: var(--light); margin-left: -6px; padding-left: 6px; border-radius: 5px; }
.list-card .num {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: rgba(200,16,46,0.13); line-height: 1; flex-shrink: 0; width: 24px; text-align: center;
}
.list-card .img-wrap { width: 72px; height: 54px; flex-shrink: 0; overflow: hidden; background: var(--light); border-radius: 3px; }
.list-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.list-card h4 { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--charcoal); line-height: 1.35; }
.list-card h4 a:hover { color: var(--red); }

/* ── GRID CARD ──────────────────────────────────── */
.grid-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 7px; overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
}
.grid-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.grid-card .img-wrap { height: 178px; overflow: hidden; }
.grid-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.grid-card:hover .img-wrap img { transform: scale(1.05); }
.grid-card .card-body { padding: 14px 15px 16px; }
.grid-card h3 { font-family: var(--font-display); font-size: 15px; font-weight: 800; line-height: 1.28; margin-bottom: 6px; }
.grid-card h3 a:hover { color: var(--red); }
.grid-card .excerpt { font-size: 12px; color: var(--mid); line-height: 1.55; margin-bottom: 10px; }

/* ── PRESS CARD (Brands section) ────────────────── */
.press-card {
  background: var(--white);
  border: 1px solid #d0d9f0;
  border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex; flex-direction: column;
}
.press-card:hover { box-shadow: 0 6px 24px rgba(45,82,176,0.15); transform: translateY(-3px); }

.press-card .img-wrap { height: 162px; overflow: hidden; background: var(--light); position: relative; }
.press-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.press-card:hover .img-wrap img { transform: scale(1.05); }

/* Company logo badge on press card */
.press-card .company-badge {
  position: absolute; bottom: 10px; left: 12px;
  background: var(--white);
  border-radius: 5px;
  padding: 4px 8px;
  box-shadow: var(--shadow-sm);
  font-size: 10px; font-weight: 700; color: var(--press-accent);
  letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
}
.press-card .company-badge i { font-size: 11px; }

.press-card .card-body { padding: 14px 15px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.press-card h3 { font-family: var(--font-display); font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--charcoal); }
.press-card h3 a:hover { color: var(--press-accent); }
.press-card .excerpt { font-size: 12px; color: var(--mid); line-height: 1.55; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.press-card .press-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; border-top: 1px solid var(--border-lt);
  margin-top: auto;
}
.press-card .read-press { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--press-accent); display: flex; align-items: center; gap: 4px; transition: gap 0.18s; }
.press-card .read-press:hover { gap: 8px; }

/* ── BRANDS SECTION ─────────────────────────────── */
.brands-section {
  background: var(--press-bg);
  border-top: 1px solid #d0d9f0;
  border-bottom: 1px solid #d0d9f0;
  padding: 28px 26px 32px;
}
.brands-section .section-title { margin-bottom: 8px; }

.brands-intro {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; gap: 20px; flex-wrap: wrap;
}
.brands-intro p {
  font-size: 13px; color: #4a5880; line-height: 1.55; max-width: 520px;
}
.btn-submit-press {
  background: var(--press-accent); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 20px; border: none; cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; gap: 8px;
  border-radius: 6px; flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(45,82,176,0.28);
}
.btn-submit-press:hover { background: #1e3d8f; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,82,176,0.38); }

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Brands CTA strip */
.brands-cta-strip {
  background: var(--navy);
  padding: 28px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.brands-cta-strip .cta-text h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 5px;
}
.brands-cta-strip .cta-text p { font-size: 13px; color: rgba(255,255,255,0.60); }
.brands-cta-strip .cta-badges { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.brands-cta-strip .badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.70);
}
.brands-cta-strip .badge i { color: var(--gold); font-size: 14px; }
.brands-cta-strip .btn-submit-press { background: var(--red); box-shadow: 0 2px 10px rgba(200,16,46,0.32); }
.brands-cta-strip .btn-submit-press:hover { background: var(--red-dark); }

/* ── SECTIONS ───────────────────────────────────── */
.news-section { margin-bottom: 30px; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--col-gap); }
.news-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--col-gap); }

/* ── SIDEBAR ────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 7px; overflow: hidden;
}
.widget-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--white); background: var(--navy);
  padding: 9px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.widget-title a { font-size: 10px; color: rgba(255,255,255,0.5); font-weight: 600; }
.widget-body { padding: 12px 14px; }

/* Trending */
.trending-list { display: flex; flex-direction: column; gap: 0; }
.trending-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 14px; border-bottom: 1px solid var(--border-lt);
  transition: background 0.15s;
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: var(--light); }
.trending-item .rank {
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  color: rgba(200,16,46,0.13); line-height: 1; flex-shrink: 0; width: 22px;
}
.trending-item h4 { font-family: var(--font-display); font-size: 12px; font-weight: 700; line-height: 1.35; color: var(--charcoal); }
.trending-item h4 a:hover { color: var(--red); }
.trending-item .meta { font-size: 10px; margin-top: 3px; }

/* Newsletter */
.newsletter-widget { background: var(--navy); border: none; border-radius: 7px; overflow: hidden; }
.newsletter-widget .widget-title { background: var(--red); }
.newsletter-widget .widget-inner { padding: 14px 14px; }
.newsletter-widget p { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 12px; line-height: 1.55; }
.newsletter-widget input {
  width: 100%; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18); color: var(--white);
  font-size: 12px; padding: 9px 11px;
  outline: none; transition: border-color 0.2s; margin-bottom: 8px; display: block;
  border-radius: 4px;
}
.newsletter-widget input::placeholder { color: rgba(255,255,255,0.30); }
.newsletter-widget input:focus { border-color: rgba(255,255,255,0.5); }
.newsletter-widget .btn-sub {
  width: 100%; background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 10px; border: none; cursor: pointer; transition: background 0.2s;
  border-radius: 4px;
}
.newsletter-widget .btn-sub:hover { background: var(--red-dark); }

/* Social */
.social-widget { display: flex; flex-direction: column; }
.social-btn {
  display: flex; align-items: center; gap: 9px; padding: 9px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); transition: opacity 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.social-btn:last-child { border-bottom: none; }
.social-btn:hover { opacity: 0.85; }
.social-btn.fb { background: #1877f2; }
.social-btn.tw { background: #111; }
.social-btn.yt { background: #ff0000; }
.social-btn.wa { background: #25d366; }
.social-btn .count { margin-left: auto; font-size: 12px; font-weight: 700; }

/* Tags */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 5px; padding: 13px 14px; }
.tags-cloud a {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--mid);
  background: var(--light); border: 1px solid var(--border);
  padding: 4px 9px; transition: all 0.18s; border-radius: 3px;
}
.tags-cloud a:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ── BANNER SECTION ─────────────────────────────── */
.banner-section { background: var(--navy-deep); padding: 26px 26px; }
.banner-section .section-title { color: var(--white); border-color: var(--red); padding-left: 0; }
.banner-section .section-title::before { display: none; }
.banner-section .section-title a { color: rgba(255,255,255,0.4); }

.banner-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.banner-card { position: relative; height: 240px; overflow: hidden; background: #222; border-radius: 4px; }
.banner-card .img-wrap { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; }
.banner-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 5s; filter: brightness(0.62);
}
.banner-card:hover .img-wrap img { transform: scale(1.07); filter: brightness(0.48); }
.banner-card .content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  border-radius: 0 0 4px 4px;
}
.banner-card h3 {
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  color: var(--white); line-height: 1.3; margin-top: 5px;
}
.banner-card h3 a:hover { color: rgba(255,255,255,0.8); }

/* ── OPINION CARD ───────────────────────────────── */
.opinion-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--red); padding: 16px 15px 16px 13px;
  border-radius: 0 7px 7px 0; transition: box-shadow 0.2s;
}
.opinion-card:hover { box-shadow: var(--shadow-sm); }
.opinion-card .author-info { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--light); overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 11px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; }
.author-role { font-size: 10px; color: var(--muted); margin-top: 1px; }
.opinion-card blockquote {
  font-family: var(--font-display); font-size: 13px; font-style: italic; font-weight: 800;
  color: var(--charcoal); line-height: 1.5; margin-bottom: 10px;
}

/* ── FOOTER ─────────────────────────────────────── */
.site-footer { background: var(--navy-deep); padding: 0; }
.footer-top { padding: 38px 26px 34px; }
.footer-grid {
  display: grid; grid-template-columns: 230px 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .footer-logo {
  /* Logo has dark text — keep white bg on dark footer */
  height: 44px;
  width: auto;
  max-width: 224px;   /* 44px × 5.09 ratio */
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 16px;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
}
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.46); line-height: 1.65; margin-bottom: 16px; }
.footer-social { display: flex; gap: 7px; flex-wrap: wrap; }
.footer-social a {
  width: 30px; height: 30px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 11px; transition: all 0.2s; border-radius: 4px;
}
.footer-social a:hover { background: var(--red); color: var(--white); }
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--white); margin-bottom: 13px; padding-bottom: 6px;
  border-bottom: 2px solid var(--red); display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a {
  font-size: 12px; color: rgba(255,255,255,0.50);
  transition: color 0.18s; display: flex; align-items: center; gap: 5px;
}
.footer-col ul li a::before { content: "›"; color: var(--red); font-size: 13px; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { background: rgba(0,0,0,0.32); padding: 14px 26px; }
.footer-bottom .inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; color: rgba(255,255,255,0.30); gap: 12px; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.38); transition: color 0.18s; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .links { display: flex; gap: 13px; }
/* Saglomedia publisher badge — footer bottom bar */
.saglomedia-badge {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex; align-items: center; gap: 8px;
}
.saglomedia-badge a {
  display: inline-flex; align-items: center;
  opacity: 0.65; transition: opacity 0.2s;
}
.saglomedia-badge a:hover { opacity: 1; }
/* Saglomedia logo has black background — invert to white for the dark footer */
.saglomedia-logo-img {
  height: 20px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);   /* renders white on dark bg */
  object-fit: contain;
}

/* ── MISC ───────────────────────────────────────── */
.read-more {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 4px;
  margin-top: 6px; transition: gap 0.18s;
}
.read-more:hover { gap: 8px; }

.load-more-btn {
  display: block; width: 100%; text-align: center; padding: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--navy); border: 2px solid var(--navy); cursor: pointer;
  transition: all 0.2s; background: none; margin-top: 22px; border-radius: 5px;
}
.load-more-btn:hover { background: var(--navy); color: var(--white); }

.ad-strip { display: none; }

.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 38px; height: 38px; background: var(--red); color: var(--white);
  border: none; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.28s; z-index: 400;
  box-shadow: 0 4px 14px rgba(200,16,46,0.45); border-radius: 50%;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-3px); }

.divider { display: flex; align-items: center; gap: 10px; margin: 26px 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.divider span { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }

/* ── MOBILE MENU ─────────────────────────────────── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); transition: all 0.28s; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1060px) {
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .hero .grid   { grid-template-columns: 1fr; }
  .hero-feature .img-wrap { height: 370px; }
  .hero-side    { flex-direction: row; }
  .banner-cards { grid-template-columns: 1fr 1fr; }
  .press-grid   { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .page-box { margin: 0; border-radius: 0; }
  .top-bar { display: none; }
  .site-header { padding: 0 14px; }
  .site-header .inner { height: 64px; gap: 12px; }
  .site-logo img { height: 44px; max-width: 224px; }  /* 44 × 5.09 = 224px */
  .header-spacer { display: none; }
  .btn-publish { padding: 8px 13px; font-size: 10px; }
  .main-nav .inner { padding: 0 14px; }
  .nav-list {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); z-index: 300;
  }
  .nav-list.open { display: flex; }
  .nav-list > li > a { height: auto; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.05); border-bottom-width: 1px !important; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; background: rgba(0,0,0,0.2); border-radius: 0; }
  .nav-right { display: none; }
  .hamburger { display: flex; }
  .main-content { padding: 18px 14px; }
  .container { padding: 0 14px; }
  .banner-section { padding: 22px 14px; }
  .brands-section { padding: 22px 14px; }
  .pill-nav .inner { padding: 0 14px; }
  .news-grid, .news-grid-2 { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-card .img-wrap { height: 170px; }
  .hero-side { flex-direction: column; }
  .banner-cards { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 26px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { padding: 14px; }
  .footer-bottom .inner { flex-direction: column; text-align: center; gap: 8px; }
  .brands-intro { flex-direction: column; align-items: flex-start; }
  .brands-cta-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .site-logo img { height: 36px; max-width: 183px; }  /* 36 × 5.09 = 183px */
  .hero-feature h1 { font-size: 20px; }
}

/* ── BREAKING NEWS TICKER ───────────────────────── */
.breaking-bar {
  background: var(--red);
  padding: 0;
  overflow: hidden;
  border-bottom: 2px solid var(--red-dark);
}
.breaking-bar .inner {
  display: flex;
  align-items: stretch;
  height: 34px;
}
.breaking-bar .breaking-label {
  background: var(--red-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 2px solid rgba(0,0,0,0.15);
}
.breaking-bar .ticker-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.breaking-bar .ticker {
  display: flex;
  align-items: center;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  gap: 0;
}
.breaking-bar .ticker:hover { animation-play-state: paused; }
.breaking-bar .ticker-item {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.breaking-bar .ticker-item::after {
  content: "•";
  opacity: 0.5;
  font-size: 14px;
}
.breaking-bar .ticker-item:last-child::after { display: none; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
