/* Mehran Ki Baat hub — magazine news UI (vendor-scrubbed) */
:root {
  --mkb-bg: #f0f2f5;
  --mkb-surface: #ffffff;
  --mkb-ink: #1c2333;
  --mkb-muted: #667085;
  --mkb-line: #dde3ea;
  --mkb-red: #d62828;
  --mkb-blue: #1d4ed8;
  --mkb-green: #0f766e;
  --mkb-orange: #c2410c;
  --mkb-purple: #6d28d9;
  --mkb-top: #111827;
  --mkb-nav: #ffffff;
  --mkb-nav-ink: #111827;
  --mkb-shadow: 0 2px 12px rgba(17, 24, 39, 0.08);
  --mkb-radius: 4px;
  --mkb-font: "Signika Negative", "Segoe UI", Tahoma, sans-serif;
  --mkb-urdu: "Noto Nastaliq Urdu", "Signika Negative", Tahoma, sans-serif;
}

html[data-theme="dark"] {
  --mkb-bg: #0f1419;
  --mkb-surface: #1a222d;
  --mkb-ink: #e8eef7;
  --mkb-muted: #9aa4b2;
  --mkb-line: #2a3444;
  --mkb-top: #080c11;
  --mkb-nav: #141b24;
  --mkb-nav-ink: #e8eef7;
  --mkb-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
body.mkb-body {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--mkb-bg) !important;
  color: var(--mkb-ink) !important;
  font-family: var(--mkb-font) !important;
  line-height: 1.55;
  min-height: 100vh;
}
body.mkb-body::before { display: none !important; }
html[dir="rtl"] body.mkb-body,
html[dir="rtl"] .mkb-urdu { font-family: var(--mkb-urdu); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.mkb-wrap { width: min(1200px, calc(100% - 1.5rem)); margin-inline: auto; }
.mkb-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Topbar */
.mkb-topbar {
  background: var(--mkb-top);
  color: #e5e7eb;
  font-size: 0.8rem;
}
.mkb-topbar__inner {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  align-items: center; justify-content: space-between;
  padding: 0.45rem 0;
}
.mkb-topbar__meta { display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; align-items: center; }
.mkb-topbar__prefs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.mkb-chip {
  appearance: none; border: 1px solid rgba(255,255,255,0.2);
  background: transparent; color: inherit; border-radius: 2px;
  padding: 0.15rem 0.5rem; font: inherit; cursor: pointer; font-size: 0.75rem;
}
.mkb-chip.is-active, .mkb-chip:hover { background: rgba(255,255,255,0.14); }

/* Nav — white magazine bar */
.mkb-nav {
  background: var(--mkb-nav);
  color: var(--mkb-nav-ink);
  border-bottom: 3px solid var(--mkb-red);
  position: sticky; top: 0; z-index: 40;
  box-shadow: var(--mkb-shadow);
}
.mkb-nav__inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.65rem 0; flex-wrap: wrap;
}
.mkb-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; letter-spacing: -0.02em; min-width: 0;
}
.mkb-brand img { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.mkb-brand > span { min-width: 0; }
.mkb-brand small { display: block; font-weight: 500; opacity: 0.65; font-size: 0.7rem; }
.mkb-nav__links {
  display: flex; flex-wrap: wrap; gap: 0.15rem 0.15rem;
  list-style: none; margin: 0; padding: 0; flex: 1;
}
.mkb-nav__links a {
  display: block; padding: 0.4rem 0.65rem; font-size: 0.88rem; font-weight: 600;
  border-radius: 2px;
}
.mkb-nav__links a:hover, .mkb-nav__links a.is-active {
  background: var(--mkb-red); color: #fff;
}
.mkb-nav__actions { margin-inline-start: auto; }
.mkb-nav__drawer-prefs { display: none; }
.mkb-search {
  display: flex; align-items: center; gap: 0.25rem;
  background: var(--mkb-bg); border-radius: 2px;
  padding: 0.2rem 0.45rem; border: 1px solid var(--mkb-line);
}
.mkb-search input {
  border: 0; background: transparent; color: var(--mkb-ink); width: 9rem;
  font: inherit; outline: none; min-width: 0;
}
.mkb-search button {
  border: 0; background: var(--mkb-red); color: #fff; cursor: pointer;
  font: inherit; font-size: 0.78rem; padding: 0.3rem 0.55rem; border-radius: 2px;
  flex: 0 0 auto;
}
.mkb-burger {
  display: none; border: 1px solid var(--mkb-line);
  background: transparent; color: var(--mkb-ink);
  padding: 0.45rem 0.65rem; border-radius: 2px; line-height: 1;
  align-items: center; justify-content: center; cursor: pointer;
  min-width: 2.5rem; min-height: 2.5rem;
}
@media (max-width: 860px) {
  .mkb-wrap { width: min(1200px, calc(100% - 1rem)); }

  .mkb-topbar__inner {
    flex-wrap: nowrap;
    gap: 0.4rem 0.65rem;
    padding: 0.3rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mkb-topbar__inner::-webkit-scrollbar { display: none; }
  .mkb-topbar__meta {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 0.45rem;
    min-width: 0;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .mkb-topbar__prefs { display: none; }

  .mkb-nav__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem 0.55rem;
    align-items: center;
    padding: 0.45rem 0;
  }
  .mkb-brand { grid-column: 1; grid-row: 1; }
  .mkb-brand img { width: 36px; height: 36px; }
  .mkb-brand > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
  }
  .mkb-brand small { display: none; }
  .mkb-burger {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .mkb-nav__actions {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    width: 100%;
  }
  .mkb-search { width: 100%; }
  .mkb-search input { width: 100%; flex: 1; }
  .mkb-nav__links {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    width: 100%;
    flex: none;
    flex-direction: column;
    gap: 0.15rem;
    border-top: 1px solid var(--mkb-line);
    padding: 0.55rem 0 0.15rem;
    margin: 0;
  }
  .mkb-nav__links a {
    padding: 0.7rem 0.75rem;
    font-size: 0.95rem;
  }
  .mkb-nav.is-open .mkb-nav__links { display: flex; }
  .mkb-nav__drawer-prefs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    grid-column: 1 / -1;
    grid-row: 4;
    padding: 0.35rem 0 0.15rem;
    border-top: 1px solid var(--mkb-line);
  }
  .mkb-nav:not(.is-open) .mkb-nav__drawer-prefs { display: none; }
  .mkb-nav__drawer-prefs .mkb-chip {
    border-color: var(--mkb-line);
    color: var(--mkb-ink);
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }
  .mkb-nav__drawer-prefs .mkb-chip.is-active,
  .mkb-nav__drawer-prefs .mkb-chip:hover {
    background: var(--mkb-red);
    border-color: var(--mkb-red);
    color: #fff;
  }
}

/* Strips */
.mkb-strip {
  background: var(--mkb-surface);
  border-bottom: 1px solid var(--mkb-line);
  padding: 0.55rem 0;
}
.mkb-strip__label {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  color: var(--mkb-red); margin-bottom: 0.4rem; letter-spacing: 0.04em;
}
.mkb-strip__row { display: flex; gap: 0.65rem; overflow-x: auto; }
.mkb-score, .mkb-hot {
  flex: 0 0 auto; min-width: 200px;
  border: 1px solid var(--mkb-line); border-radius: var(--mkb-radius);
  padding: 0.5rem 0.7rem; background: var(--mkb-bg);
}
.mkb-score strong, .mkb-hot strong { display: block; font-size: 0.86rem; }
.mkb-score span, .mkb-hot span { color: var(--mkb-muted); font-size: 0.75rem; }

/* Main */
.mkb-main { padding: 1.15rem 0 2.5rem; }
.mkb-masthead {
  text-align: center; padding: 0.75rem 0 1.15rem;
  border-bottom: 1px solid var(--mkb-line); margin-bottom: 1.15rem;
}
.mkb-masthead h1 {
  margin: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900;
  letter-spacing: -0.03em;
}
.mkb-masthead p { margin: 0.35rem 0 0; color: var(--mkb-muted); }

.mkb-lead {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 1rem; margin-bottom: 1.5rem;
}
@media (max-width: 900px) { .mkb-lead { grid-template-columns: 1fr; } }

.mkb-feature {
  position: relative; display: block; min-height: 360px;
  background: #111; border-radius: var(--mkb-radius); overflow: hidden;
  box-shadow: var(--mkb-shadow);
}
.mkb-feature__media { position: absolute; inset: 0; }
.mkb-feature__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.mkb-feature__media:empty,
.mkb-feature__ph {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1e3a5f, #0f172a 55%, #7f1d1d);
}
.mkb-feature__copy {
  position: absolute; inset: auto 0 0 0;
  padding: 1.25rem 1.2rem 1.35rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  color: #fff;
}
.mkb-feature__copy h2 { margin: 0.4rem 0 0.5rem; font-size: clamp(1.2rem, 2.5vw, 1.85rem); line-height: 1.3; }
.mkb-feature__copy p { margin: 0; opacity: 0.9; font-size: 0.92rem; max-width: 40rem; }
.mkb-feature .mkb-meta { color: rgba(255,255,255,0.85); }

.mkb-kicker {
  display: inline-block; background: var(--mkb-red); color: #fff;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 800; padding: 0.2rem 0.5rem;
}

.mkb-side {
  background: var(--mkb-surface); border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius); padding: 0.85rem 1rem; box-shadow: var(--mkb-shadow);
}
.mkb-side h3 {
  margin: 0 0 0.75rem; font-size: 0.95rem; padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--mkb-red);
}
.mkb-side ul { list-style: none; margin: 0; padding: 0; }
.mkb-side li + li { border-top: 1px solid var(--mkb-line); }
.mkb-side a {
  display: grid; grid-template-columns: 78px 1fr; gap: 0.65rem;
  padding: 0.65rem 0; align-items: start;
}
.mkb-side img { width: 78px; height: 58px; object-fit: cover; border-radius: 2px; background: var(--mkb-line); }
.mkb-side strong { display: block; font-size: 0.88rem; line-height: 1.35; }
.mkb-side small { color: var(--mkb-muted); font-size: 0.74rem; }

