/* ==========================================================================
   Bodhvriksha homepage layout fix — matches actual HTML class names
   Loaded after main.css
   ========================================================================== */

/* Topbar links */
.topbar__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}
.topbar__links a:hover { color: #fff; }
.topbar__sep { opacity: 0.45; }

/* Brand / logo (HTML uses .brand, CSS had .logo) */
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--navy);
  flex-shrink: 0;
  min-width: 0;
}
.brand:hover { color: var(--navy); opacity: 0.95; }
.brand__logo {
  height: 48px;
  width: auto;
  max-width: 200px;
}
.brand__tagline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--green);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.btn-notify {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grey);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.btn-notify:hover { background: var(--grey-mid); }

.header-search {
  flex: 1;
  max-width: 420px;
}
.header-search input { width: 100%; min-width: 0; }

/* Main navigation — HTML uses .main-nav */
.main-nav {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid #E5E9EF;
}
.main-nav .container {
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav .container::-webkit-scrollbar { display: none; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  min-height: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__list li { flex-shrink: 0; }
.main-nav__list a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.55rem 0.9rem;
  height: auto;
  min-height: 0;
  color: #E50000;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 0;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.main-nav__list a:hover {
  color: #E50000;
  background: #F3F5F7;
}
.main-nav__list a.active {
  color: #fff;
  background: #E50000;
  border-radius: 999px;
}
.main-nav__all a {
  color: #a7f3d0 !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Breaking ticker — light pink/cream, dark headline text */
.breaking {
  background: #FFF5F5;
  border-bottom: 1px solid #F5D5D5;
  overflow: hidden;
}
.breaking__inner {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding-inline: clamp(1rem, 2.5vw, 2rem) !important;
  max-width: 1400px;
  width: 100%;
  margin-inline: auto;
  gap: 0.75rem;
  box-sizing: border-box;
}
.breaking__inner.container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  width: 100%;
}
.breaking__label {
  flex-shrink: 0;
  background: var(--breaking);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
}
.breaking__item {
  color: #111111 !important;
  font-weight: 600;
  font-size: 0.9rem;
}
.breaking__item:hover {
  color: #E60000 !important;
}

/* Hero slider — HTML uses .hero-slider / .hero-slide */
.hero {
  position: relative;
  background: #0B1220;
  color: #fff;
  overflow: hidden;
  width: 100%;
}
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 380px;
  max-height: 520px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-slide__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}
.hero-slide__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.35) 0%,
    rgba(7, 21, 38, 0.55) 45%,
    rgba(7, 21, 38, 0.92) 100%
  );
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 2.25rem 3.25rem;
  padding-inline: clamp(1.25rem, 4vw, 3rem) !important;
  color: #fff;
  max-width: 1400px;
  margin-inline: auto;
}
.hero-slide__content .badge {
  display: inline-flex;
  align-self: flex-start;
  background: #E50000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}
.hero-slide__content h1 {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  color: #fff;
  max-width: 18em;
  margin: 0 0 0.65rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-slide__content h1 a {
  color: #fff;
}
.hero-slide__content h1 a:hover {
  color: rgba(255, 255, 255, 0.92);
}
.hero-slide__content p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 36em;
  font-size: 0.98rem;
  margin: 0 0 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.hero-slide__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}
.hero-slide__meta .btn,
.hero-slide__meta .btn-primary {
  background: #fff;
  color: #E50000;
  border: 0;
  font-weight: 800;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}
.hero-slide__meta .btn:hover,
.hero-slide__meta .btn-primary:hover {
  background: #FDECEC;
  color: #B80000;
}
.hero-nav {
  display: none !important;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.45rem;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  border: 0;
  cursor: pointer;
}
.hero-dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

/* Sections */
.section {
  padding: 2rem 0 1rem;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  border-bottom: 3px solid var(--navy);
  padding-bottom: 0;
  position: relative;
}
.section-head h2 {
  font-size: 1.05rem;
  margin: 0;
  color: #fff;
  background: var(--navy);
  padding: 0.45rem 1.1rem;
  font-weight: 800;
  font-family: var(--font-body);
  border-radius: 4px 4px 0 0;
  transform: translateY(3px);
}
.section-head a {
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
}
.section-head a:hover { color: var(--accent-red, #E60000); }
.mt-lg { margin-top: 2.25rem; }
.badge {
  display: inline-flex;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-family: var(--font-body);
}
.muted { color: var(--text-muted); font-size: 0.9rem; }

/* Category shortcuts — single horizontal row + real SVG icons */
.category-shortcuts { padding-top: 1.1rem; padding-bottom: 0.35rem; }
.shortcuts-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0.1rem 0.55rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.shortcuts-grid::-webkit-scrollbar { height: 5px; }
.shortcuts-grid::-webkit-scrollbar-thumb {
  background: #C9D2DE;
  border-radius: 999px;
}
.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  min-width: 92px;
  width: 92px;
  flex: 0 0 92px;
  padding: 0.75rem 0.4rem 0.7rem;
  background: #F5F7FA;
  border-radius: 14px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid #E8EDF4;
  scroll-snap-align: start;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.shortcut-card:hover {
  transform: translateY(-3px);
  border-color: #D0D9E6;
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.08);
  color: var(--navy);
  background: #fff;
}
.shortcut-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  line-height: 0;
}
.shortcut-card__icon img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}
.shortcut-card__label {
  display: block;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* All-categories page can wrap */
.categories-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  overflow: visible;
  flex-wrap: wrap;
}
.categories-grid .shortcut-card {
  width: auto;
  min-width: 0;
  flex: initial;
}

/* Main + sidebar layout */
.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}
.layout-main__content { min-width: 0; }
.layout-main__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ---- Home board (3-column news section) ---- */
.section--home-board {
  background: #F3F5F8;
  padding-top: 1.35rem;
  padding-bottom: 2rem;
}
.home-board {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 0.25rem;
}
.home-board__feature {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0B1220;
  min-height: 520px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.hf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
  z-index: 0;
}
.hf-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hf-slide__media {
  position: absolute;
  inset: 0;
  display: block;
}
.hf-slide__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.hf-slide__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.25rem 2.6rem;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0) 0%,
    rgba(7, 21, 38, 0.55) 35%,
    rgba(7, 21, 38, 0.92) 100%
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hf-slide__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}
.hf-cat {
  display: inline-flex;
  background: #E50000;
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
}
.hf-slide__top time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.hf-slide__overlay h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: #fff;
  font-weight: 800;
}
.hf-slide__overlay h2 a {
  color: #fff;
  text-decoration: none;
}
.hf-slide__overlay p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hf-cta {
  align-self: flex-start;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  background: transparent;
}
.hf-cta:hover {
  background: rgba(255, 255, 255, 0.12);
}
.hf-dots {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.35rem;
}
.hf-dot {
  width: 22px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
}
.hf-dot.is-active {
  background: #FF3333;
}

