/* PK NEWS NO1 — Public styles (FirstBihar-inspired) */
:root {
  --navy: #0A1628;
  --navy-2: #101D42;
  --red: #E11D27;
  --text: #111827;
  --muted: #6b7280;
  --bg: #f3f4f6;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 10px;
  --font: "Noto Sans Devanagari", "Segoe UI", Tahoma, sans-serif;
  --header-h: 64px;
}
* { box-sizing: border-box; }
html {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5;
  overscroll-behavior-x: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1240px, 94%); margin: 0 auto; max-width: 100%; }
.ico-svg { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.ico-svg svg { display: block; }
.placeholder-img {
  width: 100%; height: 100%; min-height: 54px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
  color: rgba(255,255,255,.45); font-weight: 800; font-size: .8rem; letter-spacing: .04em;
}
.side-item .placeholder-img,
.under-feat .placeholder-img {
  width: 72px; height: 54px; border-radius: 6px; font-size: .62rem; min-height: 0;
}
.under-feat .placeholder-img { width: 80px; height: 60px; }
.feat-story .placeholder-img,
.hero-media .placeholder-img,
.news-card .thumb .placeholder-img,
.article-media .placeholder-img {
  position: absolute; inset: 0; min-height: 0; font-size: 1rem;
}

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: flex; align-items: center; gap: .65rem;
  min-height: 56px; padding: .35rem 0;
}
.menu-toggle { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; display: none; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 800; min-width: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #ff6a00, var(--red));
  display: grid; place-items: center; font-size: 1.2rem; color: #fff;
  overflow: hidden; flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-text strong { font-size: .92rem; white-space: nowrap; }
.logo-text span {
  font-size: .62rem; opacity: .85; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px;
}
.main-nav { display: flex; gap: .15rem; flex: 1; overflow-x: auto; }
.main-nav a {
  color: rgba(255,255,255,.92); padding: .85rem .55rem; font-size: .92rem;
  white-space: nowrap; border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: .65rem; color: #fff; }
.header-actions a, .header-actions button { color: #fff; background: none; border: 0; cursor: pointer; font-size: .85rem; }
.btn-install {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 1px solid rgba(255,255,255,.35) !important;
  padding: .25rem .5rem !important; border-radius: 6px; font-size: .75rem !important;
}
.header-search {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0; padding: .2rem;
}
@media (max-width: 799px) {
  .header-actions {
    margin-left: auto; /* pin night + search to the right edge */
    flex-shrink: 0;
    gap: .45rem;
  }
  .header-actions .btn-install,
  .header-actions .social-mini { display: none !important; }
  .logo { flex: 1; min-width: 0; }
  .logo-text span { max-width: 140px; }
}

.breaking-bar {
  background: var(--red); color: #fff; display: flex; align-items: center;
  min-height: 40px; width: 100%; max-width: 100%;
  overflow: hidden; position: relative; z-index: 5;
  contain: layout paint;
}
.breaking-label {
  background: #9f1239; padding: 0 .85rem; font-weight: 700; white-space: nowrap;
  display: flex; align-items: center; gap: .35rem; flex-shrink: 0; z-index: 2;
  align-self: stretch; min-height: 40px;
}
.breaking-label::before {
  content: ""; width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: pulse 1s infinite;
  flex-shrink: 0;
}
@keyframes pulse { 50% { opacity: .4; } }
.breaking-track {
  flex: 1 1 auto; min-width: 0; overflow: hidden; position: relative;
  display: flex; align-items: center; align-self: stretch;
}
.breaking-track-inner {
  display: flex; align-items: center; width: max-content;
  min-height: 40px; line-height: 1.35;
  will-change: transform; backface-visibility: hidden;
}
.breaking-track a {
  color: #fff; margin-right: 2rem; white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center;
  line-height: 1.35; padding: .55rem 0;
}
.breaking-track a::after { content: " · "; margin-left: 2rem; opacity: .7; }

.page-wrap { padding: 1.25rem 0 2.5rem; overflow-x: hidden; max-width: 100%; }

/* Home top — mobile-first so phones never get a crushed 3-column hero */
.home-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}
.home-top > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
@media (min-width: 800px) {
  .home-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-top .trending-box { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .home-top { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .9fr); align-items: stretch; }
  .home-top .trending-box { grid-column: auto; }
}
@media (max-width: 799px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px;
    background: var(--navy-2); padding: 1rem; z-index: 20;
  }
}

/* Hero — always stack on small screens (flex column); 2-col only on large */
.hero-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.hero-media {
  position: relative;
  width: 100%;
  min-height: 200px;
  background: #111;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-media::before {
  content: ""; display: block; padding-top: 56%;
}
.hero-media img,
.hero-media .placeholder-img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; min-height: 0;
}
.badge-breaking {
  position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .2rem .45rem; border-radius: 3px; z-index: 2;
  white-space: nowrap;
}
.badge-cat {
  position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.75); color: #fff;
  font-size: .7rem; padding: .15rem .4rem; border-radius: 3px; z-index: 2;
  white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis;
}
.logo-wm {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #ff6a00, var(--red)); color: #fff; font-size: .7rem; font-weight: 800;
  display: grid; place-items: center; z-index: 2; overflow: hidden; flex-shrink: 0;
}
.logo-wm img { width: 100%; height: 100%; object-fit: cover; }
.hero-body {
  background: var(--red); color: #fff; padding: 1rem 1.15rem;
  width: 100%; max-width: 100%; min-width: 0;
  display: block;
  box-sizing: border-box;
}
.hero-body h1 {
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  margin: 0 0 .75rem;
  line-height: 1.35;
  width: 100%;
  max-width: 100%;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero-meta { font-size: .85rem; opacity: .9; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.25);
  display: grid; place-items: center; font-size: .75rem; flex-shrink: 0;
}
@media (min-width: 900px) {
  .hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    min-height: 280px;
  }
  .hero-media { min-height: 280px; height: 100%; }
  .hero-media::before { display: none; }
  .hero-body {
    display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem;
  }
}