.mkb-section { margin: 1.75rem 0; }
.mkb-section__head {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
  justify-content: space-between; margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--mkb-ink); padding-bottom: 0.4rem;
}
.mkb-section__head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.mkb-tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.mkb-tab {
  border: 1px solid var(--mkb-line); background: var(--mkb-surface);
  color: var(--mkb-muted); border-radius: 2px; padding: 0.25rem 0.6rem;
  font-size: 0.78rem; font-weight: 600;
}
.mkb-tab.is-active, .mkb-tab:hover { background: var(--mkb-red); color: #fff; border-color: var(--mkb-red); }

.mkb-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem;
}
@media (max-width: 1100px) { .mkb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .mkb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mkb-grid { grid-template-columns: 1fr; } }

.mkb-card {
  background: var(--mkb-surface); border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius); overflow: hidden; box-shadow: var(--mkb-shadow);
  display: flex; flex-direction: column; min-height: 100%;
  transition: transform 0.15s ease;
}
.mkb-card:hover { transform: translateY(-2px); }
.mkb-card__media { aspect-ratio: 16/10; background: var(--mkb-line); position: relative; }
.mkb-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mkb-card__body { padding: 0.75rem 0.8rem 0.95rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.mkb-card__body strong { font-size: 0.92rem; line-height: 1.35; }
.mkb-meta {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.65rem;
  color: var(--mkb-muted); font-size: 0.72rem;
}
.mkb-badge {
  display: inline-block; color: #fff; border-radius: 2px;
  padding: 0.12rem 0.45rem; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  background: var(--mkb-blue);
}
.mkb-badge.is-politics { background: var(--mkb-red); }
.mkb-badge.is-sports { background: var(--mkb-green); }
.mkb-badge.is-local { background: var(--mkb-orange); }
.mkb-badge.is-entertainment { background: var(--mkb-purple); }
.mkb-badge.is-world { background: #0369a1; }

.mkb-empty {
  padding: 2.5rem 1.25rem; text-align: center; color: var(--mkb-ink);
  border: 2px dashed var(--mkb-line); border-radius: var(--mkb-radius);
  background: var(--mkb-surface);
}
.mkb-empty h2 { margin: 0 0 0.5rem; }
.mkb-empty p { margin: 0; color: var(--mkb-muted); }

/* Article */
.mkb-article { max-width: 880px; margin: 0 auto; }
.mkb-article__hero {
  margin: 0 0 1rem;
  padding: 0;
  background: var(--mkb-surface);
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mkb-article__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(85vh, 820px);
  object-fit: contain;
  background: #0b0f14;
}
.mkb-article__engage {
  margin: 0 0 0.85rem;
}
.mkb-article__engage .post-reactions {
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: var(--mkb-surface);
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius);
}
.mkb-article__summary {
  margin: 0 0 1rem;
  padding: 0.95rem 1.05rem 1.1rem;
  background: var(--mkb-surface);
  border: 1px solid var(--mkb-line);
  border-inline-start: 4px solid var(--mkb-red);
  border-radius: var(--mkb-radius);
  box-shadow: var(--mkb-shadow);
}
.mkb-article__summary-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mkb-red);
}
.mkb-article__summary-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--mkb-ink);
}
.mkb-article__body {
  background: var(--mkb-surface); border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius); padding: 1.15rem 1.25rem 1.5rem;
  box-shadow: var(--mkb-shadow);
}
.mkb-article__body .article-body { font-size: 1.06rem; line-height: 1.85; }
.mkb-article__body .article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: var(--mkb-radius);
}

