.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}
:root {
  --navy-950: #0d1b3a;
  --navy-900: #132a54;
  --navy-800: #1a3766;
  --navy-700: #204077;
  --blue: #003893;
  --blue-dark: #002259;
  --gold: #e2a53d;
  --green: #1f8a4c;
  --ink: #1c2333;
  --muted: #6b7280;
  --line: #e7e9ee96;
  --bg: #f2f4f8;
  --card: #ffffff;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover {
  background: var(--blue-dark);
}
.btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn.gold {
  background: var(--gold);
  color: #2a2005;
}
.btn.white {
  background: #fff;
  color: var(--navy-900);
}
.btn.white:hover {
  background: #e9edf5;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
}
.section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  margin: 0;
  position: relative;
  font-weight: 800;
}

.section-title .more {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.more,
.link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pre-title {
  display: block;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

/* ===== Top bar ===== */
.topbar {
  /* background:var(--navy-950); */
  color: #cbd3e6;
  font-size: 12.5px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.topbar .date-box {
  display: flex;
  align-items: center;
  gap: 14px;
  gap: 12px;
  padding: 16px;
  background: var(--navy-950);
  padding-right: 50px;
  width: 33%;
  position: relative;
  justify-content: flex-start;
  border-radius: 0 0 0 8px;
    min-height: 56px;

}
.topbar .social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--navy-950);
  padding-left: 50px;
  width: 33%;
  position: relative;
  justify-content: flex-start;
  border-radius: 0 0 8px;
  min-height: 56px;
}
.topbar .social a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.topbar .breaking {
  background: var(--blue);
  color: #fff;
  padding: 3px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
}

/* ===== Header ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  left: 50%;
  width: 140px;
  bottom: 13px;
  transform: translateX(-50%);
}
.brand img {
  width: 100%;
  height: auto;
}
.brand .titles {
  text-align: center;
}
.brand .titles h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy-900);
}
.brand .titles span {
  font-size: 12.5px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fb;
  color: var(--navy-900);
  cursor: pointer;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fb;
  color: var(--navy-900);
  cursor: pointer;
}

/* ===== Mobile menu drawer ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 58, 0.55);
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.mobile-menu-head img {
  width: 120px;
}
.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  padding: 4px;
}
.mobile-menu-close:hover {
  color: var(--ink);
}
.mobile-menu-nav {
  overflow-y: auto;
}
.mobile-menu-nav ul {
  display: flex;
  flex-direction: column;
}
.mobile-menu-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 1px solid var(--line);
}
.mobile-menu-nav li.active a {
  color: var(--blue);
  font-weight: 800;
}
body.mobile-menu-open {
  overflow: hidden;
}
.pdf-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
}

/* ===== Search modal ===== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}
.search-modal.open {
  display: block;
}
.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 58, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.search-modal-panel {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 80px auto 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  animation: search-modal-in 0.18s ease;
}
@keyframes search-modal-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.search-modal-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  flex-shrink: 0;
}
.search-modal-form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  background: transparent;
  color: var(--ink);
}
.search-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  padding: 4px;
}
.search-modal-close:hover {
  color: var(--ink);
}
.search-modal-results {
  overflow-y: auto;
  padding: 8px;
}
.search-modal-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.search-modal-result:last-child {
  border-bottom: none;
}
.search-modal-result:hover {
  background: var(--bg);
}
.search-modal-result .type {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.search-modal-empty,
.search-modal-hint,
.search-modal-loading {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
body.search-modal-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .search-modal-panel {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

/* ===== Nav ===== */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav ul {
  display: flex;
  flex-wrap: wrap;
}
.nav a {
  display: block;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--navy-900);
  font-weight: 600;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav a:hover {
  border-color: var(--blue);
}
.nav li.active a {
  border-color: var(--blue);
}

/* ===== Breaking news ticker ===== */
.breaking-bar {
}
.breaking-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
}
.breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 6px;
}
.breaking-ticker {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}
.breaking-ticker .caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--blue);
  margin-right: 2px;
  vertical-align: middle;
  animation: caret-blink 0.8s step-start infinite;
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

main {
  padding: 28px 0 10px;
}
section {
  margin-bottom: 30px;
}

