/* =========================================================
   POLITICAL PRESS NETWORK - PUBLIC PORTAL STYLESHEET
   Curated Editorial & High-Impact Journalism Design
   ========================================================= */

:root {
  --primary-color: #dc2626;
  --primary-hover: #b91c1c;
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-sub: #334155;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   TOP MULTI-DOMAIN SWITCHER & PREVIEW BAR
   ========================================================= */
.top-network-bar {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 13px;
  border-bottom: 1px solid #1e293b;
  padding: 6px 0;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.network-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #f1f5f9;
}

.network-badge i {
  color: #38bdf8;
}

.domain-preview-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.domain-preview-selector select {
  background-color: #1e293b;
  color: #f8fafc;
  border: 1px solid #334155;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.domain-preview-selector select:hover {
  border-color: #64748b;
}

.top-auth-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-top-admin {
  background: #334155;
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}
.btn-top-admin:hover {
  background: #475569;
}

.btn-top-login, .btn-top-logout {
  color: #cbd5e1;
  font-size: 12px;
}
.btn-top-login:hover, .btn-top-logout:hover {
  color: #fff;
}

/* =========================================================
   MAIN HEADER BRANDING
   ========================================================= */
.main-header {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}

.site-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.1;
}

.site-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-form {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 14px;
  width: 280px;
  transition: all 0.2s;
}

.search-form:focus-within {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-form input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13px;
  color: var(--text-main);
}

.search-form button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding-left: 6px;
}

.search-form button:hover {
  color: var(--primary-color);
}

.header-socials {
  display: flex;
  gap: 12px;
}

.header-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.header-socials a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */
.main-nav {
  background: #ffffff;
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  overflow-x: auto;
}

.nav-links li a {
  display: block;
  padding: 14px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  position: relative;
}

.nav-links li a:hover {
  color: var(--primary-color);
}

.nav-links li a.active {
  color: var(--primary-color);
}

.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
}

.nav-live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* =========================================================
   BREAKING NEWS TICKER
   ========================================================= */
.breaking-banner {
  background: #0f172a;
  color: #fff;
  border-bottom: 2px solid var(--primary-color);
  overflow: hidden;
}

.breaking-inner {
  display: flex;
  align-items: center;
  height: 42px;
}

.breaking-label {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.breaking-marquee {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 18px;
}

.breaking-track {
  display: inline-block;
  animation: tickerSlide 35s linear infinite;
}

.breaking-track:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.breaking-item {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  margin-right: 32px;
}

.breaking-item:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.breaking-item i {
  color: var(--primary-color);
  font-size: 11px;
}

/* =========================================================
   HERO LEAD SECTION
   ========================================================= */
.main-content {
  padding-top: 32px;
  padding-bottom: 60px;
}

.hero-section {
  margin-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 28px;
}

.hero-lead-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-lead-card:hover {
  box-shadow: var(--shadow-md);
}

.lead-image-wrap {
  position: relative;
  height: 400px;
  overflow: hidden;
  background-color: #0f172a;
}

.lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-lead-card:hover .lead-img {
  transform: scale(1.02);
}

.category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 4px;
}

.breaking-pulse-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #000;
  color: #ef4444;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #ef4444;
}

.lead-body {
  padding: 24px 28px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mini-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  object-fit: cover;
}

.author {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lead-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #0f172a;
}

.lead-title a:hover {
  color: var(--primary-color);
}

.lead-excerpt {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.read-more-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more-btn:hover {
  text-decoration: underline;
}

.syndicated-badge {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #d1fae5;
}

/* =========================================================
   SIDEBAR & TRENDING
   ========================================================= */
.sidebar-block {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
}

.sidebar-title i {
  color: var(--primary-color);
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trending-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border-subtle);
}

.trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trending-rank {
  font-size: 26px;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  min-width: 24px;
}

.trending-info h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.trending-info h4 a:hover {
  color: var(--primary-color);
}

.category-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 0.04em;
  display: block;
}

.view-pill {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-cta-banner {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
  color: #38bdf8;
}

.sidebar-cta-banner h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sidebar-cta-banner p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 16px;
}

.btn-cta-outline {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-cta-outline:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* =========================================================
   POLITICAL VLOG & VIDEO SECTION
   ========================================================= */
.vlog-section {
  background: #0f172a;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 28px;
}

.section-tag-red {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-heading {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtext {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}

.vlog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.vlog-card {
  background: #1e293b;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s;
  border: 1px solid #334155;
}

.vlog-card:hover {
  transform: translateY(-4px);
}

.vlog-thumb-wrap {
  position: relative;
  height: 170px;
  background: #000;
}

.vlog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.vlog-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s, background 0.2s;
}

.vlog-card:hover .vlog-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #dc2626;
}

.vlog-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.vlog-body {
  padding: 16px;
}

.vlog-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f87171;
  display: block;
  margin-bottom: 4px;
}