/* AdSense — markup ready; reserved slots stay hidden until env slot IDs are set */
.adsense-slot {
  width: 100%;
  margin: 0.85rem 0 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--mkb-radius);
}
.adsense-slot.is-reserved { display: none; }
.adsense-slot.is-live { min-height: 90px; }
.adsense-slot--mid.is-live { min-height: 100px; }
.adsense-slot--after.is-live { min-height: 120px; }
.adsense-slot .adsbygoogle { width: 100%; }
.mkb-article h1 { margin: 0.35rem 0 0.5rem; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.35; }
.mkb-layout-article {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 1.15rem; align-items: start;
}
@media (max-width: 900px) { .mkb-layout-article { grid-template-columns: 1fr; } }

/* Article comments sidebar */
.mkb-body .post-comments {
  position: sticky; top: 5.5rem;
  padding: 1.1rem 1.15rem 1.25rem;
  max-height: calc(100vh - 6.5rem); overflow: auto;
}
.mkb-body .post-comments__title {
  margin: 0 0 0.85rem; font-size: 1.15rem; font-weight: 800;
  padding-bottom: 0.45rem; border-bottom: 2px solid var(--mkb-red);
}
.mkb-body .post-comments__form {
  position: relative; display: grid; gap: 0.75rem; margin-bottom: 1.1rem;
}
.mkb-body .post-comments__form label {
  display: grid; gap: 0.35rem; font-size: 0.82rem; font-weight: 600; color: var(--mkb-muted);
}
.mkb-body .post-comments__form input,
.mkb-body .post-comments__form textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--mkb-line); border-radius: var(--mkb-radius);
  background: var(--mkb-bg); color: var(--mkb-ink);
  padding: 0.65rem 0.75rem; font: inherit; resize: vertical; line-height: 1.45;
}
.mkb-body .post-comments__form input:focus,
.mkb-body .post-comments__form textarea:focus {
  outline: none; border-color: var(--mkb-red);
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.15);
}
.mkb-body .post-comments__form .btn {
  justify-self: start; min-width: 7.5rem; margin-top: 0.15rem;
}
.mkb-body .post-comments__trap {
  position: absolute !important; top: 0 !important; left: 0 !important;
  width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important; border: 0 !important;
  opacity: 0 !important; pointer-events: none !important;
}
.mkb-body .post-comments__list { display: grid; gap: 0.75rem; }
.mkb-body .post-comments__item {
  padding: 0.75rem 0.85rem; border-radius: var(--mkb-radius);
  border: 1px solid var(--mkb-line); background: var(--mkb-bg);
}
.mkb-body .post-comments__item strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.mkb-body .post-comments__item time,
.mkb-body .post-comments__item .time-ago { color: var(--mkb-muted); font-size: 0.75rem; }
.mkb-body .post-comments__item p { margin: 0.45rem 0 0; font-size: 0.92rem; line-height: 1.55; }
.mkb-body .post-comments__empty {
  margin: 0; color: var(--mkb-muted); font-size: 0.9rem;
  padding: 0.85rem; text-align: center;
  border: 1px dashed var(--mkb-line); border-radius: var(--mkb-radius);
}
.mkb-body .flash {
  margin: 0 0 0.75rem; padding: 0.55rem 0.7rem; border-radius: var(--mkb-radius);
  background: rgba(15, 118, 110, 0.12); color: var(--mkb-green); font-size: 0.85rem;
}
.mkb-body .flash--error { background: rgba(214, 40, 40, 0.12); color: var(--mkb-red); }

