/*
Theme Name: MCC Nepal News Portal
Theme Author: Digital Doko Pvt. Ltd.
Theme Author URI: https://digitaldoko.com.np/
License: Full commercial license by Digital Doko Pvt. Ltd.
*/
:root {
  --brand: #0b5db8;
  --brand-dark: #063f87;
  --brand-blue: #0b5db8;
  --accent: #ed1c24;
  --masthead: #05080f;
  --ink: #16191f;
  --muted: #687180;
  --line: #e7ebf0;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --green: #087f5b;
  --amber: #b35c00;
  --blue: #1257a8;
  --sidebar: #101828;
  --shadow: 0 18px 50px rgba(22, 25, 31, 0.08);
}

@media (max-width: 960px) {
  .cms-shell {
    display: block;
    min-height: 100vh;
    background: #eef3f9;
  }

  .cms-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: auto;
    padding: 10px 12px 12px;
    border-right: 0;
    box-shadow: 0 14px 30px rgba(7, 19, 39, 0.18);
  }

  .cms-brand {
    min-height: 42px;
    padding: 0 4px 9px;
    font-size: 18px;
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .cms-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-height: 176px;
    overflow: auto;
    padding-top: 10px;
    scrollbar-width: thin;
  }

  .cms-nav button {
    min-width: 0;
    min-height: 72px;
    display: grid;
    grid-template-rows: 30px auto;
    place-items: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #e5eefb;
    text-align: center;
    font-size: 12px;
    line-height: 1.15;
  }

  .cms-nav button span {
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .cms-nav button:hover,
  .cms-nav button.active {
    background: #fff;
    color: var(--brand);
  }

  .cms-nav button:hover span,
  .cms-nav button.active span {
    background: var(--brand);
    color: #fff;
  }

  .cms-topbar {
    position: static;
    display: grid;
    gap: 12px;
    padding: 16px 14px 12px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .cms-title h1 {
    font-size: 25px;
  }

  .cms-title p {
    font-size: 14px;
  }

  .cms-topbar .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .cms-topbar .btn {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    justify-content: center;
    text-align: center;
  }

  .cms-content {
    padding: 14px;
  }

  .cms-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-card {
    min-width: 0;
    border-radius: 8px;
    padding: 14px;
  }

  .stat-card strong {
    font-size: 25px;
  }

  .panel {
    border-radius: 8px;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .panel-header,
  .panel-body {
    padding: 14px;
  }

  .special-widget-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 8px;
    align-items: center;
    padding: 12px 0;
  }

  .special-widget-row strong {
    min-width: 0;
    line-height: 1.35;
  }

  .special-widget-row .btn.compact,
  .special-widget-row .icon-btn {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .toolbar .input {
    min-width: 0;
    width: 100%;
  }

  .record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .table-wrap {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
}

@media (max-width: 640px) {
  .cms-sidebar {
    padding: 8px 10px 10px;
  }

  .cms-brand {
    font-size: 17px;
  }

  .cms-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 164px;
    gap: 7px;
  }

  .cms-nav button {
    min-height: 66px;
    font-size: 11px;
  }

  .cms-content {
    padding: 10px;
  }

  .cms-topbar {
    padding: 14px 10px 12px;
  }

  .cms-topbar .button-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    padding: 12px;
  }

  .stat-card span {
    font-size: 12px;
  }

  .stat-card strong {
    font-size: 23px;
  }

  .dashboard-grid,
  .tool-grid,
  .form-grid,
  .compact-form-grid {
    grid-template-columns: 1fr;
  }

  .special-widget-row {
    grid-template-columns: 1fr repeat(3, 38px);
    gap: 7px;
  }

  .special-widget-row .btn.compact,
  .special-widget-row .icon-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .special-widget-row .btn.compact {
    font-size: 11px;
  }

  .panel-header h2 {
    font-size: 20px;
  }

  .panel-body {
    padding: 12px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar .btn {
    width: 100%;
  }

  table {
    min-width: 640px;
  }
}

@media (max-width: 640px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    transform: none !important;
    overflow: hidden !important;
    background: #05080f !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16) !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-drawer-head {
    display: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 46px !important;
    padding: 0 10px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo {
    display: inline-flex !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    overflow: hidden !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-link {
    min-width: max-content !important;
    min-height: 36px !important;
    padding: 9px 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: #f8fafc !important;
    font-size: 13px !important;
  }
}

@media (max-width: 640px) {
  body .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: grid !important;
    grid-template-columns: 42px 1fr 42px !important;
    justify-items: center !important;
    align-items: center !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-logo,
  body .nav-wrap.nav-pinned:not(.open) .nav-row,
  body .nav-wrap.nav-pinned:not(.open) .nav-link,
  body .nav-wrap.nav-pinned:not(.open) .nav-dropdown {
    display: none !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-action {
    display: inline-grid !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo {
    display: flex !important;
  }
}

/* Doko72 video section heading guard */
.video-feature-section .section-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid rgba(11, 93, 184, 0.18) !important;
}

.video-feature-section .section-title h3 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  color: var(--brand) !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.video-feature-section .section-title h3::before {
  content: "▶";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
}

/* Doko71 final requested overrides */
.custom-editorial-section {
  background: #1f1f21 !important;
  color: #fff !important;
}

.custom-editorial-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.98fr) !important;
}

.custom-editorial-lead {
  position: relative !important;
  min-height: 500px !important;
  background: #050505 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.custom-editorial-lead::after {
  display: block !important;
}

.custom-editorial-lead img {
  min-height: 500px !important;
  height: 100% !important;
  opacity: 0.78 !important;
}

.custom-editorial-lead h2 {
  position: absolute !important;
  left: 26px !important;
  right: 26px !important;
  bottom: 26px !important;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--brand) !important;
  font-size: clamp(30px, 3.1vw, 44px) !important;
  line-height: 1.24 !important;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9), 0 8px 22px rgba(0, 0, 0, 0.76) !important;
  box-shadow: none !important;
}

.custom-editorial-badge {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.video-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.video-feature-section .section-title h3 {
  color: var(--brand) !important;
}

.magazine-photo-list .home-photo-item {
  grid-template-columns: 92px minmax(0, 1fr);
  box-shadow: none;
}

.magazine-photo-list .home-photo-item > a,
.magazine-photo-list .home-photo-item img {
  min-height: 78px;
}

.magazine-photo-list .home-photo-item h4 {
  font-size: 15px;
}

.magazine-photo-list .home-photo-item span,
.magazine-photo-list .home-photo-item p {
  display: none;
}

.province-empty-state {
  grid-column: 1 / -1;
}

.balanced-news-section {
  background: #f8fbff;
  border: 1px solid rgba(215, 223, 235, 0.95);
}

.balanced-lead-card {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1100px) {
  .video-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .custom-editorial-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .custom-editorial-section {
    padding: 14px !important;
    background: #1f1f21 !important;
  }

  .custom-editorial-lead,
  .custom-editorial-lead img {
    min-height: 270px !important;
  }

  .custom-editorial-lead h2 {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    color: var(--brand) !important;
    font-size: 24px !important;
  }

  .custom-editorial-badge {
    left: 12px;
    top: 12px;
    min-height: 32px;
    padding: 6px 11px;
    font-size: 13px;
  }

  .custom-editorial-list article {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0 !important;
    padding: 0 0 10px !important;
  }

  .custom-editorial-list h4 {
    color: #fff !important;
  }

  .video-feature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Doko70 final main update mobile polish */
.custom-editorial-lead h2 {
  display: inline-block;
  width: auto;
  max-width: calc(100% - 52px);
  padding: 14px 18px;
  border-left: 5px solid var(--brand);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand) !important;
  text-shadow: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

@media (max-width: 640px) {
  .custom-editorial-section {
    padding: 12px !important;
    background: #f7fbff !important;
    border: 1px solid rgba(215, 223, 235, 0.95);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
  }

  .custom-editorial-section .section-title h3 {
    color: var(--brand) !important;
  }

  .custom-editorial-lead {
    background: #fff !important;
    border: 1px solid rgba(215, 223, 235, 0.95);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  }

  .custom-editorial-lead::after {
    display: none !important;
  }

  .custom-editorial-lead img {
    opacity: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1.6;
  }

  .custom-editorial-lead h2 {
    position: static !important;
    display: block;
    max-width: none;
    padding: 12px 13px 14px;
    border-left: 4px solid var(--brand);
    border-radius: 0;
    background: #fff;
    color: var(--brand) !important;
    font-size: 22px !important;
    line-height: 1.34 !important;
    box-shadow: none;
  }

  .custom-editorial-scroll-list {
    max-height: 390px;
  }

  .custom-editorial-list article {
    padding: 9px !important;
    border: 1px solid rgba(215, 223, 235, 0.95) !important;
    border-radius: 8px !important;
    background: #fff !important;
  }

  .custom-editorial-list h4 {
    color: #10233f !important;
  }
}

@media (max-width: 640px) {
  .custom-editorial-section {
    width: min(100% - 18px, 1180px);
    margin-top: 18px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #15213a;
  }

  .custom-editorial-section .section-title {
    margin-bottom: 12px;
  }

  .custom-editorial-section .section-title h3 {
    color: var(--brand);
    font-size: 24px;
  }

  .custom-editorial-section .section-title a {
    color: var(--muted);
  }

  .custom-editorial-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .custom-editorial-lead {
    min-height: 0;
    border: 1px solid rgba(215, 223, 235, 0.95);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .custom-editorial-lead::after {
    display: none;
  }

  .custom-editorial-lead a {
    display: block;
  }

  .custom-editorial-lead img {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.62;
    opacity: 1;
    object-fit: cover;
  }

  .custom-editorial-lead h2 {
    position: static;
    margin: 0;
    padding: 12px 12px 14px;
    color: #10233f;
    font-size: 24px;
    line-height: 1.32;
  }

  .custom-editorial-list,
  .custom-editorial-list-compact {
    gap: 10px;
  }

  .custom-editorial-list article,
  .custom-editorial-list-compact article {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
    border: 1px solid rgba(215, 223, 235, 0.95);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
  }

  .custom-editorial-list img {
    aspect-ratio: 1.35;
    border-radius: 6px;
  }

  .custom-editorial-list h4 {
    color: #15213a;
    font-size: 16px;
    line-height: 1.38;
  }
}

/* Doko68: province filters and three-column compact sections */
.province-chip-row button {
  padding: 11px 18px;
  border: 1px solid #d7dfeb;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.province-chip-row button.active,
.province-chip-row button:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.triple-category-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.triple-category-row .mini-category-block {
  height: 100%;
}

.triple-category-row .mini-lead-card img,
.triple-category-row .opinion-lead-card img {
  min-height: 170px;
  aspect-ratio: 1.7;
}

.triple-category-row .mini-lead-card h4,
.triple-category-row .opinion-lead-card h4 {
  font-size: 19px;
}

.triple-category-row .opinion-lead-card > a {
  min-height: 170px;
}

.triple-category-row .opinion-photo-list .home-photo-item {
  grid-template-columns: 82px minmax(0, 1fr);
  box-shadow: none;
}

.triple-category-row .opinion-photo-list .home-photo-item > a,
.triple-category-row .opinion-photo-list .home-photo-item img {
  min-height: 74px;
}

.triple-category-row .opinion-photo-list .home-photo-item h4 {
  font-size: 15px;
}

.triple-category-row .opinion-photo-list .home-photo-item p,
.triple-category-row .opinion-photo-list .home-photo-item span {
  display: none;
}

@media (max-width: 900px) {
  .triple-category-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .province-chip-row button {
    white-space: nowrap;
  }

  .triple-category-row {
    gap: 14px;
    margin-top: 18px;
  }
}

/* Doko68 video poster row */
.video-feature-section {
  background: transparent;
  border: 0;
  color: inherit;
}

.video-feature-section .section-title h3 {
  color: var(--brand);
}

.video-feature-section .section-title a {
  color: var(--muted);
}

.video-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.video-feature-card {
  position: relative;
  min-height: 330px;
  border: 0;
  border-radius: 0;
  background: #0b1220;
  box-shadow: none;
}

.video-feature-card > a {
  height: 100%;
  min-height: 330px;
}

.video-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  aspect-ratio: auto;
  object-fit: cover;
  opacity: 0.92;
}

.video-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78));
}

.video-feature-card h4 {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  z-index: 2;
  padding: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.32;
}

.video-feature-card h4 a {
  color: #fff;
}

.video-play-button {
  z-index: 3;
  left: auto;
  right: 14px;
  top: 14px;
  transform: none;
  width: 42px;
  height: 42px;
  background: rgba(237, 28, 36, 0.95);
}

@media (max-width: 1100px) {
  .video-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .video-feature-grid {
    grid-template-columns: 1fr;
  }

  .video-feature-card,
  .video-feature-card > a,
  .video-feature-card img {
    min-height: 260px;
  }
}

/* Doko67: main update full-row two-column editorial section */
.custom-editorial-section {
  width: min(100% - 32px, 1180px);
  margin-top: 32px;
  padding: 24px;
  border-radius: 8px;
  background: #1b1b1d;
  color: #f8fafc;
}

.custom-editorial-section .section-title {
  margin-bottom: 16px;
}

.custom-editorial-section .section-title h3,
.custom-editorial-section .section-title a {
  color: #f8fafc;
}

.custom-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.98fr);
  gap: 24px;
  align-items: stretch;
}

.custom-editorial-lead {
  position: relative;
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  background: #050505;
}

.custom-editorial-lead img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  opacity: 0.78;
}

.custom-editorial-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.82));
}

.custom-editorial-lead h2 {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 1;
  margin: 0;
  color: #fff39b;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.24;
}

.custom-editorial-scroll-list {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-color: rgba(255, 255, 255, 0.55) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.custom-editorial-scroll-list::-webkit-scrollbar {
  width: 7px;
}

.custom-editorial-scroll-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.custom-editorial-scroll-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.custom-editorial-list article {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.custom-editorial-list article:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.custom-editorial-list img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  border-radius: 5px;
}

.custom-editorial-list h4 {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1.36;
}

@media (max-width: 900px) {
  .custom-editorial-layout {
    grid-template-columns: 1fr;
  }

  .custom-editorial-scroll-list {
    max-height: 430px;
  }
}

@media (max-width: 640px) {
  .custom-editorial-section {
    width: min(100% - 18px, 1180px);
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: #181b20;
  }

  .custom-editorial-section .section-title h3 {
    color: #fff;
    font-size: 23px;
  }

  .custom-editorial-layout {
    gap: 12px;
  }

  .custom-editorial-lead,
  .custom-editorial-lead img {
    min-height: 260px;
  }

  .custom-editorial-lead h2 {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 0;
    color: #fff39b;
    font-size: 23px;
    line-height: 1.34;
  }

  .custom-editorial-scroll-list {
    max-height: 380px;
    padding-right: 6px;
  }

  .custom-editorial-list article,
  .custom-editorial-list-compact article {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 0 0 10px;
    margin: 0 0 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .custom-editorial-list h4 {
    color: #f8fafc;
    font-size: 16px;
    line-height: 1.38;
  }
}

@media (max-width: 640px) {
  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: grid !important;
    grid-template-columns: 42px 1fr 42px !important;
    justify-items: center !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo,
  .nav-wrap.nav-pinned:not(.open) .nav-row {
    display: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-action {
    display: inline-grid !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo {
    display: flex !important;
  }
}

/* Doko62 section polish */
.custom-editorial-section {
  padding: 22px;
  border-radius: 8px;
  background: #181b20;
  color: #f8fafc;
}

.custom-editorial-section .section-title h3,
.custom-editorial-section .section-title a {
  color: #f8fafc;
}

.custom-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.custom-editorial-lead {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  background: #06080c;
}

.custom-editorial-lead img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  opacity: 0.78;
}

.custom-editorial-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82));
}