.vlog-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.vlog-title a:hover {
  color: #38bdf8;
}

.vlog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
}

/* =========================================================
   LATEST WRITE-UPS ARTICLES GRID
   ========================================================= */
.latest-section {
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-image-wrap {
  position: relative;
  height: 200px;
  background-color: #0f172a;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

.card-title a:hover {
  color: var(--primary-color);
}

.card-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-author-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.card-read-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.article-card:hover .card-read-label {
  color: var(--primary-color);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.author-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.card-read-link {
  width: 30px;
  height: 30px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-main);
}

.card-read-link:hover {
  background: var(--primary-color);
  color: #fff;
}

/* =========================================================
   ARTICLE READER PAGE STYLES
   ========================================================= */
.article-page-container {
  padding-top: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 36px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.article-header {
  margin-bottom: 28px;
}

.category-tag-large {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.article-headline {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 16px;
}

.article-lead-text {
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 20px;
}

.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.byline-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.author-name {
  color: #0f172a;
}

.publish-date {
  color: var(--text-muted);
  font-size: 12px;
}

.views-count-pill {
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  padding: 5px 12px;
  border-radius: 20px;
  color: var(--text-muted);
}

/* Social Sharing Strip */
.social-share-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.share-btn:hover {
  opacity: 0.9;
}

.share-btn.fb { background-color: #1877f2; }
.share-btn.twitter { background-color: #000000; }
.share-btn.whatsapp { background-color: #25d366; }
.share-btn.copy-link {
  background-color: #475569;
}
.share-btn.copy-link.copied {
  background-color: #059669;
}

/* Video Embed Wrapper */
.video-embed-wrapper {
  margin-bottom: 32px;
}

.responsive-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow-md);
}

.responsive-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

.article-featured-media {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-main-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* Editorial Typography */
.article-prose {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  line-height: 1.85;
  color: #1e293b;
  margin-bottom: 36px;
}

.article-prose p {
  margin-bottom: 22px;
}

.article-prose p.lead {
  font-size: 21px;
  line-height: 1.7;
  font-weight: 400;
  color: #0f172a;
}

.article-prose h2, .article-prose h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  color: #0f172a;
  margin-top: 36px;
  margin-bottom: 14px;
}

.article-prose h2 { font-size: 26px; }
.article-prose h3 { font-size: 22px; }

.article-prose blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 16px 24px;
  margin: 28px 0;
  background: #f8fafc;
  font-style: italic;
  font-size: 20px;
  color: #334155;
}

.article-prose ul, .article-prose ol {
  margin: 18px 0 22px 28px;
}

.article-prose li {
  margin-bottom: 8px;
}

/* Tags */
.article-tags-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 32px;
}

.tags-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.tag-pill {
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  padding: 4px 12px;
  border-radius: 20px;
}

.tag-pill:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Author Bio Card */
.author-bio-card {
  display: flex;
  gap: 20px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.bio-content h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.bio-content p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.bio-badge {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
}

/* Syndication Notice */
.syndication-notice-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}

.syndication-icon {
  font-size: 24px;
  color: #2563eb;
}

.syndication-text h5 {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.syndication-text p {
  font-size: 12px;
  color: #3b82f6;
  margin: 0;
}

/* Related Stories */
.related-articles-section {
  margin-top: 40px;
}

.related-heading {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.related-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.related-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.related-body {
  padding: 14px;
}

.related-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.related-body h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.related-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 76px;
}

/* =========================================================
   ARCHIVE / CATEGORY / SEARCH HEADER
   ========================================================= */
.archive-header {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 36px;
}

.archive-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.archive-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.archive-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.archive-subtext {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

.no-articles-card {
  background: var(--surface-color);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.no-articles-card i {
  color: #94a3b8;
  margin-bottom: 16px;
}

.no-articles-card h3 {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 8px;
}

/* =========================================================
   FOOTER & 10 DOMAIN NETWORK
   ========================================================= */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 3px solid var(--primary-color);
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.editorial-note {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a i {
  font-size: 10px;
  color: var(--primary-color);
}

.network-subtext {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
}

.domain-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.domain-badge {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}

.domain-badge:hover {
  background: #334155;
  border-color: #64748b;
}

.domain-badge.active-badge {
  border-color: var(--primary-color);
  background: rgba(220, 38, 38, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-bottom: 4px;
}

.badge-title {
  color: #f8fafc;
  font-size: 12px;
  font-weight: 700;
}

.badge-host {
  color: #64748b;
  font-size: 11px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  font-size: 12px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .header-tools { width: 100%; justify-content: space-between; }
  .search-form { width: 100%; max-width: 320px; }
}

@media (max-width: 640px) {
  .site-title { font-size: 24px; }
  .article-headline { font-size: 26px; }
  .lead-image-wrap { height: 240px; }
  .lead-title { font-size: 20px; }
}