/* Reactions */
.mkb-body .post-reactions {
  display: flex; flex-direction: column; align-items: stretch; gap: 0.65rem;
  margin: 1rem 0;
}
.mkb-body .post-reactions__label {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--mkb-muted);
}
.mkb-body .post-reactions__row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.mkb-body .post-reactions__btn {
  flex: 1 1 140px; min-height: 2.75rem; padding: 0.55rem 0.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border: 1px solid var(--mkb-line); border-radius: var(--mkb-radius);
  background: var(--mkb-bg); color: var(--mkb-ink);
  font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.mkb-body .post-reactions__btn:hover { border-color: inherit; }
.mkb-body .post-reactions__btn--like {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.4);
}
.mkb-body .post-reactions__btn--like:hover,
.mkb-body .post-reactions__btn--like.is-active {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}
.mkb-body .post-reactions__btn--dislike {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.4);
}
.mkb-body .post-reactions__btn--dislike:hover,
.mkb-body .post-reactions__btn--dislike.is-active {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}
.mkb-body .post-reactions__icon { font-size: 1.05rem; opacity: 1; line-height: 1; }
.mkb-body .post-reactions__icon--like {
  filter: sepia(1) saturate(8) hue-rotate(190deg) brightness(0.95);
}
.mkb-body .post-reactions__icon--dislike {
  filter: sepia(1) saturate(10) hue-rotate(-25deg) brightness(0.95);
}
.mkb-body .post-reactions__count {
  margin-inline-start: 0.15rem; padding: 0.1rem 0.45rem;
  border-radius: 999px; background: rgba(0,0,0,0.06);
  font-size: 0.8rem; font-weight: 800;
}
html[data-theme="dark"] .mkb-body .post-reactions__count { background: rgba(255,255,255,0.08); }

