/* ============================================================
   FONTS — PERFORMANCE FIXED
   - font-display: swap already present (good)
   - Add preload hint comment for HTML: 
     <link rel="preload" href="fonts/Tanker-Regular.otf" as="font" type="font/otf" crossorigin>
   ============================================================ */
@font-face {
  font-family: 'Tanker';
  src: url('../fonts/Tanker_Complete/Fonts/OTF/Tanker-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   CSS CUSTOM PROPERTIES — single source of truth
   ============================================================ */
:root {
  --color-red:       #f13c47;
  --color-red-dark:  #c40000;
  --color-purple:    #1c003b;
  --color-purple-mid:#41004e;
  --color-yellow:    #FFD500;
  --color-bg:        #fff;
  --color-bg-light:  #edf3f3;
  --color-text:      #111;
  --color-text-mid:  #4d3c5a;
  --color-text-muted:#888;
  --color-border:    #eee;

  --font-display: 'Tanker', Georgia, serif;
  --font-serif:   'Merriweather', Georgia, serif;
  --font-body:    'Overpass', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  10px;
  --radius-xl:  12px;

  --pad-page-desktop: 90px;
  --pad-page-mobile:  16px;

  --transition-fast: 0.2s ease;
  --transition-mid:  0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* FIX: Remove content-visibility:auto from ALL images globally —
   it caused LCP image to be skipped during initial render scoring.
   Apply it only to below-fold sections via targeted selectors below. */
img {
  max-width: 100%;
  height: auto;
  display: block;
  /* REMOVED: content-visibility: auto — this was delaying LCP image render */
}

:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   STICKY HEADER — PERF FIXED
   ============================================================ */
.header-container {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 1000;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  /* FIX: Use transform instead of will-change:transform to actually
     promote to compositor layer without layout thrashing */
  transform: translateZ(0);
  contain: layout style;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--pad-page-desktop);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ── Dots ── */
.dots {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 4px;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-purple-mid);
}

.dots span:first-child {
  background: #d23847;
}

.cat-button-sec.dots {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 4px;
  width: max-content;
  cursor: pointer;
  margin: 20px;
}

.cat-button-sec.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-purple-mid);
}

.cat-button-sec.dots span:first-child {
  background: #d23847;
}

/* ── Sidebar ── */
.cat-button-sec.sidebar {
  position: fixed;
  top: 0;
  left: -397px;
  width: 280px;
  height: 100vh;
  background: var(--color-bg);
  box-shadow: 2px 0 6px rgba(0,0,0,0.1);
  padding: 20px;
  transition: left var(--transition-mid);
  z-index: 1000;
  overflow-y: auto;
  /* FIX: Use translate3d for GPU-accelerated slide — avoids triggering layout */
  will-change: transform;
  transform: translate3d(-397px, 0, 0);
}

.cat-button-sec.sidebar.active {
  left: 0;
  transform: translate3d(0, 0, 0);
}

.cat-button-sec.dots.close-dots {
  margin-top: -3px;
  margin-left: 230px;
}

/* ── Search bar ── */
.cat-button-sec.search-bar {
  width: 85%;
  padding: 12px 12px 12px 36px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: none;
  background: #eef2f2;
  font-size: 14px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23d23847" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
  background-repeat: no-repeat;
  background-position: 10px center;
}

/* ── Nav list ── */
.cat-button-sec.nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.cat-button-sec.nav-list li {
  font-size: 24px;
  font-weight: 200;
  color: var(--color-purple);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-button-sec.nav-list li.highlight {
  color: #ff3c3c;
}

.cat-button-sec.nav-list .arrow {
  font-size: 16px;
}

.cat-button-sec.cover-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ── Search icon ── */
.search-icon {
  width: 28px;
  height: 28px;
  border: 4px solid red;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 4px;
  background: #000;
  border-radius: 2px;
  transform: rotate(45deg);
  right: -8px;
  bottom: -2px;
}

/* ── Search sidebar ── */
.cat-button-secs.search-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--color-bg);
  z-index: 999;
  padding: 20px;
  box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-mid);
  will-change: transform;
}

.cat-button-secs.search-sidebar.active {
  right: 0;
}

.cat-button-secs.search-bar {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #eef2f2;
  border: none;
  font-size: 14px;
  margin-top: 60px;
}

.cat-button-secs.heading {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 300;
  color: #24003d;
}

.cat-button-secs.dots.close-dots {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 4px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.cat-button-secs.dots.close-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-purple-mid);
}

.cat-button-secs.dots.close-dots span:first-child {
  background: #d23847;
}

/* ── Logo ── */
.logo {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 100;
  color: #f80e1e;
  text-shadow: 0.3px 0.3px 0 currentColor;
  white-space: nowrap;
}

/* ── Header right ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-body);
  font-weight: 200;
}

.login {
  text-decoration: none;
  color: black;
  font-size: 16px;
}

.user-icon img {
  width: 24px;
  margin-top: 8px;
}

.subscribe-button {
  background: var(--color-yellow);
  color: var(--color-purple);
  font-weight: 300;
  padding: 9px 11px;
  border-radius: 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  /* FIX: contain:strict prevents subscribe button hover from triggering
     full-page repaints */
  contain: layout style;
}

.subscribe-button:hover {
  background: #e6be00;
  transform: translateY(-1px);
}

.bold-h {
  font-weight: bold;
  font-family: var(--font-display);
  margin-right: 6px;
  font-size: 18px;
}

/* ── Nav menu ── */
.nav-menu {
  display: flex;
  align-items: center;
  padding: 13px var(--pad-page-desktop);
  gap: 25px;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  font-family: var(--font-body);
  background: var(--color-bg);
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-purple);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  padding-bottom: 2px;
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus {
  border-bottom: 2px solid #000;
}

.nav-menu a:nth-child(n+3) {
  color: #9c8ba3;
  font-weight: normal;
}

/* ============================================================
   FEATURED HERO — LCP CRITICAL PATH FIXED
   ============================================================ */