.home-board__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}
.hb-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  border: 1px solid #E6EBF2;
  border-radius: 12px;
  padding: 0.55rem;
  min-height: 92px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.hb-item__media {
  display: block;
  width: 118px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: #E8EDF4;
  flex-shrink: 0;
}
.hb-item__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.hb-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 0.25rem;
}
.hb-item__cat {
  color: #E50000;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}
.hb-item__body h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0A0A0A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hb-item__body h3 a {
  color: inherit;
  text-decoration: none;
}
.hb-item__body h3 a:hover { color: #E50000; }
.hb-item__body time {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: #6B7280;
  font-weight: 600;
}

.home-board__aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.local-card {
  background: linear-gradient(160deg, #E50000 0%, #B80000 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.05rem 1rem 1rem;
  box-shadow: 0 8px 22px rgba(229, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}
.local-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.local-card__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  position: relative;
  z-index: 1;
}
.local-card__head strong {
  font-size: 1.02rem;
  font-weight: 800;
}
.local-card p {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}
.local-card__btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #E50000;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.local-card__btn:hover { filter: brightness(0.97); }
.local-card__select {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  position: relative;
  z-index: 1;
}
.local-card__select select {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  outline: none;
  cursor: pointer;
}
.local-card__select select option {
  color: #0A0A0A;
}
.local-card__list {
  margin-top: 0.75rem;
  position: relative;
  z-index: 1;
}
.local-card__list a {
  display: block;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.trend-card {
  background: #fff;
  border: 1px solid #E6EBF2;
  border-radius: 14px;
  padding: 0.85rem 0.9rem 0.5rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.trend-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #EEF2F7;
}
.trend-card__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0A0A0A;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.trend-card__head a {
  color: #E50000;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.trend-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trend-card__list li {
  display: grid;
  grid-template-columns: 28px 52px 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid #F0F2F5;
}
.trend-card__list li:last-child { border-bottom: 0; }
.trend-card__num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #DBEAFE;
  color: #E50000;
  font-size: 0.78rem;
  font-weight: 800;
}
.trend-card__num.is-hot {
  background: #FCE7F3;
  color: #BE185D;
}
.trend-card__thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: #E8EDF4;
  display: block;
}
.trend-card__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.trend-card__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.trend-card__meta a {
  color: #0A0A0A;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trend-card__meta a:hover { color: #E50000; }
.trend-card__meta time {
  font-size: 0.7rem;
  color: #6B7280;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .home-board {
    grid-template-columns: 1.15fr 1fr;
  }
  .home-board__aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}
@media (max-width: 760px) {
  .home-board {
    grid-template-columns: 1fr;
  }
  .home-board__feature {
    min-height: 380px;
  }
  .home-board__aside {
    grid-template-columns: 1fr;
  }
  .hb-item {
    grid-template-columns: 100px 1fr;
  }
  .hb-item__media {
    width: 100px;
    height: 76px;
  }
}

.news-grid--positive {
  grid-template-columns: repeat(2, 1fr);
}

/* Positive news — compact small cards */
.positive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.positive-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.65rem;
  align-items: center;
  background: #fff;
  border: 1px solid #DCEBD8;
  border-radius: 10px;
  padding: 0.5rem;
  min-height: 88px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.positive-item__media {
  display: block;
  width: 96px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #EAF7E6;
  flex-shrink: 0;
}
.positive-item__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.positive-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.positive-item__cat {
  color: #1E7A3A;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}
.positive-item__body h3 {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0A0A0A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.positive-item__body h3 a {
  color: inherit;
  text-decoration: none;
}
.positive-item__body h3 a:hover { color: #E50000; }
.positive-item__body time {
  font-size: 0.7rem;
  color: #6B7280;
  font-weight: 600;
}
@media (max-width: 1100px) {
  .positive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .positive-grid { grid-template-columns: 1fr; }
  .positive-item {
    grid-template-columns: 84px 1fr;
  }
  .positive-item__media {
    width: 84px;
    height: 64px;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.news-card__image,
.news-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grey);
}
.news-card__image img,
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.news-card:hover .news-card__image img,
.news-card:hover .news-card__media img {
  transform: scale(1.04);
}
.news-card__body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.news-card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: none;
  letter-spacing: 0;
}
.news-card__body h3 {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.35;
}
.news-card__body h3 a { color: var(--navy); }
.news-card__body h3 a:hover { color: var(--blue); }
.news-card__body > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.55rem;
}
.news-card--positive {
  border-color: #cfe3d7;
  background: linear-gradient(180deg, #f7fbf8 0%, #fff 40%);
}

/* Special coverage */
.special-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.special-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  background: #fff;
}
.special-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--grey);
}
.special-card h3 {
  font-size: 1.05rem;
  margin: 0.35rem 0;
}
.special-card h3 a { color: var(--navy); }
.special-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Photo stories */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.photo-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.35s, opacity 0.35s;
}
.photo-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}
.photo-card span,
.photo-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(7, 21, 38, 0.92));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

/* Videos — compact grid */
.video-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0.75rem !important;
}
.video-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #E6EBF2;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.video-card > a {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #E8EDF4;
}
.video-card img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
  opacity: 1 !important;
}
.play-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  padding-left: 2px;
  pointer-events: none;
}
.video-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0;
  padding: 0.55rem 0.65rem 0.7rem;
  line-height: 1.35;
  color: #0A0A0A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: #fff;
}
.video-card h3 a {
  color: #0A0A0A !important;
  text-decoration: none;
}
.video-card h3 a:hover { color: #E50000 !important; }

.section-head a {
  font-size: 0.75rem !important;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.section-head a:hover { color: var(--accent-red, #E60000); }

@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}


/* Sidebar */
.sidebar-block {
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
}
.sidebar-block h2 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--navy);
}
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.sidebar-list a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
}

/* Trending — number from HTML only (disable CSS counter) */
.trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.trending-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--grey-mid);
}
.trending-list li:last-child { border-bottom: 0; }
.trending-list li::before {
  content: none !important;
  display: none !important;
}
.trending-list__num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--grey-dark);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.trending-list a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
}
.trending-list a:hover { color: var(--blue); }

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}
.btn-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  border-radius: var(--radius);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.ad-slot {
  margin: 0.75rem 0;
  text-align: center;
}
.ad-slot img {
  margin-inline: auto;
  max-height: 120px;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.ad-slot--header,
.ad-slot--footer,
.ad-slot--hero {
  margin: 0.85rem auto;
  padding: 0.5rem 0;
}
.ad-slot--home-sidebar,
.ad-slot--sidebar {
  margin: 1rem 0;
  padding: 0.65rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}
.ad-slot--home-sidebar img,
.ad-slot--sidebar img {
  max-height: 250px;
  width: 100%;
  object-fit: cover;
}
.ad-slot--in_content {
  margin: 1.25rem 0;
  padding: 0.75rem;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 10px;
}
.ad-slot__link {
  display: inline-block;
  max-width: 100%;
}

/* Mobile bottom nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: #fff;
  border-top: 1px solid var(--grey-mid);
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
}
.mobile-bottom-nav a {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.45rem 0.25rem;
  border-radius: var(--radius);
}
.mobile-bottom-nav a:hover { background: var(--grey); }

/* Responsive */
@media (max-width: 1024px) {
  .layout-main {
    grid-template-columns: 1fr;
  }
  .layout-main__sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-search { max-width: none; }
  .hero-slider {
    aspect-ratio: auto;
    min-height: 420px;
    max-height: none;
  }
  .hero-slide__media::after {
    background: linear-gradient(
      180deg,
      rgba(7, 21, 38, 0.25) 0%,
      rgba(7, 21, 38, 0.55) 40%,
      rgba(7, 21, 38, 0.94) 100%
    );
  }
  .special-grid,
  .photo-grid,
  .news-grid,
  .news-grid--positive {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }
  .special-card { grid-template-columns: 100px 1fr; }
  .layout-main__sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .topbar__links > a { display: none; }
  /* Mobile chrome (search, horizontal cats, bottom nav, drawer) → mobile.css */
  .site-header { position: sticky; top: 0; z-index: 100; background: #fff; }
}

@media (min-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid .news-card:nth-child(1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }
  .news-grid .news-card:nth-child(1) .news-card__image {
    aspect-ratio: auto;
    min-height: 260px;
    height: 100%;
  }
  .news-grid .news-card:nth-child(1) .news-card__body h3 {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Premium dark footer (reference-inspired)
   ========================================================================== */
.site-footer {
  --footer-bg: #140000;
  --footer-bg-2: #0a1628;
  --footer-blue: #E50000;
  --footer-blue-soft: #FF3333;
  --footer-text: rgba(255, 255, 255, 0.78);
  --footer-muted: rgba(255, 255, 255, 0.55);
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 85% 35%, rgba(30, 111, 232, 0.08), transparent 60%),
    linear-gradient(180deg, var(--footer-bg-2) 0%, var(--footer-bg) 100%);
  color: var(--footer-text);
  margin-top: 3rem;
  overflow: hidden;
  font-family: var(--font-body);
}
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: #fff; }

.footer-main {
  padding: 3rem 0 1.5rem;
  position: relative;
  z-index: 1;
}
.footer-main__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(2, minmax(150px, 0.95fr)) minmax(240px, 1.25fr);
  gap: 2rem 1.75rem;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff !important;
  margin-bottom: 0.85rem;
  text-decoration: none;
}
.footer-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.footer-logo__text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.footer-about {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--footer-muted);
  margin: 0 0 0.85rem;
  max-width: 28ch;
}
.footer-pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.15rem;
  font-weight: 500;
}
.footer-pillars > span:first-child {
  position: relative;
  padding-bottom: 0.2rem;
}
.footer-pillars > span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--footer-blue);
  border-radius: 2px;
}
.footer-pillars__sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--social-bg, var(--footer-blue));
  transition: transform 0.2s, filter 0.2s;
}
.footer-social a:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.footer-social a img {
  width: 22px !important;
  height: 22px !important;
  filter: brightness(0) invert(1);
}
.footer-follow {
  margin: 0;
  font-size: 0.78rem;
  color: var(--footer-muted);
}