/* ===== Top grid: newspaper + hero ===== */
.top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  align-items: start;
  margin: 32px 0;
}
.paper-card {
  border-radius: 10px;
  text-align: center;
}
.paper-cover {
  border: 1px solid var(--line);
  border-radius: 6px;
  /* overflow:hidden; */
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(20, 30, 60, 0.08);
  position: relative;
}
.paper-cover img {
  width: 100%;
  border-radius: 6px;
  position: relative;
  z-index: 3;
  border: 1px solid var(--line);
}
.paper-card h3 {
  font-size: 16px;
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.6;
}
.paper-card .btn {
  width: 100%;
  justify-content: center;
}

.hero-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 445px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgb(0 56 147) 10%,
    rgb(0 35 153 / 46%) 55%,
    rgb(3 40 163 / 55%) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 26px 26px 22px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  margin-bottom: 12px;
}
.hero-content .pre-title {
  color: var(--gold);
  font-size: 12px;
}
.hero-content h2 {
  font-size: 24px;
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.5;
}
.hero-content p {
  font-size: 13.5px;
  color: #dfe3ee;
  margin: 0 0 16px;
  max-width: 560px;
}

.headlines {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}
.headlines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.mini-news {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-news img {
  width: 85px;
  height: 66px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.mini-news .txt b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
}

/* ===== Sidebar / Editorial mini card ===== */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mini-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}
.editorial-mini {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
}
.editorial-mini .mini-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-900);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.editorial-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.editorial-mini .row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.editorial-items .row {
  margin-bottom: 0;
}
.editorial-mini .row img {
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  width: 85px;
  height: 66px;
}
.editorial-mini .cover {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  width: 85px;
  height: 66px;
}
.editorial-mini .cover img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.editorial-mini .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}
.editorial-mini h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.6;
}
.editorial-mini .link {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--navy-900);
  font-weight: 700;
  text-align: left;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

/* ===== Cities ===== */
.cities-band {
  background: var(--blue);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 34px 0;
}
.cities-band .section-title h2 {
  color: #fff;
}
.cities-band .section-title h2::before {
  background: #fff;
}
.cities-band .section-title .more {
  color: #cfe0ff;
}
.cities-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cities-nav button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cities-nav button:hover {
  background: rgba(255, 255, 255, 0.18);
}
.cities-swiper {
  padding-bottom: 4px;
}
.city-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  color: #fff;
}
.city-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 17, 40, 0.88),
    rgba(10, 17, 40, 0.1)
  );
}
.city-card .info {
  position: relative;
  z-index: 2;
  position: absolute;
  bottom: 10px;
  right: 12px;
  left: 12px;
}
.city-card .info b {
  display: block;
  font-size: 14px;
}
.city-card .info span {
  font-size: 11px;
  color: #d8dcec;
}

.city-card.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-900), var(--blue));
  padding: 10px;
}
.city-card.no-image::after {
  content: none;
}
.city-card.no-image .info {
  position: static;
}

/* ===== Special report + ad ===== */
.special-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}
.special {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: center;
  color: #fff;
}
.special img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.special::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 14, 32, 0.92),
    rgba(9, 14, 32, 0.35)
  );
}
.special-content {
  position: relative;
  z-index: 2;
  padding: 24px 30px;
  max-width: 520px;
}
.special-content .tag {
  background: var(--navy-700);
}
.special-content .pre-title {
  color: var(--gold);
  font-size: 12px;
}
.special-content h2 {
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 800;
}
.special-content p {
  font-size: 13.5px;
  color: #dbe0ee;
  margin: 0 0 16px;
}

