/* =========================================================
   અવાજ ગુજરાત — News portal design system
   Inspired by Divya Bhaskar / Sandesh / Gujarat Samachar patterns:
   sticky category nav, trending strip, hero + side stack, city tabs
   ========================================================= */

:root {
  /* From avajgujaratno_logo.jpeg */
  --ag-yellow: #ffd24d;
  --ag-orange: #ff8c00;
  --ag-blue: #4a90e2;
  --ag-blue-deep: #1e4f8c;
  --ag-maroon: #4e1f14;
  --ag-red: #ff8c00;
  --ag-red-dark: #e06a00;
  --ag-ink: #0a0a0a;
  --ag-ink-soft: #2a2a2a;
  --ag-mute: #5c5c5c;
  --ag-line: #e4e4e4;
  --ag-paper: #f6f7f9;
  --ag-white: #ffffff;
  --ag-sky: #e8f1fb;
  --ag-gold: #ffd24d;
  --ag-radius: 2px;
  --ag-max: 1180px;
  --ag-shadow: 0 10px 30px rgba(10, 10, 10, 0.1);
  --font-guj: "Noto Sans Gujarati", "Hind Vadodara", system-ui, sans-serif;
  --font-display: "Tiro Gujarati", "Noto Serif Gujarati", Georgia, serif;
  --font-ui: "Source Sans 3", "Noto Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-guj);
  color: var(--ag-ink);
  background:
    linear-gradient(180deg, #ebeff5 0%, var(--ag-paper) 180px, #f8fafc 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--ag-blue-deep);
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--ag-max));
  margin-inline: auto;
}

/* ---------- Top bar ---------- */
.site-header {
  background: #000;
}

.topbar {
  background: #141414;
  color: #ddd;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #2a2a2a;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  padding: 0.35rem 0;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.topbar-search {
  display: flex;
  align-items: center;
  border: 1px solid #333;
  background: #1a1a1a;
}

.topbar-search input {
  width: 7.5rem;
  border: 0;
  background: transparent;
  color: #eee;
  padding: 0.28rem 0.45rem;
  font-size: 0.78rem;
  min-width: 0;
}

.topbar-search input::placeholder {
  color: #888;
}

.topbar-search button {
  border: 0;
  background: var(--ag-orange);
  color: #111;
  padding: 0.28rem 0.5rem;
  cursor: pointer;
  font-weight: 700;
}

.topbar__sep {
  color: #555;
}

.topbar__meta {
  color: #b8c9dc;
}

.topbar a {
  color: #ddd;
}

.topbar a:hover {
  color: #fff;
}

.topbar__epaper {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(90deg, var(--ag-orange), var(--ag-yellow));
  color: #111 !important;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 3px;
}

.topbar__epaper:hover {
  filter: brightness(1.06);
  color: #111 !important;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(90deg, var(--ag-orange), #ffb000);
  color: #111;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.live-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

/* ---------- Brand header ---------- */
.brand-header {
  background: #000;
  border-bottom: 3px solid var(--ag-yellow);
  padding: 0.4rem 0;
}

.brand-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.15;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.brand-logo:hover {
  color: #fff;
}

.brand-logo__img,
.custom-logo,
.brand-logo .custom-logo {
  display: block !important;
  height: 48px !important;
  width: auto !important;
  max-width: 48px !important;
  object-fit: contain !important;
  object-position: center !important;
  flex: 0 0 auto;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-logo__text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ag-yellow);
  letter-spacing: 0.01em;
}

.brand-logo__text small {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-header .topbar__epaper {
  flex: 0 0 auto;
}

.brand-logo__mark {
  display: none;
}

.brand-logo__icon,
.brand-logo__title,
.brand-logo__tag {
  display: none;
}

/* Kept for older markup / demo pages */
.weather-chip,
.epaper-chip {
  display: none;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ag-white);
  border-bottom: 3px solid var(--ag-orange);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav__inner::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 0.85rem 0.9rem;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ag-blue-deep);
  border-bottom-color: var(--ag-orange);
}

