/* ============================================================
   The Daily Mark News — BBC-Inspired Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Serif:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* BBC-Inspired Palette */
  --red:        #bb1919;
  --red-dark:   #8f0e0e;
  --black:      #1d1d1b;
  --dark:       #3d3d3f;
  --mid:        #6e6e73;
  --muted:      #9a9a9d;
  --border:     #e6e6e6;
  --bg:         #f6f6f6;
  --bg2:        #efefef;
  --white:      #ffffff;
  --blue:       #0d3b6e;
  --link:       #1d1d1b;
  --link-hover: #bb1919;
  --accent:     #bb1919;

  /* Typography */
  --sans:  'IBM Plex Sans', Helvetica Neue, Arial, sans-serif;
  --serif: 'IBM Plex Serif', Georgia, serif;

  /* Spacing */
  --gap: 20px;
  --shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--black);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: var(--sans); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── BBC-STYLE HEADER ─────────────────────────────── */
.site-header {
  background: var(--black);
  border-bottom: 4px solid var(--red);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 8px;
}

/* BBC Logo blocks */
.bbc-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.bbc-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  letter-spacing: -.02em;
}
.logo-news-wrap {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}
.logo-site-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
}
.logo-tagline {
  font-family: var(--sans);
  font-size: .62rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-right .hd-date {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
}
.header-socials a {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-left: 10px;
  transition: color .15s;
}
.header-socials a:hover { color: #fff; }

/* Header Ad */
.header-ad-strip {
  background: var(--black);
  padding: 6px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ── NAVIGATION — white bar like picture ──────────── */
.main-nav {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list > li { position: relative; flex-shrink: 0; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 15px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
  transition: color .15s;
  border-bottom: 3px solid transparent;
  text-decoration: none;
}
.nav-list > li > a:hover { color: var(--red); border-bottom-color: var(--red); }
/* Active / Home — red text + red underline */
.nav-list > li > a.active {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 600;
}
/* Home icon colour */
.nav-list > li > a.active .nav-home-icon,
.nav-list > li > a:hover .nav-home-icon { color: var(--red); }
.nav-home-icon { font-size: .88rem; color: var(--red); }

/* Dropdown — white with red accent */
.has-dropdown { position: relative; }
.has-dropdown > a .fa-chevron-down { font-size: .58rem; margin-left: 3px; color: var(--mid); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 190px;
  border-top: 3px solid var(--red);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  z-index: 999;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: .8rem;
  color: var(--black);
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--bg); color: var(--red); }

/* Search in nav */
.nav-search {
  display: flex;
  align-items: center;
  padding: 0 8px;
  flex-shrink: 0;
}
.nav-search input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--black);
  padding: 6px 10px;
  font-size: .78rem;
  font-family: var(--sans);
  outline: none;
  width: 150px;
  border-radius: 2px 0 0 2px;
  transition: border-color .2s, width .3s;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search input:focus { border-color: var(--red); width: 185px; }
.nav-search button {
  background: var(--red);
  border: none;
  color: #fff;
  padding: 7px 11px;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  font-size: .8rem;
  transition: background .15s;
}
.nav-search button:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 12px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--black); }