.ad-box {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: #003893;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  gap: 12px;
  /* aspect-ratio: 400/300; */
}
.ad-box-logo {
  width: 92px; /* opacity: .1; */
}
.ad-box b {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.ad-box span {
  font-size: 12px;
}

/* ===== Category grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}
.roznameh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}
.cat-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cat-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-900);
}
.cat-feature {
  display: block; /* padding:12px 14px 10px; */
  position: relative;
  overflow: hidden;
  margin: 13px;
  border-radius: 8px;
}
.cat-feature img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
}
.cat-feature .info {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #003893;
  padding: 9px;
  border-radius: 10px 0 0 0;
  box-shadow: 0 0 20px 20px #00389375;
}
.cat-feature .pre-title {
  color: var(--gold);
  font-size: 10px;
  margin-bottom: 3px;
}
.cat-feature b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
}
.cat-list {
  /* padding:0 14px; */
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--line);
}
.cat-list li {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
}
.cat-list li:last-child {
  border-bottom: none;
}
.cat-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-list li a img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.cat-list li .pre-title {
  font-size: 10px;
  margin-bottom: 2px;
}
.cat-list li .title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.cat-more {
  display: block;
  margin: 12px 14px 14px;
  font-size: 11.5px;
  color: var(--blue);
  font-weight: 700;
  text-align: left;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

/* ===== Gallery / video ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.media-box {
  background: var(--blue);
  border-radius: 14px;
  padding: 20px 22px;
  color: #fff;
}
.media-box .section-title {
  margin-bottom: 16px;
}
.media-box .section-title h2 {
  color: #fff;
  font-size: 17px;
}
.media-box .section-title .more {
  color: #9fb0d6;
}

.media-feature {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.media-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.media-feature:hover img {
  transform: scale(1.06);
}
.media-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 5%,
    rgba(0, 0, 0, 0.15) 60%,
    transparent 100%
  );
}
.media-feature .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 5px;
}
.media-feature .cap {
  position: absolute;
  bottom: 14px;
  right: 16px;
  left: 16px;
  z-index: 2;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}
.media-feature .cap .pre-title {
  color: var(--gold);
}
.media-feature .play-ic.lg {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-feature .play-ic.lg i {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  padding: 14px;
  backdrop-filter: blur(2px);
}

.media-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.media-thumbs .item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.media-thumbs .item .thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.media-thumbs .item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.media-thumbs .item:hover .thumb img {
  transform: scale(1.08);
}
.media-thumbs .item .pre-title {
  color: var(--gold);
  margin-bottom: 2px;
}
.media-thumbs .item .caption {
  color: #dfe3ee;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.media-thumbs .item .play-ic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
}
.media-thumbs .item .play-ic i {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: 6px;
}

/* ===== Bottom widgets ===== */
.bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}
.widget h4 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 800;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-900);
}
.note-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.note-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.note-item .avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.note-item p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}
.rank-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}
.rank-item .num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  flex-shrink: 0;
  font-weight: 800;
}
.last-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}
.last-item .dot {
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}
.last-item time {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
  font-weight: 400;
}
.see-all {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--navy-900);
  font-weight: 700;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  margin-top: auto;
}

/* ===== Static page ===== */
.page-wrap {
  padding-top: 28px;
  padding-bottom: 30px;
}
.page-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.page-thumb img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}
.page-body {
  padding: 30px 32px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--blue);
  font-weight: 600;
}
.page-body h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--navy-900);
  line-height: 1.6;
}
.page-content {
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
}
.page-content p {
  margin: 0 0 16px;
}
.page-content h2,
.page-content h3,
.page-content h4 {
  margin: 26px 0 12px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.6;
}
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}
.page-content ul,
.page-content ol {
  margin: 0 0 16px;
  padding-right: 22px;
  list-style: initial;
}
.page-content ul {
  list-style-type: disc;
}
.page-content a {
  color: var(--blue);
  text-decoration: underline;
}
.page-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-right: 3px solid var(--blue);
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-size: 14px;
}

/* ===== Contact form ===== */
.mana-contact-form {
  max-width: 520px;
  margin: 20px 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.form-row {
  margin-bottom: 16px;
}
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-row input[type="text"],
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  background: #f7f8fb;
  outline: none;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  background: #fff;
}
.form-row-captcha label b {
  color: var(--blue);
  font-weight: 800;
}
.form-row-captcha input {
  max-width: 140px;
}
.mana-contact-form .btn {
  border: none;
  width: 100%;
  justify-content: center;
  font-size: 14px;
}
.form-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.form-notice.success {
  background: #e6f6ec;
  color: var(--green);
}
.form-notice.error {
  background: #fdeceb;
  color: #c0392b;
}
@media (max-width: 640px) {
  .page-body {
    padding: 22px 18px;
  }
}