.nav-toggle {
  display: none;
  border: 0;
  background: linear-gradient(90deg, var(--ag-orange), var(--ag-yellow));
  color: #111;
  padding: 0.55rem 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

/* ---------- Trending ---------- */
.trending {
  background: #fff;
  border-bottom: 1px solid var(--ag-line);
  overflow: hidden;
}

.trending__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
}

.trending__label {
  background: linear-gradient(90deg, var(--ag-maroon), #7a2f1c);
  color: var(--ag-yellow);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
}

.trending__track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trending__marquee {
  display: flex;
  gap: 1.75rem;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-size: 0.9rem;
}

.trending__track:hover .trending__marquee,
.trending__marquee:focus-within {
  animation-play-state: paused;
}

.trending__marquee a {
  color: inherit;
  text-decoration: none;
}

.trending__marquee a:hover,
.trending__marquee a:focus-visible {
  color: var(--ag-blue-deep);
}

.trending__marquee a span::before {
  content: "•";
  color: var(--ag-orange);
  margin-right: 0.75rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 1.25rem 0 0.35rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  align-items: start;
}

.story-card {
  background: var(--ag-white);
  border: 1px solid var(--ag-line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ag-shadow);
}

.story-card--featured {
  position: relative;
  display: block;
  height: auto;
  align-self: start;
  border: 1px solid #111;
  background: #000;
  color: #fff;
}

.story-card--featured:hover {
  transform: none;
  box-shadow: none;
}

.story-card--featured .story-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  flex: none;
}

.story-card--featured .story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-card--featured .story-card__media::after {
  display: none;
}

.story-card--featured .story-card__media .badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  margin: 0;
}

.story-card--featured .story-card__body {
  display: block;
  width: 100%;
  background: #0a0a0a;
  padding: 0.9rem 1rem;
  margin: 0;
}

.story-card--featured .story-card__excerpt,
.story-card--featured .story-card__meta {
  display: none;
}

.story-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0d0d;
}

.story-card__media img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.side-stack .story-card__media img {
  height: 100%;
}

.story-card__media img.is-fallback-logo {
  object-fit: contain;
  padding: 12%;
  background: #000;
}

.story-card:hover .story-card__media img {
  transform: scale(1.04);
}

.story-card--featured:hover .story-card__media img {
  transform: scale(1.02);
}

.story-card__body {
  padding: 0.75rem 0.85rem 0.9rem;
}

.badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--ag-orange), #ffb400);
  color: #111;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.45rem;
  margin-bottom: 0.4rem;
}

.badge--gold {
  background: var(--ag-blue);
  color: #fff;
}

.story-card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0 0 0.3rem;
  font-weight: 600;
}

.story-card--featured .story-card__title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
}

.story-card--featured .story-card__title a {
  color: #fff;
}

.story-card--featured .story-card__title a:hover {
  color: var(--ag-yellow);
}

.story-card__excerpt {
  margin: 0;
  color: var(--ag-mute);
  font-size: 0.88rem;
}

.story-card__meta {
  margin-top: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--ag-mute);
}

.side-stack {
  display: grid;
  grid-template-rows: repeat(4, auto);
  gap: 0.75rem;
  min-height: 0;
  align-self: start;
}

.side-stack .story-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  min-height: 98px;
  background: #fff;
  border: 1px solid var(--ag-line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.side-stack .story-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 98px;
}

.side-stack .story-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.65rem 0.75rem;
}

.side-stack .story-card__title {
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.side-stack .badge {
  align-self: flex-start;
}

/* ---------- Sections ---------- */
.section {
  padding: 1.5rem 0 0.35rem;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--ag-ink);
  padding-bottom: 0.45rem;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  position: relative;
}

.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--ag-orange), var(--ag-blue));
}

.section__more {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ag-blue-deep);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.news-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.split-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.15rem;
}

.list-news {
  display: grid;
  gap: 0.75rem;
}

.list-news__item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ag-line);
}