.side-panel { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.side-panel h3 { margin: 0; background: var(--navy); color: #fff; padding: .7rem 1rem; font-size: .95rem; }
.side-panel h3.red { background: var(--red); }
.side-item {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .65rem; padding: .75rem 1rem;
  border-bottom: 1px solid var(--border); min-width: 0; align-items: start;
}
.side-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; background: #ddd; }
.side-item h4 {
  margin: 0 0 .25rem; font-size: .88rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-word;
}
.side-item > div { min-width: 0; overflow: hidden; }
.meta { color: var(--muted); font-size: .75rem; }

/* Vertical rotating lists — show ~3 items, scroll up continuously */
.v-rotate {
  position: relative; height: 252px; overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent);
}
.v-rotate-track {
  display: flex; flex-direction: column;
  will-change: transform; backface-visibility: hidden;
}
.v-rotate .side-item {
  flex: 0 0 84px; height: 84px; box-sizing: border-box;
  overflow: hidden;
}

.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: transform .2s;
}
.news-card:hover { transform: translateY(-2px); }
.news-card .thumb { position: relative; aspect-ratio: 16/10; background: #ddd; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: .75rem .85rem 1rem; }
.cat-label { color: var(--red); font-size: .75rem; font-weight: 700; }
.news-card h3 { margin: .35rem 0 .45rem; font-size: .95rem; line-height: 1.35; }

.home-main { display: grid; grid-template-columns: 1fr 300px; gap: 1.25rem; }
@media (max-width: 900px) { .home-main { grid-template-columns: 1fr; } }
.section-block {
  background: var(--white); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .85rem; }
.section-head h2 { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; }
.section-head h2::before {
  content: ""; width: 4px; height: 1.1em; background: var(--accent, var(--red)); border-radius: 2px;
}
.see-more { color: var(--red); font-size: .9rem; font-weight: 600; }
.cat-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; }
.cat-layout > * { min-width: 0; width: 100%; }
@media (max-width: 720px) { .cat-layout { grid-template-columns: 1fr; } }
/* Must be block: <a> is inline by default; absolute media/overlay would collapse width to ~0 and stack text vertically */
.feat-story {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  min-height: 260px;
  background: #222;
  isolation: isolate;
}
.feat-story::before {
  content: "";
  display: block;
  padding-top: 62%;
}
.feat-story img,
.feat-story .placeholder-img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; z-index: 0;
}
.feat-story .overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; max-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff;
  z-index: 1;
}
.feat-story .overlay h3,
.feat-story h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  line-height: 1.35;
  max-width: 100%;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  word-break: break-word;
  overflow-wrap: break-word;
}
.mini-list .side-item { padding-left: 0; padding-right: 0; }
.under-feat {
  display: grid; grid-template-columns: 80px 1fr; gap: .65rem; margin-top: .75rem;
  padding-top: .75rem; border-top: 1px solid var(--border);
}
.under-feat img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }
.under-feat h4 { margin: 0; font-size: .9rem; }
.must-read ul { list-style: none; margin: 0; padding: .5rem 1rem 1rem; }
.must-read li { padding: .55rem 0 .55rem 1rem; position: relative; border-bottom: 1px solid var(--border); font-size: .9rem; }
.must-read li::before { content: "▸"; position: absolute; left: 0; color: var(--muted); }