/* ===== Archive page ===== */
.archive-page {
  padding-top: 28px;
}
.archive-layout {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 26px;
  align-items: start;
}
.archive-head {
  margin-bottom: 18px;
}
.archive-head.has-photo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.archive-author-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
}
.archive-head-text {
  min-width: 0;
}
.archive-head h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--navy-900);
}
.archive-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 8px;
}
.archive-count {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 5px;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.archive-card {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.archive-card-thumb {
  width: 200px;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.archive-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.archive-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.archive-card-body h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.6;
  color: var(--ink);
}
.archive-card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archive-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.archive-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.archive-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

.archive-pagination {
  margin-top: 26px;
}
.archive-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-pagination .page-num,
.archive-pagination .page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.archive-pagination a.page-num:hover,
.archive-pagination a.page-nav:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.archive-pagination .page-num.current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.archive-pagination .page-dots {
  color: var(--muted);
  font-weight: 700;
  padding: 0 4px;
}

/* ===== Related posts (single) ===== */
.related-posts {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ===== Comments ===== */
.comments-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.comments-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--navy-900);
}
.comment-list,
.comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list .children {
  margin-right: 30px;
  padding-top: 16px;
}
.comment-item {
  margin-bottom: 18px;
}
.comment-body {
  display: flex;
  gap: 12px;
}
.comment-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.comment-content {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.comment-author {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
}
.comment-date {
  font-size: 11.5px;
  color: var(--muted);
}
.comment-text {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.9;
}
.comment-text p {
  margin: 0 0 8px;
}
.comment-text p:last-child {
  margin-bottom: 0;
}
.comment-awaiting-moderation {
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 8px;
}
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.comment-respond {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.comment-reply-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--navy-900);
}
.comment-reply-title small a {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  margin-right: 8px;
}
.comment-form p {
  margin: 0 0 12px;
}
.comment-form-author,
.comment-form-email {
  display: inline-block;
  width: calc(50% - 6px);
  vertical-align: top;
}
.comment-form-author {
  margin-left: 12px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  background: #f7f8fb;
  outline: none;
  resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
}
.comment-form-comment {
  width: 100%;
}
@media (max-width: 480px) {
  .comment-form-author,
  .comment-form-email {
    width: 100%;
    margin-left: 0;
  }
}

.short-link-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.copy-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.copy-link-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.copy-link-btn.copied {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.archive-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.archive-sidebar .ad-box {
  aspect-ratio: 4/3;
}

@media (max-width: 1024px) {
  .archive-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .archive-card {
    flex-direction: column;
  }
  .archive-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

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

/* ===== Footer ===== */
footer {
  background: var(--navy-950);
  color: #c7cfe3;
  padding: 40px 0 0;
  margin-top: 10px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 164px;
}
.footer-brand b {
  font-size: 19px;
  color: #fff;
}
.footer-col p {
  font-size: 12.5px;
  color: #a6b0cc;
  line-height: 1.9;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-col h5 {
  color: #fff;
  font-size: 14.5px;
  margin: 0 0 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li {
  margin-bottom: 9px;
  font-size: 12.5px;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 12px;
  color: #8b96b8;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .top-grid {
    grid-template-columns: 1fr;
  }
  .special-grid {
    grid-template-columns: 1fr;
  }
  .bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ad-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .topbar,
  .breaking-bar,
  .pdf-btn {
    display: none;
  }
  .header-inner {
    padding: 12px 0;
  }
  .brand {
    width: 100px;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 700px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .media-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .ad-strip {
    grid-template-columns: 1fr;
  }
  .headlines-grid {
    grid-template-columns: 1fr;
  }
  .mini-row {
    grid-template-columns: 1fr;
  }
  .hero-content h2 {
    font-size: 19px;
  }
  .topbar .date-box span:not(:first-child) {
    display: none;
  }
}

.topbar .social:before {
  content: "";
  width: 36px;
  display: block;
  height: 100%;
  position: absolute;
  left: 0;
  background: url(../images/topbar-corner-right.svg) no-repeat left bottom;
  bottom: -1px;
}

.topbar .social a svg {
  height: 19px !important;
  width: 20px;
}

.topbar .date-box:before {
  content: "";
  width: 30px;
  display: block;
  height: 100%;
  position: absolute;
  right: 0;
  background: url(../images/topbar-corner-left.svg) no-repeat left bottom;
  bottom: -1px;
}

.paper-cover:before {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(20, 30, 60, 0.08);
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: -5px;
  z-index: 1;
  left: -5px;
  background: #fff;
}

.paper-cover:after {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(20, 30, 60, 0.08);
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: -10px;
  z-index: 0;
  left: -10px;
  background: #fff;
}