.list-news__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.list-news__item h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-family: var(--font-display);
  font-weight: 600;
}

.list-news__item .meta {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--ag-mute);
  font-family: var(--font-ui);
}

/* ---------- City tabs ---------- */
.city-panel {
  background: var(--ag-white);
  border: 1px solid var(--ag-line);
  padding: 1rem;
}

.city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.city-tabs button {
  border: 1px solid var(--ag-line);
  background: #fff;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.city-tabs button.is-active,
.city-tabs button:hover {
  background: linear-gradient(90deg, var(--ag-orange), var(--ag-yellow));
  border-color: var(--ag-orange);
  color: #111;
}

.city-panel__content[hidden] {
  display: none;
}

/* ---------- Video strip ---------- */
.video-section {
  margin-top: 1.25rem;
  padding: 1.35rem 0 1.5rem;
  background:
    linear-gradient(135deg, #000 0%, #1a2740 45%, #2a1508 100%);
  color: #fff;
}

.video-section .section__head {
  border-bottom-color: rgba(255, 210, 77, 0.25);
}

.video-section .section__title::after {
  background: var(--ag-yellow);
}

.video-section .section__more {
  color: var(--ag-yellow);
}

.video-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.video-card {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-card__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  text-align: inherit;
}

.video-card__trigger:disabled {
  cursor: not-allowed;
}

.video-card img {
  width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.video-card:hover h3,
.video-card:focus-within h3 {
  color: var(--ag-orange);
}

.video-card:hover img,
.video-card__trigger:focus-visible img {
  transform: scale(1.02);
  opacity: 1;
}

.video-card__trigger:disabled img {
  opacity: 0.55;
}

.video-card__play {
  position: absolute;
  inset: auto auto 42% 50%;
  transform: translate(-50%, 50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ag-orange), var(--ag-yellow));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.video-card__play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid #111;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.video-card__title {
  margin: 0;
  padding: 0.7rem 0.8rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.4;
  font-family: var(--font-display);
}

.video-card__title a:focus-visible,
.video-card__trigger:focus-visible {
  outline: 3px solid var(--ag-yellow);
  outline-offset: 2px;
}

.story-card__media.video-card__trigger {
  color: inherit;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: rgba(0, 0, 0, 0.96);
  color: #fff;
}

.video-lightbox__feed {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.video-lightbox__feed::-webkit-scrollbar {
  display: none;
}

.video-lightbox__item {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 3.75rem 1rem 5.5rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.video-lightbox__frame {
  width: min(100%, 56.25vh);
  width: min(100%, 56.25dvh);
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 9.5rem);
  max-height: calc(100dvh - 9.5rem);
  border: 0;
  background: #111;
}

.video-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font: 2rem/1 var(--font-ui);
  cursor: pointer;
}

.video-lightbox__caption {
  position: absolute;
  right: 1rem;
  bottom: 4.5rem;
  left: 1rem;
  max-width: 44rem;
  text-align: center;
}

.video-lightbox__caption a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
}

.video-lightbox__caption a:hover,
.video-lightbox__caption a:focus-visible {
  color: var(--ag-yellow);
}

.video-lightbox__counter {
  display: block;
  margin-top: 0.2rem;
  color: #ccc;
  font: 0.8rem var(--font-ui);
}

.video-lightbox__nav {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1.25rem;
  display: flex;
  gap: 0.5rem;
}

.video-lightbox__nav button {
  min-height: 2.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  cursor: pointer;
}

.video-lightbox__nav button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.video-lightbox-open {
  overflow: hidden;
}

.video-card__time {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: rgba(0, 0, 0, 0.7);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  padding: 0.15rem 0.35rem;
}

.follow-section {
  margin-top: 2rem;
  background: linear-gradient(90deg, var(--ag-orange), var(--ag-yellow));
  color: #111;
}

.follow-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
}

.follow-section__intro h2 {
  margin: 0;
  font-size: 1.35rem;
}

.follow-section__intro p {
  margin: 0.2rem 0 0;
}