.featured-news {
  display: grid;
  grid-template-columns: 1.2fr 2.1fr 0.9fr;
  border-top-left-radius: 120px;
  gap: 40px;
  padding: 40px var(--pad-page-desktop);
  align-items: start;
  height: 450px;
  /* FIX: Add contain to isolate hero layout from rest of page */
  contain: layout;
}

.left-headline .section-title {
  color: var(--color-red);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
  font-family: 'Inter', var(--font-body);
}

.main-title {
  color: #101010;
  font-weight: 100;
  font-size: 30px;
  line-height: 1.25;
  margin: 0;
  width: 100%;
  font-family: var(--font-display);
  transition: color var(--transition-fast);
}

.main-title:hover { color: var(--color-red); }

/* FIX: Hero/LCP image — explicit dimensions prevent layout shift,
   no lazy loading on above-fold image, fetchpriority="high" in HTML */
.main-image img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  height: 100%;
  /* FIX: Do NOT lazy-load this — it is the LCP element.
     In your HTML ensure: <img loading="eager" fetchpriority="high" ...> */
}

.side-article {
  font-family: var(--font-body);
  color: var(--color-purple);
}

.side-tag {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
}

.side-tag .red             { color: var(--color-red); }
.side-tag .red:hover       { color: black; }

.side-title {
  font-size: 23px;
  font-weight: 100;
  margin: 0 0 10px;
  color: var(--color-purple);
  line-height: 1.3;
  font-family: var(--font-display);
  transition: color var(--transition-fast);
}
.side-title:hover { color: var(--color-red); }

.side-img img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 12px;
}

.side-excerpts {
  font-size: 16px;
  color: var(--color-text-mid);
  line-height: 1.5;
  margin: 20px 0 0;
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}
.side-excerpts:hover { color: var(--color-red); }

.side-excerpt {
  font-size: 16px;
  color: var(--color-text-mid);
  line-height: 1.5;
  margin: 0;
  transition: color var(--transition-fast);
}
.side-excerpt:hover { color: var(--color-red); }

.au-a { text-decoration: none; color: black; }

