@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Noto+Serif+Devanagari:wght@400;500;600;700;800&display=swap');

/* =========================================================
   हिमवार्ता — DESIGN TOKENS
   Palette drawn from the Nepali flag (crimson + azure) plus
   a temple-gold accent and warm paper background. The signature
   motif is the tiered pagoda roofline (see .pagoda-divider and
   .section__mark) — a nod to Kathmandu Valley temple architecture,
   used as a structural device instead of generic dots/dividers.
========================================================= */
:root{
  --red: #d62839;
  --red-dark: #a61d2b;
  --blue: #1d3557;
  --blue-light: #f7efe6;
  --gold: #d62839;
  --cream: #f7efe6;
  --paper: #fdfbf7;
  --ink: #1d3557;
  --ink-soft: #2f4468;
  --gray: #5c6878;
  --line: #e5d8c7;

  --font-display: "Noto Serif Devanagari", "Merriweather", "Times New Roman", serif;
  --font-body: "Noto Sans Devanagari", "Segoe UI", "Arial", sans-serif;
  --font-utility: "Noto Sans Devanagari", "Segoe UI", "Arial", sans-serif;

  --container: 1240px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(36,31,26,0.08);
  --shadow-md: 0 8px 24px rgba(36,31,26,0.10);
  --header-h: 66px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html,body{ margin:0; padding:0; }
body{
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body, p, li, span, a, button, input, textarea, select, label, time, small, nav{
  font-family: var(--font-body);
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul,ol{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:700; line-height:1.3; margin:0; color: var(--ink); }
p{ margin:0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

.container{ max-width: var(--container); margin:0 auto; padding: 0 20px; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--red); color:#fff;
  padding:10px 16px; z-index:1000; border-radius:0;
}
.skip-link:focus{ left:0; }

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

/* =========================================================
   THUMBNAIL PLACEHOLDERS
   No real photography is wired up in this static prototype, so
   thumbnails are art-directed gradient "peaks" (echoing the logo
   mark) rather than broken <img> tags. Swap .thumb-* classes for
   real <img> / background-image URLs once the API is connected.
========================================================= */
.thumb-a,.thumb-b,.thumb-c,.thumb-d,.thumb-e,.thumb-f,.thumb-g,.thumb-h{
  position:relative; background-size:cover; background-position:center;
  overflow:hidden;
}
.thumb-a{ background: linear-gradient(135deg, var(--red), var(--blue)); }
.thumb-b{ background: linear-gradient(135deg, var(--blue), var(--red)); }
.thumb-c{ background: linear-gradient(135deg, var(--blue), var(--cream)); }
.thumb-d{ background: linear-gradient(135deg, var(--cream), var(--blue)); }
.thumb-e{ background: linear-gradient(135deg, var(--red), var(--blue)); }
.thumb-f{ background: linear-gradient(135deg, var(--blue), var(--cream)); }
.thumb-g{ background: linear-gradient(135deg, var(--cream), var(--red)); }
.thumb-h{ background: linear-gradient(135deg, var(--blue), var(--red)); }
.thumb-a::after,.thumb-b::after,.thumb-c::after,.thumb-d::after,.thumb-e::after,.thumb-f::after,.thumb-g::after,.thumb-h::after{
  content:""; position:absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpolygon points='0,100 30,45 55,70 90,20 120,68 150,38 180,72 200,50 200,100' fill='rgba(255,255,255,0.14)'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

/* =========================================================
   TOP BAR
========================================================= */
.topbar{
  background: #050505; color:#f5efe6; font-family: var(--font-utility);
  font-size: 13px; border-bottom:1px solid #1f1f1f;
}
.topbar__inner{ display:flex; align-items:center; gap:20px; height:38px; }
.topbar__date{ white-space:nowrap; color:#cfc3aa; }
.topbar__ticker{ flex:1; display:flex; align-items:center; gap:10px; min-width:0; }
.topbar__ticker-label{ background:var(--red); color:#fff; padding:2px 8px; border-radius:0; font-weight:600; font-size:11px; flex-shrink:0; }
.ticker{ overflow:hidden; flex:1; }
.ticker__track{
  display:flex;
  gap:60px;
  white-space:nowrap;
  width:max-content;
  animation: ticker-scroll 20s linear infinite;
  will-change: transform;
}
.ticker__track li{ display:inline; color:#e8e2d4; }
@keyframes ticker-scroll{
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.topbar__right{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.lang-toggle{ background:transparent; border:1px solid #3d3d3d; color:#f5efe6; border-radius:0; padding:3px 8px; font-size:12px; }
.lang-toggle__en{ opacity:.6; }
.topbar__social{ display:flex; gap:10px; }
.topbar__social a{ width:22px; height:22px; border-radius:0; background:#1b1b1b; color:#f5efe6; display:flex; align-items:center; justify-content:center; font-size:11px; }
.topbar__social a:hover{ background: var(--red); color:#fff; }

@media (max-width: 720px){
  .topbar__date{ display:none; }
  .topbar__social{ display:none; }
}

/* =========================================================
   HEADER
========================================================= */
.site-header{
  background: var(--paper); border-bottom: 1px solid var(--line);
  position: sticky; top:0; z-index:100; transition: box-shadow .25s ease;
}
.site-header.is-stuck{ box-shadow: var(--shadow-md); }
.header__inner{ display:flex; align-items:center; gap:28px; height: var(--header-h); }

.logo{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.logo__img{
  height: 40px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}
@media (min-width: 640px){
  .logo__img{ height: 48px; max-width: 160px; }
}
@media (min-width: 960px){
  .logo__img{ height: 52px; max-width: 180px; }
}
.logo__peaks{ width:34px; height:16px; color: var(--red); }
.logo__peaks svg{ width:100%; height:100%; fill:currentColor; }
.logo__text{ font-family: var(--font-display); font-weight:700; font-size:26px; color: var(--red); letter-spacing:.5px; }
.logo__tagline{ font-family: var(--font-utility); font-size:11px; color: var(--gray); border-left:1px solid var(--line); padding-left:10px; margin-left:2px; display:none; }
@media (min-width:640px){ .logo__tagline{ display:inline; } }

.main-nav ul{ display:flex; gap:6px; }
.main-nav a{
  display:block; padding: 10px 12px; font-weight:600; font-size:15px;
  color: var(--ink-soft); border-radius:0; position:relative;
}
.main-nav a:hover{ color: var(--red); background: var(--blue-light); }
.main-nav a.is-active{ color: var(--red); }
.main-nav a.is-active::after{
  content:""; position:absolute; left:12px; right:12px; bottom:4px; height:3px;
  background: var(--gold); border-radius:0;
}

.header__tools{ margin-inline-start:auto; display:flex; align-items:center; gap:8px; }
.icon-btn{ background:none; border:none; color:var(--ink); padding:8px; border-radius:0; display:flex; }
.icon-btn:hover{ background: var(--blue-light); }

.hamburger{ display:none; flex-direction:column; justify-content:center; gap:5px; width:36px; height:36px; background:none; border:none; }
.hamburger span{ display:block; height:2px; background: var(--ink); border-radius:0; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.search-panel{ max-height:0; overflow:hidden; background: var(--blue-light); transition: max-height .25s ease; }
.search-panel.is-open{ max-height:90px; }
.search-panel form{ display:flex; gap:10px; padding:16px 0; }
.search-panel input{ flex:1; padding:11px 14px; border:1px solid var(--line); border-radius:0; font-family:inherit; font-size:15px; }
.search-panel button{ background: var(--red); color:#fff; border:none; padding:0 20px; border-radius:0; font-weight:600; }

@media (max-width: 960px){
  .main-nav{
    position:fixed; inset: var(--header-h) 0 0 auto; width:min(320px,86vw); height:calc(100vh - var(--header-h));
    background:var(--paper); transform: translateX(100%); transition: transform .28s ease;
    box-shadow: var(--shadow-md); overflow-y:auto; padding: 10px 0;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{ flex-direction:column; gap:0; }
  .main-nav a{ padding:16px 24px; border-bottom:1px solid var(--line); border-radius:0; }
  .hamburger{ display:flex; }
}

/* =========================================================
   HERO
========================================================= */
.hero{ background: var(--paper); padding: 22px 0 0; position:relative; }
.hero__container{ display:grid; grid-template-columns: 1fr; gap:20px; }
@media (min-width: 960px){ .hero__container{ grid-template-columns: 2.1fr 1fr; } }

.hero__slider{ position:relative; border-radius: 0; overflow:hidden; box-shadow: var(--shadow-md); }
.hero__slides{ position:relative; aspect-ratio: 16/9; }
.hero__slide{
  position:absolute; inset:0; opacity:0; visibility:hidden; transition: opacity .5s ease;
  display:flex; align-items:flex-end;
}
.hero__slide.is-active{ opacity:1; visibility:visible; }
.hero__overlay{
  position:relative; z-index:2; padding: 26px 26px 24px; width:100%;
  background: linear-gradient(0deg, rgba(29,53,87,0.94) 0%, rgba(29,53,87,0.45) 55%, transparent 100%);
  color:#fff;
}
.hero__overlay h1{ font-size: clamp(20px,3vw,32px); color:#fff; margin: 10px 0 8px; }
.hero__overlay p{ color:#e7e0d2; max-width:640px; font-size:14.5px; display:none; }
@media (min-width:640px){ .hero__overlay p{ display:block; } }
.hero__meta{ display:flex; gap:8px; font-size:12.5px; color:#cfc6b4; margin-top:10px; font-family: var(--font-utility); }

.tag{
  display:inline-block; font-family: var(--font-utility); font-size:11.5px; font-weight:600;
  padding:4px 10px; border-radius:0; color:#fff; letter-spacing:.3px;
}
.tag--politics{ background: var(--red); }
.tag--economy{ background: var(--gold); color:#231a04; }
.tag--society{ background: var(--blue); }
.tag--sports{ background:#2f6b4f; }
.tag--entertainment{ background:#7c3f8f; }
.tag--tech{ background:#1c5c86; }
.tag--world{ background:#8a5a1f; }

.hero__arrow{
  position:absolute; top:50%; translate:0 -50%; z-index:3; width:38px; height:38px; border-radius:0;
  background: rgba(10,8,6,0.45); color:#fff; border:none; font-size:22px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease;
}
.hero__arrow:hover{ background: var(--red); }
.hero__arrow--prev{ left:14px; }
.hero__arrow--next{ right:14px; }
.hero__dots{ position:absolute; z-index:3; bottom:14px; right:16px; display:flex; gap:6px; }
.hero__dots button{ width:8px; height:8px; border-radius:0; border:none; background:rgba(255,255,255,0.5); padding:0; }
.hero__dots button.is-active{ background: var(--gold); width:20px; border-radius:0; transition: width .2s ease; }

.hero__rail{ background: var(--paper); border:1px solid var(--line); border-radius: 0; padding:18px; }
.rail__title{ font-size:15px; color: var(--red); border-bottom:2px solid var(--gold); padding-bottom:10px; margin-bottom:10px; font-family: var(--font-display); }
.rail__list{ counter-reset: rail; }
.rail__list li{ counter-increment: rail; display:flex; gap:10px; padding:10px 0; border-bottom:1px dashed var(--line); }
.rail__list li:last-child{ border-bottom:none; }
.rail__list li::before{
  content: counter(rail); font-family: var(--font-utility); font-weight:700; font-size:16px; color: var(--gold);
  flex-shrink:0; width:20px;
}
.rail__list a{ font-weight:600; font-size:14.5px; color: var(--ink-soft); }
.rail__list a:hover{ color: var(--red); }

.pagoda-divider{ height:26px; color: var(--gold); margin-top:18px; }
.pagoda-divider svg{ width:100%; height:100%; }
.pagoda-divider path{ fill: currentColor; opacity:.85; }
.pagoda-divider--footer{ margin-top:0; color:#f1ece2; }
.pagoda-divider--footer path{ fill: var(--cream); opacity:1; }

/* =========================================================
   BREAKING STRIP
========================================================= */
.breaking{ background: var(--red); color:#fff; }
.breaking__inner{ display:flex; align-items:center; gap:14px; height:42px; }
.breaking__label{ font-weight:700; font-size:13px; flex-shrink:0; font-family: var(--font-utility); }
.breaking__scroll{ overflow:hidden; flex:1; }
.breaking__track{
  display:flex;
  gap:70px;
  white-space:nowrap;
  width:max-content;
  animation: breaking-scroll 24s linear infinite;
  will-change: transform;
}
.breaking__track span{ font-size:13.5px; font-weight:500; }
@keyframes breaking-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   CONTENT GRID
========================================================= */
.content-grid{ display:grid; grid-template-columns:1fr; gap:34px; padding: 30px 20px 10px; }
@media (min-width: 960px){ .content-grid{ grid-template-columns: 3fr 1fr; padding: 34px 20px 10px; } }

.primary-col{ display:flex; flex-direction:column; }
@media (min-width: 960px){ .primary-col{ border-right:1px solid var(--line); padding-right:34px; } }

.section{ margin-bottom: 34px; }
.section__head{ display:flex; align-items:baseline; justify-content:space-between; border-bottom:2px solid var(--line); padding-bottom:10px; margin-bottom:16px; }
.section__head h2{ font-size:24px; display:flex; align-items:center; gap:10px; color: var(--ink); font-weight:700; }
.section__mark{ width:14px; height:14px; background: var(--red); display:inline-block; clip-path: polygon(50% 0,100% 100%,0 100%); }
.view-more{ font-family: var(--font-utility); font-size:13px; font-weight:600; color: var(--blue); white-space:nowrap; }
.view-more:hover{ color: var(--red); }

/* latest grid: feature card + list */
.latest-grid{ display:grid; grid-template-columns:1fr; gap:22px; }
@media (min-width: 680px){ .latest-grid{ grid-template-columns: 1fr 1.3fr; } }

.feature-card{ display:flex; flex-direction:column; gap:10px; background:var(--paper); border:1px solid var(--line); border-radius:0; overflow:hidden; box-shadow: var(--shadow-sm); background-size: cover; background-position: center; background-repeat: no-repeat; }
.feature-card.thumb-e,
.feature-card.thumb-a{ aspect-ratio:16/6; justify-content:flex-end; padding:0; position:relative; }
.feature-card.thumb-f,
.feature-card.thumb-b{ aspect-ratio:16/11; justify-content:flex-end; padding:0; position:relative; }
.feature-card .tag{ position:absolute; top:14px; left:14px; z-index:2; }
.feature-card h2{ position:relative; z-index:2; font-size:22px; font-weight:700; padding:0 16px; margin-top:auto; }
.feature-card h2 a{ color:#fff; }
.feature-card p{ position:relative; z-index:2; color:#e7e0d2; font-size:15px; padding:0 16px; display:none; }
.feature-card .card__meta{ position:relative; z-index:2; padding: 0 16px 16px; color:#d8cfbd; }
.feature-card::before{
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(0deg, rgba(29,53,87,0.92), rgba(29,53,87,0.18) 60%, transparent);
}
@media (min-width:520px){ .feature-card p{ display:block; } }

.card__meta{ font-family: var(--font-utility); font-size:12px; color: var(--gray); display:flex; gap:6px; margin-top:6px; }

.latest-list li{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.latest-list li:first-child{ padding-top:0; }
.thumb-sm{ width:78px; height:58px; border-radius:0; flex-shrink:0; }
.latest-list a{ font-weight:600; font-size:15px; line-height:1.45; color: var(--ink); display:block; }
.latest-list a:hover{ color: var(--red); }
.latest-list__time{ display:block; font-family: var(--font-utility); font-size:12px; color: var(--gray); margin-top:5px; }

/* category card grids */
.card-grid{ display:grid; gap:18px; }
.card-grid--4{ grid-template-columns: repeat(2,1fr); }
.card-grid--6{ grid-template-columns: repeat(2,1fr); }
@media (min-width:700px){ .card-grid--4{ grid-template-columns: repeat(4,1fr); } .card-grid--6{ grid-template-columns: repeat(3,1fr); } }
@media (min-width:1080px){ .card-grid--6{ grid-template-columns: repeat(4,1fr); } }

.news-card{ background: var(--paper);  border-radius: 0; overflow:hidden; transition: transform .18s ease; }
.news-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card__img{ aspect-ratio: 4/3; background-size: cover; background-position: center; display:block; }
.news-card__body{ padding:12px 13px 14px; }
.news-card h3{ font-size:16px; font-weight:600; line-height:1.45; }
.news-card h3 a:hover{ color: var(--red); }

.card-grid--6 .news-card{
  position:relative; min-height:280px; display:flex; align-items:flex-end; padding:0;
}
.card-grid--6 .news-card__img{
  position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; background:inherit; z-index:0;
}
.card-grid--6 .news-card__body{
  position:relative; z-index:2; width:100%; padding:18px 16px 16px;
  background: linear-gradient(180deg, rgba(10,12,18,0.05) 0%, rgba(10,12,18,0.72) 100%);
  min-height:110px; display:flex; flex-direction:column; justify-content:flex-end;
}
.card-grid--6 .news-card h3{ margin:0; font-size:17px; line-height:1.38; }
.card-grid--6 .news-card h3 a{ color:#fff; }
.card-grid--6 .news-card .card__meta{ color:#efe4c8; margin-top:8px; }

/* =========================================================
   SIDEBAR
========================================================= */
.widget{ background: var(--paper); border:1px solid var(--line); border-radius: 0; padding:18px; margin-bottom:20px; box-shadow: var(--shadow-sm); }
.widget__title{ font-size:16px; color: var(--red); padding-bottom:10px; border-bottom:2px solid var(--gold); margin-bottom:12px; }

.trending-list li{ display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px dashed var(--line); }
.trending-list li:last-child{ border-bottom:none; }
.trending-list__num{ font-family: var(--font-utility); font-weight:700; color: var(--blue); font-size:18px; width:26px; flex-shrink:0; }
.trending-list a{ font-size:14px; font-weight:600; color: var(--ink-soft); }
.trending-list a:hover{ color: var(--red); }

.mostread-list li{ display:flex; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); }
.mostread-list li:last-child{ border-bottom:none; }
.mostread-list .thumb-sm{ width:64px; height:50px; }
.mostread-list a{ font-size:13.5px; font-weight:600; display:block; color: var(--ink); }
.mostread-list a:hover{ color: var(--red); }
.mostread-list span{ display:block; font-family: var(--font-utility); font-size:11.5px; color: var(--gray); margin-top:4px; }

.ad-slot{
  border-radius: 0; background:#ffffff;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
   margin-bottom:20px; color: var(--gray); font-family: var(--font-utility); font-size:12.5px;
}

.weather-widget{ display:flex; align-items:center; gap:14px; }
.weather-widget__icon{ font-size:34px; }
.weather-widget strong{ font-size:22px; font-family: var(--font-utility); }
.weather-widget p{ color: var(--gray); font-size:13px; margin-top:2px; }

/* =========================================================
   VIDEO SECTION
========================================================= */
.video-section{ background: linear-gradient(135deg, #fcfaf6 0%, #f7efe6 100%); padding: 34px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.video-grid{ display:grid; grid-template-columns:1fr; gap:18px; }
@media (min-width:800px){ .video-grid{ grid-template-columns: 1.45fr 1fr; } }
.video-card{ position:relative; border-radius: 0; overflow:hidden; aspect-ratio:16/9; box-shadow: var(--shadow-md); background: var(--ink); }
.video-card__img, .video-thumb__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; z-index:0; background:#111; }
.video-card__overlay, .video-thumb__overlay{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,8,6,0.08) 0%, rgba(10,8,6,0.55) 100%); z-index:1; }
.video-card__caption{ position:absolute; left:0; right:0; bottom:0; z-index:2; padding:18px; color:#fff; }
.video-card__caption h3{ color:#fff; font-size:clamp(18px, 2.3vw, 24px); margin:8px 0 8px; line-height:1.25; }
.video-card__meta{ display:flex; gap:8px; align-items:center; font-family: var(--font-utility); font-size:12px; color:#e8d9c4; }
.video-play{
  position:absolute; inset:0; margin:auto; width:60px; height:60px; border-radius:50%; z-index:3;
  background: rgba(255,255,255,0.95); border:none; color: var(--red); font-size:20px; display:flex; align-items:center; justify-content:center;
  pointer-events:none; transition: transform .18s ease, box-shadow .18s ease; box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.video-play:hover{ transform: scale(1.08); box-shadow: 0 14px 30px rgba(0,0,0,0.24); }
.video-list{ display:grid; gap:12px; }
.video-thumb{ position:relative; border-radius: 0; overflow:hidden; aspect-ratio:16/8; display:flex; align-items:flex-end; box-shadow: var(--shadow-sm); background: var(--ink); }
.video-thumb__content{ position:relative; z-index:2; color:#fff; padding:12px 14px 14px; }
.video-thumb__content p{ font-size:13.5px; font-weight:700; line-height:1.4; margin-bottom:4px; }
.video-thumb__content span{ font-family: var(--font-utility); font-size:11.5px; color:#d8cfbd; }
.video-play--sm{ width:40px; height:40px; font-size:14px; }
@media (min-width:700px){ .video-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width:1000px){ .video-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   GALLERY
========================================================= */
.gallery-section{ padding: 34px 0; }
.gallery-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:14px; }
@media (min-width:700px){ .gallery-grid{ grid-template-columns: repeat(3,1fr); } }
.gallery-item{ position:relative; aspect-ratio:4/3; border-radius: 0; overflow:hidden; display:flex; align-items:flex-end; }
.gallery-item::before{ content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(10,8,6,.75), transparent 55%); z-index:1; }
.gallery-item span{ position:relative; z-index:2; color:#fff; font-weight:600; font-size:20.5px; padding:15px; }
.gallery-item{ transition: transform .2s ease; }
.gallery-item:hover{ transform: scale(1.02); }

/* =========================================================
   FOOTER
========================================================= */
.site-footer{
  background: #111111 url('images/footer-background.webp') bottom center/90% auto no-repeat;
  background-attachment: fixed;
  color:#e7dfcf;
  position: relative;
  border-top:1px solid #1d1d1d;
}
.site-footer .logo__text,
.site-footer h4,
.site-footer a{ color:#f7f1e7; }
.site-footer a:hover{ color: var(--red); }
.site-footer p,
.site-footer li,
.site-footer .footer__credit{ color:#cfc3aa; }
.footer__social a{
  background:#1b1b1b; color:#f7f1e7; border:1px solid #2a2a2a;
}
.footer__social a:hover{ background: var(--red); color:#fff; }
.footer__bottom{ border-top:1px solid #232323; margin-top:24px; }
.footer__bottom-inner{ padding-top:16px; padding-bottom:20px; }
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.footer__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:30px;
  padding: 30px 20px 20px;
  position: relative;
  z-index: 1;
}
@media (min-width:760px){ .footer__grid{ grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__col h4{ color:#f1ece2; font-size:17px; margin-bottom:14px; font-family: var(--font-display); font-weight:700; }
.footer__col ul li{ margin-bottom:10px; }
.footer__col a{ font-size:14.5px; color:#cfc6b4; }
.footer__col a:hover{ color: var(--gold); }
.logo--footer{ margin-bottom:14px; }
.logo--footer .logo__text{ color: var(--gold); font-size:28px; }
.footer__col--about p{ font-size:15px; line-height:1.8; color:#b8ae9c; margin-bottom:16px; }
.footer__social{ display:flex; gap:10px; }
.footer__social a{ width:34px; height:34px; border-radius:0; background:#38322a; display:flex; align-items:center; justify-content:center; font-size:14px; }
.footer__social a:hover{ background: var(--red); color:#fff; }
.footer__contact li{ font-size:14.5px; color:#b8ae9c; }

.footer__bottom{
  border-top:1px solid #3a352a;
  position: relative;
  z-index: 1;
}
.footer__bottom-inner{ display:flex; flex-direction:column; gap:6px; padding:16px 20px; font-size:13.5px; color:#948a76; }
@media (min-width:640px){ .footer__bottom-inner{ flex-direction:row; justify-content:space-between; } }

/* =========================================================
   BREADCRUMB (article + category pages)
========================================================= */
.breadcrumb{ font-family: var(--font-utility); font-size:12.5px; color: var(--gray); padding:16px 0; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.breadcrumb a{ color: var(--gray); }
.breadcrumb a:hover{ color: var(--red); }
.breadcrumb__sep{ color: var(--line); }
.breadcrumb__current{ color: var(--ink-soft); font-weight:600; }

/* =========================================================
   READING PROGRESS BAR (article page)
========================================================= */
.read-progress{ position:sticky; top: var(--header-h); left:0; height:3px; width:100%; background: var(--line); z-index:90; }
.read-progress__bar{ height:100%; width:0%; background: var(--gold); transition: width .08s linear; }

/* =========================================================
   ARTICLE PAGE
========================================================= */
.article-layout{ display:grid; grid-template-columns:1fr; gap:34px; padding: 6px 20px 10px; }
@media (min-width: 960px){ .article-layout{ grid-template-columns: 2.3fr 1fr; } }

.article-header{ margin-bottom:18px; }
.article-header h1{ font-size: clamp(24px,4vw,38px); margin:12px 0 12px; }
.article-header .dek{ font-size:16px; color: var(--ink-soft); line-height:1.6; margin-bottom:16px; }

.article-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; padding:14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); font-family: var(--font-utility); }
.article-meta__author{ display:flex; align-items:center; gap:10px; }
.author-avatar{ width:38px; height:38px; border-radius:0; flex-shrink:0; }
.article-meta__author strong{ display:block; font-size:13.5px; color: var(--ink); }
.article-meta__author span{ font-size:12px; color: var(--gray); }
.article-meta__stats{ display:flex; gap:14px; font-size:12.5px; color: var(--gray); margin-inline-start:auto; }
.article-meta__share{ display:flex; gap:8px; }
.article-meta__share a{ width:30px; height:30px; border-radius:0; background: var(--blue-light); color: var(--blue); display:flex; align-items:center; justify-content:center; font-size:13px; }
.article-meta__share a:hover{ background: var(--red); color:#fff; }

.article-cover{ margin: 20px 0 8px; border-radius: 0; overflow:hidden; aspect-ratio: 21/10; }
.article-cover-caption{ font-family: var(--font-utility); font-size:12.5px; color: var(--gray); font-style:italic; margin-bottom:26px; }

.article-body{ font-size:16.5px; line-height:1.9; color: var(--ink); }
.article-body p{ margin-bottom:20px; }
.article-body h2{ font-size:22px; margin:32px 0 14px; }
.article-body ul{ list-style:none; margin: 0 0 20px; padding:0; }
.article-body ul li{ position:relative; padding-left:22px; margin-bottom:10px; }
.article-body ul li::before{ content:""; position:absolute; left:0; top:9px; width:8px; height:8px; background: var(--gold); clip-path: polygon(50% 0,100% 100%,0 100%); }
.article-body figure{ margin: 26px 0; }
.article-body figure .inline-img{ border-radius: 0; aspect-ratio:16/9; }
.article-body figcaption{ font-family: var(--font-utility); font-size:12.5px; color: var(--gray); margin-top:8px; font-style:italic; }

.pull-quote{
  margin: 28px 0; padding: 4px 0 4px 24px; border-left:4px solid var(--gold);
  font-family: var(--font-display); font-size:21px; color: var(--red-dark); line-height:1.5;
}
.pull-quote cite{ display:block; font-family: var(--font-utility); font-style:normal; font-size:12.5px; color: var(--gray); margin-top:10px; }

.article-tags{ display:flex; flex-wrap:wrap; gap:8px; margin: 26px 0; }
.article-tags a{ font-family: var(--font-utility); font-size:12.5px; font-weight:600; background: var(--blue-light); color: var(--blue); padding:6px 12px; border-radius:0; }
.article-tags a:hover{ background: var(--red); color:#fff; }

.author-box{ display:flex; gap:16px; background: var(--paper); border:1px solid var(--line); border-radius: 0; padding:20px; margin:30px 0; box-shadow: var(--shadow-sm); }
.author-box .author-avatar{ width:56px; height:56px; }
.author-box h4{ font-size:15px; margin-bottom:4px; }
.author-box p{ font-size:13.5px; color: var(--gray); line-height:1.6; }

.related-section{ margin-top:36px; }

.comments{ margin-top:36px; }
.comments__count{ color: var(--gray); font-weight:500; font-size:15px; }
.comment-form{ display:flex; flex-direction:column; gap:10px; margin: 18px 0 30px; }
.comment-form input, .comment-form textarea{ padding:12px 14px; border:1px solid var(--line); border-radius:0; font-family:inherit; font-size:14.5px; resize:vertical; }
.comment-form button{ align-self:flex-start; background: var(--red); color:#fff; border:none; padding:11px 22px; border-radius:0; font-weight:600; }
.comment-form button:hover{ background: var(--red-dark); }
.comment-list li{ display:flex; gap:12px; padding:16px 0; border-bottom:1px solid var(--line); }
.comment-list .author-avatar{ width:36px; height:36px; }
.comment-list strong{ font-size:13.5px; }
.comment-list time{ font-family: var(--font-utility); font-size:11.5px; color: var(--gray); margin-left:8px; }
.comment-list p{ font-size:14px; color: var(--ink-soft); margin-top:6px; line-height:1.6; }

/* =========================================================
   CATEGORY PAGE
========================================================= */
.category-banner{ padding: 26px 0; color:#fff; }
.category-banner h1{ color:#fff; font-size: clamp(24px,3.6vw,34px); }
.category-banner p{ color: rgba(255,255,255,0.85); margin-top:8px; font-size:14.5px; max-width:640px; }
.category-banner--politics{ background: linear-gradient(120deg, var(--blue), var(--red)); }
.category-banner--economy{ background: linear-gradient(120deg, var(--blue), var(--cream)); color:var(--ink); }
.category-banner--society{ background: linear-gradient(120deg, var(--blue), var(--cream)); color:var(--ink); }
.category-banner--sports{ background: linear-gradient(120deg, var(--blue), var(--red)); }
.category-banner--entertainment{ background: linear-gradient(120deg, var(--blue), var(--cream)); color:var(--ink); }
.category-banner--tech{ background: linear-gradient(120deg, var(--blue), var(--red)); }
.category-banner--world{ background: linear-gradient(120deg, var(--blue), var(--cream)); color:var(--ink); }

.category-toolbar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding: 18px 0; border-bottom:2px solid var(--line); margin-bottom:22px; }
.category-toolbar__tabs{ display:flex; gap:6px; font-family: var(--font-utility); }
.category-toolbar__tabs button{ background:none; border:1px solid var(--line); padding:8px 16px; border-radius:0; font-size:13.5px; font-weight:600; color: var(--ink-soft); }
.category-toolbar__tabs button.is-active{ background: var(--red); border-color: var(--red); color:#fff; }
.category-toolbar__count{ font-family: var(--font-utility); font-size:13px; color: var(--gray); }

.category-grid-wrap{ padding-bottom: 20px; }

.pagination{ display:flex; align-items:center; justify-content:center; gap:8px; padding: 30px 0 40px; font-family: var(--font-utility); }
.pagination button{ min-width:38px; height:38px; border-radius:0; border:1px solid var(--line); background: var(--paper); font-weight:600; font-size:13.5px; color: var(--ink-soft); }
.pagination button.is-active{ background: var(--red); border-color: var(--red); color:#fff; }
.pagination button:hover:not(.is-active){ border-color: var(--gold); color: var(--red); }
.pagination__arrow{ font-size:16px; }

/* =========================================================
   SCROLL TO TOP
========================================================= */
.scroll-top{
  position:fixed; right:20px; bottom:20px; z-index:200; width:44px; height:44px; border-radius:0;
  background: var(--red); color:#fff; border:none; font-size:18px; box-shadow: var(--shadow-md);
  opacity:0; visibility:hidden; transform: translateY(10px); transition: all .25s ease;
}
.scroll-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.scroll-top:hover{ background: var(--red-dark); }











/* =========================================================
   TOP STORY SPOTLIGHT
========================================================= */
.spotlight-row{ background: var(--paper); padding: 16px 0px 0px 0px; }
.spotlight-row__inner{ display:grid; gap:16px; }
@media (min-width: 960px){ .spotlight-row__inner{ grid-template-columns: 2.2fr 1fr; align-items: flex-start; gap: 24px; padding: 0; } }
@media (max-width: 960px){ .spotlight-row__inner{ grid-template-columns: 1fr; } }
.spotlight{ display:flex; }
.spotlight__card{
  border-radius: 0;
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper);
  width: 100%; max-width: 100%;
}
.spotlight-news{ display:flex; flex-direction:column; gap:16px; }
.dense-section{ background: var(--paper); padding: 0; }
.spotlight__media{
  aspect-ratio: 15/9;
  position: relative;
  display:flex;
  align-items:flex-end;
  min-height: 200px;
  width: 100%;
}
@media (min-width: 640px){ .spotlight__media{ min-height: 280px; } }
@media (min-width: 960px){ .spotlight__media{ min-height: 320px; } }
.spotlight__tag{ position: absolute; top: 12px; left: 12px; z-index:2; font-size: 12px; padding: 4px 8px; }
@media (min-width: 640px){ .spotlight__tag{ top: 16px; left: 16px; font-size: 13px; } }
.spotlight__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(0deg, rgba(10,8,6,0.8), rgba(10,8,6,0.08));
  padding: 16px;
}
@media (min-width: 640px){ .spotlight__overlay{ padding: 20px; } }
@media (min-width: 960px){ .spotlight__overlay{ padding: 24px; } }
.spotlight__caption{ position: relative; z-index:3; }
.spotlight__caption h2{
  font-size: clamp(16px, 4vw, 26px);
  line-height: 1.35;
  margin-bottom: 8px;
  color: #fff;
}
@media (min-width: 640px){ .spotlight__caption h2{ margin-bottom: 10px; } }
.spotlight__caption p{
  color: rgba(255,255,255,0.9);
  font-size: clamp(13px, 2.5vw, 14.5px);
  max-width: 720px;
  margin-bottom: 8px;
  line-height: 1.45;
}
@media (min-width: 640px){ .spotlight__caption p{ margin-bottom: 10px; } }
.spotlight__meta{
  display:flex; gap:8px; font-family: var(--font-utility);
  font-size: clamp(11px, 2vw, 12.5px);
  color: rgba(255,255,255,0.85);
}

/* =========================================================
   DENSE NEWS GRID
========================================================= */


.dense-section__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 18px 0;
  font-family: var(--font-display);
}

.dense-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dense-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 0;
  transition: background 0.15s ease;
  border: 1px solid transparent;
}

.dense-list__item:hover {
  background: var(--blue-light);
  border-color: var(--line);
}

.dense-list__thumb {
  width: 100px;
  height: 80px;
  border-radius: 0;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.dense-list__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dense-list__content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
  font-family: var(--font-body);
  transition: color 0.15s ease;
}

.dense-list__item:hover .dense-list__content h4 {
  color: var(--red);
}

.dense-list__time {
  font-size: 12px;
  color: var(--gray);
  font-family: var(--font-utility);
}

.dense-grid{
  display:grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px){ .dense-grid{ gap: 14px 16px; } }
@media (min-width: 960px){ .dense-grid{ gap: 14px 22px; } }
@media (max-width: 960px){ .spotlight-row__inner{ grid-template-columns: 1fr; } }
@media (max-width: 860px){ .dense-grid{ grid-template-columns: 1fr; } }

.dense-item{
  display: flex;
  flex-direction: row;
  border: 1px solid var(--line);
  gap: 10px;
  align-items: flex-start;
  padding: 8px;
  border-radius: 4px;
  transition: background .15s ease;
}
@media (min-width: 640px){ .dense-item{ gap: 12px; padding: 10px; } }
.dense-item:hover{ background: var(--blue-light); }
.dense-item .thumb-sm{
  width: 72px;
  height: 54px;
  border-radius: 0;
  flex-shrink: 0;
}
@media (min-width: 640px){ .dense-item .thumb-sm{ width: 84px; height: 62px; } }
.dense-item__body h3{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(12px, 2.5vw, 14px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
@media (min-width: 640px){ .dense-item__body h3{ font-size: 14px; line-height: 1.4; } }
.dense-item:hover .dense-item__body h3{ color: var(--red); }

.dense-ad{ margin-top: 12px; }
@media (min-width: 640px){ .dense-ad{ margin-top: 16px; } }
.dense-item--ad{ display:flex; align-items:stretch; padding:0; }
.ad-slot--inline{ width:100%; margin-bottom:0;}


/* =========================================================
   FOOTER
========================================================= */
.site-footer{
  color:#c9c2b0;
  border-top:1px solid #1d1d1d;
}
.site-footer a{ color:#c9c2b0; }
.site-footer a:hover{ color: var(--red); }
.site-footer h4{ color:#f1ece2; font-family: var(--font-display); font-weight:800; }

/* stambha strip */
.footer__stambha{
  border-top: 1px solid #2f2f2f;
  border-bottom: 2px solid #3d342b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.footer__stambha .container{ padding: 16px 20px 14px; }
.footer__stambha h4{
  font-size:20px; margin-bottom:8px; display:inline-block;
  position:relative; padding-bottom:6px;
}
.footer__stambha h4::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.footer__stambha-divider{
  height:1px; margin: 6px 0 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03));
}
.footer__stambha-nav{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px;
  font-family: var(--font-utility); font-size:14px;
}
.footer__stambha-nav a{
  color:#f2ebdc; font-weight:700; padding:5px 8px; border-radius:999px;
  border:1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer__stambha-nav a:hover{
  color:#fff; background: rgba(214, 40, 57, 0.22); transform: translateY(-1px);
}
.footer__stambha-nav span{ color:#7d7569; font-weight:700; }

/* main 3-column grid */
.footer__grid{
  display:grid; grid-template-columns:1fr; gap:20px;
  padding: 18px 20px 12px;
}
@media (min-width:760px){ .footer__grid{ grid-template-columns: 1.7fr 1fr 1fr; } }

.footer__col h4{ font-size:16px; margin-bottom:10px; }
.footer__col--about p{ font-size:14px; line-height:1.7; color:#b8ae9c; margin-bottom:8px; }
.footer__readmore{ font-weight:700; color: var(--gold); font-size:14px; }

/* footer logo */
.footer__logo{ margin-top: 16px; }
.footer__logo-img{
  height: 120px;
  width: auto;
  max-width: 120px;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.footer__logo-img:hover{ opacity: 1; }
@media (min-width: 760px){
  .footer__logo{ margin-top: 20px; }
  .footer__logo-img{ height: 120px; max-width: 240px; }
}

.footer__col ul{ margin-bottom:2px; }
.footer__col ul li{ margin-bottom:8px; }
.footer__col a{ font-size:14px; color:#cfc6b4; }
.footer__col a:hover{ color: var(--gold); }
.footer__contact li{ font-size:14px; color:#b8ae9c; }
.footer__contact--phone{ margin-top:8px; }
.footer__contact--phone a{ font-weight:700; color:#e7dfcf; }

/* social icons */
.footer__social{ display:flex; gap:10px; margin: 12px 0 10px; }
.footer__social a{
  width:34px; height:34px; border-radius:50%;
  background:transparent; border:1.5px solid #3a352a;
  display:flex; align-items:center; justify-content:center;
  font-size:14px; color:#e7dfcf;
}
.footer__social a:hover{ background: var(--red); border-color: var(--red); color:#fff; }

/* app store badges */
.footer__stores{ display:flex; gap:10px; }
.footer__stores img{ height:120px; display:block; }

/* other publications */
.footer__pubs-title{ font-size:13px; margin-top:14px; margin-bottom:8px; }
.footer__pubs{ display:flex; flex-wrap:wrap; gap:10px; }
.footer__pubs img{ height:30px; width:auto; border-radius:4px; }

/* bottom bar */
.footer__bottom{ border-top:1px solid #1d1d1d; margin-top:4px; }
.footer__bottom-inner{
  display:flex; flex-direction:column; gap:8px;
  padding:10px 20px; font-size:12px; color:#8a8271;
}
@media (min-width:640px){
  .footer__bottom-inner{ flex-direction:row; justify-content:space-between; align-items:center; }
}
.footer__bottom-links{ display:flex; gap:18px; }
.footer__bottom-links a{ color:#8a8271; }
.footer__bottom-links a:hover{ color: var(--gold); }