.custom-editorial-lead h2 {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  margin: 0;
  color: #fff3a3;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}

.custom-editorial-list {
  display: grid;
  gap: 16px;
  align-content: start;
}

.custom-editorial-list article {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.custom-editorial-list img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 6px;
}

.custom-editorial-list h4 {
  margin: 0;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.35;
}

.newsroom-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.newsroom-photo-grid .home-photo-item {
  min-height: 132px;
}

.newsroom-list-ad {
  grid-column: 1 / -1;
  margin: 0;
}

.newsroom-main-text-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-feature-section {
  margin-top: 32px;
  padding: 30px 0;
  background: #28593a;
  color: #fff;
}

.business-title h3,
.business-title a {
  color: #fff;
}

.business-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.business-chip-row a {
  padding: 9px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #173621;
  font-weight: 900;
}

.business-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) minmax(230px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.business-lead-card,
.business-focus-card,
.business-side-stack article {
  border-radius: 8px;
  overflow: hidden;
}

.business-lead-card {
  position: relative;
  min-height: 470px;
  background: #07130b;
}

.business-lead-card img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  opacity: 0.75;
}

.business-lead-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82));
}

.business-lead-card h2 {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 1;
  margin: 0;
  color: #fff3a3;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}

.business-focus-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: rgba(13, 49, 28, 0.72);
}

.business-focus-card span {
  color: #d8f8df;
  font-weight: 900;
}

.business-focus-card h2 {
  margin: 12px 0;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.35;
}

.business-focus-card p {
  margin: 0;
  color: #e8f7ec;
  font-size: 17px;
  line-height: 1.8;
}

.business-side-stack {
  display: grid;
  gap: 18px;
}

.business-side-stack article {
  background: rgba(255, 255, 255, 0.08);
}

.business-side-stack img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.business-side-stack h4 {
  margin: 0;
  padding: 12px 0 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.business-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 22px;
  margin-top: 22px;
}

.business-bottom-grid .home-photo-item {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.business-bottom-grid .home-photo-item h4,
.business-bottom-grid .home-photo-item span,
.business-bottom-grid .home-photo-item p {
  color: #fff;
}

.province-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.province-chip-row a {
  padding: 11px 18px;
  border: 1px solid #d7dfeb;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  font-weight: 900;
}

.province-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.province-matrix-card {
  border: 1px solid rgba(215, 223, 235, 0.95);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.province-matrix-card img {
  width: 100%;
  aspect-ratio: 1.62;
  object-fit: cover;
}

.province-matrix-card div {
  padding: 14px;
}

.province-matrix-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.province-matrix-card h4 {
  margin: 6px 0 0;
  color: #15213a;
  font-size: 21px;
  line-height: 1.35;
}

.tech-modern-section {
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid #dbeafe;
}

.tech-modern-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 22px;
}

.tech-lead-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0b2c61;
  color: #fff;
}