.cat-hero {
  background: var(--navy) center/cover; color: #fff; padding: 1.75rem 0 2rem;
  margin: -1.25rem 0 1.25rem; position: relative;
}
.cat-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,.95), rgba(10,22,40,.75));
}
.cat-hero .container { position: relative; }
.breadcrumb { font-size: .85rem; opacity: .85; margin-bottom: .75rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: #fff; }
.pill { background: #c2410c; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; }
.cat-hero h1 { margin: 0 0 .35rem; font-size: 2rem; display: flex; align-items: center; gap: .6rem; }
.cat-hero h1::before { content: ""; width: 5px; height: 1em; background: var(--red); }
.cat-count { opacity: .8; font-size: .9rem; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }
.article-main { background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem 2rem; }
.article-main h1 { font-size: 1.75rem; line-height: 1.35; margin: .5rem 0 1rem; }
.summary-box {
  background: #f9fafb; border-left: 4px solid var(--red); padding: .85rem 1rem;
  margin-bottom: 1rem; color: #374151; font-style: italic;
}
.article-media { position: relative; margin-bottom: 1rem; border-radius: 8px; overflow: hidden; }
.article-media img { width: 100%; }
.btn-listen {
  position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; border: 0;
  padding: .4rem .75rem; border-radius: 6px; cursor: pointer; font-weight: 600;
  display: inline-flex; align-items: center; gap: .35rem;
}
.byline { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; flex-wrap: wrap; }
.share-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
.share-btn { border: 0; border-radius: 999px; padding: .4rem .85rem; color: #fff; cursor: pointer; font-size: .85rem; }
.share-wa { background: #25D366; } .share-fb { background: #1877F2; }
.share-x { background: #1DA1F2; } .share-copy { background: #6b7280; }
.article-body { font-size: 1.05rem; line-height: 1.8; }
.article-body h2 { font-size: 1.25rem; margin: 1.5rem 0 .75rem; }
.article-body p { margin: 0 0 1rem; }
.reporter-card { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.reporter-card .head { background: #15803d; color: #fff; padding: .5rem 1rem; font-weight: 700; }
.reporter-card .body { display: flex; align-items: center; gap: 1rem; padding: 1rem; }
.reporter-card .big-av {
  width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 700;
}
.tag-list { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.tag-pill { background: #ede9fe; color: #5b21b6; padding: .25rem .65rem; border-radius: 999px; font-size: .8rem; }

.pagination { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1.5rem 0; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 6px; font-size: .9rem;
}
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

.site-footer { background: var(--footer-bg, var(--navy)); color: rgba(255,255,255,.9); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 1.5rem; padding: 2.5rem 0 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { margin: 0 0 1rem; padding-top: .35rem; border-top: 3px solid var(--red); display: inline-block; }
.site-footer ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a.btn-apk,
.btn-apk {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .75rem;
  padding: .65rem 1rem;
  border-radius: 8px;
  background: #fff !important;
  color: #0A1628 !important;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.site-footer a.btn-apk:hover,
.btn-apk:hover { filter: brightness(.95); color: #0A1628 !important; }
.site-footer a.btn-apk .ico-svg,
.site-footer a.btn-apk svg,
.btn-apk .ico-svg,
.btn-apk svg {
  color: #0A1628 !important;
  stroke: currentColor;
  fill: none;
}
.socials { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; color: #fff !important;
  transition: transform .15s ease, opacity .15s;
}
.socials a:hover { transform: translateY(-2px); opacity: .92; }
.socials a .ico-svg, .socials a svg { color: #fff; fill: currentColor; }
.socials a.social-fb { background: #1877F2; }
.socials a.social-x { background: #0f1419; }
.socials a.social-yt { background: #FF0000; }
.socials a.social-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.header-actions .social-mini {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff;
}
.header-actions .social-mini.social-fb { background: #1877F2; }
.header-actions .social-mini.social-x { background: #0f1419; }
.header-actions .social-mini.social-yt { background: #FF0000; }
.header-actions .social-mini.social-ig { background: #E4405F; }
.pwa-box { border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: .85rem; display: flex; gap: .75rem; align-items: center; }
.article-zoom-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
}
.article-zoom-btn img { width: 100%; display: block; border-radius: 8px; }
.article-hero-video { position: relative; overflow: hidden; border-radius: 8px; background: #0b1220; }
.video-poster-btn {
  position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; background: #0b1220; color: #fff;
}
.video-poster-img { width: 100%; display: block; max-height: 420px; object-fit: cover; }
.video-play-badge {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(225,29,39,.92);
  display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.video-play-label {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: rgba(0,0,0,.7); padding: .35rem .75rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.article-hero-video.is-playing .video-inline-frame {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
}
.article-hero-video.is-playing .video-inline-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: .85rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.7);
}
.footer-credit {
  text-align: center; padding: 0 0 1.25rem; font-size: .8rem;
  color: rgba(255,255,255,.65);
}
.footer-credit a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--red); }

.about-hero {
  background: linear-gradient(135deg, var(--navy), #1e3a8a); color: #fff; text-align: center;
  padding: 3rem 1rem; border-radius: var(--radius); margin-bottom: 1.5rem;
}
.about-hero .label {
  display: inline-block; background: var(--red); padding: .25rem .75rem; border-radius: 999px; font-size: .8rem; margin-bottom: 1rem;
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.stat-card strong { display: block; color: var(--red); font-size: 1.75rem; }
.cta-red { background: var(--red); color: #fff; border-radius: var(--radius); padding: 2rem; text-align: center; margin: 1.5rem 0; }
.cta-red a {
  display: inline-block; background: #fff; color: var(--red); padding: .6rem 1.2rem;
  border-radius: 999px; font-weight: 700; margin-top: .75rem;
}

.mobile-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff;
  border-top: 1px solid var(--border); z-index: 100; padding: .35rem 0 env(safe-area-inset-bottom);
}
.mobile-bottom-nav nav { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.mobile-bottom-nav a {
  font-size: .7rem; color: #6b7280; padding: .35rem;
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
}
.mobile-bottom-nav a.active { color: var(--red); }
.mobile-bottom-nav .ico { font-size: 1.15rem; }
@media (max-width: 768px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 64px; }
}

.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1100;
  opacity: 0; pointer-events: none; transition: .2s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 85%);
  background: var(--navy-2); color: #fff; z-index: 1101;
  transform: translateX(-105%); transition: transform .25s, visibility .25s;
  padding: 1rem; display: flex; flex-direction: column;
  visibility: hidden; pointer-events: none; overflow-y: auto; overscroll-behavior: contain;
}
.drawer.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-search { display: flex; margin: 1rem 0; }
.drawer-search input { flex: 1; border: 0; border-radius: 6px 0 0 6px; padding: .65rem .75rem; }
.drawer-search button { background: var(--red); color: #fff; border: 0; padding: 0 .9rem; border-radius: 0 6px 6px 0; }
.drawer nav a { display: block; color: #fff; padding: .7rem .5rem; border-left: 3px solid transparent; }
.drawer nav a.active, .drawer nav a:hover { border-left-color: var(--red); background: rgba(255,255,255,.05); }

.ad-placeholder {
  background: #e5e7eb; color: #6b7280; text-align: center; padding: 1.5rem;
  border-radius: 8px; margin: .75rem 0; font-size: .85rem;
}
.search-hero { background: #fff; border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; }
.search-hero h1 { margin-top: 0; }
.search-form { display: flex; gap: 0; max-width: 520px; }
.search-form input {
  flex: 1; border: 2px solid var(--red); border-right: 0; border-radius: 8px 0 0 8px;
  padding: .75rem 1rem; font-size: 1rem;
}
.search-form button { background: var(--red); color: #fff; border: 0; padding: 0 1.1rem; border-radius: 0 8px 8px 0; cursor: pointer; }
.author-hero {
  background: var(--navy); color: #fff; text-align: center; padding: 2rem 1rem;
  border-radius: var(--radius); margin-bottom: 1.25rem;
}
.author-hero .av {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; background: var(--red);
  display: grid; place-items: center; font-size: 2rem; position: relative;
}
.author-hero .verified {
  position: absolute; bottom: 4px; right: 4px; background: #22c55e; width: 22px; height: 22px;
  border-radius: 50%; font-size: .75rem; display: grid; place-items: center;
}
.district-strip {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  background: #fff; border-radius: var(--radius); padding: .65rem 1rem;
  margin-bottom: 1rem; box-shadow: 0 1px 4px rgba(0,0,0,.04); font-size: .9rem;
}
.district-strip a {
  background: #f3f4f6; padding: .25rem .65rem; border-radius: 999px; color: #111;
}
.district-strip a:hover { background: var(--red); color: #fff; }
.district-strip a.active { background: var(--red); color: #fff; }
.btn-push {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; color: var(--navy); border: 1px solid #cbd5e1;
  border-radius: 8px; padding: .45rem .85rem; cursor: pointer; font-weight: 600;
}
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--red); z-index: 2000; transition: width .05s linear;
}
@media print {
  .site-header, .breaking-bar, .site-footer, .mobile-bottom-nav,
  .btn-listen, .share-row, .drawer, .drawer-backdrop,
  .ad-slot, .ad-placeholder, .reading-progress, .btn-install, .byline button,
  .lightbox, .font-controls, .article-layout > aside, .related-block,
  .tag-list, .reporter-card, .skip-link, .back-to-top, .btn-push, #video-lightbox,
  .btn-reading, [data-reading-toggle] {
    display: none !important;
  }
  body { background: #fff; color: #000; padding: 0; }
  .article-main, .article-layout { box-shadow: none; display: block !important; max-width: 100% !important; }
  .article-body img { max-width: 100%; }
  a[href]::after { content: none !important; }
}

.font-controls { margin-left: auto; display: inline-flex; gap: .35rem; }
.cat-list { display: flex; flex-direction: column; gap: .35rem; }
.cat-list .side-item { padding: .55rem 0; border-bottom: 1px solid #eee; }
.lightbox {
  position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.92);
  display: grid; place-items: center; padding: 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox figure { margin: 0; max-width: min(960px, 94vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 8px; }
.lightbox figcaption { color: #ddd; margin-top: .75rem; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; background: transparent; border: 0;
  color: #fff; font-size: 2rem; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: 0; color: #fff;
  font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
}
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.video-thumb { display:block; }
.video-play {
  position:absolute; inset:0; margin:auto; width:56px; height:56px; border-radius:50%;
  background:rgba(225,29,39,.92); color:#fff; display:grid; place-items:center;
  font-size:1.2rem; pointer-events:none; box-shadow:0 8px 20px rgba(0,0,0,.35);
}
.video-frame {
  width:min(960px,94vw); aspect-ratio:16/9; background:#000; border-radius:10px; overflow:hidden;
}
.video-frame iframe { width:100%; height:100%; border:0; display:block; }
.back-to-top {
  position: fixed; right: 1rem; bottom: 5.5rem; z-index: 1200;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; font-size: 1.2rem; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.back-to-top[hidden] { display: none !important; }
@media (min-width: 901px) {
  .back-to-top { bottom: 1.5rem; }
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 5000;
  background: var(--navy, #0b1f3a);
  color: #fff;
  padding: .65rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--red, #E11D27);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red, #E11D27);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reading-progress,
  .back-to-top {
    transition: none !important;
  }
  /* Keep layout transforms for marquees usable — only soften them */
  .breaking-track-inner,
  .v-rotate-track {
    animation: none !important;
  }
}

/* Night reading — soft navy, not high-contrast “dark UI” */
html[data-reading="night"] {
  --bg: #121a24;
  --text: #e8edf4;
  --muted: #9aa7b8;
  --white: #1a2433;
  --border: #2a3648;
  color-scheme: dark;
}
html[data-reading="night"] body { background: var(--bg); color: var(--text); }
html[data-reading="night"] .news-card,
html[data-reading="night"] .side-panel,
html[data-reading="night"] .article-main,
html[data-reading="night"] .summary-box,
html[data-reading="night"] .reporter-card,
html[data-reading="night"] .hero-card {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
html[data-reading="night"] .meta,
html[data-reading="night"] .cat-label { color: var(--muted); }
html[data-reading="night"] .share-btn,
html[data-reading="night"] .btn-push {
  background: #243044;
  color: var(--text);
  border-color: var(--border);
}
html[data-reading="night"] .article-body { color: #dbe4ef; }
html[data-reading="night"] .placeholder-img { background: #243044; color: #9aa7b8; }
html[data-reading="night"] #embed-box { background: #243044; border-color: var(--border); }
.btn-reading {
  color: #fff; background: none; border: 0; cursor: pointer; font-size: 1rem; line-height: 1;
  padding: .25rem .35rem;
}
.ico-reading-night { display: none; }
html[data-reading="night"] .ico-reading-day { display: none; }
html[data-reading="night"] .ico-reading-night { display: inline-flex; }
.breadcrumb .ico-svg { vertical-align: -2px; opacity: .9; }
.search-form button .ico-svg { color: #fff; }

/* Splash + launch popup */
.pk-splash {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  transition: opacity .3s ease, visibility .3s;
}
.pk-splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.pk-splash-inner { text-align: center; color: #fff; padding: 1.5rem; }
.pk-splash-art { max-width: min(320px, 80vw); max-height: 40vh; object-fit: contain; margin: 0 auto .75rem; border-radius: 12px; }
.pk-splash-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto .75rem; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.pk-splash-text { font-weight: 700; font-size: 1.05rem; margin-bottom: .85rem; opacity: .95; }
.pk-splash-spinner {
  width: 28px; height: 28px; margin: .5rem auto 0; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25); border-top-color: #fff;
  animation: pk-spin .7s linear infinite;
}
@keyframes pk-spin { to { transform: rotate(360deg); } }

.pk-launch {
  position: fixed; inset: 0; z-index: 9990; background: rgba(10,22,40,.72);
  display: grid; place-items: center; padding: 1rem; backdrop-filter: blur(3px);
}
.pk-launch-card {
  position: relative; background: #fff; border-radius: 14px; overflow: hidden;
  width: min(420px, 94vw); box-shadow: 0 24px 60px rgba(0,0,0,.35);
  animation: pk-pop .35s ease;
}
@keyframes pk-pop { from { transform: translateY(12px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.pk-launch-close {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff;
  font-size: 1.25rem; cursor: pointer; line-height: 1;
}
.pk-launch-title {
  padding: .85rem 1rem .35rem; font-weight: 800; font-size: 1rem; color: #0f172a;
}
.pk-launch-card img { width: 100%; display: block; max-height: 70vh; object-fit: cover; }
.pk-launch-card a { display: block; }


/* Buttons + panels (account / public forms) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.15rem; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer;
  text-decoration: none; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  background: #e2e8f0; color: #0f172a;
}
.btn:hover { background: #cbd5e1; color: #0f172a; text-decoration: none; }
.btn-primary, button.btn:not(.btn-outline):not(.btn-ghost) {
  background: var(--red, #c41e3a); color: #fff; border-color: var(--red, #c41e3a);
}
.btn-primary:hover, button.btn:not(.btn-outline):not(.btn-ghost):hover {
  background: #a01830; border-color: #a01830; color: #fff;
}
.btn-outline {
  background: #fff; color: var(--red, #c41e3a); border-color: #fecaca;
}
.btn-outline:hover { background: #fff5f5; color: #a01830; }
.btn-ghost { background: transparent; color: #334155; border-color: transparent; }
.btn-ghost:hover { background: #f1f5f9; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.panel {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1.15rem 1.25rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.panel + .panel { margin-top: 1rem; }
.panel h2, .panel h3 { margin: 0 0 .85rem; font-size: 1.1rem; color: #0f172a; }

.flash {
  padding: .75rem 1rem; border-radius: 10px; margin-bottom: 1rem;
  font-size: .92rem; font-weight: 600;
}
.flash.ok, .flash.success, .flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash.err, .flash.error, .flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* Account / reporter portal */
.account-page { max-width: 720px; margin: 0 auto; padding: .5rem 0 2rem; }
.account-page.wide { max-width: 960px; }
.auth-card {
  max-width: 440px; margin: 1.25rem auto 2rem; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
}
.auth-card .auth-brand {
  display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem;
}
.auth-card .auth-brand img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fee2e2;
}
.auth-card h1 {
  margin: 0 0 .35rem; font-size: 1.35rem; color: #0f172a; font-weight: 800;
}
.auth-card .auth-sub {
  margin: 0 0 1.15rem; color: #64748b; font-size: .9rem; line-height: 1.45;
}
.auth-form .field { margin-bottom: .95rem; }
.auth-form label {
  display: block; font-size: .82rem; font-weight: 700; color: #334155;
  margin-bottom: .35rem;
}
.auth-form .hint { display: block; margin-top: .3rem; font-size: .78rem; color: #94a3b8; font-weight: 500; }
.auth-form input[type="text"],
.auth-form input[type="tel"],
.auth-form input[type="password"],
.auth-form input[type="email"],
.auth-form input[type="url"],
.auth-form input[type="file"],
.auth-form textarea,
.auth-form select {
  width: 100%; box-sizing: border-box; padding: .7rem .85rem;
  border: 1.5px solid #cbd5e1; border-radius: 10px; font-size: 1rem;
  background: #fff; color: #0f172a; transition: border-color .15s, box-shadow .15s;
}
.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
  outline: none; border-color: var(--red, #c41e3a);
  box-shadow: 0 0 0 3px rgba(225, 29, 39, .15);
}
.auth-form textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.auth-actions { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.15rem; }
.auth-links {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #f1f5f9;
  display: flex; flex-wrap: wrap; gap: .5rem .85rem; font-size: .88rem;
}
.auth-links a { color: var(--red, #c41e3a); font-weight: 700; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }

.account-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: 1.15rem;
}
.account-head h1 { margin: 0; font-size: 1.35rem; }
.account-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.account-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem; margin-bottom: 1.25rem;
}
.account-stat {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: .85rem 1rem;
}
.account-stat .n { font-size: 1.4rem; font-weight: 800; color: var(--red, #c41e3a); }
.account-stat .l { font-size: .8rem; color: #64748b; font-weight: 600; }
.account-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.account-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.account-table th, .account-table td {
  padding: .65rem .55rem; text-align: left; border-bottom: 1px solid #e2e8f0; vertical-align: top;
}
.account-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: #64748b; }
.account-table .badge {
  display: inline-block; padding: .15rem .45rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; background: #f1f5f9; color: #475569;
}
.account-table .badge.published { background: #ecfdf5; color: #065f46; }
.account-table .badge.pending { background: #fff7ed; color: #9a3412; }
.account-table .badge.draft { background: #f1f5f9; color: #475569; }

.header-actions .tool-reporter {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem !important; border-radius: 8px; font-size: .78rem !important; font-weight: 700;
  background: rgba(255,255,255,.16) !important; color: #fff !important; text-decoration: none;
  border: 1px solid rgba(255,255,255,.35) !important; white-space: nowrap; line-height: 1.2;
}
.header-actions .tool-reporter:hover { background: rgba(255,255,255,.28) !important; color: #fff !important; }
.main-nav a.nav-reporter {
  color: #fecaca; font-weight: 800;
}
.main-nav a.nav-reporter:hover, .main-nav a.nav-reporter.active {
  color: #fff; border-bottom-color: #fecaca;
}
@media (max-width: 799px) {
  .header-actions .tool-reporter .tool-reporter-label { display: none; }
  .header-actions .tool-reporter { padding: .35rem .45rem !important; }
}