.follow-section__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.follow-section__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.follow-section__links a:hover,
.follow-section__links a:focus-visible {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.follow-section__link--facebook {
  background: #0866ff;
}

.follow-section__link--instagram {
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 78%, #4f5bd5 100%);
}

.follow-section__link--x {
  background: #000;
}

.follow-section__link--google-news {
  background: #fff;
  color: #202124 !important;
  border-color: #dadce0 !important;
}

.follow-section__link--google-news:hover,
.follow-section__link--google-news:focus-visible {
  color: #202124 !important;
}

/* ---------- Footer ---------- */
.home .site-footer {
    margin: 0px;
}

.site-footer {
  margin-top: 2rem;
  background: #101010;
  color: #cfcfcf;
  padding: 2.2rem 0 1.2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-brand span {
  color: var(--ag-yellow);
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: #888;
}

/* ---------- Interior / SEO pages ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ag-orange);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}


.interior {
  padding: 1rem 0 0rem;
}

.breadcrumbs {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
}

.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  color: var(--ag-mute);
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #bbb;
}

.breadcrumbs a:hover {
  color: var(--ag-blue-deep);
}

.archive-header {
  margin-bottom: 1.25rem;
}

.archive-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.archive-desc {
  margin: 0;
  color: var(--ag-mute);
  max-width: 70ch;
}

.archive-count {
  margin: 0 0 0.85rem;
  color: var(--ag-mute);
  font-size: 0.9rem;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.35rem;
  align-items: start;
}

.news-grid--archive {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.35rem;
  align-items: start;
}

.article-main,
.page-main {
  background: #fff;
  border: 1px solid var(--ag-line);
  padding: 1.25rem 1.35rem 1.6rem;
  min-width: 0;
}

.article-header {
  margin-bottom: 0.85rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.3;
  margin: 0.45rem 0 0.65rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--ag-mute);
}

.article-hero-img {
  margin: 0 0 1.1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ag-ink-soft);
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 1rem;
}

.article-body h2,
.article-body h3 {
  font-family: var(--font-display);
  margin: 1.4rem 0 0.55rem;
  line-height: 1.3;
}

.article-body img,
.article-body iframe,
.article-body video {
  max-width: 100%;
  height: auto;
}

.article-body a {
  color: var(--ag-blue-deep);
  text-decoration: underline;
}

.article-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ag-line);
  display: grid;
  gap: 0.85rem;
}

.article-tags,
.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.88rem;
}

.article-tags a,
.article-share a {
  border: 1px solid var(--ag-line);
  padding: 0.25rem 0.55rem;
  background: #fafafa;
}

.article-tags a:hover,
.article-share a:hover {
  border-color: var(--ag-orange);
  color: var(--ag-orange);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ag-line);
}

.post-nav a {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
}

.post-nav__next {
  text-align: right;
}

.related-news {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ag-line);
}

.related-news__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.related-news .news-grid--archive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .related-news .news-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .related-news .news-grid--archive {
    grid-template-columns: 1fr;
  }
}

.page-sidebar {
  min-width: 0;
}

.sidebar-widget {
  background: #fff;
  border: 1px solid var(--ag-line);
  padding: 1rem;
  margin-bottom: 1rem;
}

.sidebar-widget__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  border-bottom: 2px solid var(--ag-orange);
  padding-bottom: 0.35rem;
}

.sidebar-widget h3 {
  margin: 0 0 0.75rem;
  font-size: 0.90rem;
  font-family: var(--font-display);
  border-bottom: 2px solid var(--ag-orange);
  padding-bottom: 0.35rem;
}

.sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.sidebar-cats a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.pagination-wrap {
  margin-top: 1.5rem;
}

.pagination-wrap .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.55rem;
  border: 1px solid var(--ag-line);
  background: #fff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.pagination-wrap .page-numbers.current,
.pagination-wrap a.page-numbers:hover {
  background: var(--ag-orange);
  border-color: var(--ag-orange);
  color: #111;
}

.search-box--page {
  margin-top: 0.85rem;
  max-width: 420px;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
}

.search-form__input {
  border: 1px solid var(--ag-line);
  padding: 0.65rem 0.75rem;
  min-width: 0;
}

.search-form__btn,
.btn-primary {
  border: 0;
  background: linear-gradient(90deg, var(--ag-orange), var(--ag-yellow));
  color: #111;
  font-weight: 700;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.error-404 {
  text-align: center;
  padding: 2rem 0 3rem;
  max-width: 560px;
  margin: 0 auto;
}

.error-404__code {
  font-size: 4rem;
  margin: 0;
  color: var(--ag-orange);
  font-weight: 800;
  line-height: 1;
}

.error-404__actions {
  margin: 1.1rem 0 1.4rem;
}

.empty-state,
.muted {
  color: var(--ag-mute);
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fade-up {
  animation: fadeUp 0.55s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.delay-1 {
  animation-delay: 0.08s;
}
.delay-2 {
  animation-delay: 0.16s;
}
.delay-3 {
  animation-delay: 0.24s;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .brand-header__inner {
    min-height: 52px;
  }

  .brand-logo__img,
  .custom-logo,
  .brand-logo .custom-logo {
    height: 42px !important;
    max-width: 42px !important;
  }

  .brand-logo__text strong {
    font-size: 1.05rem;
  }

  .topbar__meta,
  .topbar__sep {
    display: none;
  }

  .hero__grid,
  .split-2,
  .article-layout,
  .archive-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .news-grid--3,
  .news-grid--archive,
  .video-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card--featured {
    min-height: 0;
  }

  .story-card--featured .story-card__media {
    min-height: 220px;
  }

  .side-stack {
    grid-template-rows: none;
  }

  .side-stack .story-card {
    grid-template-columns: 110px 1fr;
    min-height: 92px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav__next {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
    margin: 0.5rem 0;
  }

  .site-nav__inner {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.5rem;
  }

  .site-nav.is-open .site-nav__inner {
    display: flex;
  }

  .news-grid,
  .news-grid--3,
  .news-grid--archive,
  .video-rail {
    grid-template-columns: 1fr;
  }

  .side-stack .story-card {
    grid-template-columns: 96px 1fr;
  }

  .topbar__left span:not(.live-pill) {
    display: none;
  }

  .article-main,
  .page-main {
    padding: 1rem;
  }

  .brand-logo__text small {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .follow-section__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .follow-section__links {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .container {
    width: min(100% - 1.25rem, var(--ag-max));
  }

  .live-pill {
    font-size: 0.62rem;
  }

  .topbar__epaper {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
}



.avaj-video-embed {
	width: 100%;
	max-width: 800px;
	margin: 0 auto 24px;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
}

.avaj-video-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Full YouTube video: landscape */
.article-video-embed {
	width: 100%;
	margin: 0 auto 24px;
	overflow: hidden;
	background: #000;
	border-radius: 12px;
}

.article-video-embed--full {
	max-width: 900px;
	aspect-ratio: 16 / 9;
}

/* YouTube Shorts: vertical */
.article-video-embed--short {
	max-width: 420px;
	aspect-ratio: 9 / 12;
}

.article-video-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 600px) {
	.article-video-embed {
		border-radius: 8px;
	}

	.article-video-embed--short {
		max-width: 100%;
	}
}

/* Article Share Buttons */
.article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.article-share > span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-right: 4px;
}

.article-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    background: var(--ag-orange);
    border: 1px solid var(--ag-orange);
    border-radius: 6px;
    transition: background-color 0.2s ease,
                color 0.2s ease,
                transform 0.2s ease;
}

.article-share a:hover {
    color: #111;
    transform: translateY(-2px);
}

.article-share a:focus-visible {
    outline: 2px solid #c62828;
    outline-offset: 3px;
}

.article-share a:active {
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 480px) {
    .article-share {
        gap: 6px;
    }

    .article-share a {
        padding: 7px 12px;
        font-size: 12px;
    }
}