/* ── Editor card ── */
.edit-sec-news-site-card {
  background-color: #f1f6f7;
  padding: 15px;
  margin-top: 20px;
  border-radius: var(--radius-lg);
  width: 140px;
  text-align: center;
  font-family: var(--font-body);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.edit-sec-news-site-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.edit-sec-news-site-title {
  color: var(--color-purple);
  font-weight: 100;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 12px;
  font-family: var(--font-display);
}

.edit-sec-news-site-category {
  color: #e63245;
  font-weight: bold;
  font-size: 14px;
  margin: 0 0 8px;
}

.edit-sec-news-site-author {
  color: var(--color-purple);
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

/* ── Row / block ── */
.row {
  display: flex;
  gap: 60px;
  padding: 0 var(--pad-page-desktop);
}

.block { display: flex; flex-direction: column; }
.block:first-child { flex: 0 0 30%; }
.block:last-child  { flex: 0 0 40%; }

.label {
  font-weight: 700;
  color: #FF3C38;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.4;
  margin-bottom: 20px;
  transition: color var(--transition-fast);
}
.title:hover { color: #d23847; }

.text {
  font-size: 16px;
  color: var(--color-text-mid);
  line-height: 1.5;
  margin: 0;
  font-family: var(--font-body);
}

/* ── Des sec grid ── */
/* FIX: Apply content-visibility only to below-fold grid sections,
   not globally. This is what was hurting LCP — the browser was skipping
   rendering of content it thought was off-screen including the hero. */
.des-sec-grid-news-container {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 var(--pad-page-desktop);
  display: grid;
  grid-template-columns: repeat(3, 1fr) 280px;
  gap: 30px;
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.des-sec-grid-news-article  { display: flex; flex-direction: column; }

.des-sec-grid-news-image {
  width: 100%;
  height: 150px;
  background-color: #ddd;
  object-fit: cover;
  margin-bottom: 10px;
}

.des-sec-grid-news-label {
  font-family: var(--font-body);
  font-weight: 700;
  color: #FF3C38;
  font-size: 0.95em;
  margin-bottom: 5px;
}

.des-sec-grid-news-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3em;
  line-height: 1.5;
  margin-bottom: 10px;
}

.des-sec-grid-news-text {
  font-family: var(--font-body);
  font-size: 0.95em;
  color: #333;
  line-height: 1.5;
}

.des-sec-grid-news-sidebar {
  margin-top: 70px;
  background-color: #FF3C38;
  color: white;
  padding: 20px;
  border-radius: var(--radius-md);
  font-size: 0.9em;
  position: sticky;
  top: 100px;
  align-self: start;
  z-index: 1;
}

.des-sec-grid-news-sidebar-title {
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.des-sec-grid-news-sidebar-item {
  font-family: var(--font-body);
  margin-bottom: 10px;
  border-left: 2px solid white;
  padding-left: 10px;
}

.des-sec-grid-news-button {
  margin-top: 20px;
  background-color: white;
  color: #22002E;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.des-sec-grid-news-bottom {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 var(--pad-page-desktop);
  display: grid;
  grid-template-columns: 0.4fr 0.4fr;
  gap: 30px;
  align-items: start;
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

.des-sec-grid-news-debate {
  background-color: #f0f2f4;
  padding: 20px;
  border-radius: 6px;
}

.des-sec-grid-news-debate-title {
  font-family: var(--font-body);
  color: #FF3C38;
  font-weight: 700;
  font-size: 0.95em;
  margin-bottom: 10px;
}

.des-sec-grid-news-debate-headline {
  font-weight: 100;
  font-size: 1em;
  margin-bottom: 15px;
}

.des-sec-grid-news-author {
  background: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 0.9em;
}

.des-sec-grid-news-gaza-image {
  border-radius: 6px;
  object-fit: contain;
  height: 270px;
}

/* ============================================================
   POD SECTION — PERF FIXED
   ============================================================ */
.pod-sec-grid-news-container {
  max-width: 1300px;
  margin: 40px auto 0;
  padding: 0 var(--pad-page-desktop) 120px;
  background-color: #000;
  height: auto;
  /* FIX: content-visibility defers paint of this off-screen black section */
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

.pod-sec-grid-news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.pod-sec-grid-news-card     { margin: 22px; }

.pod-sec-grid-news-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.pod-sec-grid-news-cta-image {
  width: 350px;
  height: auto;
  border-radius: 6px;
}

.pod-sec-grid-news-badge {
  font-family: var(--font-body);
  font-size: 0.75em;
  font-weight: 700;
  color: #FF3C38;
  margin-bottom: 10px;
}

.pod-sec-grid-news-title {
  font-weight: 200;
  font-size: 28px;
  color: white;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}
.pod-sec-grid-news-title:hover  { color: #e63245; }

.pod-sec-grid-newss-title {
  font-weight: 100;
  font-size: 24px;
  color: white;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}
.pod-sec-grid-newss-title:hover { color: #e63245; }

.pod-sec-grid-news-side-card {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 20px;
}

.pod-sec-grid-news-side-image {
  width: 120px;
  height: auto;
  border-radius: 5px;
}

.pod-sec-grid-news-side-text {
  font-weight: 100;
  font-size: 15px;
  color: white;
  line-height: 1.4;
  transition: color var(--transition-fast);
}
.pod-sec-grid-news-side-text:hover { color: #e63245; }

.pod-sec-grid-news-text {
  font-family: var(--font-body);
  font-size: 0.98em;
  color: #ccc;
  line-height: 1.5;
}

/* ── Blue CTA Banner ── */
.pod-sec-grid-news-video-cta {
  background-color: #d6ecf8;
  max-width: 1480px;
  width: calc(100% - 180px);
  margin: -70px auto 10px;
  padding: 34px 42px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.pod-sec-grid-news-video-text {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.35;
  text-transform: uppercase;
  color: #001F3F;
  max-width: 320px;
  flex-shrink: 0;
}

.pod-sec-grid-news-button {
  background: #ef3434;
  color: #fff;
  border: none;
  padding: 16px 34px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.pod-sec-grid-news-button:hover { background: #cf2626; }

.pod-sec-grid-news-avatars {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 260px;
}

.pod-sec-grid-news-avatars img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-left: -16px;
  background: #fff;
}
.pod-sec-grid-news-avatars img:first-child { margin-left: 0; }

/* ============================================================
   ART SECTION — PERF FIXED
   ============================================================ */
.art-sec-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 var(--pad-page-desktop) 30px;
  margin-top: 0;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.news-card {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  overflow: hidden;
  /* FIX: Use will-change only on hover to avoid keeping all cards
     in the compositing layer at all times (memory + paint cost) */
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease;
}
/* FIX: Only promote card to compositor layer when it's about to animate */
.news-card:hover {
  transform: scale(1.03);
  will-change: transform;
}

.news-card .overlay {
  position: absolute;
  bottom: 0;
  color: white;
  left: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.news-card .overlay .tag {
  color: #f44336;
  font-weight: 200;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.news-card .overlay h3 {
  font-size: 32px;
  font-weight: 200;
  margin: 5px 0;
}

.news-card .overlay .desc {
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.4;
  font-weight: 200;
  font-family: var(--font-body);
}

.news-card .overlay .yellow { color: #ffc107; font-weight: bold; }

/* ── Most read ── */
.most-read {
  background: #fff;
  padding: 0 10px;
}

.most-read h3 {
  color: #f44336;
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 200;
  text-transform: uppercase;
}

.read-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  position: relative;
}

.read-item .num {
  font-size: 36px;
  font-weight: bold;
  color: #e0d9e8;
  margin-right: 10px;
}

.read-thumb {
  width: 124px;
  height: 102px;
  overflow: hidden;
  margin-right: 10px;
  flex-shrink: 0;
}

.read-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-mid);
}
.read-item:hover .read-thumb img { transform: scale(1.05); }

.read-item p {
  font-size: 16px;
  color: #050505;
  font-weight: 200;
  line-height: 1.3;
}

.highlight { color: red; font-weight: bold; }

/* ============================================================
   SERIES SECTION — PERF FIXED
   ============================================================ */
.series-section {
  padding: 40px var(--pad-page-desktop);
  background-color: #000;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.series-header {
  font-size: 32px;
  font-weight: 100;
  color: #ff3d3d;
  margin-bottom: 30px;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  /* FIX: scroll-snap for smoother carousel without JS jank */
  scroll-snap-type: x mandatory;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 auto;
  width: 260px;
  padding-bottom: 10px;
  /* FIX: snap alignment for carousel */
  scroll-snap-align: start;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  /* FIX: lazy load carousel images — they're almost never above fold */
  loading: lazy;
}

.series-title {
  margin-top: 10px;
  font-size: 22px;
  color: #fff;
}

.series-episodes {
  font-family: var(--font-body);
  color: #999;
  font-size: 14px;
  margin-top: 4px;
}

.discover-button-container {
  margin-top: 40px;
  background-color: #9e3b43;
  padding: 40px 20px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 30px;
}

.discover-button {
  background-color: #ff3d3d;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 5px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.discover-button:hover { background-color: #d93333; }

.discover-image {
  height: 100px;
  max-width: 180px;
  object-fit: contain;
}

/* ============================================================
   FEATURED NEWS WRAPPERS
   ============================================================ */
.featured-news-first-wrapper {
  background-color: #000;
  padding-top: 10px;
}

.featured-news-wrapper {
  background-color: var(--color-bg-light);
  padding-top: 10px;
}

.featured-news-last {
  background-color: white;
  border-top-left-radius: 54px;
  padding: 40px var(--pad-page-desktop);
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 0.9fr;
  gap: 40px;
  align-items: start;
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

.main-images img {
  width: 85%;
  border-radius: var(--radius-md);
  height: 240px;
  margin-top: 30px;
}

.side-titles {
  font-size: 21px;
  font-weight: 100;
  margin: 10px 0;
  color: var(--color-purple);
  line-height: 1.3;
  font-family: var(--font-display);
}

.side-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}

.side-title-icon svg {
  width: 20px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 10px;
}

/* ============================================================
   CARD COL NEWS SECTION
   ============================================================ */
.card-col-news-sec {
  background-color: #eaf0f0;
  padding: 40px var(--pad-page-desktop);
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

.card-col-news-sec .news-card {
  background-color: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: background var(--transition-mid), color var(--transition-mid);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: unset;
}

.news-card .news-tag {
  font-size: 20px;
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.news-card .news-title {
  font-size: 32px;
  margin: 0 0 12px;
  font-weight: 100;
}

.news-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: #222;
  font-family: var(--font-body);
}

.author-img  { width: 28px; height: 28px; border-radius: 50%; }
.red         { color: #f43d3d; }
.purple      { color: #520a58; }

.red-card { background-color: #f43d3d; color: white; }
.red-card .news-title,
.red-card .news-author span { color: white; transition: color var(--transition-mid); }
.red-card:hover .news-title,
.red-card:hover .news-author span { color: #000; }

.news-prison {
  text-align: center;
  align-self: center;
  padding: 20px;
}

.prison-headline {
  font-size: 50px;
  color: #f43d3d;
  font-weight: 200;
  margin-bottom: 20px;
  line-height: 1.2;
}

.news-tags .tag {
  display: inline-block;
  background: white;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 300;
  color: var(--color-purple);
  margin: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.news-card:hover { background-color: #f43d3d; }
.news-card:hover .news-title,
.news-card:hover .news-author span,
.news-card:hover .news-tag { color: white; }

/* ============================================================
   SECOND CAROUSEL
   ============================================================ */
.second-carousel-wrapper {
  padding: 40px 60px;
  background-color: #fff;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.carousel-title {
  font-size: 36px;
  font-weight: 200;
  color: #f43d3d;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.second-carousel { overflow-x: auto; }

.carousel-card {
  position: relative;
  min-width: 280px;
  height: 420px;
  background-color: #000;
  color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-display);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-mid), filter var(--transition-mid);
  filter: brightness(70%);
}
.carousel-card:hover img       { transform: scale(1.05); filter: brightness(60%); }
.carousel-card:hover .card-title { color: #ea2929; }

.card-tag {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--color-purple);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 13px;
  z-index: 1;
}

.card-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-size: 30px;
  font-weight: 200;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: color var(--transition-mid);
}
.card-title:hover { color: #f43d3d; }

.carousel-category {
  background-color: var(--color-bg-light);
  color: var(--color-purple);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 280px;
  height: 396px;
  border-radius: var(--radius-lg);
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tags span {
  background-color: white;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
  color: var(--color-purple);
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.category-title {
  font-size: 24px;
  font-weight: bold;
  color: #f43d3d;
  margin: 20px 0 10px;
  font-family: var(--font-display);
}

/* ============================================================
   CAPITAL NEWS
   ============================================================ */
.capital-news-sec {
  padding: 60px 80px;
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.capital-news-sec-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.capital-news-sec-title {
  font-size: 32px;
  font-weight: 200;
  color: #f43d3d;
  text-transform: uppercase;
}

.capital-news-sec-link {
  font-size: 16px;
  color: #f43d3d;
  text-decoration: none;
  font-family: var(--font-body);
  margin-left: 30px;
}

.capital-news-sec-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.capital-news-sec-left img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.capital-news-sec-left-title {
  font-size: 32px;
  font-weight: 200;
  color: var(--color-purple);
  margin: 20px 0 10px;
  line-height: 1.4;
}

.capital-news-sec-icon   { font-size: 16px; margin-left: 5px; }

.capital-news-sec-desc {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 200;
  color: #333;
  font-family: var(--font-body);
}

.capital-news-sec-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: -90px;
}

.capital-news-sec-card { display: flex; flex-direction: column; }

.capital-news-sec-card-title {
  font-size: 22px;
  font-weight: 200;
  color: var(--color-purple);
  margin-bottom: 10px;
  line-height: 1.4;
}

.capital-news-sec-card img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 3px;
}

.capital-news-sec-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  font-weight: 300;
  font-family: var(--font-body);
}

.highlight-news-item {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-purple);
  line-height: 1.2;
}

.highlight-news-icon {
  width: 0; height: 0;
  margin-top: 6px; margin-right: 10px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #f43d3d;
}

.highlight-news-text { max-width: 480px; }

/* ============================================================
   ENTERTAINMENT NEWS
   ============================================================ */
.entertainment-news-sec-final {
  background: linear-gradient(110.36deg, #eeee22 3.67%, #f7730e 97.5%);
  margin: 0 auto;
  padding: 0 80px;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.entertainment-news-sec-final .section-title {
  font-size: 2.5rem;
  font-weight: 200;
  color: #24004c;
  margin-bottom: 5px;
  padding-top: 20px;
}

.entertainment-news-sec-final .section-subtitle {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: var(--font-body);
}

.entertainment-news-sec-final .card-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.entertainment-news-sec-final .card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 330px;
}

.entertainment-news-sec-final .card img     { width: 100%; display: block; }
.entertainment-news-sec-final .card-content { background: transparent; padding: 15px; color: #fff; }

.entertainment-news-sec-final .card-title-ent {
  font-size: 1.1rem;
  font-weight: 100;
  margin: 10px 0 5px;
}

.entertainment-news-sec-final .card-title-ent::before {
  content: "▶";
  margin-right: 8px;
  color: #ffeb3b;
}

.entertainment-news-sec-final .card-date {
  font-family: var(--font-body);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ============================================================
   INTERNATIONAL NEWS
   ============================================================ */
.international-news-sec-final {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px var(--pad-page-desktop);
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.international-news-sec-final .top-bar {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.international-news-sec-final .section-title {
  font-size: 2rem;
  font-weight: 200;
  color: #ef3c3c;
}

.international-news-sec-final .view-all {
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: #ef3c3c;
  text-decoration: none;
  font-weight: 500;
  margin-left: 20px;
}

.international-news-sec-final .content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.international-news-sec-final .col {
  flex: 1;
  min-width: 280px;
}

.international-news-sec-final img { width: 100%; border-radius: var(--radius-lg); }

.international-news-sec-final .main-article-title {
  font-size: 1.7rem;
  font-weight: 100;
  color: #000;
  margin-bottom: 10px;
}

.international-news-sec-final .main-article-summary {
  font-size: 0.93rem;
  line-height: 1.5;
  color: #333;
  font-weight: 300;
  font-family: var(--font-body);
}

.international-news-sec-final .headline {
  font-size: 1.1rem;
  font-weight: 200;
  color: #000;
  margin-bottom: 15px;
}

/* ============================================================
   BOU TECH IMAGES
   ============================================================ */
.bou-tech-img-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-page-desktop);
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

.bou-tech-img-title {
  font-size: 1.8rem;
  font-weight: 200;
  color: #ef3c3c;
  margin-bottom: 30px;
}

.bou-tech-img-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px;
}

.bou-tech-img-card {
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  margin-left: -45px;
  box-sizing: border-box;
}

.bou-tech-img-container {
  overflow: hidden;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-mid);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: #fff;
}

.bou-tech-img-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease-in-out;
  border-radius: var(--radius-xl);
}
.bou-tech-img-container:hover img { transform: scale(1.08); }

.bou-tech-img-label {
  font-weight: 200;
  font-size: 1.5rem;
  color: #000;
  margin-top: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ads-footer-style {
  background-color: #fdfdfd;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 40px 20px;
  font-family: var(--font-body);
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

.ads-columns {
  max-width: 712px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.ads-section { flex: 1 1 300px; margin: 0; }

.ads-section h4 {
  font-size: 14px;
  color: #e53b44;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ads-section ul     { list-style: none; padding: 0; margin: 0; }
.ads-section ul li  { margin-bottom: 6px; }
.ads-section ul li a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  transition: color var(--transition-fast);
}
.ads-section ul li a:hover { color: #e53b44; text-decoration: underline; }

/* ── Social icons ── */
.ads-social-icons { margin-bottom: 20px; }

.ads-social-icons a {
  margin: 0 8px;
  display: inline-block;
  font-size: 22px;
  transition: transform var(--transition-fast), color var(--transition-fast);
  color: red;
}
.ads-social-icons a:hover { transform: translateY(-3px) scale(1.15); }

.ads-social-icons a:nth-child(1):hover { color: #000; }
.ads-social-icons a:nth-child(2):hover { color: #ff0000; }
.ads-social-icons a:nth-child(3):hover { color: #1877f2; }
.ads-social-icons a:nth-child(4):hover { color: #e1306c; }

.ads-logo img { width: 160px; height: auto; margin: 0 auto; }

.footer-logo {
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 100;
  color: #ef1322;
  text-shadow: 0.3px 0.3px 0 currentColor;
}

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.det-page-col-sec-container {
  background-color: #f2f7f7;
  text-align: center;
  padding: 60px 20px 40px;
}

.det-page-col-sec-meta {
  font-size: 14px;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.det-page-col-sec-icon {
  display: inline-block;
  width: 22px; height: 22px;
  background-color: #ffd700;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
  line-height: 22px;
  text-align: center;
}

.det-page-col-sec-headline {
  font-size: 34px;
  font-weight: 200;
  color: #ef0a15;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.3;
  text-transform: uppercase;
}

.det-twoside-col-sec-wrapper {
  display: flex;
  gap: 30px;
  padding: 40px var(--pad-page-desktop);
}

.det-twoside-col-sec-main { flex: 3; }

.det-twoside-col-sec-lead {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.det-twoside-col-sec-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  font-family: var(--font-body);
}

.det-twoside-col-sec-meta .category {
  color: #ff0c20;
  font-weight: 300;
  font-size: 20px;
  font-family: var(--font-display);
}

.det-twoside-col-sec-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.det-twoside-col-sec-author img { width: 36px; height: 36px; border-radius: 50%; }

.det-twoside-col-sec-author a {
  color: black;
  font-weight: 300;
  text-decoration: underline;
  font-family: var(--font-body);
}

.det-twoside-col-sec-audio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.det-twoside-col-sec-audio .audio-icon {
  background: #ffd700;
  color: black;
  border-radius: 50%;
  font-weight: bold;
  width: 26px; height: 26px;
  text-align: center;
  line-height: 26px;
}

.det-twoside-col-sec-audio .audio-label a { color: #000; text-decoration: underline; }

.det-twoside-col-sec-player .player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 400px;
}

.det-twoside-col-sec-player .bar {
  flex: 1;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
}

.det-twoside-col-sec-sidebar {
  flex: 1;
  background: #edf3f5;
  padding: 20px;
  border-radius: var(--radius-lg);
  height: 50%;
}

.det-twoside-col-sec-sidebar h3 {
  color: black;
  font-weight: 200;
  font-size: 24px;
  margin-bottom: 20px;
}

.det-twoside-col-sec-sidebar .dot {
  color: red;
  font-size: 22px;
  vertical-align: middle;
  margin-right: 8px;
}

.det-twoside-col-sec-list { list-style: none; padding: 0; margin: 0; }

.det-twoside-col-sec-list li {
  font-size: 12px;
  margin-bottom: 15px;
  font-weight: 300;
  font-family: var(--font-body);
}

.det-twoside-col-sec-list li strong { margin-right: 10px; }

.det-twoside-col-sec-player img {
  width: 96%;
  margin-top: 30px;
  border-radius: 6px;
}

.det-twoside-col-sec-btn {
  margin-top: 20px;
  background: #f5424e;
  border: none;
  padding: 10px 18px;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.mid-para {
  font-family: var(--font-body);
  color: rgb(136,135,135);
  font-size: 12px;
  text-align: center;
}

.det-para {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: #000;
}

.det-readalso-wrapper  { margin-top: 50px; padding: 0 var(--pad-page-desktop); }

.det-readalso-title {
  color: #e82c2c;
  font-size: 24px;
  font-weight: 200;
  margin-bottom: 20px;
}

.det-readalso-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.det-readalso-main {
  flex: 2;
  max-width: 45%;
}

.det-readalso-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.det-readalso-image-wrapper img { width: 100%; display: block; border-radius: var(--radius-md); }

.det-readalso-icon {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 20px;
  background: white;
  border-radius: 50%;
  padding: 4px;
}

.det-readalso-headline {
  margin-top: 17px;
  color: black;
  font-size: 20px;
  font-weight: 200;
  transition: color var(--transition-fast);
}
.det-readalso-headline:hover  { color: red; }
.det-readalso-subtitle:hover  { color: red; }

.det-readalso-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: #555;
  font-size: 14px;
  font-family: var(--font-body);
}

.det-readalso-tag {
  background: #ffdb00;
  padding: 3px 6px;
  border-radius: 4px;
  color: #000;
}

.det-readalso-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 40%;
}

.det-readalso-item { display: flex; gap: 15px; }

.det-readalso-thumb img {
  width: 231px;
  height: 127px;
  border-radius: 6px;
  object-fit: cover;
}

.det-readalso-text { flex: 1; }

.det-readalso-subtitle {
  font-weight: 200;
  font-size: 18px;
  color: #080808;
  transition: color var(--transition-fast);
}

.det-readalso-playicon { color: #e82c2c; margin-right: 6px; }

.det-readalso-submeta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #999;
  margin-top: 6px;
  font-family: var(--font-body);
}

.det-grid-img-col  { margin-top: 50px; padding: 0 var(--pad-page-desktop); }

.det-grid-img-title {
  font-size: 28px;
  font-weight: 300;
  color: #e82c2c;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.det-grid-img-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.det-grid-img-card  { display: flex; flex-direction: column; }

.det-grid-img-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.det-grid-img-caption {
  margin-top: 10px;
  font-weight: 300;
  font-size: 15px;
  color: #2c2c2c;
  font-family: var(--font-body);
}

.det-grid-img-source {
  margin-top: 5px;
  color: #aaa;
  font-size: 8px;
  font-weight: 600;
  font-family: var(--font-body);
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.cat-banner {
  position: relative;
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cat-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  background-color: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-title {
  color: white;
  font-size: 48px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cat-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px var(--pad-page-desktop);
}

.cat-tag {
  background-color: #f1f5f5;
  color: #1a0033;
  font-weight: 300;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition-mid);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.cat-tag:hover { background-color: #e0eaea; }

.cat-feature-grid-news-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  padding: 20px 100px;
}

.cat-feature-grid-news-left,
.cat-feature-grid-news-right { display: flex; flex-direction: column; }

.cat-feature-grid-news-title {
  font-size: 32px;
  font-weight: 200;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.3;
  transition: color var(--transition-fast);
}
.cat-feature-grid-news-title:hover { color: red; }

.cat-feature-grid-news-image-wrap { margin-bottom: 16px; position: relative; }

.cat-feature-grid-news-img { width: 100%; border-radius: 5px; }

.cat-feature-grid-news-description {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  font-family: var(--font-body);
}

.cat-feature-grid-news-sidebar {
  background-color: #f1f5f5;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.cat-feature-grid-news-subtitle {
  font-size: 18px;
  font-weight: 200;
  color: white;
  margin-bottom: 10px;
}

.cat-feature-grid-news-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}

.cat-feature-grid-news-list li {
  font-size: 14px;
  color: black;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cat-feature-grid-news-button {
  background-color: #ed4251;
  color: white;
  border: none;
  padding: 10px 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.cat-feature-grid-news-video-block {
  background-color: #111;
  padding: 16px;
  border-radius: var(--radius-md);
  color: white;
}

.cat-feature-grid-news-video-img { width: 100%; border-radius: 5px; margin-top: 10px; }

.cat-feature-grid-news-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.cat-feature-grid-news-col { display: flex; flex-direction: column; }

.cat-feature-grid-news-thumb { width: 100%; height: auto; border-radius: 6px; margin-bottom: 12px; }

.cat-feature-grid-news-subtext {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #333;
  font-weight: 200;
  transition: color var(--transition-fast);
}
.cat-feature-grid-news-subtext:hover { color: red; }

.cat-feature-grid-news-subtexts {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #333;
  font-family: var(--font-body);
}

.bookmark-image-wrap { position: relative; display: inline-block; width: 100%; }

.bookmark-svg { position: absolute; top: -7px; left: -4px; width: 24px; height: 32px; z-index: 1; }

.cat-including-row-sec {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 20px 0;
}

.cat-including-col-img    { flex: 0 0 180px; }
.cat-including-thumb      { width: 100%; border-radius: 6px; display: block; }
.cat-including-col-text   { flex: 1; }
.cat-including-title-link { text-decoration: none; }

.cat-including-title {
  font-weight: 200;
  color: #000;
  font-size: 1.2rem;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.cat-including-title:hover { color: rgb(208,43,43); }

.cat-including-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #aaa;
  font-family: var(--font-body);
}

.cat-including-badge { color: #000; display: flex; align-items: center; gap: 5px; }

.cat-icon {
  display: inline-block;
  background: #ffcc00;
  border-radius: 50%;
  font-weight: bold;
  padding: 2px 6px;
  color: #22002d;
  font-size: 0.8rem;
}

/* ── Pagination ── */
.cat-button-sec.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 60px 0;
}

.cat-button-sec.nav-previous,
.cat-button-sec.nav-next     { display: flex; align-items: center; gap: 0.3rem; font-weight: bold; }
.cat-button-sec.text.disabled { color: #ddd; }
.cat-button-sec.page-numbers  { display: flex; gap: 0.5rem; font-weight: 200; }
.cat-button-sec.page          { color: #001; cursor: pointer; }
.cat-button-sec.page.active   { color: red; text-decoration: underline; }
.cat-button-sec.arrow         { font-size: 1rem; }

.cat-button-sec.breadcrumb    { display: flex; gap: 0.5rem; margin-top: 10px; font-family: sans-serif; }
.cat-button-sec.crumb         { color: #001; font-weight: normal; }
.cat-button-sec.crumb.active  { color: #001; font-weight: bold; }
.cat-button-sec.separator     { color: red; }

/* ── Custom pagination ── */
.custom-pagination nav { display: flex; justify-content: center; margin-top: 30px; }
.custom-pagination ul  { display: flex; list-style: none; padding: 0; gap: 8px; }
.custom-pagination li  { display: inline; }

.custom-pagination a,
.custom-pagination span {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  background: #f1f1f1;
  color: #333;
  font-weight: 500;
  transition: background var(--transition-mid), color var(--transition-mid);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.custom-pagination a:hover         { background: #c0392b; color: #fff; }
.custom-pagination .active span    { background: #c0392b; color: #fff; font-weight: bold; }
.custom-pagination .disabled span  { opacity: 0.5; cursor: not-allowed; }

.cat-button-sec.sidebar {
  width: 280px;
  left: -397px;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.privacy-top {
  margin-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 25px;
}

.privacy-badge {
  display: inline-block;
  background: var(--color-red-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 15px;
  font-weight: 600;
}

.privacy-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  color: #111;
  margin-bottom: 10px;
}

.privacy-intro {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin-top: 10px;
  line-height: 1.75;
}

.privacy-update         { margin-top: 18px; font-size: 14px; color: #888; }
.privacy-update span    { font-weight: 700; color: #000; }

.privacy-section        { margin-bottom: 36px; }

.privacy-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-red-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy-section p {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 10px;
}

.privacy-list { list-style: none; padding: 0; margin: 12px 0 0; }

.privacy-list li {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.privacy-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-red-dark);
  font-weight: 700;
}

.privacy-box {
  background: #fafafa;
  border-left: 4px solid var(--color-red-dark);
  padding: 18px;
  margin-top: 20px;
  border-radius: 6px;
  color: #444;
  font-size: 15px;
  line-height: 1.75;
}

.privacy-contact {
  margin-top: 50px;
  background: #111;
  color: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
}

.privacy-contact h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy-contact p      { color: #ddd; font-size: 15px; line-height: 1.75; }
.privacy-contact strong { color: #fff; }

/* ============================================================
   MOBILE  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {

  body { overflow-x: hidden; }
  *, *::before, *::after { box-sizing: border-box; }
  img { max-width: 100%; height: auto; }

  .header {
    padding: 12px var(--pad-page-mobile);
    flex-wrap: nowrap;
  }

  .logo { font-size: 26px; }

  .header-right .login,
  .header-right .user-icon { display: none; }

  .subscribe-button {
    font-size: 12px;
    padding: 8px 12px;
  }

  .nav-menu {
    padding: 10px var(--pad-page-mobile);
    gap: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-menu::-webkit-scrollbar { display: none; }
  .nav-menu a {
    font-size: 13px;
    white-space: nowrap;
    padding: 6px 0;
  }

  .featured-news {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: var(--pad-page-mobile) !important;
    gap: 24px !important;
    border-top-left-radius: 0 !important;
    contain: none !important; /* FIX: release contain on mobile to allow natural flow */
  }

  .left-headline,
  .main-image,
  .side-article {
    width: 100% !important;
    min-width: 0 !important;
  }

  .main-image img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: var(--radius-md) !important;
  }

  .main-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .side-title  { font-size: 20px; }
  .side-tag    { font-size: 15px; }

  .featured-news-first-wrapper,
  .featured-news-wrapper { padding-top: 0 !important; }

  .featured-news-last {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 24px var(--pad-page-mobile) !important;
    gap: 24px !important;
    border-top-left-radius: 24px !important;
    contain: none !important;
  }

  .main-images img {
    width: 100% !important;
    height: auto !important;
    margin-top: 0 !important;
  }

  .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: var(--pad-page-mobile) !important;
  }

  .block,
  .block:first-child,
  .block:last-child {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .des-sec-grid-news-container {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 var(--pad-page-mobile) !important;
    margin: 24px auto !important;
    gap: 28px !important;
    content-visibility: auto;
    contain-intrinsic-size: 0 1200px;
  }

  .des-sec-grid-news-article   { width: 100% !important; }

  .des-sec-grid-news-image {
    width: 100% !important;
    height: 200px !important;
  }

  .des-sec-grid-news-title     { font-size: 1.2em; }
  .des-sec-grid-news-sidebar   { position: static !important; width: 100% !important; }

  .des-sec-grid-news-bottom {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 var(--pad-page-mobile) !important;
    margin: 24px auto !important;
    gap: 24px !important;
  }

  .des-sec-grid-news-gaza-image {
    width: 100% !important;
    height: auto !important;
  }

  .pod-sec-grid-news-container {
    height: auto !important;
    padding: var(--pad-page-mobile) var(--pad-page-mobile) 60px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    contain-intrinsic-size: 0 1200px;
  }

  .pod-sec-grid-news-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .pod-sec-grid-news-card {
    margin: 0 !important;
    width: 100% !important;
  }

  .pod-sec-grid-news-image,
  .pod-sec-grid-news-cta-image {
    width: 100% !important;
    height: auto !important;
  }

  .pod-sec-grid-news-title  { font-size: 22px; }
  .pod-sec-grid-newss-title { font-size: 19px; }

  .pod-sec-grid-news-side-card {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .pod-sec-grid-news-side-image {
    width: 100px !important;
    flex-shrink: 0 !important;
  }

  .pod-sec-grid-news-video-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: calc(100% - 32px) !important;
    margin: -30px auto 20px !important;
    padding: 20px !important;
    gap: 16px !important;
  }

  .pod-sec-grid-news-avatars { min-width: 0 !important; }

  .pod-sec-grid-news-avatars img {
    width: 44px !important;
    height: 44px !important;
  }

  .art-sec-news-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: var(--pad-page-mobile) !important;
    gap: 16px !important;
    content-visibility: auto;
    contain-intrinsic-size: 0 1500px;
  }

  .news-card          { min-height: 300px; }
  .news-card .overlay h3 { font-size: 24px; }

  .series-section   { padding: 24px var(--pad-page-mobile); }
  .series-header    { font-size: 26px; }
  .carousel-item    { width: 200px; }

  .card-col-news-sec { padding: 24px var(--pad-page-mobile); }

  .card-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .prison-headline  { font-size: 34px; }

  .second-carousel-wrapper { padding: 24px var(--pad-page-mobile); }

  .carousel-card {
    min-width: 240px;
    height: 350px;
  }

  .card-title        { font-size: 22px; }
  .carousel-category { min-width: 240px; height: auto; padding: 16px; }

  .capital-news-sec { padding: 28px var(--pad-page-mobile); }

  .capital-news-sec-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .capital-news-sec-right {
    display: flex !important;
    flex-direction: column !important;
    margin-top: 0 !important;
    gap: 20px !important;
  }

  .capital-news-sec-left-title { font-size: 26px; }

  .entertainment-news-sec-final { padding: 0 var(--pad-page-mobile); }
  .entertainment-news-sec-final .section-title { font-size: 2rem; }

  .entertainment-news-sec-final .card-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .entertainment-news-sec-final .card {
    max-width: 100% !important;
    width: 100% !important;
  }

  .international-news-sec-final { padding: 10px var(--pad-page-mobile); }

  .international-news-sec-final .content {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .international-news-sec-final .col { min-width: 0 !important; width: 100% !important; }

  .bou-tech-img-wrapper { padding: 0 var(--pad-page-mobile); }

  .bou-tech-img-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 0 !important;
  }

  .bou-tech-img-card {
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  .footer-logo { font-size: 52px; }

  .ads-columns {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .ads-section { flex: none; width: 100%; max-width: 320px; }
  .ads-logo img { width: 130px; }

  .ads-social-icons a {
    font-size: 28px;
    margin: 0 12px;
  }

  .det-page-col-sec-headline {
    font-size: 22px;
    padding: 0 var(--pad-page-mobile);
  }

  .det-twoside-col-sec-wrapper {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px var(--pad-page-mobile) !important;
    gap: 20px !important;
  }

  .det-twoside-col-sec-sidebar {
    width: 100% !important;
    height: auto !important;
  }

  .det-readalso-wrapper { padding: 0 var(--pad-page-mobile); margin-top: 30px; }

  .det-readalso-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .det-readalso-main,
  .det-readalso-side { max-width: 100% !important; width: 100% !important; }

  .det-readalso-thumb img { width: 100px; height: auto; }

  .det-grid-img-col { padding: 0 var(--pad-page-mobile); margin-top: 30px; }

  .det-grid-img-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .cat-tags-container { padding: 12px var(--pad-page-mobile); }

  .cat-feature-grid-news-container {
    display: flex !important;
    flex-direction: column !important;
    padding: var(--pad-page-mobile) !important;
    gap: 20px !important;
  }

  .cat-feature-grid-news-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 16px !important;
  }

  .cat-title { font-size: 28px; }

  .cat-including-col-img { flex: 0 0 110px; }

  .edit-sec-news-site-card { width: auto; }

  .discover-button-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 20px var(--pad-page-mobile) !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .cat-button-sec.pagination-container {
    gap: 1rem;
    flex-wrap: wrap;
    margin: 32px 0;
  }

  .cat-button-sec.sidebar {
    width: calc(100vw - 40px);
    left: -100vw;
  }

  .cat-button-sec.sidebar.active { left: 0; }

  .cat-button-sec.dots.close-dots {
    position: absolute;
    right: 0;
  }

  .privacy-container { padding: 30px var(--pad-page-mobile) 60px; }
  .privacy-title     { font-size: 26px; }
  .privacy-section h2 { font-size: 17px; }
  .privacy-contact   { padding: 24px; }
  .privacy-contact h2 { font-size: 20px; }
}

/* ============================================================
   TABLET — max-width: 900px
   ============================================================ */
@media (max-width: 900px) {
  .international-news-sec-final .content { flex-direction: column; }
  .entertainment-news-sec-final .card-row { flex-direction: column; align-items: center; }
}

/* ============================================================
   TABLET — max-width: 960px
   ============================================================ */
@media (max-width: 960px) {
  .capital-news-sec-grid  { grid-template-columns: 1fr; }
  .capital-news-sec-right { grid-template-columns: 1fr; }
}

/* ============================================================
   SMALL PHONES — max-width: 480px
   ============================================================ */
@media (max-width: 480px) {
  .logo             { font-size: 20px; }
  .main-title       { font-size: 22px; }
  .side-title       { font-size: 18px; }

  .featured-news-last { border-top-left-radius: 16px; }

  .cat-title {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .footer-logo      { font-size: 36px; }
  .prison-headline  { font-size: 28px; }

  .det-page-col-sec-headline { font-size: 18px; }

  .capital-news-sec-left-title { font-size: 22px; }

  .pod-sec-grid-news-title { font-size: 18px; }

  .carousel-card  { min-width: 190px; height: 290px; }
  .card-title     { font-size: 18px; }
  .carousel-category { min-width: 190px; }

  .det-readalso-item { flex-direction: column; }
  .det-readalso-thumb img { width: 100%; height: auto; }

  .cat-including-row-sec { flex-direction: column; }
  .cat-including-col-img { flex: none; width: 100%; }

  .read-thumb { width: 85px; height: 70px; }

  .subscribe-button { font-size: 11px; padding: 7px 10px; }

  .nav-menu a,
  .cat-tag,
  .discover-button,
  .subscribe-button,
  .ads-social-icons a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ============================================================
   CRITICAL HTML CHANGES NEEDED (add to your <head>):
   ============================================================
   
   1. FONT PRELOAD — add before any stylesheet link:
      <link rel="preload" href="/fonts/Tanker_Complete/Fonts/OTF/Tanker-Regular.otf"
            as="font" type="font/otf" crossorigin>

   2. LCP IMAGE — on your hero/main-image <img> tag add:
      loading="eager" fetchpriority="high"
      width="..." height="..." (set actual pixel dimensions)

   3. ALL OTHER IMAGES below the fold — add:
      loading="lazy"

   4. GOOGLE FONTS — if using Merriweather/Overpass/Inter via Google Fonts:
      Add display=swap to the URL:
      <link href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" rel="stylesheet">
      OR preconnect:
      <link rel="preconnect" href="https://fonts.googleapis.com">
      <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

   5. INLINE CRITICAL CSS — the header + hero styles above should be
      inlined in a <style> tag in <head> so the first paint doesn't
      wait for the full CSS file to download.
   ============================================================ */