@media (max-width: 900px) {
  .mkb-body .post-comments { position: static; max-height: none; }
}

.mkb-footer {
  border-top: 3px solid var(--mkb-red); background: var(--mkb-surface);
  padding: 1.25rem 0 1.75rem; color: var(--mkb-muted); font-size: 0.88rem;
}
.mkb-footer__inner {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  justify-content: space-between; align-items: center;
}
.mkb-footer a:hover { color: var(--mkb-red); }

.mkb-search-page input[type="search"] {
  width: 100%; max-width: 36rem; padding: 0.7rem 0.9rem;
  border-radius: 2px; border: 1px solid var(--mkb-line);
  background: var(--mkb-surface); color: var(--mkb-ink); font: inherit;
}

/* Components used on article pages (isolated from site.css) */
.mkb-body .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 0.95rem; border-radius: 2px; border: 1px solid var(--mkb-line);
  background: var(--mkb-surface); color: var(--mkb-ink); font: inherit; cursor: pointer;
}
.mkb-body .btn-cyan, .mkb-body .btn-primary {
  background: var(--mkb-red); border-color: var(--mkb-red); color: #fff;
}
.mkb-body .btn-ghost { background: transparent; }
.mkb-body .post-share, .mkb-body .post-comments, .mkb-body .related-news, .mkb-body .post-reactions {
  background: var(--mkb-surface); border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius); padding: 0.9rem 1rem; margin: 1rem 0;
}

.mkb-body .read-also {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.65rem;
  margin: 0.85rem 0 1.1rem; padding: 0.7rem 0.85rem;
  border-inline-end: 3px solid var(--mkb-red);
  background: rgba(196, 30, 58, 0.06);
  border-radius: var(--mkb-radius) 0 0 var(--mkb-radius);
}
.mkb-body .read-also__label {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--mkb-red);
}
.mkb-body .read-also__link {
  color: inherit; text-decoration: none; font-weight: 700; line-height: 1.35;
}
.mkb-body .read-also__link:hover { color: var(--mkb-red); }

.mkb-body .continue-reading {
  margin: 1.35rem 0 1.1rem; padding: 1.15rem 1rem 1.25rem;
  border-radius: var(--mkb-radius);
  border: 1px solid var(--mkb-line);
  background: var(--mkb-surface);
}
.mkb-body .continue-reading__title {
  margin: 0 0 0.3rem; font-size: 1.28rem; line-height: 1.25; color: var(--mkb-ink);
}
.mkb-body .continue-reading__lead {
  margin: 0 0 0.95rem; font-size: 0.92rem; opacity: 0.75; line-height: 1.45;
}
.mkb-body .continue-reading__next {
  display: flex; flex-direction: column; gap: 0.3rem;
  margin-bottom: 0.95rem; padding: 0.95rem 1rem;
  border-radius: var(--mkb-radius); border: 1px solid rgba(196, 30, 58, 0.35);
  background: rgba(196, 30, 58, 0.05); color: inherit; text-decoration: none;
}
.mkb-body .continue-reading__next:hover { border-color: var(--mkb-red); }
.mkb-body .continue-reading__next-label {
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--mkb-red); font-weight: 800;
}
.mkb-body .continue-reading__next-title { font-size: 1.05rem; line-height: 1.35; }
.mkb-body .continue-reading__next-cta { font-size: 0.88rem; font-weight: 700; color: var(--mkb-red); }
.mkb-body .continue-reading__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px; margin-bottom: 0.95rem;
}
.mkb-body .continue-reading__card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--mkb-radius); border: 1px solid var(--mkb-line);
  background: var(--mkb-bg); color: inherit; text-decoration: none;
}
.mkb-body .continue-reading__card:hover { border-color: var(--mkb-red); }
.mkb-body .continue-reading__thumb {
  display: block; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(0,0,0,0.04);
}
.mkb-body .continue-reading__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mkb-body .continue-reading__ph {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.12), rgba(0,0,0,0.03));
}
.mkb-body .continue-reading__copy {
  display: flex; flex-direction: column; gap: 0.2rem; padding: 0.6rem 0.65rem 0.7rem;
}
.mkb-body .continue-reading__meta { font-size: 0.72rem; opacity: 0.65; }
.mkb-body .continue-reading__copy strong { font-size: 0.88rem; line-height: 1.35; }
.mkb-body .continue-reading__hub {
  display: inline-flex; font-weight: 800; font-size: 0.95rem;
  color: var(--mkb-red); text-decoration: none;
}
.mkb-body .continue-reading__hub:hover { text-decoration: underline; }