.footer-heading {
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 0 0 1.1rem !important;
  position: relative;
  display: inline-block;
  padding-bottom: 0.45rem;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 3px;
  background: var(--footer-blue);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--footer-text);
  transition: color 0.2s, transform 0.2s;
}
.footer-links a::before {
  content: "›";
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.05rem;
  line-height: 1;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-col--contact {
  position: relative;
}
.footer-col--contact::before {
  content: "";
  position: absolute;
  inset: -0.5rem -0.75rem;
  background:
    radial-gradient(circle at 70% 40%, rgba(30, 111, 232, 0.12), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1'%3E%3Cpath d='M20 120c40-40 80-40 120 0s80 40 120 0 80-40 120 0'/%3E%3Cpath d='M40 80c30-20 60-20 90 0s60 20 90 0 60-20 90 0'/%3E%3Ccircle cx='200' cy='110' r='55'/%3E%3Ccircle cx='120' cy='150' r='35'/%3E%3Ccircle cx='300' cy='70' r='28'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  border-radius: 12px;
}
.footer-col--contact > * { position: relative; z-index: 1; }

.footer-contact-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
}
.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--footer-blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.footer-contact-list a { color: var(--footer-text); word-break: break-word; }
.footer-contact-list a:hover { color: #fff; }

.footer-quote {
  margin: 0;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-quote__mark {
  color: var(--footer-blue-soft);
  font-size: 1.6rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.footer-quote p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}

/* Newsletter bar */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: rgba(8, 18, 36, 0.85);
  border: 1px solid rgba(91, 141, 239, 0.28);
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  margin: 0.5rem 0 1.75rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.footer-newsletter__copy {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: min(100%, 280px);
  flex: 1;
}
.footer-newsletter__icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  background: var(--footer-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  box-shadow: 0 6px 18px rgba(30, 111, 232, 0.35);
}
.footer-newsletter__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
}
.footer-newsletter__copy strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.footer-newsletter__copy span {
  display: block;
  font-size: 0.82rem;
  color: var(--footer-muted);
}
.footer-newsletter__form {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
  min-width: min(100%, 300px);
}
.footer-newsletter__field {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}
.footer-newsletter__mail-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  display: grid;
  pointer-events: none;
}
.footer-newsletter__field input {
  width: 100%;
  background: rgba(4, 12, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
}
.footer-newsletter__field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-newsletter__field input:focus {
  border-color: var(--footer-blue);
  box-shadow: 0 0 0 3px rgba(30, 111, 232, 0.25);
}
.footer-newsletter__btn {
  background: var(--footer-blue);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.footer-newsletter__btn:hover {
  background: var(--footer-blue-soft);
  transform: translateY(-1px);
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0 1.35rem;
  z-index: 1;
}
.footer-bottom__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: url("../images/footer-skyline.svg") center bottom / 100% 70px no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.footer-bottom__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--footer-muted);
}
.footer-bottom__inner p { margin: 0; }
.footer-bottom__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.footer-bottom__nav a {
  color: var(--footer-muted);
  font-size: 0.84rem;
}
.footer-bottom__nav a:hover { color: #fff; }
.footer-made-in {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.footer-made-in img {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

@media (max-width: 1100px) {
  .footer-main__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-col--contact { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-main { padding: 2.25rem 0 1rem; }
  .footer-main__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.25rem;
  }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem;
  }
  .footer-newsletter__form {
    justify-content: stretch;
  }
  .footer-newsletter__field {
    max-width: none;
  }
  .footer-newsletter__btn { width: 100%; }
  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .footer-main__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Portal homepage (Jashpur Sandesh–inspired)
   ========================================================================== */
.portal {
  background: #F4F6F9;
  padding: 1.25rem 0 2.5rem;
}
.portal-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.portal-feature {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0B1220;
  min-height: 480px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.portal-feature .hf-slide__overlay {
  padding-bottom: 2.8rem;
}
.hf-count {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 4;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.portal-latest,
.portal-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.portal-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid #E50000;
}
.portal-block-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0A0A0A;
  background: #E50000;
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 4px 4px 0 0;
  transform: translateY(2px);
}
.portal-block-head a {
  font-size: 0.78rem;
  font-weight: 800;
  color: #E50000;
  text-decoration: none;
  white-space: nowrap;
}
.portal-block-head a:hover { color: #E60000; }

.portal-latest {
  background: #fff;
  border: 1px solid #E6EBF2;
  border-radius: 14px;
  padding: 0.85rem 0.9rem 0.9rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.portal-latest .portal-block-head { margin-bottom: 0.55rem; }
.portal-latest__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  overflow: auto;
  max-height: 420px;
}
.portal-more-btn {
  display: block;
  text-align: center;
  margin-top: 0.55rem;
  padding: 0.55rem;
  border-radius: 8px;
  background: #FDECEC;
  color: #E50000;
  font-weight: 800;
  font-size: 0.84rem;
  text-decoration: none;
}
.portal-more-btn:hover { background: #E50000; color: #fff; }

.p-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid #F0F2F5;
}
.p-row:last-child { border-bottom: 0; }
.p-row:has(.p-row__num) {
  grid-template-columns: 26px 64px 1fr;
}
.p-row__num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #DBEAFE;
  color: #E50000;
  font-size: 0.72rem;
  font-weight: 800;
}
.p-row__num.is-hot {
  background: #FCE7F3;
  color: #BE185D;
}
.p-row__media {
  display: block;
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #E8EDF4;
}
.p-row:has(.p-row__num) .p-row__media {
  width: 64px;
  height: 48px;
}
.p-row__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.p-row__body { min-width: 0; }
.p-row__cat {
  display: block;
  color: #E50000;
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.p-row__body h3 {
  margin: 0 0 0.2rem;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0A0A0A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-row__body h3 a { color: inherit; text-decoration: none; }
.p-row__body h3 a:hover { color: #E50000; }
.p-row__body time {
  font-size: 0.7rem;
  color: #6B7280;
  font-weight: 600;
}

.portal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.portal-strip__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.65rem;
  align-items: center;
  background: #fff;
  border: 1px solid #E6EBF2;
  border-radius: 10px;
  padding: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.portal-strip__item img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.portal-strip__item span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.portal-strip__item small {
  color: #E50000;
  font-size: 0.68rem;
  font-weight: 800;
}
.portal-strip__item strong {
  font-size: 0.84rem;
  line-height: 1.35;
  color: #0A0A0A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-strip__item em {
  font-style: normal;
  font-size: 0.7rem;
  color: #6B7280;
  font-weight: 600;
}

.portal-section {
  background: #fff;
  border: 1px solid #E6EBF2;
  border-radius: 14px;
  padding: 1rem 1rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.portal-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.portal-split > .portal-section { margin-bottom: 0; }

.p-grid {
  display: grid;
  gap: 0.85rem;
}
.p-grid--1 { grid-template-columns: 1fr; }
.p-grid--2 { grid-template-columns: repeat(2, 1fr); }
.p-grid--3 { grid-template-columns: repeat(3, 1fr); }
.p-card {
  background: #fff;
  border: 1px solid #E8EDF4;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.p-card:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.p-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E8EDF4;
}
.p-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.p-card__body {
  padding: 0.7rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.p-card__cat {
  color: #E50000;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}
.p-card__body h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0A0A0A;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-card__body h3 a { color: inherit; text-decoration: none; }
.p-card__body h3 a:hover { color: #E50000; }
.p-card__meta {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.72rem;
  color: #6B7280;
  font-weight: 600;
}

.portal-ranked {
  display: flex;
  flex-direction: column;
}
.portal-ranked--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.portal-ranked .p-row {
  grid-template-columns: 26px 64px 1fr;
}

@media (max-width: 1100px) {
  .portal-top {
    grid-template-columns: 1.2fr 1fr;
  }
  .portal-aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  .p-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .portal-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .portal-top,
  .portal-strip,
  .portal-aside,
  .portal-ranked--grid,
  .p-grid--2,
  .p-grid--3 {
    grid-template-columns: 1fr;
  }
  .portal-feature { min-height: 360px; }
  .portal-latest__list { max-height: none; }
}

/* ==========================================================================
   Bodhvriksha homepage mock layout
   ========================================================================== */
.bv-hero {
  background: #0B1220;
  position: relative;
}
.bv-hero__slider {
  position: relative;
  width: 100%;
  min-height: 420px;
  max-height: 520px;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.bv-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
.bv-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.bv-hero__media {
  position: absolute;
  inset: 0;
}
.bv-hero__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.bv-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,21,38,0.88) 0%, rgba(7,21,38,0.45) 55%, rgba(7,21,38,0.2) 100%);
}
.bv-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.bv-hero__badge {
  align-self: flex-start;
  background: #E50000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}
.bv-hero__content h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 16em;
  line-height: 1.3;
  color: #fff;
}
.bv-hero__content h1 a { color: #fff; text-decoration: none; }
.bv-hero__content p {
  margin: 0 0 1.1rem;
  max-width: 34em;
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
}
.bv-hero__cta {
  align-self: flex-start;
  display: inline-flex;
  background: #fff;
  color: #E50000 !important;
  font-weight: 800;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
}
.bv-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.bv-hero__nav--prev { left: 1rem; }
.bv-hero__nav--next { right: 1rem; }
.bv-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}
.bv-hero__dot,
.bv-hero__dots .hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.4);
  padding: 0;
  cursor: pointer;
}
.bv-hero__dot.is-active,
.bv-hero__dots .hero-dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

.bv-breaking {
  background: #F3F6FB;
  border-bottom: 1px solid #E2E8F2;
}
.bv-breaking__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 42px;
}
.bv-breaking__label {
  flex-shrink: 0;
  background: #E50000;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
}
.bv-breaking__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.bv-breaking__track::-webkit-scrollbar { display: none; }
.bv-breaking__track a {
  color: #0A0A0A;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.bv-breaking__track a:hover { color: #E50000; }

.bv-cats {
  background: #fff;
  padding: 0.85rem 0;
  border-bottom: 1px solid #E8EDF4;
}
.bv-cats__row {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}
.bv-cats__row::-webkit-scrollbar { display: none; }
.bv-cat {
  flex: 0 0 auto;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #E50000;
  font-weight: 700;
  font-size: 0.72rem;
  text-align: center;
}
.bv-cat__ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #F3F5F7;
  border: 1px solid #E8EDF4;
  display: grid;
  place-items: center;
}
.bv-cat__ico img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.bv-cat__name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bv-home {
  background: #F7F9FC;
  padding: 1.35rem 0 2.5rem;
}
.bv-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}
.bv-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.35rem 0 0.85rem;
  border-bottom: 2px solid #E50000;
  padding-bottom: 0.35rem;
}
.bv-home__main .bv-sec-head:first-child { margin-top: 0; }
.bv-sec-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  background: #E50000;
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 4px 4px 0 0;
}
.bv-sec-head a {
  font-size: 0.78rem;
  font-weight: 800;
  color: #E50000;
  text-decoration: none;
}

.bv-cards {
  display: grid;
  gap: 0.85rem;
}
.bv-cards--4 { grid-template-columns: repeat(4, 1fr); }
.bv-cards--3 { grid-template-columns: repeat(3, 1fr); }
.bv-card {
  background: #fff;
  border: 1px solid #E6EBF2;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 8px rgba(15,23,42,0.03);
}
.bv-card__img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E8EDF4;
}
.bv-card--lg .bv-card__img { aspect-ratio: 16 / 11; }
.bv-card__img img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.bv-card__body {
  padding: 0.7rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.bv-card__cat {
  color: #E50000;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}
.bv-card__cat--pos { color: #1E7A3A; }
.bv-card__body h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0A0A0A;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bv-card__body h3 a { color: inherit; text-decoration: none; }
.bv-card__body h3 a:hover { color: #E50000; }
.bv-card__body time {
  margin-top: auto;
  font-size: 0.72rem;
  color: #6B7280;
  font-weight: 600;
}

.bv-photos {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}
.bv-photo {
  flex: 0 0 130px;
  text-decoration: none;
  color: #0A0A0A;
  text-align: center;
}
.bv-photo img {
  width: 130px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 0.4rem;
  border: 1px solid #E6EBF2;
}
.bv-photo span {
  font-size: 0.78rem;
  font-weight: 800;
  color: #E50000;
}

.bv-home__side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: sticky;
  top: 4.5rem;
}
.bv-about {
  background: linear-gradient(160deg, #E50000, #B80000);
  color: #fff;
  border-radius: 14px;
  padding: 1.15rem 1rem;
  text-align: center;
}
.bv-about__ico { font-size: 1.6rem; margin-bottom: 0.35rem; }
.bv-about h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.bv-about p { margin: 0 0 0.85rem; font-size: 0.84rem; line-height: 1.45; color: rgba(255,255,255,0.9); }
.bv-about a {
  display: inline-flex;
  background: #fff;
  color: #E50000 !important;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
}

.bv-trend {
  background: #fff;
  border: 1px solid #E6EBF2;
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
}
.bv-trend__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #EEF2F7;
}
.bv-trend__head h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.bv-trend__head a { font-size: 0.75rem; font-weight: 800; color: #E50000; text-decoration: none; }
.bv-trend__list { list-style: none; margin: 0; padding: 0; }
.bv-trend__list li {
  display: grid;
  grid-template-columns: 24px 48px 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid #F0F2F5;
}
.bv-trend__list li:last-child { border-bottom: 0; }
.bv-trend__num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #DBEAFE;
  color: #E50000;
  font-size: 0.7rem;
  font-weight: 800;
}
.bv-trend__num.is-hot { background: #FCE7F3; color: #BE185D; }
.bv-trend__thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #E8EDF4;
  display: block;
}
.bv-trend__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.bv-trend__title {
  color: #0A0A0A;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bv-trend__title:hover { color: #E50000; }

.bv-join {
  background: #0F172A;
  color: #fff;
  border-radius: 14px;
  padding: 1.15rem 1rem;
  background-image: linear-gradient(160deg, #0F172A, #1E3A5F);
}
.bv-join h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.bv-join p { margin: 0 0 0.85rem; font-size: 0.84rem; color: rgba(255,255,255,0.85); }
.bv-join a {
  display: inline-flex;
  background: #E50000;
  color: #fff !important;
  font-weight: 800;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
}

@media (max-width: 1100px) {
  .bv-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .bv-cards--3 { grid-template-columns: repeat(2, 1fr); }
  .bv-home__grid { grid-template-columns: 1fr; }
  .bv-home__side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .bv-join { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .bv-hero__slider { min-height: 340px; aspect-ratio: auto; max-height: none; }
  .bv-hero__nav { display: none; }
  .bv-cards--4,
  .bv-cards--3,
  .bv-home__side { grid-template-columns: 1fr; }
  .bv-hero__content { justify-content: flex-end; padding-bottom: 2.5rem; }
}

/* ==========================================================================
   Homepage sections — modern card board (ns-*)
   Accent: bright yellow like reference mock
   ========================================================================== */
.page-home .ns-home {
  --ns-accent: #E50000;
  --ns-accent-soft: #FDECEC;
  --ns-ink: #0A0A0A;
  --ns-muted: #374151;
  --ns-line: #E8ECF1;
  --ns-radius: 12px;
  background: #fff;
  padding: 1.75rem 0 3rem;
  color: var(--ns-ink);
}

.ns-top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: start;
}

.ns-feature {
  position: relative;
  display: block;
  border-radius: var(--ns-radius);
  overflow: hidden;
  min-height: 420px;
  text-decoration: none;
  color: #fff;
  background: #1a1a1a;
}
.ns-feature__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.ns-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}
.ns-feature__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.25rem 1.35rem 1.4rem;
}
.ns-feature__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.ns-pill {
  display: inline-flex;
  align-items: center;
  background: var(--ns-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  line-height: 1.2;
}
.ns-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}
.ns-feature__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
  max-width: 22em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-rail {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.ns-rail__tabs {
  display: flex;
  gap: 1.25rem;
  border-bottom: 1px solid var(--ns-line);
  margin-bottom: 0.35rem;
}
.ns-rail__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 0.55rem 0.1rem 0.65rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ns-muted);
  cursor: pointer;
}
.ns-rail__tab.is-active {
  color: var(--ns-ink);
  border-bottom-color: var(--ns-accent);
}
.ns-rail__panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.35rem;
}
.ns-rail__panel[hidden] { display: none !important; }

.ns-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.ns-row:hover { background: #F7F8FA; }
.ns-row.is-hot {
  background: var(--ns-accent-soft);
  box-shadow: inset 3px 0 0 var(--ns-accent);
}
.ns-row.is-hot:hover { background: #E4ECFA; }
.ns-row.is-hot .ns-row__meta { color: #4B5563; }
.ns-row__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #EDEDED;
  display: block;
}
.ns-row--compact .ns-row__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}
.ns-row__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.ns-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.ns-row__meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ns-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ns-row__title {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ns-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-block {
  margin-bottom: 2rem;
}
.ns-block__head,
.ns-featured__head,
.ns-aside__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.ns-block__head h2,
.ns-featured__head h2,
.ns-aside__head h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--ns-ink);
  letter-spacing: -0.01em;
}
.ns-block__head { justify-content: space-between; }
.ns-arrows {
  display: flex;
  gap: 0.45rem;
}
.ns-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #D8DEE8;
  background: #fff;
  color: #E50000;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.ns-arrow:hover {
  border-color: #E50000;
  background: var(--ns-accent-soft);
}
.ns-arrows--sm .ns-arrow {
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
}

.ns-trendy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.ns-card {
  min-width: 0;
}
.ns-card__img {
  display: block;
  border-radius: var(--ns-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #EDEDED;
  margin-bottom: 0.7rem;
}
.ns-card__img img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.ns-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ns-muted);
}
.ns-card__body h3,
.ns-feat-main h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ns-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-card__body h3 a,
.ns-feat-main h3 a {
  color: inherit;
  text-decoration: none;
}
.ns-card__body h3 a:hover,
.ns-feat-main h3 a:hover { color: #E50000; }

.ns-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.ns-featured__head {
  flex-wrap: wrap;
  justify-content: space-between;
}
.ns-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
.ns-filter {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.2rem 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ns-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.ns-filter.is-active {
  color: var(--ns-ink);
  border-bottom-color: var(--ns-accent);
}

.ns-featured__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.ns-featured__body[hidden] { display: none !important; }
.ns-featured__body.is-active { display: grid; }

.ns-feat-main__img {
  display: block;
  border-radius: var(--ns-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #EDEDED;
  margin-bottom: 0.7rem;
}
.ns-feat-main__img img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.ns-feat-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ns-aside {
  background: #fff;
}
.ns-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E11D48;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.18);
  flex-shrink: 0;
}
.ns-aside__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.ns-score {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: #F5F7FA;
  border: 1px solid #E8ECF1;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ns-score:hover {
  background: #FDECEC;
  border-color: #D4DEEF;
}
.ns-score__top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ns-muted);
  margin-bottom: 0.55rem;
}
.ns-score__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.65rem;
  align-items: center;
}
.ns-score__thumb {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: #ddd;
  display: block;
}
.ns-score__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.ns-score__title {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ns-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: var(--ns-accent);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(229, 0, 0, 0.2);
}
.ns-more:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.ns-more-sec {
  margin-top: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ns-line);
}
.ns-more-sec .ns-card__img {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.ns-more-sec:first-of-type {
  margin-top: 1.5rem;
}
.ns-viewall {
  font-size: 0.84rem;
  font-weight: 800;
  color: #E50000;
  text-decoration: none;
  white-space: nowrap;
}
.ns-viewall:hover { text-decoration: underline; }
.ns-grid {
  display: grid;
  gap: 1.1rem;
}
.ns-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .ns-top,
  .ns-lower { grid-template-columns: 1fr; }
  .ns-feature { min-height: 360px; }
  .ns-filters { margin-left: 0; width: 100%; order: 3; }
  .ns-featured__head .ns-arrows { margin-left: auto; }
}