/* ── BREAKING NEWS ────────────────────────────────── */
.breaking-bar {
  background: var(--red);
  overflow: hidden;
}
.breaking-inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 34px;
}
.breaking-label {
  background: var(--black);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-wrap { flex: 1; overflow: hidden; }
.ticker-items {
  display: flex;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-size: .78rem;
  font-weight: 500;
  color: #fff;
  padding-right: 48px;
}
.ticker-item::after { content: ' ●'; padding-right: 48px; opacity: .5; }
@keyframes ticker {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* ── AD CONTAINERS ────────────────────────────────── */
.ad-container { text-align: center; }
.ad-label {
  display: block;
  font-size: .6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

/* ── LAYOUT ───────────────────────────────────────── */
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px 32px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.page-main { min-width: 0; }

/* ── BBC SECTION HEADERS ──────────────────────────── */
.bbc-section { margin-bottom: 28px; }
.bbc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 4px solid var(--black);
  padding-top: 10px;
  margin-bottom: 14px;
}
.bbc-section-head h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: .01em;
}
.bbc-section-head .see-all {
  font-size: .75rem;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
}
.bbc-section-head .see-all:hover { color: var(--red-dark); }

/* ── CATEGORY PILL ────────────────────────────────── */
.cat-pill {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: 5px;
}
.cat-pill.colored {
  background: var(--red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 1px;
}

/* ── TOP STORIES GRID (BBC Hero) ──────────────────── */
.top-stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-bottom: 28px;
}
.top-stories-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Main hero card */
.hero-card { background: var(--white); position: relative; }
.hero-card .hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.hero-card .hero-body { padding: 14px 16px 18px; }
.hero-card .hero-body .cat-pill { display: block; }
.hero-card .hero-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 8px;
}
.hero-card .hero-title a:hover { color: var(--red); }
.hero-card .hero-desc {
  font-size: .88rem;
  color: var(--dark);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-card .hero-meta {
  margin-top: 10px;
  font-size: .72rem;
  color: var(--muted);
}
.hero-card .hero-meta i { margin-right: 3px; }

/* Right-side secondary cards */
.secondary-card {
  background: var(--white);
  display: flex;
  gap: 0;
  overflow: hidden;
}
.secondary-card .sc-img-wrap {
  width: 130px;
  flex-shrink: 0;
  overflow: hidden;
}
.secondary-card .sc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.secondary-card:hover .sc-img-wrap img { transform: scale(1.04); }
.secondary-card .sc-body { padding: 12px 14px; flex: 1; min-width: 0; }
.secondary-card .sc-title {
  font-family: var(--serif);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.secondary-card .sc-title a:hover { color: var(--red); }
.secondary-card .sc-meta {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ── STANDARD NEWS CARD (vertical) ───────────────── */
.news-card {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,.1); }
.news-card .nc-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
}
.news-card .nc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.news-card:hover .nc-img img { transform: scale(1.04); }
.news-card .nc-body { padding: 12px 14px 16px; }
.news-card .nc-title {
  font-family: var(--serif);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-top: 4px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .nc-title a:hover { color: var(--red); }
.news-card .nc-desc {
  font-size: .82rem;
  color: var(--dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .nc-meta {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 8px;
}
.news-card .nc-meta i { margin-right: 3px; }

/* ── NEWS LIST CARD (horizontal compact) ─────────── */
.list-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.list-card:last-child { border-bottom: none; }
.list-card .lc-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 68px;
  overflow: hidden;
  display: block;
}
.list-card .lc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.list-card:hover .lc-thumb img { transform: scale(1.05); }
.list-card .lc-info { flex: 1; min-width: 0; }
.list-card .lc-title {
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card .lc-title a:hover { color: var(--red); }
.list-card .lc-meta {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── GRIDS ────────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

/* ── LEAD 3-COLUMN SECTION ────────────────────────── */
.lead-section {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 0;
  border-top: 4px solid var(--black);
  background: var(--border);
  margin-bottom: 28px;
}
.lead-col { background: var(--white); }
.lead-left  { border-right: 1px solid var(--border); }
.lead-center { border-right: 1px solid var(--border); }

.lead-col-header {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lead-col-header a { color: var(--black); }
.lead-col-header a:hover { color: var(--red); }
.lead-col-header .see-link { font-size: .65rem; color: var(--red); font-weight: 600; }

/* Lead 1 center */
.lead1-card { display: flex; flex-direction: column; }
.lead1-img-wrap { display: block; overflow: hidden; }
.lead1-img-wrap img { width: 100%; height: 280px; object-fit: cover; transition: transform .35s; }
.lead1-card:hover .lead1-img-wrap img { transform: scale(1.03); }
.lead1-body { padding: 14px 16px 18px; flex: 1; }
.lead1-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin: 4px 0 8px;
}
.lead1-title a:hover { color: var(--red); }
.lead1-excerpt { font-size: .84rem; color: var(--dark); line-height: 1.55; }
.lead1-meta { font-size: .7rem; color: var(--muted); margin-top: 8px; }

/* Lead 2 left list */
.lead2-list { }
.lead2-item {
  display: flex;
  gap: 9px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  cursor: pointer;
  transition: background .15s;
}
.lead2-item:hover { background: var(--bg); }
.lead2-item:last-child { border-bottom: none; }
.lead2-thumb { flex-shrink: 0; width: 72px; height: 52px; overflow: hidden; display: block; }
.lead2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lead2-info { flex: 1; min-width: 0; }
.lead2-title {
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lead2-title:hover { color: var(--red); }
.lead2-meta { font-size: .65rem; color: var(--muted); margin-top: 3px; }

/* Lead 3 right column */
.lead3-top-img { display: block; overflow: hidden; }
.lead3-top-img img { width: 100%; height: 150px; object-fit: cover; transition: transform .35s; }
.lead3-top:hover .lead3-top-img img { transform: scale(1.04); }
.lead3-top-body { padding: 10px 10px 8px; border-bottom: 1px solid var(--border); }
.lead3-top-title {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
}
.lead3-top-title a:hover { color: var(--red); }
.lead3-list { }
.lead3-item {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.lead3-item:hover { background: var(--bg); }
.lead3-item:last-child { border-bottom: none; }
.lead3-info { flex: 1; min-width: 0; }
.lead3-title {
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lead3-title:hover { color: var(--red); }
.lead3-thumb { flex-shrink: 0; width: 64px; height: 48px; overflow: hidden; display: block; }
.lead3-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── TAB SECTION ──────────────────────────────────── */
.tab-wrap {
  background: var(--white);
  margin-bottom: 28px;
}
.tab-buttons {
  display: flex;
  border-bottom: 2px solid var(--border);
  background: var(--bg);
}
.tab-btn {
  padding: 10px 18px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: var(--muted);
  margin-bottom: -2px;
  transition: color .15s;
}
.tab-btn.active { color: var(--black); border-bottom-color: var(--red); }
.tab-pane { padding: 4px 16px 8px; }

/* ── IN-CONTENT AD ────────────────────────────────── */
.in-content-ad {
  background: var(--bg2);
  padding: 12px;
  margin: 20px 0;
  text-align: center;
  border: 1px solid var(--border);
}

/* ── SIDEBAR ──────────────────────────────────────── */
.sidebar {}
.sidebar-widget {
  background: var(--white);
  margin-bottom: 20px;
  border-top: 4px solid var(--black);
}
.sidebar-widget-head {
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-widget-head h3 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--black);
}
.sidebar-widget-body { padding: 0; }

/* Popular list */
.popular-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background .15s;
}
.popular-item:hover { background: var(--bg); }
.popular-item:last-child { border-bottom: none; }
.popular-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--border);
  flex-shrink: 0;
  line-height: 1;
  width: 24px;
}
.popular-info { flex: 1; }
.popular-info .cat-pill { margin-bottom: 3px; }
.popular-info a {
  font-family: var(--serif);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.popular-info a:hover { color: var(--red); }
.popular-meta { font-size: .68rem; color: var(--muted); margin-top: 3px; }

/* Category list in sidebar */
.cat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.cat-list-item:hover { background: var(--bg); }
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  font-weight: 500;
  color: var(--black);
}
.cat-list-item a:hover { color: var(--red); }
.cat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cat-count {
  font-size: .7rem;
  background: var(--bg2);
  padding: 1px 7px;
  border-radius: 8px;
  color: var(--muted);
}

/* Social sidebar */
.social-links { padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.social-link-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  border-radius: 2px;
  transition: opacity .15s;
}
.social-link-btn:hover { opacity: .88; color: #fff; }
.social-link-btn i { width: 16px; text-align: center; }
.s-fb { background: #1877f2; }
.s-tw { background: #1a1a1a; }
.s-yt { background: #ff0000; }
.s-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366); }

/* Sidebar ad */
.sidebar-ad { margin-bottom: 20px; background: var(--white); padding: 10px; border: 1px solid var(--border); text-align: center; }

/* ── ARTICLE PAGE ─────────────────────────────────── */
.article-page { background: var(--white); }

.article-header { padding: 20px 24px 0; }
.article-header .cat-pill { font-size: .72rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article-header h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin: 8px 0 10px;
}
.article-header .stand-first {
  font-size: 1.08rem;
  color: var(--dark);
  line-height: 1.6;
  border-left: 4px solid var(--red);
  padding-left: 14px;
  margin-bottom: 14px;
  font-style: italic;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 0;
}
.article-meta i { color: var(--red); margin-right: 3px; }
.article-meta .author { font-weight: 600; color: var(--dark); }

.article-feat-img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.article-feat-caption {
  font-size: .72rem;
  color: var(--muted);
  padding: 5px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-style: italic;
}

.article-body {
  padding: 20px 24px 28px;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--black);
}
.article-body p { margin-bottom: 1.3em; }
.article-body h2 { font-family: var(--sans); font-size: 1.3rem; font-weight: 700; margin: 1.6em 0 .5em; }
.article-body h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; margin: 1.4em 0 .4em; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 10px 18px;
  margin: 1.5em 0;
  background: var(--bg);
  font-style: italic;
  color: var(--dark);
}
.article-body ul, .article-body ol { margin: 1em 0 1em 1.4em; }
.article-body li { margin-bottom: .4em; }
.article-body a { color: var(--red); text-decoration: underline; }
.article-body img { margin: 1em 0; max-width: 100%; }

/* Share buttons */
.article-share { padding: 14px 24px; border-top: 1px solid var(--border); background: var(--bg); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-share span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: .76rem;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 1px;
  text-decoration: none;
  transition: opacity .15s;
}
.share-btn:hover { opacity: .86; color: #fff; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1a1a1a; }
.share-btn.wa { background: #25d366; }
.share-btn.cp { background: var(--dark); }

/* Tags */
.article-tags { padding: 12px 24px 18px; }
.article-tags label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.tag-item {
  font-size: .75rem;
  font-weight: 500;
  padding: 3px 10px;
  border: 1px solid var(--border);
  color: var(--dark);
  background: var(--white);
  transition: background .15s, color .15s;
}
.tag-item:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ── CATEGORY / SEARCH PAGE HEADER ───────────────── */
.page-banner {
  background: var(--black);
  padding: 22px 0 18px;
  margin-bottom: 0;
  border-bottom: 4px solid var(--red);
}
.page-banner .container { display: flex; align-items: flex-end; justify-content: space-between; }
.page-banner h1 {
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.page-banner .post-count { font-size: .78rem; color: rgba(255,255,255,.5); }
.breadcrumb { font-size: .73rem; color: rgba(255,255,255,.5); margin-top: 3px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }

/* ── PAGINATION ───────────────────────────────────── */
.pagination {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin: 24px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--dark);
  background: var(--white);
  transition: background .15s, color .15s;
}
.pagination a:hover { background: var(--black); color: #fff; border-color: var(--black); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--black);
  margin-top: 32px;
  padding: 32px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .fb-logo { margin-bottom: 12px; }
.fb-logo-top { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.4); }
.fb-logo-name { display: block; font-family: var(--sans); font-size: 1.5rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.45); max-width: 280px; }
.footer-social-row { display: flex; gap: 8px; margin-top: 14px; }
.footer-social-row a {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.footer-social-row a:hover { background: var(--red); color: #fff; }
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: .81rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-bottom p { font-size: .73rem; color: rgba(255,255,255,.35); }

/* ── SEARCH PAGE ──────────────────────────────────── */
.search-form-large { display: flex; gap: 0; max-width: 600px; margin-bottom: 6px; }
.search-form-large input {
  flex: 1;
  padding: 11px 14px;
  font-size: .95rem;
  font-family: var(--sans);
  border: 2px solid var(--black);
  outline: none;
  background: var(--white);
}
.search-form-large button {
  background: var(--black);
  color: #fff;
  border: none;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.search-form-large button:hover { background: var(--red); }
.search-count-bar { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.search-count-bar strong { color: var(--black); }

/* ── UTILITY ──────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-red { color: var(--red); }
.bg-white { background: var(--white); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lead-section { grid-template-columns: 1fr 1fr; }
  .lead-left { display: none; }
}

@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; }
  .top-stories-grid { grid-template-columns: 1fr; }
  .top-stories-right { display: none; }
  .lead-section { grid-template-columns: 1fr; }
  .lead-left, .lead-right { display: none; }
  .lead-center { border-right: none; }
  .hero-card .hero-img { height: 240px; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
  }
  .nav-list.open { display: flex; }
  .nav-list > li > a { padding: 11px 16px; border-bottom: 1px solid var(--border) !important; color: var(--black); }
  .nav-list > li > a.active, .nav-list > li > a:hover { color: var(--red); background: var(--bg); }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; position: static; border-top: 1px solid var(--border); border-left: 3px solid var(--red); box-shadow: none; }
  .nav-search { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .article-header { padding: 14px 16px 0; }
  .article-body, .article-share, .article-tags { padding-left: 16px; padding-right: 16px; }
  .article-header h1 { font-size: 1.5rem; }
  .page-banner h1 { font-size: 1.3rem; }
}