.mkb-body .next-story-chip {
  position: fixed; right: 1rem; bottom: 1.25rem; z-index: 40;
  max-width: min(18rem, calc(100vw - 2rem));
  padding: 0.7rem 0.95rem; border-radius: var(--mkb-radius);
  background: var(--mkb-top);
  border: 1px solid rgba(214, 40, 40, 0.55);
  color: #f3f4f6;
  text-decoration: none; font-size: 0.86rem; line-height: 1.35;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.mkb-body .next-story-chip__kicker {
  display: block; margin-bottom: 0.12rem; font-size: 0.7rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: #fca5a5;
}
.mkb-body .next-story-chip:hover { border-color: var(--mkb-red); color: #fff; }

.mkb-body .follow-embeds {
  margin: 1.35rem 0 0.5rem;
  padding: 1.15rem 1rem 1.25rem;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius);
  background: var(--mkb-surface);
}
.mkb-body .follow-embeds__title {
  margin: 0 0 0.3rem; font-size: 1.2rem; color: var(--mkb-ink);
}
.mkb-body .follow-embeds__lead {
  margin: 0 0 0.95rem; font-size: 0.9rem; color: var(--mkb-muted); line-height: 1.45;
}
.mkb-body .follow-embeds__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.mkb-body .follow-card {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--mkb-radius);
  border: 1px solid var(--mkb-line);
  background: var(--mkb-bg);
  color: var(--mkb-ink);
  text-decoration: none;
  min-height: 6.5rem;
}
.mkb-body .follow-card:hover { border-color: var(--mkb-red); }
.mkb-body .follow-card--facebook {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0.65rem;
  background: var(--mkb-bg);
}
.mkb-body .follow-card__embed {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
}
.mkb-body .follow-card__fallback {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mkb-red);
  text-decoration: none;
}
.mkb-body .follow-card__brand {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--mkb-muted);
}
.mkb-body .follow-card__name { font-size: 1rem; line-height: 1.3; }
.mkb-body .follow-card__cta {
  margin-top: auto; font-size: 0.88rem; font-weight: 800; color: var(--mkb-red);
}
.mkb-body .follow-card--youtube .follow-card__cta { color: #c81e1e; }
.mkb-body .follow-card--instagram .follow-card__cta { color: #c13584; }
.mkb-body .follow-card--threads .follow-card__cta { color: var(--mkb-ink); }
.mkb-body .follow-card--x .follow-card__cta { color: var(--mkb-ink); }

/* Follow / share icons — keep compact (site.css not loaded on hub) */
.mkb-body .socials,
.mkb-body .actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
}
.mkb-body .social {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--mkb-line); background: var(--mkb-surface); color: var(--mkb-ink);
}
.mkb-body .social:hover { border-color: var(--mkb-red); color: var(--mkb-red); }
.mkb-body .social svg {
  width: 16px; height: 16px; max-width: 16px; max-height: 16px;
  fill: currentColor; display: block;
}
.mkb-body .post-share__label { margin: 0 0 0.55rem; font-weight: 700; font-size: 0.92rem; }
.mkb-body .post-share__row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.65rem; }
.mkb-body .post-share__btn {
  width: 36px; height: 36px; flex: 0 0 36px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--mkb-radius); border: 1px solid var(--mkb-line);
  background: var(--mkb-bg); color: var(--mkb-ink); cursor: pointer;
}
.mkb-body .post-share__btn:hover { border-color: var(--mkb-red); color: var(--mkb-red); }
.mkb-body .post-share__btn svg {
  width: 16px; height: 16px; max-width: 16px; max-height: 16px;
  fill: currentColor; display: block;
}
.mkb-body .post-share__link-row { display: flex; gap: 0.5rem; align-items: center; min-width: 0; }
.mkb-body .post-share__input {
  flex: 1; min-width: 0; border: 1px solid var(--mkb-line); border-radius: var(--mkb-radius);
  background: var(--mkb-bg); color: var(--mkb-muted); padding: 0.5rem 0.65rem; font: inherit; font-size: 0.85rem;
}
.mkb-body .post-share__copied { margin: 0.45rem 0 0; font-size: 0.85rem; color: var(--mkb-red); font-weight: 700; }
.mkb-body .cookie-notice {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  max-width: 40rem; margin: 0 auto; padding: 0.85rem 1rem;
  background: var(--mkb-surface); border: 1px solid var(--mkb-line);
  box-shadow: var(--mkb-shadow); color: var(--mkb-ink);
}
.mkb-body .cookie-notice[hidden] {
  display: none !important;
}