@media (max-width: 860px) {
  .ns-trendy { grid-template-columns: 1fr; }
  .ns-trendy .ns-card:nth-child(n + 4) { display: none; }
  .ns-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ns-featured__body.is-active,
  .ns-featured__body { grid-template-columns: 1fr; }
  .ns-feature { min-height: 300px; }
  .ns-row { grid-template-columns: 64px 1fr; }
  .ns-row__thumb { width: 64px; height: 64px; }
}

@media (max-width: 560px) {
  .page-home .ns-home { padding: 1rem 0 2rem; }
  .ns-block__head h2,
  .ns-featured__head h2,
  .ns-aside__head h2 { font-size: 1.15rem; }
  .ns-rail__tabs { gap: 1rem; }
  .ns-filters { gap: 0.65rem 0.85rem; }
  .ns-grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Mobile home mock components (shared + desktop fallbacks)
   ========================================================================== */
.mh-cats {
  display: none;
}
.ns-rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--ns-line);
}
.ns-rail__tabs {
  border-bottom: 0;
  margin-bottom: 0;
  gap: 1.1rem;
}
.ns-rail__all {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #E50000;
  text-decoration: none;
  background: #FDECEC;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
  white-space: nowrap;
}
.ns-rail__all:hover { background: #E0E9F8; }

.mh-hero {
  position: relative;
  border-radius: var(--ns-radius);
  overflow: hidden;
  width: 100%;
  height: clamp(380px, 48vh, 480px);
  min-height: 380px;
  max-height: 480px;
  aspect-ratio: auto;
  background: #111;
}
@media (min-width: 1101px) {
  .mh-hero {
    height: clamp(400px, 50vh, 500px);
    min-height: 400px;
    max-height: 500px;
  }
  .mh-hero__title {
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    -webkit-line-clamp: 2;
  }
  .mh-hero__excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }
  .mh-hero__content {
    padding: 1rem 1.15rem 1.15rem;
  }
}
.mh-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  z-index: 0;
}
.mh-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.mh-hero__link {
  display: block;
  position: absolute;
  inset: 0;
  color: #fff;
  text-decoration: none;
}
.mh-hero__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.mh-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 32%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}
.mh-hero__top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 5.5rem;
  z-index: 2;
}
.mh-hero__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(17, 24, 39, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.mh-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.2rem 1.25rem 1.35rem;
}
.mh-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}
.mh-hero__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
  max-width: 22em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mh-hero__excerpt {
  margin: 0 3rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 34em;
}
.mh-hero__cta {
  position: absolute;
  right: 1rem;
  bottom: 1.15rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  color: #E50000;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.mh-hero__pager {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(17, 24, 39, 0.55);
  border-radius: 999px;
  padding: 0.2rem 0.35rem;
  color: #fff;
  backdrop-filter: blur(6px);
}
.mh-hero__nav {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.mh-hero__nav:hover { background: rgba(255,255,255,0.15); }
.mh-hero__count {
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 2.6rem;
  text-align: center;
}

.ns-feed {
  border-radius: 14px;
  transition: background 0.15s ease;
}
.ns-feed.is-hot { background: var(--ns-accent-soft, #FDECEC); }
.ns-feed__link {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.75rem;
  padding: 0.65rem;
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.ns-feed__thumb {
  width: 96px;
  height: 78px;
  border-radius: 12px;
  overflow: hidden;
  background: #EDEDED;
  display: block;
}
.ns-feed__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}
.ns-feed__body {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding-right: 0.25rem;
}
.ns-feed__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding-right: 1.4rem;
}
.ns-feed__tag {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  color: #E50000;
  border: 1px solid #C9D7F2;
  background: #F5F8FE;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
}
.ns-feed__meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #374151;
}
.ns-feed__bookmark {
  position: absolute;
  top: 0;
  right: 0;
  color: #6B7280;
}
.ns-feed__title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0A0A0A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-feed__excerpt {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-feed__go {
  align-self: flex-end;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #FDECEC;
  color: #E50000;
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
}

@media (min-width: 901px) {
  .mh-cats { display: none !important; }
  .ns-desktop-only { display: contents; }
}

/* Mobile section lists — feed style (desktop uses grid) */
.mh-sec__list { display: none; }
@media (min-width: 901px) {
  .mh-sec__list { display: none !important; }
  .mh-sec__grid { display: grid; }
}

/* ---------- Article page (shared) ---------- */
.page-article .reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1200;
  background: linear-gradient(90deg, #E50000, #2F9E1A);
  pointer-events: none;
}

.breadcrumb--article {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: #8A94A6;
  overflow: hidden;
}
.breadcrumb--article a {
  color: #6B7585;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.breadcrumb--article a:hover { color: #E50000; }
.breadcrumb__home svg { display: block; }
.breadcrumb__sep { color: #B0B8C4; flex-shrink: 0; }
.breadcrumb__current {
  color: #9AA3B2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ap-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #2F9E1A;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1;
}
.ap-cat:hover { background: #278516; color: #fff !important; }
.ap-cat__ico {
  display: grid;
  place-items: center;
  line-height: 0;
}
.ap-cat__ico svg {
  display: block;
  stroke: currentColor;
}

.article-header h1 {
  color: #132A5C;
  font-size: clamp(1.45rem, 4.2vw, 2.15rem);
  line-height: 1.32;
  margin: 0 0 0.55rem;
  font-weight: 800;
}
.article-subtitle {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #5B6575;
  font-weight: 500;
}
.article-accent {
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #2F9E1A;
  margin: 0.85rem 0 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0;
  padding: 0 0 1.1rem;
  border-bottom: none;
  color: #6B7585;
  font-size: 0.82rem;
}
.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-right: 0.7rem;
  margin-right: 0.7rem;
  border-right: 1px solid #D8DEE8;
  line-height: 1.2;
}
.article-meta__item:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.article-meta__item svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.article-hero-image {
  position: relative;
  margin: 0.35rem 0 1.1rem;
  border-radius: 18px;
  overflow: hidden;
  background: #E8EDF4;
}
.article-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.article-hero-image__expand {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 28, 40, 0.42);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.15s;
}
.article-hero-image__expand:hover {
  background: rgba(20, 28, 40, 0.62);
  transform: scale(1.04);
}
.article-hero-image__cap {
  position: absolute;
  left: 0.75rem;
  right: 3.2rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 4rem);
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(18, 24, 36, 0.58);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.article-hero-image__cap-ico {
  display: grid;
  place-items: center;
  color: #7DDE5C;
  flex-shrink: 0;
  line-height: 0;
}
.article-hero-image__cap-ico svg { display: block; }

.share-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.share-bar::-webkit-scrollbar { display: none; }
.share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  font: inherit;
  cursor: pointer;
  background: #F3F5F8;
  color: #243247;
  transition: transform 0.15s, filter 0.15s;
}
.share-chip:hover { transform: translateY(-1px); filter: brightness(0.98); }
.share-chip span { display: none; }
.share-chip svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: block;
}
.share-chip--wa { background: #E6F8ED; color: #25D366; }
.share-chip--fb { background: #E7F0FE; color: #1877F2; }
.share-chip--x { background: #F1F2F4; color: #000000; }
.share-chip--tg { background: #E4F5FC; color: #2AABEE; }
.share-chip--copy { background: #F0F2F5; color: #546070; }
.share-chip--native { background: #FDECEC; color: #E50000; }

.article-lead {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #E8F7E4;
  border: 0;
  overflow: hidden;
}
.article-lead::after { display: none; }
.article-lead__check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2F9E1A;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.article-lead__check svg { display: block; }
.article-lead__leaf {
  position: absolute;
  right: 0.4rem;
  bottom: -0.35rem;
  color: rgba(47, 158, 26, 0.22);
  line-height: 0;
  pointer-events: none;
}
.article-lead p {
  margin: 0;
  padding-right: 2rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #1F6B14;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.page-article .article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 1.35rem 0 1.15rem;
  color: #E50000;
}
.page-article .article-tags > svg { flex-shrink: 0; }
.page-article .article-tags a {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #FDECEC;
  color: #E50000;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.page-article .article-tags a:hover { background: #D8E2F8; }

.page-article .article-nav {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
}
.page-article .article-nav__card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.page-article .article-nav__card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 40, 80, 0.08);
}
.page-article .article-nav__card--prev {
  background: #EAF0FB;
  color: #E50000;
}
.page-article .article-nav__card--next {
  background: #EAF7E6;
  color: #2F9E1A;
}
.page-article .article-nav__ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.page-article .article-nav__card--prev .article-nav__ico { background: #E50000; }
.page-article .article-nav__card--next .article-nav__ico { background: #2F9E1A; }
.page-article .article-nav__text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}
.page-article .article-nav__label {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.75;
}
.page-article .article-nav__text strong {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-article .article-nav__card--prev .article-nav__text strong { color: #132A5C; }
.page-article .article-nav__card--next .article-nav__text strong { color: #1A5A12; }
.page-article .article-nav__go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.page-article .article-nav__card--prev .article-nav__go {
  background: #D7E2F8;
  color: #E50000;
}
.page-article .article-nav__card--next .article-nav__go {
  background: #D8F0D0;
  color: #2F9E1A;
}

.page-article .related-news {
  margin: 0 0 1.75rem;
}
.page-article .related-news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.page-article .related-news__head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: #132A5C;
}
.page-article .related-news__head h2::before {
  content: "";
  width: 4px;
  height: 1.05em;
  border-radius: 999px;
  background: #E50000;
}
.page-article .related-news__all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid #E50000;
  color: #E50000;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
}
.page-article .related-news__all:hover { background: #EAF0FB; }
.page-article .related-news__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.page-article .related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E8EDF4;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(20, 40, 80, 0.05);
  transition: transform 0.15s, box-shadow 0.15s;
}
.page-article .related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 40, 80, 0.09);
}
.page-article .related-card__media {
  aspect-ratio: 16 / 10;
  background: #E8EDF4;
  overflow: hidden;
}
.page-article .related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-article .related-card__body {
  padding: 0.85rem 0.9rem 0.95rem;
}
.page-article .related-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.page-article .related-card__cat {
  display: inline-flex;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: #FDECEC;
  color: #E50000;
  font-size: 0.7rem;
  font-weight: 700;
}
.page-article .related-card__go {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #EAF0FB;
  color: #E50000;
  flex-shrink: 0;
}
.page-article .related-card__body h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #132A5C;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .page-article .related-news__list { grid-template-columns: 1fr; }
}

.ap-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 14, 24, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.ap-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.ap-lightbox img {
  max-width: min(960px, 100%);
  max-height: min(88vh, 100%);
  border-radius: 12px;
  object-fit: contain;
}
.ap-lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 901px) {
  .article-hero-image img { aspect-ratio: 16 / 9; max-height: 480px; }
  .share-chip--native { display: none; }
}

/* ---------- Comments (article) ---------- */
.page-article .comments {
  margin-top: 1.75rem;
  padding: 1.15rem 1rem 1.1rem;
  border: 1px solid #E6EBF3;
  border-top: 1px solid #E6EBF3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.05);
}
.page-article .comments__head {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.page-article .comments__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #132A5C;
  line-height: 1.25;
}
.page-article .comments__title svg {
  color: #E50000;
  flex-shrink: 0;
}

.page-article .comment-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.page-article .comment-list[hidden] { display: none; }
.page-article .comment-item {
  padding: 0.85rem 0.9rem;
  border: 1px solid #E8EDF4;
  border-radius: 12px;
  background: #FAFBFD;
}
.page-article .comment-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.page-article .comment-item__top strong {
  color: #132A5C;
  font-size: 0.9rem;
}
.page-article .comment-item__top time {
  font-size: 0.72rem;
  color: #8A94A6;
  white-space: nowrap;
}
.page-article .comment-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #374151;
}

.page-article .comment-form {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem;
  background: #F7F9FD;
  border: 1px solid #D7E2F5;
  border-radius: 14px;
}
.page-article .comment-form .form-row {
  display: grid;
  gap: 0.35rem;
}
.page-article .comment-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #E50000;
}
.page-article .comment-form label svg {
  flex-shrink: 0;
  color: #E50000;
}
.page-article .comment-form .req { color: #E11D48; }
.page-article .comment-form input,
.page-article .comment-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #D5DCE8;
  border-radius: 10px;
  background: #fff;
  color: #243247;
  box-shadow: none;
}
.page-article .comment-form textarea {
  min-height: 110px;
  resize: vertical;
  padding-bottom: 1.6rem;
}
.page-article .comment-form input:focus,
.page-article .comment-form textarea:focus {
  outline: none;
  border-color: #E50000;
  box-shadow: 0 0 0 3px rgba(229, 0, 0, 0.12);
}
.page-article .comment-form input::placeholder,
.page-article .comment-form textarea::placeholder {
  color: #9AA3B2;
}

.page-article .comment-body-wrap {
  position: relative;
}
.page-article .comment-count {
  position: absolute;
  right: 0.7rem;
  bottom: 0.45rem;
  font-size: 0.7rem;
  color: #9AA3B2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff 30%);
  padding-left: 0.5rem;
}

.page-article .comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 12px;
  background: #E50000;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.page-article .comment-submit:hover { background: #183A8A; }
.page-article .comment-submit:active { transform: scale(0.99); }
.page-article .comment-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.page-article .comment-submit svg { flex-shrink: 0; }

/* ===== Home widgets (cricket + weather) + weather page ===== */
.ns-top__primary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.ns-widgets {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.9rem;
  min-height: 0;
}
.ns-cric {
  background: linear-gradient(160deg, #1A0000 0%, #4A0000 55%, #E50000 100%);
  color: #fff;
  border-radius: 14px;
  padding: 0.9rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.ns-cric__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.ns-cric__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ns-cric__live {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255,255,255,0.14);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}
.ns-cric__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.ns-cric__match {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}
.ns-cric__match.is-live {
  box-shadow: inset 3px 0 0 #22C55E;
}
.ns-cric__series {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ns-cric__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem;
  align-items: center;
}
.ns-cric__team {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.ns-cric__team strong {
  font-size: 0.86rem;
  font-weight: 800;
}
.ns-cric__team span {
  font-size: 0.78rem;
  opacity: 0.92;
}
.ns-cric__team--right { text-align: right; }
.ns-cric__vs {
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.65;
  text-transform: uppercase;
}
.ns-cric__status {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-cric__more {
  margin-top: 0.65rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.9;
}
.ns-cric__more:hover { opacity: 1; text-decoration: underline; }

.ns-wxcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  text-decoration: none;
  color: #1A0000;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  min-height: 220px;
  background: linear-gradient(165deg, #E8F3FF 0%, #F7FBFF 45%, #FFF7E8 100%);
  border: 1px solid #D7E6F7;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ns-wxcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 40, 80, 0.1);
}
.ns-wxcard__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.ns-wxcard__label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #E50000;
}
.ns-wxcard__cta {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4B6280;
}
.ns-wxcard__body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ns-wxcard__emoji { font-size: 2.6rem; line-height: 1; }
.ns-wxcard__temp {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #1A0000;
}
.ns-wxcard__city {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
}
.ns-wxcard__cond {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #4B6280;
}
.ns-wxcard__foot {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #4B6280;
}
.ns-wxcard__foot b { color: #1A0000; }

/* Weather page */
.wx-page { padding: 1.25rem 0 3rem; background: #F4F7FB; }
.wx-crumb {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  color: #64748B;
  margin-bottom: 0.85rem;
}
.wx-crumb a { color: #E50000; text-decoration: none; font-weight: 600; }
.wx-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.wx-toolbar__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #1A0000;
}
.wx-cityform__select {
  border: 1px solid #CBD5E1;
  background: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-weight: 600;
  color: #1A0000;
  min-width: 160px;
}
.wx-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}
.wx-sky--clear { background: linear-gradient(145deg, #E50000 0%, #2F80ED 55%, #56CCF2 100%); }
.wx-sky--cloud { background: linear-gradient(145deg, #334155 0%, #64748B 55%, #94A3B8 100%); }
.wx-sky--rain { background: linear-gradient(145deg, #0F172A 0%, #1E3A5F 50%, #FF3333 100%); }
 .wx-sky--storm { background: linear-gradient(145deg, #0B1220 0%, #1E3A5F 50%, #0F172A 100%); }
.wx-hero__city { margin: 0; font-size: 1.05rem; font-weight: 700; opacity: 0.95; }
.wx-hero__date { margin: 0.2rem 0 0.85rem; font-size: 0.82rem; opacity: 0.85; }
.wx-hero__temp-row { display: flex; align-items: center; gap: 0.55rem; }
.wx-hero__emoji { font-size: 3rem; line-height: 1; }
.wx-hero__temp { font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 800; line-height: 1; }
.wx-hero__cond { margin: 0.55rem 0 0; font-size: 1.05rem; font-weight: 600; }
.wx-hero__feels { margin: 0.25rem 0 0; font-size: 0.88rem; opacity: 0.9; }
.wx-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-content: center;
}
.wx-stat {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
.wx-stat__label {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}
.wx-stat strong { font-size: 1rem; font-weight: 800; }
.wx-panel {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1rem;
}
.wx-panel__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1A0000;
}
.wx-hourly {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.wx-hour {
  flex: 0 0 auto;
  width: 72px;
  text-align: center;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.55rem 0.35rem;
}
.wx-hour__t { display: block; font-size: 0.72rem; color: #64748B; font-weight: 600; }
.wx-hour__e { display: block; font-size: 1.35rem; margin: 0.25rem 0; }
.wx-hour__temp { display: block; font-size: 0.95rem; color: #1A0000; }
.wx-hour__rain { display: block; margin-top: 0.15rem; font-size: 0.68rem; color: #2563EB; font-weight: 700; }
.wx-daily { display: flex; flex-direction: column; gap: 0.45rem; }
.wx-day {
  display: grid;
  grid-template-columns: 64px 36px 1fr auto auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem 0.55rem;
  border-radius: 10px;
}
.wx-day:nth-child(odd) { background: #F8FAFC; }
.wx-day__name { font-weight: 800; color: #1A0000; }
.wx-day__emoji { font-size: 1.25rem; text-align: center; }
.wx-day__cond { font-size: 0.82rem; color: #64748B; }
.wx-day__temps { display: flex; gap: 0.55rem; font-variant-numeric: tabular-nums; }
.wx-day__temps strong { color: #1A0000; }
.wx-day__temps span { color: #94A3B8; }
.wx-day__rain { font-size: 0.75rem; color: #2563EB; font-weight: 700; min-width: 5.5rem; text-align: right; }
.wx-empty {
  background: #fff;
  border: 1px dashed #CBD5E1;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  color: #64748B;
}

@media (max-width: 1100px) {
  .ns-widgets { grid-template-columns: 1fr 1fr; }
  .wx-hero { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ns-widgets {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 0.55rem;
    align-items: stretch;
  }
  .ns-cric,
  .ns-wxcard {
    min-height: 0;
    height: 100%;
    padding: 0.65rem 0.7rem;
    border-radius: 14px;
  }

  /* Compact cricket */
  .ns-cric__head { margin-bottom: 0.45rem; }
  .ns-cric__title { font-size: 0.78rem; gap: 0.25rem; }
  .ns-cric__bat { font-size: 0.85rem; }
  .ns-cric__live {
    font-size: 0.58rem;
    padding: 0.15rem 0.4rem;
    white-space: nowrap;
  }
  .ns-cric__list { gap: 0; }
  .ns-cric__match:nth-child(n + 2) { display: none; }
  .ns-cric__match {
    padding: 0.45rem 0.5rem;
  }
  .ns-cric__series {
    font-size: 0.62rem;
    margin-bottom: 0.25rem;
  }
  .ns-cric__team strong { font-size: 0.78rem; }
  .ns-cric__team span { font-size: 0.7rem; }
  .ns-cric__status {
    font-size: 0.62rem;
    margin-top: 0.25rem;
    -webkit-line-clamp: 1;
  }
  .ns-cric__more {
    margin-top: 0.45rem;
    font-size: 0.68rem;
  }

  /* Compact weather */
  .ns-wxcard {
    gap: 0.45rem;
    justify-content: space-between;
  }
  .ns-wxcard__top { margin: 0; }
  .ns-wxcard__label { font-size: 0.72rem; }
  .ns-wxcard__cta {
    font-size: 0;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(229, 0, 0, 0.12);
    color: #E50000;
    display: grid;
    place-items: center;
  }
  .ns-wxcard__cta::after {
    content: "›";
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
  }
  .ns-wxcard__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .ns-wxcard__emoji { font-size: 1.65rem; }
  .ns-wxcard__temp {
    font-size: 1.45rem;
    margin-top: 0.1rem;
  }
  .ns-wxcard__city {
    font-size: 0.78rem;
    margin-top: 0.1rem;
  }
  .ns-wxcard__cond {
    font-size: 0.68rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ns-wxcard__foot {
    gap: 0.55rem;
    font-size: 0.65rem;
    flex-wrap: wrap;
  }

  .wx-day {
    grid-template-columns: 52px 28px 1fr;
    grid-template-areas:
      "name emoji temps"
      "cond cond rain";
  }
  .wx-day__name { grid-area: name; }
  .wx-day__emoji { grid-area: emoji; }
  .wx-day__temps { grid-area: temps; justify-self: end; }
  .wx-day__cond { grid-area: cond; }
  .wx-day__rain { grid-area: rain; text-align: left; }
}

@media (max-width: 380px) {
  .ns-widgets { gap: 0.4rem; }
  .ns-cric__live { display: none; }
  .ns-cric__more { display: none; }
  .ns-wxcard__foot span:last-child { display: none; }
}

/* ===== Dark mode overrides (homepage / cards) ===== */
html.theme-dark .page-home .ns-home {
  background: #0B0F14 !important;
  color: #F3F4F6 !important;
  --ns-ink: #F3F4F6;
  --ns-muted: #CBD5E1;
  --ns-line: #2A3441;
  --ns-accent-soft: #2A1515;
}
html.theme-dark .ns-top,
html.theme-dark .ns-grid,
html.theme-dark .ns-board,
html.theme-dark .ns-live,
html.theme-dark .ns-live-card,
html.theme-dark .ns-wx,
html.theme-dark .ns-weather,
html.theme-dark .ns-list-item,
html.theme-dark .ns-story,
html.theme-dark .ns-rail,
html.theme-dark .ns-rail__item,
html.theme-dark .mh-hero,
html.theme-dark .mh-sec,
html.theme-dark .mh-sec__list,
html.theme-dark .ns-aside__cards article,
html.theme-dark .ns-aside__cards a,
html.theme-dark .ns-aside .card,
html.theme-dark .container .card {
  background: #151B23 !important;
  color: #E5E7EB !important;
  border-color: #2A3441 !important;
}
html.theme-dark .ns-aside__cards a,
html.theme-dark .ns-list-item,
html.theme-dark .ns-rail__item {
  background: #1A222D !important;
}
html.theme-dark .ns-aside__cards a:nth-child(odd) {
  background: #1F1717 !important;
}
html.theme-dark .site-header {
  background: #111827 !important;
}
html.theme-dark .main-nav__list,
html.theme-dark .main-nav__inner {
  background: transparent !important;
}
html.theme-dark .ns-feature,
html.theme-dark .mh-hero__slide {
  color: #fff !important;
}
html.theme-dark .footer-logo__img,
html.theme-dark .brand__logo {
  opacity: 1;
}