.tech-lead-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.tech-lead-card > div {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-lead-card span {
  color: #bde3ff;
  font-weight: 900;
}

.tech-lead-card h2 {
  margin: 10px 0;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.3;
}

.tech-lead-card p {
  margin: 0;
  color: #eaf6ff;
  line-height: 1.75;
}

.tech-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tech-card-grid article {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.tech-card-grid img {
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
}

.tech-card-grid h4 {
  margin: 0;
  padding: 12px;
  color: #10233f;
  font-size: 18px;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .custom-editorial-layout,
  .business-feature-grid,
  .tech-modern-layout {
    grid-template-columns: 1fr;
  }

  .business-bottom-grid,
  .province-matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .custom-editorial-section,
  .business-feature-section .container {
    padding-left: 0;
    padding-right: 0;
  }

  .custom-editorial-layout,
  .newsroom-photo-grid,
  .newsroom-main-text-grid,
  .business-bottom-grid,
  .province-matrix-grid,
  .tech-card-grid {
    grid-template-columns: 1fr;
  }

  .custom-editorial-lead,
  .custom-editorial-lead img,
  .business-lead-card,
  .business-lead-card img {
    min-height: 280px;
  }

  .custom-editorial-list article,
  .custom-editorial-list-compact article,
  .business-bottom-grid .home-photo-item {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .custom-editorial-list h4,
  .business-side-stack h4,
  .province-matrix-card h4 {
    font-size: 18px;
  }

  .business-feature-section {
    padding: 22px 10px;
  }

  .business-focus-card {
    padding: 22px;
  }

  .province-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .province-chip-row a,
  .business-chip-row a {
    white-space: nowrap;
  }

  .tech-lead-card {
    grid-template-columns: 1fr;
  }

  .tech-lead-card img {
    min-height: 210px;
  }
}

.pin-action,
.pin-mobile-logo {
  display: none;
}

@media (max-width: 640px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: block !important;
    height: 46px !important;
    min-height: 46px !important;
    background: #05080f !important;
    overflow: hidden !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: grid !important;
    grid-template-columns: 42px 1fr 42px !important;
    align-items: center !important;
    height: 46px !important;
    min-height: 46px !important;
    gap: 8px !important;
    padding: 0 10px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo,
  .nav-wrap.nav-pinned:not(.open) .nav-row {
    display: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-action {
    display: inline-grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 36px !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo .logo-box {
    width: 42px !important;
    height: 36px !important;
    min-width: 42px !important;
    border-radius: 8px !important;
    padding: 2px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
}

@media (max-width: 640px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    transform: none !important;
    overflow: hidden !important;
    background: #05080f !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16) !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-drawer-head {
    display: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 46px !important;
    padding: 0 10px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo {
    display: inline-flex !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    overflow: hidden !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-link {
    min-width: max-content !important;
    min-height: 36px !important;
    padding: 9px 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: #f8fafc !important;
    font-size: 13px !important;
  }
}

@media (max-width: 640px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    transform: none !important;
    overflow: hidden !important;
    background: #05080f !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16) !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-drawer-head {
    display: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 46px !important;
    padding: 0 10px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo {
    display: inline-flex !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    overflow: hidden !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-link {
    min-width: max-content !important;
    min-height: 36px !important;
    padding: 9px 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: #f8fafc !important;
    font-size: 13px !important;
  }
}

@media (max-width: 960px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .nav-wrap.nav-pinned:not(.open) {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: min(360px, 88vw);
    height: 100dvh;
    overflow-y: auto;
    transform: translateX(-105%);
    border-right: 1px solid var(--line);
    border-bottom: 0;
    box-shadow: 24px 0 50px rgba(16, 24, 40, 0.18);
  }

  .nav-wrap.nav-pinned:not(.open) .nav-drawer-head {
    display: flex;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: block;
    padding: 8px 14px 24px;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo {
    display: none;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-row {
    flex-direction: column;
    gap: 6px;
    overflow: visible;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-link {
    min-width: 0;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: #111827;
    font-size: 15px;
  }
}

.home-news-block,
.premium-section,
.feature-band {
  padding-bottom: 8px;
}

.home-feature-card,
.home-list-item,
.home-small-card,
.mini-category-block,
.story-card,
.province-card,
.quote-card {
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.home-feature-card,
.mini-category-block,
.story-card,
.province-card,
.quote-card {
  padding: 14px;
}

.home-feature-card img,
.home-small-card img,
.mini-lead-card img,
.story-card img {
  border-radius: 6px;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.home-feature-card:hover img,
.home-small-card:hover img,
.mini-lead-card:hover img,
.story-card:hover img {
  transform: scale(1.015);
  filter: saturate(1.05);
}

.home-list-stack {
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.home-list-item {
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
  padding: 12px;
}

.home-list-item:last-child {
  border-bottom: 0;
}

.home-small-card {
  padding: 10px;
}

.mini-category-block .section-title {
  margin-top: 0;
}

.mini-lead-card {
  border-bottom: 1px solid var(--line);
}

.mini-news-list a {
  position: relative;
  padding-left: 16px;
}

.mini-news-list a::before,
.home-text-item h4::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  left: 0;
  top: 1.05em;
  border-radius: 999px;
  background: var(--accent);
}

.home-text-item h4 {
  position: relative;
  padding-left: 14px;
}

.section-title.newsroom-title {
  background: linear-gradient(90deg, rgba(11, 93, 184, 0.08), transparent);
  border-radius: 8px 8px 0 0;
  padding: 0 0 0 0;
}

@media (max-width: 960px) {
  .home-news-block,
  .split-category-row,
  .premium-section,
  .feature-band {
    margin-top: 20px;
  }

  .home-feature-card,
  .mini-category-block,
  .story-card,
  .province-card,
  .quote-card {
    padding: 12px;
  }
}

@media (max-width: 640px) {
  .home-feature-card,
  .home-list-stack,
  .home-small-card,
  .mini-category-block,
  .story-card,
  .province-card,
  .quote-card,
  .newsroom-text-grid,
  .newsroom-lead-card {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
  }

  .home-feature-card h2,
  .mini-lead-card h4,
  .story-card h3,
  .home-small-card h4 {
    line-height: 1.28;
  }

  .main-news-card {
    border: 1px solid rgba(215, 223, 235, 0.96);
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
  }

  .main-news-card > a {
    order: 1;
  }

  .main-news-card h2 {
    order: 2;
    margin-top: 12px;
  }

  .main-news-card .special-meta {
    order: 3;
  }

  .main-news-card .special-excerpt,
  .main-news-card .caption {
    order: 4;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Mukta", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.kicker,
.btn,
.section-title,
.cms-title {
  font-family: "Mukta", Inter, system-ui, sans-serif;
}

body.dark-mode {
  --ink: #eef2f7;
  --muted: #aab4c2;
  --line: #273244;
  --soft: #151c28;
  --paper: #0c111b;
  background: #0c111b;
}

body.nav-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  background: var(--paper);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: #11151c;
  color: #dbe2ea;
  font-size: 13px;
  display: none;
}

.top-strip .container,
.brand-row,
.nav-row,
.trend-row,
.footer-grid,
.story-meta,
.cms-topbar,
.cms-stat-grid,
.toolbar,
.form-grid,
.record-actions,
.switch-row,
.quick-row,
.login-card header {
  display: flex;
  align-items: center;
}

.top-strip .container {
  justify-content: space-between;
  min-height: 36px;
  gap: 14px;
}

.mini-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.nepal-clock {
  font-weight: 800;
  color: inherit;
}

.brand-row {
  padding: 26px 0 18px;
  gap: 24px;
  justify-content: space-between;
  border-bottom: 0;
}

.site-shell > .brand-row,
.main-brand-row {
  background:
    linear-gradient(90deg, rgba(11, 93, 184, 0.22), transparent 28%, rgba(237, 28, 36, 0.08) 88%),
    var(--masthead);
  color: #fff;
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
}

.main-brand-row {
  justify-content: center;
  display: grid;
  grid-template-columns: minmax(72px, 1fr) minmax(260px, auto) minmax(300px, 1fr);
  align-items: center;
}

.brand-center {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-self: center;
  width: auto;
  text-align: center;
}

.centered-logo {
  justify-content: center;
}

.brand-clock {
  max-width: min(100%, 520px);
  color: #f8fafc;
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.logo-only {
  justify-self: center;
  min-width: 0;
}

.menu-button,
.dark-toggle {
  background: #eef2f7;
  border-radius: 6px;
  padding: 9px 12px;
  font-weight: 900;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  border: 1px solid rgba(9, 132, 227, 0.34);
  background: transparent;
  color: var(--brand-blue);
  font-size: 22px;
}

.site-search {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
}

.site-search .input {
  width: min(220px, 100%);
  min-height: 42px;
  font-size: 14px;
}

.site-search .btn {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-search .input {
  background: #101010;
  border-color: #242424;
  color: #fff;
}

.wide-ad {
  width: 100%;
  margin-bottom: 16px;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font: 900 28px/1 Inter, sans-serif;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.22);
}

.logo-fallback::before {
  content: none;
}

.mcc-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Teko", "Khand", sans-serif;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: 0;
}

.mcc-logo-text b {
  display: inline-flex;
  gap: 4px;
  color: #fff;
  background: var(--brand-blue);
  border-radius: 8px;
  padding: 5px 12px 3px;
  font-weight: 700;
  text-transform: lowercase;
}

.mcc-logo-text em {
  color: var(--brand);
  font-style: normal;
  font-weight: 700;
  text-transform: lowercase;
}

.logo-upload-placeholder {
  min-width: min(360px, 54vw);
  min-height: 86px;
  border: 2px dashed rgba(9, 132, 227, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.logo-upload-placeholder span {
  color: #f8fafc;
  font-family: "Khand", "Mukta", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0;
}

.logo-box-small.logo-upload-placeholder,
.cms-brand .logo-upload-placeholder,
.footer-about .logo-upload-placeholder {
  min-width: 46px;
  min-height: 46px;
  border-width: 1px;
}

.logo-box-small.logo-upload-placeholder span,
.cms-brand .logo-upload-placeholder span,
.footer-about .logo-upload-placeholder span {
  font-size: 13px;
  line-height: 1;
  text-align: center;
}

.logo-box-small {
  width: 46px;
  height: 46px;
  font-size: 22px;
}

.logo-image {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.logo-only .logo-box {
  width: auto;
  height: auto;
  max-width: min(520px, 62vw);
  min-height: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-only .logo-image {
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.logo-only .logo-image img {
  width: auto;
  height: auto;
  max-width: min(520px, 62vw);
  max-height: 96px;
  object-fit: contain;
  object-position: center;
  padding: 0;
}

.logo-only .logo-fallback {
  width: min(420px, 54vw);
  height: auto;
  display: flex;
  justify-content: center;
  border-radius: 8px;
}

.logo-only .logo-fallback::before {
  border-color: var(--brand);
}

.logo-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--brand);
  font-weight: 900;
  font-family: "Teko", "Khand", sans-serif;
}

.logo-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.ad-leaderboard,
.ad-box {
  position: relative;
  border: 1px dashed #ccd3dc;
  background: linear-gradient(135deg, #fff7f1, #f5fbff);
  color: #596170;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 8px;
  min-height: 96px;
  padding: 16px;
}

.ad-leaderboard {
  width: min(510px, 48vw);
}

.ad-box a {
  display: grid;
  place-items: center;
  width: 100%;
  color: inherit;
}

.ad-box img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.ad-dismiss {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.ad-dismiss:hover {
  background: #fff1f2;
  color: var(--brand);
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #05080f;
  border-top: 0;
  border-bottom: 0;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 68;
  background: rgba(16, 24, 40, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer-head {
  display: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pin-logo {
  display: none;
  align-items: center;
  flex: 0 0 auto;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-wrap.nav-pinned .pin-logo {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}

.pin-logo .logo-box {
  width: auto;
  min-width: 88px;
  height: 38px;
  box-shadow: none;
}

.pin-logo .logo-image img {
  max-width: 132px;
  max-height: 38px;
  object-fit: contain;
}

.nav-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef2f7;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.nav-wrap.open {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  width: min(380px, 92vw);
  height: 100dvh;
  overflow-y: auto;
  border-top: 0;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: 24px 0 50px rgba(16, 24, 40, 0.18);
}

.nav-wrap.open .nav-drawer-head {
  width: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.drawer-logo .logo-box {
  width: auto;
  min-width: 92px;
  height: 42px;
  box-shadow: none;
}

.drawer-logo .logo-image img {
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
}

.nav-wrap.open .nav-inner {
  display: block;
  width: auto;
  padding: 8px 18px 24px;
}

.nav-wrap.open .pin-logo {
  display: none;
}

.nav-wrap.open .nav-row {
  width: auto;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 6px;
}

.nav-wrap.open .nav-link {
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  color: #fff;
  justify-content: space-between;
  white-space: normal;
  line-height: 1.25;
}

.nav-wrap.open .nav-dropdown {
  width: 100%;
}

.nav-wrap.open .nav-more {
  width: 100%;
  text-align: left;
}

.nav-wrap.open .nav-dropdown-menu {
  position: static;
  display: none;
  min-width: 0;
  border: 0;
  box-shadow: none;
  padding: 6px 0 8px 12px;
  background: transparent;
}

.mobile-logo-render {
  display: none;
}

.desktop-logo-render {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-logo-box {
  width: 118px;
  height: 44px;
  min-width: 118px;
  min-height: 44px;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.mobile-logo-box.logo-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  padding: 0;
}

.nav-wrap.open .nav-dropdown.open .nav-dropdown-menu {
  display: grid;
}

.nav-row {
  min-height: 48px;
  gap: 0;
  overflow: visible;
  flex-wrap: nowrap;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
  padding: 10px 15px;
  font-size: clamp(15px, 1.28vw, 20px);
  line-height: 1;
  font-weight: 800;
  color: #f7f7f7;
  border-bottom: 3px solid transparent;
}

.nav-row > .nav-link,
.nav-row > .nav-dropdown {
  flex: 0 0 auto;
  min-width: max-content;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  border-color: var(--brand);
}

.nav-link.video-highlight,
.nav-more.video-highlight {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.nav-wrap.open .nav-link.video-highlight,
.nav-wrap.open .nav-more.video-highlight {
  background: var(--accent);
  color: #fff;
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.nav-more {
  background: transparent;
  height: 100%;
  width: 100%;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  display: none;
  min-width: 210px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  padding: 6px;
}

.nav-menu-title {
  display: none;
  grid-column: 1 / -1;
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
  padding: 2px 4px 6px;
  border-bottom: 1px solid var(--line);
}

.nav-dropdown-menu.mega-menu {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, calc(100vw - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown.open .nav-menu-title {
  display: block;
}

.nav-dropdown-menu .nav-link {
  display: block;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 10px;
  font-size: 15px;
  line-height: 1.2;
  justify-content: flex-start;
}

.nav-dropdown-menu.mega-menu .nav-link {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 9px 10px;
  background: transparent;
}

.nav-dropdown-menu .all-link {
  color: var(--brand);
  font-weight: 900;
}

.nav-dropdown-menu .nav-link:last-child {
  border-bottom: 0;
}

.ranking-row {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.ranking-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.ranking-title {
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}

.ranking-list {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ranking-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #1f2937;
  font-weight: 800;
}

.ranking-chip img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #eef2f7;
}

@keyframes ticker-move {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trend-items {
    animation: none;
    min-width: 0;
    flex-wrap: wrap;
    white-space: normal;
  }
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(300px, 0.72fr);
  gap: 28px;
  margin-top: 22px;
  align-items: start;
}

.home-grid:not(.category-home-grid) {
  grid-template-columns: 1fr;
}

.lead-story {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.lead-cluster {
  display: grid;
  gap: 20px;
}

.lead-story img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.kicker {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
  margin: 16px 0 8px;
}

.lead-story h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.category-home-grid {
  margin-top: 18px;
}

.category-home-grid .lead-story {
  padding-bottom: 18px;
}

.category-home-grid .lead-story img {
  aspect-ratio: 16 / 7.4;
}

.category-home-grid .lead-story .kicker {
  margin-top: 10px;
}

.category-home-grid .lead-story h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.22;
}

.sidha-main-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 920px;
  margin: 0 auto;
}

.main-news-card {
  border-bottom: 1px solid #dfe5ec;
  padding: 10px 0 26px;
  text-align: center;
  display: grid;
  justify-items: center;
}

.main-news-card:first-child {
  grid-column: auto;
  padding-top: 4px;
}

.main-news-card img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.main-news-card:first-child img {
  aspect-ratio: 16 / 8.6;
}

.main-news-card > a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
}

.main-news-card:hover img {
  transform: scale(1.012);
  filter: saturate(1.04);
}

.main-news-card h2 {
  margin: 0 auto 8px;
  max-width: 900px;
  color: #0b2c61;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 800;
}

.main-news-card:first-child h2 {
  max-width: 980px;
  margin: 0 auto 8px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.12;
  font-weight: 800;
}

.special-meta {
  justify-content: center;
  margin-bottom: 14px;
}

.special-meta .special-author-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0;
  border: 2px solid rgba(11, 93, 184, 0.16);
  background: #eef5ff;
}

.special-meta .author-avatar-fallback {
  display: inline-grid;
  place-items: center;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
}

.special-excerpt {
  margin: 10px auto 0;
  color: #4b5563;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  max-width: 760px;
}

.main-news-card:not(:nth-child(-n + 2)) {
  display: block;
}

.main-news-card:not(:nth-child(-n + 2)) h2 {
  font-size: clamp(26px, 3.3vw, 38px);
  line-height: 1.2;
}

.main-news-card:not(:nth-child(-n + 2)) .special-meta {
  margin-bottom: 14px;
}

.main-news-card:not(:nth-child(-n + 2)) .special-excerpt {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
}

.main-news-card:not(:nth-child(-n + 2)) img {
  aspect-ratio: 16 / 9;
}

.special-inline-ad {
  margin: 0 auto 8px;
  width: min(760px, 100%);
}

.main-news-card h2 a:hover {
  color: var(--brand);
}

.lead-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-support-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--paper);
}

.lead-support-card img {
  width: 132px;
  height: 94px;
  object-fit: cover;
  border-radius: 6px;
}

.lead-support-card .kicker {
  margin: 0 0 4px;
  font-size: 12px;
}

.lead-support-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.lead-support-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.story-meta {
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 10px;
}

.summary {
  color: #4d5664;
  font-size: 18px;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.btn.secondary {
  background: #eef2f7;
  color: var(--ink);
}

.btn.ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(215, 25, 32, 0.25);
}

.btn.danger {
  background: #b91c1c;
  color: #fff;
}

.btn.compact {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--brand-blue);
  margin: 32px 0 18px;
  position: relative;
  isolation: isolate;
}

.section-title::before {
  content: "MCC";
  position: absolute;
  left: 8px;
  bottom: 0;
  z-index: -1;
  color: rgba(11, 93, 184, 0.08);
  font-size: 42px;
  font-weight: 900;
  filter: blur(1px);
}

.section-title h3 {
  margin: 0;
  display: inline-block;
  background: var(--brand-blue);
  color: #fff;
  padding: 9px 13px;
  border-radius: 6px 6px 0 0;
  font-size: 20px;
}

.section-title button {
  color: var(--brand);
  background: transparent;
  font-weight: 800;
}

.section-title a {
  color: var(--brand);
  font-weight: 900;
}

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

.story-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.story-card h4,
.side-item h4 {
  margin: 4px 0 5px;
  font-size: 15px;
  line-height: 1.42;
}

.story-card p,
.side-item p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.home-ad-row {
  margin-top: 24px;
}

.below-main-ad {
  margin-top: 12px;
}

.home-latest-strip {
  margin-top: 22px;
}

.compact-latest-strip {
  margin-top: 0;
}

.latest-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.compact-latest-strip .latest-strip-grid {
  grid-template-columns: 1fr;
}

.latest-strip-card {
  border-left: 4px solid var(--brand);
  background: #f8fafc;
  padding: 12px 14px;
  min-width: 0;
}

.latest-strip-card a {
  display: block;
  color: var(--ink);
  font-family: "Mukta", Inter, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.latest-strip-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.home-news-block {
  scroll-margin-top: 126px;
  padding-top: 8px;
  margin-top: 26px;
}

.home-news-with-latest {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.62fr);
  gap: 18px;
  align-items: start;
}

.home-news-with-latest.no-latest-side {
  grid-template-columns: 1fr;
}

.home-latest-side {
  position: sticky;
  top: 74px;
}

.two-column-news {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 18px;
}

.two-column-news .home-small-grid {
  display: none;
}

.newsroom-feature-layout {
  display: grid;
  gap: 16px;
}

.newsroom-lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 18px;
  align-items: stretch;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  min-height: 250px;
}

.newsroom-lead-card > div {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsroom-lead-card span {
  color: #bfdbfe;
  font-weight: 900;
}

.newsroom-lead-card h2 {
  margin: 8px 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.16;
}

.newsroom-lead-card p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.65;
}

.newsroom-lead-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.newsroom-text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.home-text-item {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-text-item:nth-child(3n) {
  border-right: 0;
}

.home-text-item:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.home-text-item span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 5px;
}

.home-text-item h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.32;
}

.home-text-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.split-category-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.mini-category-block {
  min-width: 0;
}

.mini-lead-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.mini-lead-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.mini-lead-card h4 {
  margin: 10px 0 0;
  color: #0b2c61;
  font-size: 22px;
  line-height: 1.25;
}

.mini-news-list {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.mini-news-list a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  line-height: 1.35;
}

.home-news-block.soft-block {
  padding: 20px 0 24px;
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.92), rgba(255, 255, 255, 0));
}

.home-news-with-latest {
  margin-top: 24px;
}

.home-news-with-latest .section-title {
  margin-top: 18px;
}

.newsroom-title {
  border-bottom-color: var(--brand);
}

.newsroom-title h3 {
  background: var(--brand);
}

.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.94fr) minmax(220px, 0.66fr);
  gap: 22px;
  align-items: start;
}

.home-feature-card,
.home-list-item,
.home-small-card {
  min-width: 0;
}

.home-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}

.home-feature-card h2 {
  margin: 10px 0 7px;
  font-size: clamp(26px, 2.7vw, 32px);
  line-height: 1.22;
  letter-spacing: 0;
}

.home-feature-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-list-stack {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.05);
}

.home-list-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  padding: 13px;
  border-top: 1px solid var(--line);
}

.home-list-item:first-child {
  border-top: 0;
}

.home-list-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.home-list-item span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.home-list-item h4,
.home-small-card h4 {
  margin: 4px 0 5px;
  line-height: 1.35;
  font-size: 18px;
}

.home-list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.home-small-grid {
  display: grid;
  gap: 16px;
}

.home-small-card {
  border-bottom: 1px solid #dfe5ec;
  padding-bottom: 16px;
}

.home-small-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.side-panel {
  position: sticky;
  top: 76px;
  align-self: start;
  display: grid;
  gap: 16px;
}

.home-grid .side-panel {
  max-height: 680px;
  overflow: hidden;
}

.home-grid .side-panel .side-list {
  max-height: 540px;
  overflow: auto;
}

.side-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px 8px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}

.side-list h3 {
  margin: 0 -14px 2px;
  padding: 10px 14px;
  border-bottom: 3px solid var(--brand);
  background: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.side-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.side-item:first-of-type {
  border-top: 0;
}

.side-item img {
  width: 82px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.side-item .story-meta {
  margin: 3px 0 0;
  font-size: 12px;
}

.feature-band {
  margin: 38px 0;
  background: #11151c;
  color: #fff;
  padding: 32px 0;
}

.feature-band .news-grid .story-card {
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-band .story-card p,
.feature-band .story-meta {
  color: #bec7d2;
}

.category-stream {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.category-title-bar {
  margin: 20px auto 4px;
  border-bottom: 3px solid var(--brand);
  padding: 12px 0 14px;
}

.category-title-bar span {
  display: inline-block;
  color: var(--brand);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.category-title-bar h1 {
  margin: 4px 0 2px;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.category-title-bar p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.category-archive {
  margin-top: 18px;
  margin-bottom: 44px;
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  padding: 18px;
  font-weight: 700;
}

.maintenance-settings-panel .panel-body {
  display: block;
}

.maintenance-toggle-row {
  margin-bottom: 4px;
}

.switch-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 14px;
}

.switch-card input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.switch-card strong,
.switch-card small {
  display: block;
}

.switch-card small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.premium-section {
  margin-top: 36px;
  margin-bottom: 36px;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.province-card,
.quote-card,
.poll-card,
.utility-page,
.reporter-hero {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 16px;
  box-shadow: var(--shadow);
}

.province-card span {
  display: inline-block;
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 8px;
}

.province-card h4 {
  margin: 0 0 8px;
  line-height: 1.35;
}

.province-card p,
.quote-card p,
.poll-card p {
  color: var(--muted);
  line-height: 1.55;
}

.video-band {
  background: #11151c;
  color: #fff;
  padding: 34px 0;
  margin: 36px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.video-card a {
  display: block;
  position: relative;
}

.video-card img,
.photo-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.play-dot {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

.quote-card {
  margin-bottom: 12px;
}

.quote-card blockquote {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.poll-card {
  align-self: start;
  display: grid;
  gap: 12px;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 12px;
}

.photo-strip a:first-child {
  grid-row: span 2;
}

.photo-strip a:first-child img {
  height: 100%;
}

.reporter-page {
  padding-top: 28px;
  padding-bottom: 36px;
}

.reporter-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.reporter-hero span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.reporter-hero h1 {
  margin: 2px 0 4px;
  color: #0b2c61;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.15;
}

.reporter-hero p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.reporter-hero strong {
  border-radius: 999px;
  background: rgba(11, 93, 184, 0.1);
  color: var(--brand);
  padding: 8px 13px;
  white-space: nowrap;
}

.reporter-avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef5ff;
  overflow: hidden;
}

.reporter-avatar .logo-mark,
.reporter-avatar img,
.reporter-avatar .reporter-photo,
.reporter-avatar .author-avatar-fallback {
  width: 74px;
  height: 74px;
  max-width: 74px;
  max-height: 74px;
}

.reporter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.reporter-side {
  position: sticky;
  top: 74px;
}

.utility-page {
  margin-top: 36px;
  margin-bottom: 36px;
}

.utility-page h1 {
  font-size: clamp(38px, 7vw, 80px);
  margin: 0 0 10px;
}

.not-found-page {
  display: grid;
  gap: 16px;
}

.not-found-page > p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.not-found-latest {
  margin-top: 18px;
}

.not-found-latest h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.live-page {
  margin-top: 28px;
  margin-bottom: 46px;
}

.live-hero {
  border-bottom: 3px solid var(--brand);
  padding-bottom: 18px;
}

.live-hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 1.04;
}

.live-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
}

.live-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(215, 25, 32, 0.12);
}

.live-timeline {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.live-timeline > div {
  border-left: 4px solid var(--brand);
  padding: 10px 12px;
  background: var(--soft);
}

.live-update-card article {
  display: grid;
  gap: 6px;
}

.live-update-card h2 {
  margin: 0;
  font-size: 24px;
}

.live-update-card p {
  margin: 0;
  color: #344054;
  line-height: 1.7;
}

.live-timeline span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.category-block {
  border-top: 4px solid var(--brand);
  padding-top: 12px;
}

.category-block h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.footer {
  background: linear-gradient(135deg, #071327 0%, #10233f 58%, #071327 100%);
  color: #dbe2ea;
  margin-top: 40px;
  padding: 38px 0 18px;
}

body.dark-mode .nav-wrap,
body.dark-mode .cms-topbar,
body.dark-mode .panel,
body.dark-mode .stat-card,
body.dark-mode .login-card,
body.dark-mode .input,
body.dark-mode .select,
body.dark-mode .textarea,
body.dark-mode .seo-editor,
body.dark-mode .seo-preview,
body.dark-mode .media-modal,
body.dark-mode .media-upload-drop,
body.dark-mode .media-modal-item,
body.dark-mode .media-empty,
body.dark-mode .nav-dropdown-menu,
body.dark-mode .home-list-stack,
body.dark-mode .side-list,
body.dark-mode .media-choice-grid,
body.dark-mode .media-choice-grid button {
  background: #111827;
  color: var(--ink);
  border-color: var(--line);
}

body.dark-mode .media-modal-body {
  background: #0f1724;
}

body.dark-mode .nav-link,
body.dark-mode .main-news-card h2,
body.dark-mode .side-list h3,
body.dark-mode .story-card p,
body.dark-mode .summary {
  color: var(--ink);
}

body.dark-mode .side-list h3 {
  background: #111827;
}

body.dark-mode .ad-leaderboard,
body.dark-mode .ad-box {
  background: #141c29;
}

body.dark-mode .cms-shell {
  background: #0b1220;
}

body.dark-mode .cms-sidebar {
  background: #0f172a;
  color: #cbd5e1;
  border-right-color: #273244;
}

body.dark-mode .cms-brand {
  color: #f8fafc;
  border-bottom-color: #273244;
}

body.dark-mode .cms-nav button {
  color: #cbd5e1;
}

body.dark-mode .cms-nav button:hover,
body.dark-mode .cms-nav button.active {
  background: rgba(59, 130, 246, 0.24);
  color: #f8fafc;
}

body.dark-mode .cms-title h1,
body.dark-mode th {
  color: #e5e7eb;
}

body.dark-mode .sticky-form-actions {
  background: rgba(15, 23, 42, 0.92);
  border-color: #273244;
}


.footer-grid {
  align-items: flex-start;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(210px, 1.2fr);
  gap: 26px;
}

.footer-brand-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2fr);
  gap: 24px;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-row p {
  margin: 0;
}

.footer h3 {
  margin: 0 0 8px;
  color: #fff;
}

.footer p {
  margin: 8px 0;
  color: #cbd5e1;
  line-height: 1.55;
}

.footer a {
  color: #e5edf7;
}

.footer-col p a {
  display: inline-block;
  padding: 2px 0;
}

.footer-col {
  min-width: 0;
}

.footer-about .logo-box {
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0;
  color: #fff;
  font-weight: 800;
}

.footer-social .fb { background: #1877f2; }
.footer-social .yt { background: #dc2626; }
.footer-social .tw { background: #111827; }
.footer-social .tk { background: #0f172a; }

.credit {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 24px;
  padding-top: 16px;
  color: #aab4c2;
  font-size: 14px;
}

.credit a {
  color: #fff;
  font-weight: 900;
}

.special-widget-panel {
  margin: 18px 0;
}

.widget-help {
  margin: 0 0 12px;
  color: var(--muted);
}

.special-widget-row strong {
  color: #0b2c61;
}

.article-view {
  max-width: 860px;
  margin: 26px auto 50px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}

.article-main {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.article-sidebar {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 18px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--brand);
}

.breadcrumb span:last-child {
  color: #475467;
  max-width: 100%;
}

.article-view h1 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.22;
  margin: 8px 0;
  font-weight: 800;
}

.article-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 8px;
  padding: 8px 0 10px;
  border-top: 1px solid rgba(11, 93, 184, 0.12);
  border-bottom: 1px solid var(--line);
}

.article-author-row strong {
  display: block;
  color: #0b2c61;
  font-size: 16px;
  line-height: 1.25;
}

.author-link {
  color: var(--brand);
  font-weight: 900;
}

.author-avatar,
.article-author-avatar,
.reporter-photo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  object-fit: cover;
  background: #eef5ff;
  border: 2px solid rgba(11, 93, 184, 0.16);
}

.author-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 900;
}

.article-view img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin: 18px 0 8px;
}

.article-view .article-author-avatar {
  width: 42px;
  height: 42px;
  aspect-ratio: 1;
  margin: 0;
}

.article-view .article-body {
  font-size: 19px;
  line-height: 1.9;
  color: #252b35;
}

.article-body p,
.article-body div:not(.responsive-table),
.article-body span {
  font-size: inherit !important;
  line-height: inherit !important;
  text-align: justify !important;
  text-align-last: left;
}

.article-body li,
.article-body blockquote {
  text-align: justify !important;
  text-align-last: left;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body figure {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px 0 !important;
  text-align: justify !important;
  text-align-last: left;
  clear: both;
}

.article-body figure > img,
.article-body figure > a,
.article-body figure > picture {
  text-align: center !important;
  text-align-last: center;
}

.article-body.align-left {
  text-align: left;
}

.article-body.align-center {
  text-align: center;
}

.article-body.align-right {
  text-align: right;
}

.article-body.align-justify {
  text-align: justify;
  text-justify: inter-word;
}

.ad-slot {
  margin: 16px 0;
  min-height: 92px;
}

.ad-code {
  overflow: auto;
}

.popup-ad {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.popup-ad-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.popup-ad-card {
  position: relative;
  width: min(680px, 94vw);
  max-height: 88vh;
  overflow: auto;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  padding: 18px;
}

.popup-ad-card .ad-slot {
  margin: 0;
}

.popup-ad-card img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
}

.popup-ad-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0 10px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  margin: 6px 0 16px;
}

.share-count {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.share-btn {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  padding: 0 10px;
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.x {
  background: #111;
}

.share-btn.whatsapp {
  background: #1f9d55;
}

.share-btn.copy {
  background: #475467;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.article-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0;
}

.page-view .logo-mark {
  margin-bottom: 26px;
}

.caption {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.cms-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  background:
    radial-gradient(circle at top left, rgba(11, 93, 184, 0.13), transparent 36vw),
    linear-gradient(180deg, #f7f9fd, #eef3f9);
}

.cms-sidebar {
  background:
    linear-gradient(180deg, rgba(237, 28, 36, 0.08), transparent 26%),
    #071327;
  color: #e5eefb;
  border-right: 0;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: start;
  padding: 18px 14px;
}

.cms-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
  font-size: 22px;
}

.cms-nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 6px;
  color: #cbd8ea;
  background: transparent;
  text-align: left;
  font-weight: 700;
}

.cms-nav button span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.cms-nav button:hover,
.cms-nav button.active {
  background: linear-gradient(90deg, var(--brand), #d9151f);
  color: #fff;
}

.cms-nav button:hover span,
.cms-nav button.active span {
  background: rgba(255, 255, 255, 0.18);
}

.cms-main {
  min-width: 0;
}

.cms-topbar {
  min-height: 78px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 223, 235, 0.9);
  backdrop-filter: blur(14px);
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.cms-content {
  padding: 28px;
}

.cms-eyebrow {
  display: inline-flex;
  margin-bottom: 2px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cms-title h1 {
  margin: 0;
  font-size: 28px;
}

.cms-title p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cms-stat-grid {
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.stat-card {
  min-width: 180px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.stat-card span {
  color: var(--brand-blue);
  font-weight: 900;
}

.stat-card strong {
  color: #0b1324;
}

.panel {
  border-radius: 10px;
  border: 1px solid rgba(215, 223, 235, 0.9);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.panel-header {
  background: linear-gradient(90deg, #fff, #f8fbff);
  border-radius: 10px 10px 0 0;
}

.quick-row {
  border-radius: 8px;
}

.quick-row:hover {
  background: #f8fbff;
}
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  display: block;
  font-size: 30px;
  margin-top: 6px;
}

.stat-card p,
.status-row p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.setup-list {
  display: grid;
  gap: 12px;
}

.status-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.panel-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.panel-header h2 {
  margin: 0;
  font-size: 22px;
}

.panel-body {
  padding: 18px;
}

.toolbar {
  gap: 10px;
  flex-wrap: wrap;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid #ccd3dc;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  min-height: 42px;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.textarea-small {
  min-height: 82px;
}

.textarea-large {
  min-height: 360px;
  line-height: 1.8;
}

.multi-select {
  min-height: 166px;
}

.table-wrap {
  width: 100%;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  vertical-align: middle;
}

th {
  color: #475467;
  font-size: 13px;
  background: #f8fafc;
}

.thumb {
  width: 72px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.published,
.badge.active,
.badge.super {
  background: #e7f7ef;
  color: var(--green);
}

.badge.draft,
.badge.admin {
  background: #fff3e2;
  color: var(--amber);
}

.badge.scheduled {
  background: #e8f1ff;
  color: var(--blue);
}

.publish-help .status-help,
.byline-helper .status-help {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.publish-help .status-help p,
.byline-helper .status-help p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.byline-helper .status-help strong {
  color: #0b2c61;
  font-size: 18px;
}

.form-grid {
  align-items: flex-start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pro-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.compact-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.editor-section > header {
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  padding: 14px 16px;
}

.editor-section > header h3 {
  margin: 0;
  font-size: 18px;
}

.editor-section > header p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.editor-section > .form-grid {
  padding: 16px;
}

.sticky-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 -12px 30px rgba(16, 24, 40, 0.08);
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
  color: #344054;
  font-size: 14px;
}

.check-field {
  justify-content: center;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}

.check-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.upload-field {
  align-self: stretch;
}

.upload-preview {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.wp-media-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.media-picker-field .upload-preview {
  max-height: 260px;
  object-fit: contain;
}

.media-picker-field small {
  color: var(--muted);
}

body.media-modal-open {
  overflow: hidden;
}

.media-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 32, 0.64);
  z-index: 80;
}

.media-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 81;
  width: min(1040px, calc(100vw - 28px));
  max-height: min(86vh, 780px);
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(16, 24, 40, 0.28);
  overflow: hidden;
}

.media-modal-header,
.media-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.media-modal-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.media-modal-header span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.media-modal-header h2 {
  margin: 2px 0 0;
  font-size: 24px;
}

.media-modal-body {
  overflow: auto;
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #f8fafc;
}

.media-upload-drop {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 126px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
}

.media-upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.media-upload-drop strong {
  color: var(--brand);
  font-size: 18px;
}

.media-upload-drop span,
.media-library-head span {
  color: var(--muted);
  font-size: 13px;
}

.media-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.media-library-head h3 {
  margin: 0;
  font-size: 18px;
}

.media-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.media-modal-item {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 7px;
  background: #fff;
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
}

.media-modal-item:hover,
.media-modal-item.active {
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.16);
}

.media-modal-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: #eef2f7;
}

.media-modal-item span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-empty {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.media-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 230px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: #f8fafc;
}

.media-choice-grid button {
  display: grid;
  gap: 5px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 6px;
  color: var(--ink);
  text-align: left;
}

.media-choice-grid button.active {
  border-color: var(--brand);
}

.media-choice-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.media-choice-grid span {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seo-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seo-preview {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
}

.seo-preview strong {
  display: block;
  color: #1a0dab;
  font-size: 18px;
}

.seo-preview span {
  color: #087f5b;
  font-size: 13px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.check-grid label,
.switch-row {
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
}

.alignment-control {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.alignment-option {
  display: grid;
  grid-template-columns: auto 28px 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  padding: 10px;
  font-weight: 800;
}

.alignment-option span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #fff;
  color: var(--brand);
  font-weight: 900;
}

.alignment-option:has(input:checked) {
  border-color: var(--brand);
  background: #fff3f4;
}

.record-actions {
  gap: 8px;
  flex-wrap: wrap;
}

.record-actions.wide {
  min-width: 220px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: #eef2f7;
  color: #253044;
}

.icon-btn.danger {
  background: #fff0f0;
  color: var(--brand-dark);
}

.quick-row {
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.user-presence-row {
  align-items: flex-start;
}

.user-presence-row .badge {
  flex: 0 0 auto;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(5, 8, 15, 0.94), rgba(7, 19, 39, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(237, 28, 36, 0.28), transparent 28vw),
    radial-gradient(circle at 78% 18%, rgba(11, 93, 184, 0.34), transparent 30vw),
    url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1800&q=80") center/cover;
  padding: 20px;
}

.login-card {
  width: min(440px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  padding: 30px;
  backdrop-filter: blur(12px);
}

.login-card header {
  gap: 12px;
  margin-bottom: 18px;
}

.login-card h1 {
  margin: 0;
  font-size: 32px;
  color: #071327;
}

.login-kicker {
  display: inline-flex;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.login-help {
  background: #f5f8fc;
  border: 1px solid #dce6f2;
  border-radius: 6px;
  padding: 12px;
  color: #526070;
  font-size: 14px;
  line-height: 1.55;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #101828;
  color: #fff;
  padding: 12px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  z-index: 50;
}

.hidden {
  display: none !important;
}

.top-strip a:hover,
.footer a:hover,
.story-card a:hover,
.home-feature-card a:hover,
.home-list-item a:hover,
.home-small-card a:hover,
.side-item a:hover {
  color: var(--brand);
}

.site-search {
  justify-self: end;
  width: 100%;
  max-width: 300px;
}

.site-search .input {
  min-width: 0;
}

.home-grid > section {
  min-width: 0;
}

.story-card,
.home-feature-card,
.home-list-stack,
.home-small-card,
.side-list,
.main-news-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.story-card:hover,
.home-feature-card:hover,
.home-small-card:hover {
  border-color: rgba(11, 93, 184, 0.35);
}

.cms-shell {
  background:
    radial-gradient(circle at top right, rgba(215, 25, 32, 0.06), transparent 32vw),
    #f3f6fa;
}

.cms-sidebar {
  box-shadow: 12px 0 34px rgba(16, 24, 40, 0.12);
}

.cms-brand {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.cms-topbar {
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
}

.panel,
.stat-card,
.login-card {
  border-color: #dde3eb;
}

.login-card {
  border: 1px solid rgba(255, 255, 255, 0.46);
}

@media (max-width: 960px) {
  .brand-row,
  .home-grid,
  .category-stream,
  .article-layout,
  .cms-shell {
    display: block;
  }

  .main-brand-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu-button {
    display: inline-flex;
  }

  .brand-center {
    align-items: center;
  }

  .site-search {
    grid-column: 3;
    grid-row: 1;
    margin-top: 0;
    max-width: none;
    width: 100%;
  }

  .brand-center {
    grid-column: 2;
    grid-row: 1;
  }

  .menu-button {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin-top: 0;
  }

  .home-grid {
    margin-top: 16px;
  }

  .sidha-main-news {
    grid-template-columns: 1fr;
  }

  .brand-clock {
    width: 100%;
    border-radius: 8px;
    font-size: 12px;
    padding: 6px 10px;
  }

  .logo-only .logo-box {
    max-width: min(220px, 58vw);
  }

  .desktop-logo-render {
    display: none;
  }

  .mobile-logo-render {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .logo-only .mobile-logo-box {
    width: min(124px, 42vw);
    height: 44px;
    max-width: min(124px, 42vw);
    min-width: 0;
    border-radius: 8px;
  }

  .logo-only .logo-image img {
    max-width: min(220px, 58vw);
    max-height: 48px;
  }

  .logo-only .mobile-logo-box.logo-image img {
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
  }

  .logo-only .logo-fallback {
    width: min(250px, 62vw);
    height: 62px;
  }

  .nav-wrap {
    display: block;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: min(360px, 88vw);
    height: 100dvh;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    border-top: 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    box-shadow: 24px 0 50px rgba(16, 24, 40, 0.18);
  }

  .nav-wrap.open {
    transform: translateX(0);
  }

  .nav-wrap.nav-pinned:not(.open) {
    position: sticky;
    inset: auto;
    top: 0;
    z-index: 62;
    width: 100%;
    height: auto;
    min-height: 48px;
    overflow: visible;
    transform: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
  }

  .nav-wrap.nav-pinned:not(.open) .nav-drawer-head {
    display: none;
  }

  .nav-drawer-head {
    width: auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav-row {
    width: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding: 0;
    gap: 6px;
  }

  .nav-inner {
    display: block;
    padding: 8px 14px 24px;
  }

  .nav-wrap .pin-logo,
  .nav-wrap.nav-pinned .pin-logo {
    display: none;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo {
    display: inline-flex;
    width: 42px;
    overflow: hidden;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-row {
    flex-direction: row;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-row::-webkit-scrollbar {
    display: none;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-link {
    min-width: max-content;
    padding: 11px 10px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    font-size: 14px;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-dropdown {
    width: auto;
    flex: 0 0 auto;
  }

  .nav-link {
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    justify-content: space-between;
    text-align: left;
    font-size: 15px;
    line-height: 1.35;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-more {
    width: 100%;
    text-align: left;
  }

  .nav-wrap.open .nav-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-wrap.open .nav-more::after {
    content: "+";
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-weight: 900;
  }

  .nav-wrap.open .nav-dropdown.open > .nav-more::after {
    content: "-";
    background: var(--brand);
    color: #fff;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 8px 0 8px 12px;
  }

  .nav-dropdown-menu.mega-menu {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .nav-dropdown.open .nav-menu-title {
    display: block;
    margin: 0 0 4px;
    padding-left: 8px;
    border-bottom: 0;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu .nav-link {
    padding: 10px 8px;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 14px;
    border-color: #e2e8f0;
  }

  .nav-wrap.open .nav-dropdown-menu {
    margin-top: 6px;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    gap: 6px;
  }

  .nav-wrap.open .nav-dropdown-menu .nav-link {
    padding: 11px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  .ad-leaderboard {
    width: 100%;
    margin-top: 16px;
  }

  .side-panel {
    position: static;
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-sidebar {
    position: static;
    margin-top: 20px;
  }

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

  .province-grid,
  .video-grid,
  .photo-strip,
  .split-section,
  .dashboard-grid,
  .tool-grid,
  .home-news-layout,
  .lead-support-grid,
  .home-news-with-latest,
  .split-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-news-with-latest {
    grid-template-columns: 1fr;
  }

  .newsroom-lead-card {
    grid-template-columns: 1fr;
  }

  .newsroom-text-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-text-item:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .home-text-item:nth-child(2n) {
    border-right: 0;
  }

  .home-text-item:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .home-latest-side {
    position: static;
  }

  .home-feature-card {
    grid-column: 1 / -1;
  }

  .main-news-card h2 {
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.2;
  }

  .cms-sidebar {
    position: static;
    min-height: auto;
  }

  .cms-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .top-strip .container,
  .cms-topbar,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-strip .container {
    gap: 8px;
    padding: 8px 0;
  }

  .brand-row {
    padding: 10px 0 8px;
    gap: 8px;
  }

  .site-search {
    display: flex;
    justify-content: flex-end;
    grid-template-columns: none;
  }

  .site-search .btn {
    width: 42px;
    min-width: 42px;
    min-height: 40px;
    padding: 0;
    font-size: 0;
    border-radius: 999px;
  }

  .site-search .btn::before {
    content: "⌕";
    font-size: 24px;
    line-height: 1;
  }

  .site-search .input {
    display: none;
  }

  .site-search .btn::before {
    content: "";
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 999px;
    box-shadow: 8px 8px 0 -6px currentColor;
    transform: translate(-2px, -2px);
  }

  body.mobile-search-open .main-brand-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  body.mobile-search-open .brand-center {
    display: none;
  }

  body.mobile-search-open .site-search {
    grid-column: 2;
    justify-content: stretch;
    gap: 8px;
  }

  body.mobile-search-open .site-search .input {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
  }

  .mini-links {
    gap: 10px;
  }

  .trend-row {
    align-items: flex-start;
    margin-top: 12px;
    padding: 8px;
  }

  .trend-label {
    padding: 6px 8px;
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .sidha-main-news,
  .latest-strip-grid,
  .form-grid,
  .check-grid,
  .alignment-control,
  .seo-grid,
  .media-choice-grid,
  .article-gallery,
  .province-grid,
  .video-grid,
  .photo-strip,
  .split-section,
  .dashboard-grid,
  .tool-grid,
  .home-news-layout,
  .lead-support-grid,
  .home-news-with-latest,
  .split-category-row,
  .reporter-layout {
    grid-template-columns: 1fr;
  }

  .newsroom-text-grid {
    grid-template-columns: 1fr;
  }

  .home-text-item,
  .home-text-item:nth-child(2n),
  .home-text-item:nth-child(3n),
  .home-text-item:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-text-item:last-child {
    border-bottom: 0;
  }

  .newsroom-lead-card > div {
    padding: 18px;
  }

  .main-news-card:first-child {
    text-align: center;
    padding-top: 4px;
  }

  .main-news-card:first-child h2 {
    font-size: clamp(28px, 9.4vw, 38px);
    line-height: 1.18;
  }

  .lead-support-card {
    grid-template-columns: 96px 1fr;
  }

  .lead-support-card img {
    width: 96px;
    height: 76px;
  }

  .home-list-item {
    grid-template-columns: 96px 1fr;
  }

  .home-feature-card h2 {
    font-size: 24px;
  }

  .main-news-card h2 {
    font-size: clamp(22px, 6.8vw, 30px);
    line-height: 1.22;
  }

  .main-news-card img {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
  }

  .category-home-grid .lead-story img {
    aspect-ratio: 16 / 9;
  }

  .category-title-bar h1 {
    font-size: clamp(27px, 7vw, 36px);
    line-height: 1.22;
  }

  .article-view article {
    font-size: 18px;
    line-height: 1.85;
  }

  .article-view .article-body {
    font-size: 18px;
    line-height: 1.85;
  }

  .sidha-main-news {
    gap: 24px;
  }

  .reporter-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .reporter-hero strong {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .reporter-side {
    position: static;
  }

  .home-news-block {
    margin-top: 20px;
  }

  .home-list-stack,
  .side-list {
    box-shadow: none;
  }

  .section-title {
    align-items: flex-end;
    margin: 24px 0 14px;
  }

  .section-title h3 {
    font-size: 17px;
    padding: 8px 10px;
  }

  .side-panel {
    grid-template-columns: 1fr;
  }

  .side-item {
    grid-template-columns: 84px 1fr;
  }

  .side-item img {
    width: 84px;
    height: 66px;
  }

  .cms-content {
    padding: 14px;
  }

  .media-modal {
    width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }

  .media-modal-header,
  .media-modal-footer,
  .media-modal-body {
    padding: 14px;
  }

  .media-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.custom-top-section {
  margin-top: 24px;
}

.custom-top-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.custom-top-card {
  min-width: 0;
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.custom-top-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.custom-top-card h4 {
  margin: 0;
  padding: 12px;
  color: #0b2c61;
  font-size: 20px;
  line-height: 1.32;
}

.custom-top-text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.newsroom-main-text-grid {
  margin-top: 2px;
}

.balanced-news-section .section-title,
.custom-top-section .section-title,
.home-news-block .section-title {
  margin-bottom: 12px;
}

.balanced-lead-card,
.home-feature-card,
.custom-top-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.balanced-lead-card:hover,
.home-feature-card:hover,
.custom-top-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

@media (max-width: 960px) {
  .custom-top-card-row,
  .custom-top-text-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .custom-top-section,
  .home-news-block,
  .split-category-row {
    margin-top: 18px;
  }

  .custom-top-card-row,
  .custom-top-text-grid {
    grid-template-columns: 1fr;
  }

  .custom-top-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .custom-top-card img {
    height: 100%;
    min-height: 96px;
    aspect-ratio: auto;
  }

  .custom-top-card h4 {
    align-self: center;
    padding: 10px;
    font-size: 16px;
  }

  .newsroom-main-text-grid {
    display: grid;
  }
}

.maintenance-page {
  --maintenance-bg-color: #0f172a;
  --maintenance-bg-image: none;
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background: var(--maintenance-bg-color);
  background-image: var(--maintenance-bg-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.maintenance-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.86), rgba(15, 23, 42, 0.78));
  backdrop-filter: blur(2px);
}

.maintenance-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding: clamp(22px, 4vw, 40px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  text-align: center;
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.3);
}

.maintenance-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.maintenance-card h1 {
  margin: 0;
  font-size: clamp(26px, 5.4vw, 42px);
  line-height: 1.15;
}

.maintenance-card p {
  margin: 12px auto 0;
  max-width: 58ch;
}

.maintenance-eta,
.maintenance-countdown {
  font-weight: 700;
  color: #be123c;
}

.maintenance-links {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.maintenance-links a {
  text-decoration: none;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  border-radius: 999px;
}

.rich-editor-field {
  position: relative;
  --editor-border: #d8dee8;
}

.rich-toolbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--editor-border);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.rich-toolbar .icon-btn {
  width: auto;
  min-width: 34px;
  height: 32px;
  padding: 0 9px;
  font-size: 12px;
  border: 1px solid #d9e1ec;
  background: #fff;
  color: #111827;
}

.rich-toolbar .icon-btn:hover,
.rich-toolbar .rich-upload:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.rich-select,
.rich-color {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.rich-select {
  padding: 0 8px;
  max-width: 150px;
}

.rich-color {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  cursor: pointer;
}

.rich-color input {
  width: 24px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
}

.rich-editor,
.rich-html-view {
  min-height: 360px;
  width: 100%;
  border: 1px solid var(--editor-border);
  border-radius: 0 0 6px 6px;
  padding: 16px;
  background: #fff;
  line-height: 1.9;
  outline: none;
  overflow: auto;
  font-family: "Noto Sans Devanagari", Inter, system-ui, sans-serif;
}

.rich-editor:empty::before {
  content: attr(data-placeholder);
  color: #98a2b3;
}

.rich-editor figure {
  margin: 18px 0;
}

.rich-editor figure img,
.article-body figure img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 6px;
  margin: 0 auto 8px;
}

.article-body > img,
.article-body p > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 18px 0;
  border-radius: 6px;
}

.rich-editor figcaption,
.article-body figcaption {
  color: var(--muted);
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-top: 6px;
  text-align: center !important;
  text-align-last: center;
}

.rich-editor blockquote,
.article-body blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--brand);
  background: #fff7f7;
  font-weight: 700;
}

.rich-editor pre,
.article-body pre {
  overflow-x: auto;
  padding: 14px;
  border-radius: 6px;
  background: #0f172a;
  color: #f8fafc;
}

.rich-editor iframe,
.article-body iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
}

.rich-editor table,
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.rich-editor td,
.rich-editor th,
.article-body td,
.article-body th {
  border: 1px solid var(--line);
  padding: 8px;
}

.responsive-table,
.article-body .responsive-table {
  overflow-x: auto;
  max-width: 100%;
}

.editor-button {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
}

.rich-editor-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 8px 2px 0;
  color: var(--muted);
}

.rich-fullscreen {
  position: fixed;
  inset: 16px;
  z-index: 100;
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
}

.rich-fullscreen .rich-editor,
.rich-fullscreen .rich-html-view {
  min-height: calc(100vh - 170px);
}

.related-news {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.related-card img {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.related-card span {
  color: var(--muted);
  font-size: 13px;
}

.related-card h4 {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.category-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .maintenance-card {
    border-radius: 12px;
    padding: 18px 14px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .related-card img {
    width: 96px;
  }

  .category-support-grid {
    grid-template-columns: 1fr;
  }

  .rich-toolbar {
    gap: 5px;
    max-height: 176px;
    overflow: auto;
  }

  .rich-select {
    max-width: 112px;
    flex: 1 1 104px;
  }

  .rich-toolbar .icon-btn {
    min-width: 36px;
    padding: 0 7px;
  }

  .rich-editor,
  .rich-html-view {
    min-height: 300px;
    padding: 12px;
  }
}

.newsroom-lead-card {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid rgba(215, 223, 235, 0.96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.newsroom-lead-card > a {
  display: block;
  min-height: 280px;
}

.newsroom-lead-card > a img,
.newsroom-lead-card img {
  min-height: 280px;
  height: 100%;
  object-fit: cover;
}

.newsroom-lead-card > div {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  padding: 26px;
}

.newsroom-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-photo-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.home-photo-item > a {
  display: block;
  min-height: 124px;
}

.home-photo-item img {
  width: 100%;
  height: 100%;
  min-height: 124px;
  object-fit: cover;
}

.home-photo-item > div {
  min-width: 0;
  padding: 12px 12px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-photo-item span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.home-photo-item h4 {
  margin: 5px 0 0;
  color: #0b2c61;
  font-size: 18px;
  line-height: 1.32;
}

.home-photo-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .newsroom-lead-card,
  .newsroom-photo-grid {
    grid-template-columns: 1fr;
  }

  .home-photo-item {
    grid-template-columns: 1fr;
  }

  .home-photo-item > div {
    padding: 12px;
  }
}

@media (max-width: 640px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: none !important;
  }

  .newsroom-lead-card > a,
  .newsroom-lead-card > a img,
  .newsroom-lead-card img {
    min-height: 190px;
  }

  .newsroom-lead-card > div {
    padding: 18px;
  }

  .home-photo-item {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .home-photo-item > a,
  .home-photo-item img {
    min-height: 96px;
  }

  .home-photo-item > div {
    padding: 10px 10px 10px 0;
  }

  .home-photo-item h4 {
    font-size: 16px;
  }
}

.pagination-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 4px;
}

.pagination-row a {
  min-width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #0b2c61;
  font-weight: 900;
}

.pagination-row a.active,
.pagination-row a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.category-card-grid .story-card {
  height: 100%;
}

.balanced-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 16px;
  align-items: stretch;
}

.balanced-lead-card {
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.balanced-lead-card img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
}

.balanced-lead-card > div {
  padding: 15px;
}

.balanced-lead-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.balanced-lead-card h2 {
  margin: 6px 0 0;
  color: #0b2c61;
  font-size: clamp(24px, 2.5vw, 31px);
  line-height: 1.22;
}

.balanced-lead-card p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.balanced-side-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.balanced-side-list .home-photo-item {
  grid-template-columns: 118px minmax(0, 1fr);
}

.balanced-side-list .home-photo-item > a,
.balanced-side-list .home-photo-item img {
  min-height: 104px;
}

@media (max-width: 960px) {
  .balanced-news-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 18px, 1180px);
  }

  .ranking-inner {
    min-height: 62px;
    gap: 12px;
  }

  .main-news-card {
    padding: 10px;
  }

  .main-news-card h2 {
    font-size: clamp(23px, 7.4vw, 31px);
  }

  .special-meta {
    gap: 7px;
    margin-bottom: 10px;
  }

  .special-excerpt {
    font-size: 15px;
    line-height: 1.55;
  }

  .balanced-side-list {
    grid-template-columns: 1fr;
  }

  .balanced-side-list .home-photo-item {
    grid-template-columns: 108px minmax(0, 1fr);
  }
}

.news-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 auto 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(237, 28, 36, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.opinion-category-block {
  display: grid;
  gap: 12px;
}

.opinion-lead-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.opinion-lead-card > a {
  display: block;
  min-height: 230px;
  overflow: hidden;
}

.opinion-lead-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.opinion-lead-card > div {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.opinion-lead-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.opinion-lead-card h4 {
  margin: 6px 0 0;
  color: #0b2c61;
  font-size: 24px;
  line-height: 1.28;
}

.opinion-lead-card p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.opinion-photo-list {
  display: grid;
  gap: 10px;
}

@media (max-width: 960px) {
  .opinion-lead-card {
    grid-template-columns: 1fr;
  }

  .opinion-lead-card > div {
    padding: 14px;
  }
}

@media (max-width: 640px) {
  .opinion-lead-card {
    display: block;
  }

  .opinion-lead-card > a,
  .opinion-lead-card img {
    min-height: 190px;
  }

  .opinion-lead-card > div {
    padding: 13px;
  }

  .opinion-lead-card h4 {
    font-size: 21px;
  }

  .opinion-lead-card p {
    display: block;
  }
}

.magazine-category-block {
  display: grid;
  gap: 12px;
}

.magazine-lead-card {
  position: relative;
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.magazine-lead-card > a,
.magazine-lead-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.magazine-lead-card img {
  object-fit: cover;
  opacity: 0.82;
}

.magazine-lead-card > div {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.92));
}

.magazine-lead-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.magazine-lead-card h4 {
  margin: 9px 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.magazine-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.magazine-small-card {
  min-width: 0;
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.magazine-small-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.magazine-small-card h4 {
  margin: 0;
  padding: 10px;
  color: #0b2c61;
  font-size: 16px;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .magazine-lead-card,
  .magazine-lead-card > a,
  .magazine-lead-card img {
    min-height: 220px;
  }

  .magazine-card-grid {
    grid-template-columns: 1fr;
  }

  .magazine-small-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .magazine-small-card img {
    height: 100%;
    min-height: 88px;
    aspect-ratio: auto;
  }

  .magazine-small-card h4 {
    align-self: center;
  }
}

@media (max-width: 960px) {
  .nav-wrap.open {
    background: #05080f;
    color: #fff;
    overflow-x: hidden;
  }

  .nav-wrap.open .nav-inner,
  .nav-wrap.open .nav-row,
  .nav-wrap.open .nav-dropdown,
  .nav-wrap.open .nav-dropdown-menu {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav-wrap.open .nav-link,
  .nav-wrap.open .nav-more {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    background: #10151f;
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.25;
  }

  .nav-wrap.open .nav-dropdown-menu {
    display: none;
    margin: 6px 0 8px;
    padding: 7px 0 7px 12px;
    border-left: 2px solid rgba(11, 93, 184, 0.72);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 5px;
  }

  .nav-wrap.open .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }

  .nav-wrap.open .nav-dropdown-menu .nav-menu-title {
    display: none;
  }

  .nav-wrap.open .nav-dropdown-menu .nav-link,
  .nav-wrap.open .nav-dropdown-menu.mega-menu .nav-link {
    min-height: 38px;
    height: auto;
    max-height: none;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 6px;
    background: #0b111b;
    color: #dbe7f8;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
  }

  .nav-wrap.open .nav-dropdown-menu .nav-link:empty {
    display: none;
  }

  .nav-wrap.open .nav-dropdown-menu .nav-link:hover,
  .nav-wrap.open .nav-dropdown-menu .nav-link.active {
    color: #fff;
    border-color: rgba(11, 93, 184, 0.72);
    background: rgba(11, 93, 184, 0.22);
  }

  .nav-wrap.open .nav-more::after {
    flex: 0 0 24px;
  }

  .nav-wrap.open .nav-dropdown.open > .nav-more {
    border-color: rgba(237, 28, 36, 0.72);
    background: #141b28;
  }
}

.article-subtitle {
  margin: 6px 0 12px;
  color: #4b5563;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
  font-weight: 700;
}

.home-text-update-list {
  display: grid;
  gap: 10px;
}

.home-update-stack {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.home-update-stack .home-text-item {
  border-right: 0;
}

.video-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.video-feature-card {
  min-width: 0;
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.video-feature-card > a {
  position: relative;
  display: block;
}

.video-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(237, 28, 36, 0.94);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.24);
}

.video-feature-card h4 {
  margin: 0;
  padding: 11px;
  color: #0b2c61;
  font-size: 17px;
  line-height: 1.35;
}

.reporter-layout-clean {
  display: block;
}

.reporter-layout-clean .news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .video-feature-grid,
  .reporter-layout-clean .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    transform: none !important;
    overflow: hidden !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #05080f !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16) !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-drawer-head {
    display: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 46px !important;
    padding: 0 10px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo {
    display: inline-flex !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    overflow: hidden !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo .logo-box {
    width: 54px !important;
    height: 30px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo img {
    max-width: 54px !important;
    max-height: 30px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-link {
    min-width: max-content !important;
    min-height: 36px !important;
    padding: 9px 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f8fafc !important;
    font-size: 13px !important;
  }

  .video-feature-grid,
  .reporter-layout-clean .news-grid {
    grid-template-columns: 1fr;
  }

  .main-news-card h2 {
    order: 1;
    margin-top: 0;
  }

  .main-news-card .special-meta {
    order: 2;
  }

  .main-news-card > a {
    order: 3;
  }

  .main-news-card .special-excerpt,
  .main-news-card .caption {
    order: 4;
  }
}

@media (max-width: 960px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .cms-shell {
    display: block;
    min-height: 100vh;
    background: #eef3f9;
  }

  .cms-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: auto;
    padding: 10px 12px 12px;
    border-right: 0;
    box-shadow: 0 14px 30px rgba(7, 19, 39, 0.18);
  }

  .cms-brand {
    min-height: 42px;
    padding: 0 4px 9px;
    font-size: 18px;
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .cms-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-height: 176px;
    overflow: auto;
    padding-top: 10px;
    scrollbar-width: thin;
  }

  .cms-nav button {
    min-width: 0;
    min-height: 72px;
    display: grid;
    grid-template-rows: 30px auto;
    place-items: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #e5eefb;
    text-align: center;
    font-size: 12px;
    line-height: 1.15;
  }

  .cms-nav button span {
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .cms-nav button:hover,
  .cms-nav button.active {
    background: #fff;
    color: var(--brand);
  }

  .cms-nav button:hover span,
  .cms-nav button.active span {
    background: var(--brand);
    color: #fff;
  }

  .cms-topbar {
    position: static;
    display: grid;
    gap: 12px;
    padding: 16px 14px 12px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .cms-title h1 {
    font-size: 25px;
  }

  .cms-title p {
    font-size: 14px;
  }

  .cms-topbar .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .cms-topbar .btn {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    justify-content: center;
    text-align: center;
  }

  .cms-content {
    padding: 14px;
  }

  .cms-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-card {
    min-width: 0;
    border-radius: 8px;
    padding: 14px;
  }

  .stat-card strong {
    font-size: 25px;
  }

  .panel {
    border-radius: 8px;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .panel-header,
  .panel-body {
    padding: 14px;
  }

  .special-widget-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 8px;
    align-items: center;
    padding: 12px 0;
  }

  .special-widget-row strong {
    min-width: 0;
    line-height: 1.35;
  }

  .special-widget-row .btn.compact,
  .special-widget-row .icon-btn {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .toolbar .input {
    min-width: 0;
    width: 100%;
  }

  .record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .table-wrap {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
}

@media (max-width: 640px) {
  .cms-sidebar {
    padding: 8px 10px 10px;
  }

  .cms-brand {
    font-size: 17px;
  }

  .cms-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 164px;
    gap: 7px;
  }

  .cms-nav button {
    min-height: 66px;
    font-size: 11px;
  }

  .cms-content {
    padding: 10px;
  }

  .cms-topbar {
    padding: 14px 10px 12px;
  }

  .cms-topbar .button-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    padding: 12px;
  }

  .stat-card span {
    font-size: 12px;
  }

  .stat-card strong {
    font-size: 23px;
  }

  .dashboard-grid,
  .tool-grid,
  .form-grid,
  .compact-form-grid {
    grid-template-columns: 1fr;
  }

  .special-widget-row {
    grid-template-columns: 1fr repeat(3, 38px);
    gap: 7px;
  }

  .special-widget-row .btn.compact,
  .special-widget-row .icon-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .special-widget-row .btn.compact {
    font-size: 11px;
  }

  .panel-header h2 {
    font-size: 20px;
  }

  .panel-body {
    padding: 12px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar .btn {
    width: 100%;
  }

  table {
    min-width: 640px;
  }
}

@media (max-width: 640px) {
  .nav-wrap.nav-pinned:not(.open) {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    transform: none !important;
    overflow: hidden !important;
    background: #05080f !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16) !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-drawer-head {
    display: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 46px !important;
    padding: 0 10px !important;
  }

  .nav-wrap.nav-pinned:not(.open) .pin-logo {
    display: inline-flex !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    overflow: hidden !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .nav-wrap.nav-pinned:not(.open) .nav-link {
    min-width: max-content !important;
    min-height: 36px !important;
    padding: 9px 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: #f8fafc !important;
    font-size: 13px !important;
  }
}

@media (max-width: 640px) {
  body .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: grid !important;
    grid-template-columns: 42px 1fr 42px !important;
    justify-items: center !important;
    align-items: center !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-logo,
  body .nav-wrap.nav-pinned:not(.open) .nav-row,
  body .nav-wrap.nav-pinned:not(.open) .nav-link,
  body .nav-wrap.nav-pinned:not(.open) .nav-dropdown {
    display: none !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-action {
    display: inline-grid !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo {
    display: flex !important;
  }
}

/* Doko72 final video section heading guard */
.video-feature-section .section-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid rgba(11, 93, 184, 0.18) !important;
}

.video-feature-section .section-title h3 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  color: var(--brand) !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.video-feature-section .section-title h3::before {
  content: "?";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
}

/* Doko73 main update title belongs inside lead card only */
.custom-editorial-section > .section-title {
  display: none !important;
}

.custom-editorial-badge {
  background: var(--brand) !important;
  color: #fff !important;
}

/* Doko74 main update lead card polish */
.custom-editorial-lead {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18) !important;
}

.custom-editorial-lead::after {
  display: block !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.26) 48%, rgba(0, 0, 0, 0.78) 100%) !important;
}

.custom-editorial-lead img {
  filter: saturate(1.03) contrast(1.02) !important;
}

.custom-editorial-lead h2 {
  left: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
  display: block !important;
  max-width: calc(100% - 48px) !important;
  padding: 14px 18px 16px !important;
  border-left: 6px solid var(--brand) !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--brand) !important;
  text-shadow: none !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22) !important;
}

.custom-editorial-lead h2 a {
  color: var(--brand) !important;
}

.custom-editorial-badge {
  box-shadow: 0 12px 28px rgba(11, 93, 184, 0.26) !important;
}

@media (max-width: 640px) {
  .custom-editorial-lead h2 {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    max-width: calc(100% - 20px) !important;
    padding: 10px 12px 12px !important;
    border-left-width: 4px !important;
    font-size: 21px !important;
    line-height: 1.32 !important;
  }
}

/* Doko74 video title should match normal section titles */
.video-feature-section .section-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 16px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.video-feature-section .section-title h3 {
  display: block !important;
  margin: 0 !important;
  color: var(--brand) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.video-feature-section .section-title h3::before {
  content: none !important;
  display: none !important;
}

.video-feature-section .section-title a {
  color: var(--muted) !important;
  font-weight: 900 !important;
}

/* Doko75 video heading only: match normal section heading */
.video-feature-section .section-title.newsroom-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.video-feature-section .section-title.newsroom-title h3 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--brand) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
}

.video-feature-section .section-title.newsroom-title h3::before,
.video-feature-section .section-title.newsroom-title h3::after {
  content: none !important;
  display: none !important;
}

/* Doko78: visible main-update title and consistent section heads */
.custom-editorial-lead::after {
  display: block !important;
  z-index: 1 !important;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.18) 46%,
    rgba(0, 0, 0, 0.78) 72%,
    rgba(0, 0, 0, 0.92) 100%
  ) !important;
}

.custom-editorial-lead h2 {
  z-index: 3 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.96), 0 12px 30px rgba(0, 0, 0, 0.96) !important;
  opacity: 1 !important;
  visibility: visible !important;
  mix-blend-mode: normal !important;
}

.custom-editorial-lead h2 a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.home-news-block:not(.business-feature-section):not(.custom-editorial-section) > .section-title,
.home-news-primary > .section-title,
.triple-category-row .section-title,
.split-category-row .section-title,
.balanced-news-section > .section-title,
.province-matrix-section > .section-title,
.video-feature-section > .section-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.home-news-block:not(.business-feature-section):not(.custom-editorial-section) > .section-title h3,
.home-news-primary > .section-title h3,
.triple-category-row .section-title h3,
.split-category-row .section-title h3,
.balanced-news-section > .section-title h3,
.province-matrix-section > .section-title h3,
.video-feature-section > .section-title h3 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--brand) !important;
  -webkit-text-fill-color: var(--brand) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.home-news-block:not(.business-feature-section):not(.custom-editorial-section) > .section-title h3::before,
.home-news-block:not(.business-feature-section):not(.custom-editorial-section) > .section-title h3::after,
.home-news-primary > .section-title h3::before,
.home-news-primary > .section-title h3::after,
.triple-category-row .section-title h3::before,
.triple-category-row .section-title h3::after,
.split-category-row .section-title h3::before,
.split-category-row .section-title h3::after,
.balanced-news-section > .section-title h3::before,
.balanced-news-section > .section-title h3::after,
.province-matrix-section > .section-title h3::before,
.province-matrix-section > .section-title h3::after,
.video-feature-section > .section-title h3::before,
.video-feature-section > .section-title h3::after {
  content: none !important;
  display: none !important;
}

.home-news-block:not(.business-feature-section):not(.custom-editorial-section) > .section-title a,
.home-news-primary > .section-title a,
.triple-category-row .section-title a,
.split-category-row .section-title a,
.balanced-news-section > .section-title a,
.province-matrix-section > .section-title a,
.video-feature-section > .section-title a {
  color: var(--muted) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

@media (max-width: 640px) {
  .home-news-block:not(.business-feature-section):not(.custom-editorial-section) > .section-title h3,
  .home-news-primary > .section-title h3,
  .triple-category-row .section-title h3,
  .split-category-row .section-title h3,
  .balanced-news-section > .section-title h3,
  .province-matrix-section > .section-title h3,
  .video-feature-section > .section-title h3 {
    font-size: 24px !important;
  }
}

.video-feature-section .section-title.newsroom-title a {
  display: inline-flex !important;
  align-items: center !important;
  color: var(--muted) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

@media (max-width: 640px) {
  .video-feature-section .section-title.newsroom-title h3 {
    font-size: 24px !important;
  }
}

/* Doko76 main update title: no white panel, white text with shadow */
.custom-editorial-lead h2 {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.55), 0 12px 28px rgba(0, 0, 0, 0.86) !important;
  box-shadow: none !important;
}

.custom-editorial-lead h2 a {
  color: #fff !important;
}

/* Doko77 video card headline visibility fix */
.video-feature-card {
  position: relative !important;
  overflow: hidden !important;
}

.video-feature-card::after {
  z-index: 1 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.3) 48%, rgba(0, 0, 0, 0.86) 100%) !important;
}

.video-feature-card h4 {
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 16px !important;
  z-index: 3 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.32 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.88) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.video-feature-card h4 a {
  color: #fff !important;
  text-shadow: inherit !important;
}

.video-play-button {
  z-index: 4 !important;
}

/* Doko77 video section title text must be visible */
.video-feature-section .section-title,
.video-feature-section .section-title.newsroom-title {
  min-height: 0 !important;
  background: transparent !important;
}

.video-feature-section .section-title h3,
.video-feature-section .section-title.newsroom-title h3 {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--brand) !important;
  -webkit-text-fill-color: var(--brand) !important;
  text-indent: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
}

.video-feature-section .section-title h3::before,
.video-feature-section .section-title h3::after,
.video-feature-section .section-title.newsroom-title h3::before,
.video-feature-section .section-title.newsroom-title h3::after {
  content: none !important;
  display: none !important;
}

/* Doko79 main update headline outside image */
.custom-editorial-lead {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  min-height: 0 !important;
  background: #fff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.custom-editorial-lead > a {
  display: block !important;
  position: relative !important;
  min-height: 420px !important;
  overflow: hidden !important;
}

.custom-editorial-lead > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.22));
  pointer-events: none;
}

.custom-editorial-lead img {
  min-height: 420px !important;
  height: 100% !important;
  opacity: 1 !important;
}

.custom-editorial-lead::after {
  display: none !important;
}

.custom-editorial-title-panel {
  position: static !important;
  z-index: 2 !important;
  padding: 16px 18px 18px !important;
  background: #fff !important;
  border-top: 1px solid rgba(215, 223, 235, 0.95) !important;
}

.custom-editorial-title-panel h2,
.custom-editorial-lead h2 {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--brand) !important;
  -webkit-text-fill-color: var(--brand) !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.25 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.custom-editorial-title-panel h2 a,
.custom-editorial-lead h2 a {
  color: var(--brand) !important;
  -webkit-text-fill-color: var(--brand) !important;
}

@media (max-width: 640px) {
  .custom-editorial-lead > a,
  .custom-editorial-lead img {
    min-height: 220px !important;
  }

  .custom-editorial-title-panel {
    padding: 12px 12px 14px !important;
  }

  .custom-editorial-title-panel h2,
  .custom-editorial-lead h2 {
    font-size: 22px !important;
    line-height: 1.34 !important;
  }
}

/* Doko79 sports section polish */
.balanced-news-section {
  border-radius: 8px !important;
  background: #f8fbff !important;
  border: 1px solid rgba(215, 223, 235, 0.95) !important;
}

.balanced-news-layout {
  align-items: stretch !important;
}

.balanced-lead-card {
  overflow: hidden !important;
  border: 1px solid rgba(215, 223, 235, 0.95) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08) !important;
}

.balanced-lead-card img {
  width: 100% !important;
  aspect-ratio: 1.75 !important;
  object-fit: cover !important;
}

.balanced-lead-card > div {
  padding: 14px !important;
}

.balanced-lead-card h2 {
  margin: 6px 0 6px !important;
  color: #10233f !important;
  font-size: 28px !important;
  line-height: 1.28 !important;
}

.balanced-side-list {
  display: grid !important;
  gap: 12px !important;
}

.balanced-side-list .home-photo-item {
  border-radius: 8px !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.055) !important;
}

@media (max-width: 640px) {
  .balanced-news-section {
    padding: 12px !important;
  }

  .balanced-lead-card h2 {
    font-size: 22px !important;
    line-height: 1.32 !important;
  }

  .balanced-lead-card p {
    font-size: 14px !important;
  }

  .balanced-side-list .home-photo-item {
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }

  .balanced-side-list .home-photo-item > a,
  .balanced-side-list .home-photo-item img {
    min-height: 88px !important;
  }

  .balanced-side-list .home-photo-item h4 {
    font-size: 15px !important;
  }
}

/* Doko80 main update headline overlay like magazine lead */
.custom-editorial-lead {
  display: block !important;
  position: relative !important;
  min-height: 500px !important;
  background: #050505 !important;
}

.custom-editorial-lead > a {
  display: block !important;
  min-height: 500px !important;
}

.custom-editorial-lead > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.18) 48%, rgba(0,0,0,0.72) 82%, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
}

.custom-editorial-lead img {
  min-height: 500px !important;
  height: 100% !important;
  opacity: 0.96 !important;
}

.custom-editorial-title-panel {
  position: absolute !important;
  left: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 3 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.custom-editorial-title-panel h2,
.custom-editorial-lead h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: clamp(30px, 3.1vw, 44px) !important;
  line-height: 1.24 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.92), 0 14px 32px rgba(0,0,0,0.96) !important;
}

.custom-editorial-title-panel h2 a,
.custom-editorial-lead h2 a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

@media (max-width: 640px) {
  .custom-editorial-lead,
  .custom-editorial-lead > a,
  .custom-editorial-lead img {
    min-height: 270px !important;
  }

  .custom-editorial-title-panel {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
  }

  .custom-editorial-title-panel h2,
  .custom-editorial-lead h2 {
    font-size: 22px !important;
    line-height: 1.34 !important;
  }
}

/* Doko81 main update sizing closer to reference screenshot */
.custom-editorial-lead,
.custom-editorial-lead > a,
.custom-editorial-lead img {
  min-height: 400px !important;
  max-height: 400px !important;
}

.custom-editorial-scroll-list {
  max-height: 400px !important;
}

.custom-editorial-title-panel h2,
.custom-editorial-lead h2 {
  font-size: clamp(27px, 2.55vw, 36px) !important;
}

.custom-editorial-layout {
  gap: 18px !important;
}

@media (max-width: 640px) {
  .custom-editorial-lead,
  .custom-editorial-lead > a,
  .custom-editorial-lead img {
    min-height: 238px !important;
    max-height: 238px !important;
  }

  .custom-editorial-scroll-list {
    max-height: 350px !important;
  }

  .custom-editorial-title-panel h2,
  .custom-editorial-lead h2 {
    font-size: 20px !important;
  }
}

/* Doko82 samachar lead card compact sizing */
.newsroom-lead-card {
  min-height: 300px !important;
  max-height: 340px !important;
}

.newsroom-lead-card > a,
.newsroom-lead-card > a img,
.newsroom-lead-card img {
  min-height: 300px !important;
  max-height: 340px !important;
}

.newsroom-lead-card h2 {
  font-size: clamp(26px, 2.6vw, 36px) !important;
  line-height: 1.25 !important;
}

.newsroom-lead-card > div {
  padding: 18px !important;
}

@media (max-width: 640px) {
  .newsroom-lead-card {
    min-height: 0 !important;
    max-height: none !important;
  }

  .newsroom-lead-card > a,
  .newsroom-lead-card > a img,
  .newsroom-lead-card img {
    min-height: 190px !important;
    max-height: 230px !important;
  }

  .newsroom-lead-card h2 {
    font-size: 22px !important;
    line-height: 1.32 !important;
  }
}

/* Doko83 business section refined */
.business-feature-section {
  width: min(100% - 32px, 1180px) !important;
  margin: 32px auto 0 !important;
  padding: 22px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #edf8f0 0%, #ffffff 58%, #f4fbf6 100%) !important;
  border: 1px solid rgba(197, 221, 204, 0.95) !important;
  color: #10233f !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
}

.business-feature-section > .container {
  width: 100% !important;
  padding: 0 !important;
}

.business-title h3 {
  color: #146034 !important;
  -webkit-text-fill-color: #146034 !important;
}

.business-title a {
  color: var(--muted) !important;
}

.business-chip-row {
  gap: 10px !important;
  margin-bottom: 18px !important;
}

.business-chip-row a {
  padding: 10px 16px !important;
  border: 1px solid #cbd8cf !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #173621 !important;
  box-shadow: none !important;
}

.business-chip-row a:hover {
  border-color: #146034 !important;
  background: #146034 !important;
  color: #fff !important;
}

.business-feature-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr) minmax(230px, 0.75fr) !important;
  gap: 18px !important;
}

.business-lead-card,
.business-focus-card,
.business-side-stack article {
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.075) !important;
}

.business-lead-card,
.business-lead-card img {
  min-height: 390px !important;
}

.business-lead-card h2 {
  font-size: clamp(26px, 2.7vw, 38px) !important;
}

.business-focus-card {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.business-focus-card > a,
.business-focus-card img {
  display: block !important;
  width: 100% !important;
  min-height: 230px !important;
  height: 100% !important;
}

.business-focus-card img {
  object-fit: cover !important;
}

.business-focus-card > div {
  padding: 16px !important;
}

.business-focus-card span {
  color: #146034 !important;
}

.business-focus-card h2 {
  margin: 7px 0 8px !important;
  color: #10233f !important;
  font-size: 25px !important;
  line-height: 1.28 !important;
}

.business-focus-card h2 a {
  color: #10233f !important;
}

.business-focus-card p {
  color: #526071 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.business-side-stack article {
  padding-bottom: 12px !important;
}

.business-side-stack h4 {
  padding: 10px 12px 0 !important;
  color: #10233f !important;
  font-size: 18px !important;
}

.business-side-stack h4 a {
  color: #10233f !important;
}

.business-bottom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 18px !important;
}

.business-bottom-grid .home-photo-item {
  border: 1px solid rgba(215, 223, 235, 0.95) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #10233f !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
}

.business-bottom-grid .home-photo-item h4,
.business-bottom-grid .home-photo-item p {
  color: #10233f !important;
}

.business-bottom-grid .home-photo-item span {
  color: #146034 !important;
}

@media (max-width: 1024px) {
  .business-feature-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .business-feature-section {
    width: min(100% - 18px, 1180px) !important;
    padding: 12px !important;
  }

  .business-lead-card,
  .business-lead-card img,
  .business-focus-card > a,
  .business-focus-card img {
    min-height: 230px !important;
  }

  .business-bottom-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Doko84 entertainment/diaspora/misc row polish */
.triple-category-row:nth-of-type(2) .mini-category-block,
.triple-category-row .magazine-category-block {
  border: 1px solid rgba(215, 223, 235, 0.95) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.075) !important;
  padding: 14px !important;
  overflow: hidden !important;
}

.triple-category-row .magazine-category-block .section-title {
  margin-bottom: 12px !important;
}

.triple-category-row .magazine-lead-card {
  min-height: 235px !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}

.triple-category-row .magazine-lead-card > a,
.triple-category-row .magazine-lead-card img {
  min-height: 235px !important;
}

.triple-category-row .magazine-lead-card div {
  padding: 14px !important;
}

.triple-category-row .magazine-lead-card h4 {
  font-size: 21px !important;
  line-height: 1.3 !important;
}

.magazine-photo-list {
  display: grid !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

.magazine-photo-list .home-photo-item {
  border: 1px solid rgba(215, 223, 235, 0.9) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden !important;
}

.magazine-photo-list .home-photo-item > div {
  padding: 8px 9px 8px 0 !important;
}

.magazine-photo-list .home-photo-item h4 {
  color: #10233f !important;
  font-size: 15px !important;
  line-height: 1.36 !important;
}

@media (max-width: 640px) {
  .triple-category-row .magazine-category-block {
    padding: 12px !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
  }

  .triple-category-row .magazine-lead-card,
  .triple-category-row .magazine-lead-card > a,
  .triple-category-row .magazine-lead-card img {
    min-height: 220px !important;
  }

  .magazine-photo-list .home-photo-item {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }

  .magazine-photo-list .home-photo-item > a,
  .magazine-photo-list .home-photo-item img {
    min-height: 82px !important;
  }
}

/* Doko85 business section heading like other section headings */
.business-feature-section .business-title,
.business-feature-section .section-title.business-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.business-feature-section .business-title h3,
.business-feature-section .section-title.business-title h3 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--brand) !important;
  -webkit-text-fill-color: var(--brand) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.business-feature-section .business-title h3::before,
.business-feature-section .business-title h3::after {
  content: none !important;
  display: none !important;
}

.business-feature-section .business-title a,
.business-feature-section .section-title.business-title a {
  color: var(--muted) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

@media (max-width: 640px) {
  .business-feature-section .business-title h3,
  .business-feature-section .section-title.business-title h3 {
    font-size: 24px !important;
  }
}

/* Doko86 business filters and mobile pinned header refinement */
.business-chip-row button {
  padding: 10px 16px !important;
  border: 1px solid #cbd8cf !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #173621 !important;
  font: inherit !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.business-chip-row button.active,
.business-chip-row button:hover {
  border-color: #146034 !important;
  background: #146034 !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  body .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: grid !important;
    grid-template-columns: 1fr 42px 42px !important;
    justify-items: stretch !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo {
    grid-column: 1 !important;
    justify-self: start !important;
    display: flex !important;
    align-items: center !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo .logo-box,
  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo .mobile-logo-box {
    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo img {
    width: auto !important;
    max-width: 112px !important;
    height: 34px !important;
    object-fit: contain !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-menu-action {
    grid-column: 2 !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-search-action {
    grid-column: 3 !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-action {
    width: 40px !important;
    height: 36px !important;
  }
}

/* Doko86 spacing after province section */
.province-matrix-section {
  margin-bottom: 28px !important;
}

.province-matrix-section + .ad-box,
.province-matrix-section + .ad-slot,
.province-matrix-section + .business-feature-section {
  margin-top: 24px !important;
}

@media (max-width: 640px) {
  .province-matrix-section {
    margin-bottom: 20px !important;
  }
}

/* Doko89 scoped restore: only video section polish, keep previous homepage design */
.video-feature-section {
  margin-top: 30px !important;
  margin-bottom: 34px !important;
}

.video-feature-section .video-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.video-feature-section .video-feature-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.video-feature-section .video-feature-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(23, 104, 184, 0.34) !important;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.13) !important;
}

.video-feature-section .video-feature-card > a {
  display: block !important;
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
}

.video-feature-section .video-feature-card img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

.video-feature-section .video-play-button {
  z-index: 4 !important;
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.video-feature-section .video-feature-card::after {
  z-index: 2 !important;
}

.triple-category-row {
  margin-top: 34px !important;
  margin-bottom: 38px !important;
  row-gap: 24px !important;
}

.triple-category-row + .triple-category-row,
.triple-category-row + .balanced-news-section,
.triple-category-row + .home-news-block {
  margin-top: 38px !important;
}

.triple-category-row .mini-category-block {
  overflow: hidden !important;
}

.balanced-news-section {
  margin-top: 38px !important;
  padding-top: 12px !important;
}

.balanced-news-section > .section-title {
  margin-bottom: 20px !important;
  padding-top: 0 !important;
}

.balanced-news-section > .section-title h3 {
  line-height: 1.18 !important;
}

.balanced-news-section > .section-title.newsroom-title {
  margin: 0 0 20px !important;
  padding: 18px 18px 0 !important;
}

.balanced-news-section > .section-title.newsroom-title h3 {
  font-size: 30px !important;
  line-height: 1.22 !important;
}

.balanced-news-section > .section-title.newsroom-title a {
  margin-right: 0 !important;
}

@media (max-width: 1024px) {
  .video-feature-section .video-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .video-feature-section {
    margin-top: 22px !important;
    margin-bottom: 26px !important;
  }

  .video-feature-section .video-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .triple-category-row,
  .triple-category-row + .triple-category-row,
  .triple-category-row + .balanced-news-section,
  .triple-category-row + .home-news-block,
  .balanced-news-section {
    margin-top: 24px !important;
    margin-bottom: 26px !important;
  }

  .balanced-news-section {
    padding-top: 8px !important;
  }
}

/* Doko91 mobile section/header refinement */
@media (max-width: 640px) {
  .main-brand-row {
    min-height: 58px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .main-brand-row .logo-box,
  .main-brand-row .mobile-logo-box,
  .main-brand-row .centered-logo .logo-box {
    max-height: 42px !important;
  }

  .main-brand-row img {
    max-height: 42px !important;
    object-fit: contain !important;
  }

  body .nav-wrap.nav-pinned:not(.open) {
    display: block !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .nav-row {
    display: none !important;
  }

  .triple-category-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    margin-top: 28px !important;
    margin-bottom: 32px !important;
  }

  .triple-category-row + .triple-category-row {
    margin-top: 34px !important;
    padding-top: 8px !important;
  }

  .triple-category-row .mini-category-block {
    margin-bottom: 0 !important;
  }

  .triple-category-row .mini-category-block + .mini-category-block {
    margin-top: 6px !important;
  }
}

/* Doko92 article page polish inspired by clean Nepali news article layouts */
.article-layout {
  align-items: start !important;
  gap: 30px !important;
  padding-top: 28px !important;
}

.article-main {
  background: #fff !important;
  border: 1px solid rgba(214, 224, 238, 0.9) !important;
  border-radius: 10px !important;
  padding: clamp(18px, 3vw, 34px) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
}

.article-view .kicker {
  display: inline-flex !important;
  margin-bottom: 10px !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  background: rgba(23, 104, 184, 0.1) !important;
  color: var(--brand) !important;
  font-weight: 900 !important;
}

.article-view h1 {
  max-width: 920px !important;
  margin: 0 0 12px !important;
  color: #101828 !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

.article-subtitle {
  max-width: 860px !important;
  margin: 0 0 16px !important;
  color: #4b5563 !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  line-height: 1.44 !important;
}

.article-author-row {
  margin: 16px 0 12px !important;
  padding: 12px 0 !important;
  border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
}

.article-author-row .story-meta {
  gap: 8px !important;
  color: #667085 !important;
}

.share-row {
  margin: 14px 0 20px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
}

.share-row > strong {
  color: #344054 !important;
}

.article-view.article-main > img {
  width: 100% !important;
  max-height: 620px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 10px 0 8px !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09) !important;
}

.caption {
  margin: 4px 0 22px !important;
  padding-left: 10px !important;
  border-left: 3px solid rgba(23, 104, 184, 0.28) !important;
  color: #667085 !important;
}

.article-view .article-body {
  max-width: 820px !important;
  margin: 22px auto 0 !important;
  color: #182230 !important;
}

.article-body p,
.article-body div:not(.responsive-table),
.article-body span {
  font-size: clamp(19px, 2.05vw, 22px) !important;
  line-height: 1.86 !important;
}

.article-body blockquote {
  margin: 24px 0 !important;
  padding: 18px 22px !important;
  border-left: 4px solid var(--brand) !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
  color: #10233f !important;
}

.article-sidebar {
  position: sticky !important;
  top: 76px !important;
}

.related-news {
  margin-top: 30px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
}

@media (max-width: 960px) {
  .article-layout {
    display: block !important;
    padding-top: 18px !important;
  }

  .article-main {
    padding: 16px !important;
    border-radius: 8px !important;
  }

  .article-view h1 {
    font-size: clamp(30px, 8vw, 42px) !important;
  }

  .article-sidebar {
    position: static !important;
    margin-top: 22px !important;
  }
}

@media (max-width: 640px) {
  .article-layout {
    max-width: calc(100vw - 18px) !important;
  }

  .share-row {
    border-radius: 10px !important;
  }

  .article-view.article-main > img {
    max-height: 420px !important;
  }
}

/* Doko93 restore article page and refine CMS/customize/sports */
.article-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 820px) minmax(280px, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  padding-top: 0 !important;
}

.article-main {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.article-view .kicker {
  display: block !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--brand) !important;
}

.article-view h1 {
  max-width: none !important;
  margin: 8px 0 !important;
  color: #101828 !important;
  font-size: clamp(28px, 3.2vw, 38px) !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
}

.article-subtitle {
  max-width: none !important;
  margin: 6px 0 12px !important;
  color: #4b5563 !important;
  font-size: clamp(19px, 2.2vw, 24px) !important;
  line-height: 1.45 !important;
}

.article-author-row {
  margin: 10px 0 8px !important;
  padding: 8px 0 10px !important;
  border-top: 1px solid rgba(11, 93, 184, 0.12) !important;
  border-bottom: 1px solid var(--line) !important;
}

.share-row {
  margin: 6px 0 16px !important;
  padding: 8px 0 10px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.article-view.article-main > img {
  width: 100% !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin: 18px 0 8px !important;
  box-shadow: none !important;
}

.caption {
  margin-bottom: 18px !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  color: var(--muted) !important;
}

.article-view .article-body {
  max-width: none !important;
  margin: 0 !important;
  font-size: 19px !important;
  line-height: 1.9 !important;
  color: #252b35 !important;
}

.article-body p,
.article-body div:not(.responsive-table),
.article-body span {
  font-size: inherit !important;
  line-height: inherit !important;
}

.balanced-news-section {
  margin-top: 44px !important;
  margin-bottom: 44px !important;
}

.balanced-news-section > .section-title {
  align-items: center !important;
  margin-bottom: 22px !important;
  padding: 0 !important;
}

.balanced-news-section .balanced-layout {
  align-items: stretch !important;
  gap: 18px !important;
}

.video-feature-section .video-play-button {
  width: 48px !important;
  height: 48px !important;
  font-size: 18px !important;
  background: #ed1c24 !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(237, 28, 36, 0.34) !important;
}

.video-feature-section .video-feature-card:hover .video-play-button {
  transform: translate(-50%, -50%) scale(1.06) !important;
}

.cms-shell {
  background:
    radial-gradient(circle at top left, rgba(23, 104, 184, 0.14), transparent 34vw),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%) !important;
}

.cms-sidebar {
  background:
    linear-gradient(180deg, rgba(23, 104, 184, 0.18), rgba(215, 25, 32, 0.08) 42%, transparent),
    #071327 !important;
}

.cms-brand {
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  margin-bottom: 12px !important;
}

.cms-brand span::after {
  content: " Pro";
  color: #93c5fd;
  font-size: 13px;
  font-weight: 900;
}

.cms-nav button {
  border: 1px solid transparent !important;
}

.cms-nav button.active,
.cms-nav button:hover {
  border-color: rgba(147, 197, 253, 0.28) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.customize-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.customize-card {
  padding: 16px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.customize-card.active {
  border-color: rgba(23, 104, 184, 0.35);
  background: #f8fbff;
}

.customize-card span {
  color: var(--brand);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
}

.customize-card h3 {
  margin: 8px 0 6px;
  color: #10233f;
}

.customize-card p,
.customize-panel .panel-header p {
  margin: 0;
  color: #64748b;
}

@media (max-width: 960px) {
  .article-layout {
    display: block !important;
    padding-top: 0 !important;
  }

  .article-main {
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .customize-grid {
    grid-template-columns: 1fr;
  }
}

/* Doko93 final sports title alignment */
.balanced-news-section > .section-title.newsroom-title {
  padding: 18px 18px 0 !important;
  margin: 0 0 20px !important;
  align-items: center !important;
}

.balanced-news-section > .section-title.newsroom-title h3 {
  margin: 0 !important;
  color: var(--brand) !important;
  -webkit-text-fill-color: var(--brand) !important;
  font-size: 30px !important;
  line-height: 1.22 !important;
}

.balanced-news-section > .section-title.newsroom-title a {
  align-self: center !important;
  margin-top: 0 !important;
}

/* Doko94 mobile header, menu, video, ad, and CMS refinements */
.doko-cms-mark span {
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.cms-brand .logo-box span::after,
.cms-brand .doko-cms-mark span::after {
  content: none !important;
}

.license-panel,
.customize-form {
  margin-bottom: 18px !important;
  padding: 16px !important;
  border: 1px solid #dbe5f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.ad-box {
  min-height: 120px !important;
  padding: 10px !important;
}

.ad-box a {
  width: 100% !important;
  height: 100% !important;
}

.ad-box img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: 360px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.header-ad-row .ad-box img,
.home-ad-row .ad-box img {
  max-height: 280px !important;
}

.article-view h1,
.article-subtitle {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
  column-span: all !important;
}

.video-feature-section .video-feature-card > a {
  aspect-ratio: 16 / 9 !important;
}

.video-feature-section .video-play-button {
  z-index: 8 !important;
  width: 52px !important;
  height: 52px !important;
  display: grid !important;
  place-items: center !important;
  border: 3px solid rgba(255, 255, 255, 0.92) !important;
}

@media (max-width: 640px) {
  body .nav-wrap.nav-pinned:not(.open) {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 68 !important;
    height: 50px !important;
    min-height: 50px !important;
    overflow: hidden !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(215, 223, 235, 0.96) !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1) !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .nav-inner {
    display: grid !important;
    grid-template-columns: 1fr 42px 42px !important;
    gap: 8px !important;
    align-items: center !important;
    height: 50px !important;
    padding: 0 12px !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-logo,
  body .nav-wrap.nav-pinned:not(.open) .nav-row,
  body .nav-wrap.nav-pinned:not(.open) .nav-drawer-head {
    display: none !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo {
    display: flex !important;
    grid-column: 1 !important;
    align-items: center !important;
    justify-self: start !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    color: #0f172a !important;
    text-decoration: none !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo .logo-box,
  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo .mobile-logo-box {
    width: auto !important;
    min-width: 0 !important;
    height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo img {
    width: auto !important;
    max-width: 118px !important;
    height: 36px !important;
    object-fit: contain !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-logo .logo-fallback span {
    color: #0f172a !important;
    font-size: 12px !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-mobile-site-title {
    display: inline-block !important;
    max-width: 120px !important;
    overflow: hidden !important;
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-action {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 38px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-menu-action {
    grid-column: 2 !important;
  }

  body .nav-wrap.nav-pinned:not(.open) .pin-search-action {
    display: grid !important;
    grid-column: 3 !important;
  }

  .nav-wrap.open .nav-dropdown-menu,
  .nav-wrap.open .nav-dropdown-menu.mega-menu {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 8px 0 4px 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    position: static !important;
    min-width: 0 !important;
  }

  .nav-wrap.open .nav-dropdown-menu .nav-link,
  .nav-wrap.open .nav-dropdown-menu a,
  .nav-wrap.open .nav-dropdown-menu .all-link {
    display: block !important;
    min-height: 36px !important;
    padding: 9px 12px !important;
    border: 1px solid #dbe5f0 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #10233f !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
    white-space: normal !important;
  }

  .nav-wrap.open .nav-menu-title {
    display: block !important;
    color: var(--brand) !important;
    font-weight: 900 !important;
    padding: 4px 2px !important;
  }

  .video-feature-section .video-feature-grid {
    grid-template-columns: 1fr !important;
  }

  .video-feature-section .video-feature-card > a {
    aspect-ratio: 16 / 9 !important;
  }
}

/* Doko96 mobile drawer submenu correction */
@media (max-width: 960px) {
  .nav-wrap.open .nav-dropdown:not(.open) > .nav-dropdown-menu,
  .nav-wrap.open .nav-dropdown:not(.open) > .nav-dropdown-menu.mega-menu {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .nav-wrap.open .nav-dropdown.open > .nav-dropdown-menu,
  .nav-wrap.open .nav-dropdown.open > .nav-dropdown-menu.mega-menu {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 0 4px 12px !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: static !important;
  }

  .nav-wrap.open .nav-dropdown.open > .nav-dropdown-menu .nav-link,
  .nav-wrap.open .nav-dropdown.open > .nav-dropdown-menu a,
  .nav-wrap.open .nav-dropdown.open > .nav-dropdown-menu .all-link {
    display: block !important;
    height: auto !important;
    min-height: 36px !important;
    padding: 9px 12px !important;
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc !important;
    background: #0b111d !important;
    border: 1px solid rgba(226, 232, 240, 0.16) !important;
    border-radius: 7px !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
  }

  .nav-wrap.open .nav-dropdown.open > .nav-dropdown-menu .nav-link:empty,
  .nav-wrap.open .nav-dropdown.open > .nav-dropdown-menu a:empty {
    display: none !important;
  }
}

/* Doko96 customize simplification */
.cms-brand .logo-box::after,
.cms-brand .logo-box *::after,
.cms-brand .doko-cms-mark::after,
.cms-brand .doko-cms-mark *::after {
  content: none !important;
  display: none !important;
}

.customize-accordion {
  margin: 0 0 16px !important;
  border: 1px solid #dbe5f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
}

.customize-accordion summary {
  cursor: pointer !important;
  padding: 14px 16px !important;
  color: #10233f !important;
  font-weight: 900 !important;
  list-style: none !important;
}

.customize-accordion summary::after {
  content: "+" !important;
  float: right !important;
  color: var(--brand) !important;
}

.customize-accordion[open] summary::after {
  content: "-" !important;
}

.customize-accordion p {
  margin: 0 !important;
  padding: 0 16px 14px !important;
  color: #64748b !important;
}

.settings-footer-form {
  margin-top: 18px !important;
}