/* —— Newspress-style home grid —— */
.np-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.25rem;
  align-items: start;
}
.np-home__main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.95fr);
  gap: 1.15rem;
  align-items: start;
}
@media (max-width: 1100px) {
  .np-home { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .np-home__main { grid-template-columns: 1fr; }
}

.np-section { margin-bottom: 1.75rem; }
.np-section--wide { margin-top: 1.5rem; }
.np-section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem 1rem;
  justify-content: space-between; margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--mkb-line); padding-bottom: 0.35rem;
}
.np-section__title {
  margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em;
  border-bottom: 3px solid var(--mkb-red); padding-bottom: 0.35rem; margin-bottom: -0.4rem;
}
.np-see-all { color: var(--mkb-muted); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }
.np-see-all:hover { color: var(--mkb-red); }
.np-cat-menu {
  min-width: 0;
  max-width: 100%;
}
.np-cat-menu ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0.85rem;
}
.np-cat-menu a { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; color: var(--mkb-muted); }
.np-cat-menu li.is-active a, .np-cat-menu a:hover {
  color: var(--mkb-red); border-bottom: 2px solid var(--mkb-red); padding-bottom: 0.15rem;
}
@media (max-width: 860px) {
  .np-section__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .np-section__title {
    font-size: 1.15rem;
    align-self: flex-start;
  }
  .np-cat-menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
  }
  .np-cat-menu ul {
    flex-wrap: nowrap;
    width: max-content;
    gap: 0.35rem 0.9rem;
    padding-bottom: 0.2rem;
  }
  .np-cat-menu a {
    display: inline-block;
    padding: 0.35rem 0.1rem;
    white-space: nowrap;
  }
}

.np-meta {
  list-style: none; margin: 0 0 0.4rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem;
  color: var(--mkb-muted); font-size: 0.72rem;
}
.np-post { margin-bottom: 1rem; }
.np-post__media {
  display: block; background: var(--mkb-line); overflow: hidden; position: relative;
}
.np-post__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.np-post__ph {
  display: block; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1e3a5f, #7f1d1d 70%);
}
.np-post__title { margin: 0; font-size: 1.05rem; line-height: 1.35; font-weight: 700; }
.np-post__title a:hover { color: var(--mkb-red); }
.np-post__excerpt { margin: 0.45rem 0 0; color: var(--mkb-muted); font-size: 0.9rem; line-height: 1.5; }
.np-post--feature .np-post__title { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.np-post--small {
  display: grid; grid-template-columns: 96px 1fr; gap: 0.65rem; align-items: start;
}
.np-post--small .np-post__media img,
.np-post--small .np-post__ph { aspect-ratio: 1; }
.np-post--small .np-post__title { font-size: 0.92rem; }
.np-post--tiny {
  display: grid; grid-template-columns: 72px 1fr; gap: 0.55rem; align-items: start;
  margin-bottom: 0.85rem;
}
.np-post--tiny .np-post__media img,
.np-post--tiny .np-post__ph { aspect-ratio: 1; }
.np-post--tiny .np-post__title { font-size: 0.86rem; }
.np-cat {
  display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  color: var(--mkb-muted); margin-bottom: 0.2rem;
}
.np-cat.is-sports { color: var(--mkb-green); }
.np-cat.is-politics { color: var(--mkb-red); }
.np-cat.is-world { color: #0369a1; }
.np-cat.is-business { color: var(--mkb-orange); }

.np-link-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.np-link-list li { border-top: 1px solid var(--mkb-line); }
.np-link-list a, .np-link-list span {
  display: block; padding: 0.55rem 0; font-size: 0.9rem; line-height: 1.35;
}
.np-link-list a:hover { color: var(--mkb-red); }
.np-link-list--arrows a::after { content: " ›"; color: var(--mkb-red); font-weight: 700; }

.np-split {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.85rem;
}
@media (max-width: 700px) { .np-split { grid-template-columns: 1fr; } }
.np-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem;
}
@media (max-width: 560px) { .np-grid-2 { grid-template-columns: 1fr; } }
.np-stack { display: flex; flex-direction: column; gap: 0.75rem; }

.np-health-feature .np-post--feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0.85rem; align-items: center;
}
@media (max-width: 700px) {
  .np-health-feature .np-post--feature { grid-template-columns: 1fr; }
}

/* Gallery — only one slide visible (display:block must not override [hidden]) */
.np-gallery { position: relative; background: var(--mkb-surface); border: 1px solid var(--mkb-line); }
.np-gallery__stage {
  position: relative;
  overflow: hidden;
  min-height: 12rem;
}
.np-gallery__slide {
  display: none;
  color: inherit;
}
.np-gallery__slide.is-active,
.np-gallery__slide.is-active[hidden] {
  display: block;
}
.np-gallery__slide[hidden] {
  display: none !important;
}
.np-gallery__slide img, .np-gallery__slide .np-post__ph {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
}
.np-gallery__slide h3 {
  margin: 0; padding: 0.75rem 0.85rem 0.35rem; font-size: 1.05rem; line-height: 1.35;
}
.np-gallery__thumbs {
  display: flex; gap: 0.35rem; overflow-x: auto; padding: 0.55rem 0.65rem 0.75rem;
}
.np-gallery__thumbs button {
  flex: 0 0 56px; width: 56px; height: 56px; padding: 0; border: 2px solid transparent;
  background: var(--mkb-line); cursor: pointer; overflow: hidden;
}
.np-gallery__thumbs button.is-active { border-color: var(--mkb-red); }
.np-gallery__thumbs img, .np-gallery__thumbs .np-post__ph {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.np-gallery__nav {
  position: absolute; top: 28%; inset-inline: 0.35rem;
  display: flex; justify-content: space-between; pointer-events: none; z-index: 2;
}
.np-gallery__nav button {
  pointer-events: auto; width: 2rem; height: 2rem; border: 0;
  background: rgba(0,0,0,0.55); color: #fff; font-size: 1.25rem; cursor: pointer;
}

/* Sports scores */
.np-scores { margin-bottom: 1rem; border: 1px solid var(--mkb-line); background: #111827; color: #fff; }
.np-scores__feature {
  padding: 1rem 0.85rem; text-align: center;
  background: linear-gradient(160deg, rgba(214,40,40,0.55), rgba(17,24,39,0.95)),
              radial-gradient(circle at 30% 20%, #334155, #0f172a);
}
.np-scores__league {
  display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  opacity: 0.85; margin-bottom: 0.35rem;
}
.np-scores__feature strong { display: block; font-size: 0.95rem; margin-bottom: 0.35rem; }
.np-scores__result { display: block; font-size: 1.75rem; font-weight: 800; }
.np-scores__status { display: block; font-size: 0.75rem; opacity: 0.8; margin-top: 0.25rem; }
.np-scores__list { list-style: none; margin: 0; padding: 0; background: var(--mkb-surface); color: var(--mkb-ink); }
.np-scores__list li, .np-scores__list a {
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding: 0.55rem 0.75rem; border-top: 1px solid var(--mkb-line); font-size: 0.82rem;
}
.np-scores__list a { width: 100%; color: inherit; }
.np-scores__list a:hover { color: var(--mkb-red); }

/* Video */
.np-video { background: #0b1220; color: #fff; border: 1px solid var(--mkb-line); }
.np-video__frame { position: relative; aspect-ratio: 16/9; background: #000; }
.np-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.np-video__meta { padding: 0.75rem 0.85rem 1rem; }
.np-video__meta h3 { margin: 0.25rem 0 0; font-size: 0.98rem; }
.np-video__meta a { color: #fff; }
.np-video__meta a:hover { color: #fca5a5; }
.np-video--empty { padding: 1.25rem; text-align: center; color: #cbd5e1; }

/* Sidebar */
.np-sidebar { display: flex; flex-direction: column; gap: 1.15rem; }
.np-widget {
  background: var(--mkb-surface); border: 1px solid var(--mkb-line);
  padding: 0.85rem 0.9rem 1rem;
}
.np-follow { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.np-follow__btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 2.6rem; color: #fff !important; font-size: 0.78rem; font-weight: 700;
}
.np-follow__btn.is-yt { background: #c4302b; }
.np-follow__btn.is-ig { background: #e1306c; }
.np-follow__btn.is-fb { background: #3b5998; }
.np-follow__btn.is-x { background: #111827; }
.np-ad { text-align: center; }
.np-ad__label {
  display: block; font-size: 0.68rem; text-transform: uppercase; color: var(--mkb-muted);
  margin-bottom: 0.5rem;
}
.np-tabs { display: flex; gap: 0.25rem; margin-bottom: 0.65rem; }
.np-tabs button {
  flex: 1; border: 1px solid var(--mkb-line); background: transparent;
  color: var(--mkb-muted); padding: 0.35rem 0.25rem; font: inherit; font-size: 0.75rem;
  font-weight: 700; cursor: pointer;
}
.np-tabs button.is-active { background: var(--mkb-red); color: #fff; border-color: var(--mkb-red); }
.np-tag-cloud {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.np-tag-cloud a {
  display: inline-block; border: 1px solid var(--mkb-line); padding: 0.2rem 0.5rem;
  font-size: 0.75rem; color: var(--mkb-muted);
}
.np-tag-cloud a:hover { border-color: var(--mkb-red); color: var(--mkb-red); }
.np-weather-card__temp { margin: 0; font-size: 1.6rem; font-weight: 800; }
.np-weather-card__hint { margin: 0.25rem 0 0; color: var(--mkb-muted); font-size: 0.78rem; }

html[data-theme="dark"] .np-scores { border-color: var(--mkb-line); }
html[data-theme="dark"] .np-video { border-color: var(--mkb-line); }
