/* ============================================================
   SHUMEN.UK — Article Page Styles
   ============================================================ */

.site-title-link {
  text-decoration: none;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

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

.breadcrumb a {
  color: var(--uk-navy);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-section { font-weight: 600; color: var(--bg-green); }

/* ============================================================
   ARTICLE PAGE LAYOUT
   ============================================================ */

.article-page {
  background: var(--surface-warm);
}

.article-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 28px 80px;
}

/* ============================================================
   ARTICLE HEADER
   ============================================================ */

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

.article-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-green);
  margin-bottom: 14px;
}

.article-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.article-standfirst {
  font-size: 1.2rem;
  color: var(--ink-light);
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
  border-left: 4px solid var(--uk-navy);
  padding-left: 16px;
  margin-bottom: 20px;
}

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

.article-author {
  font-weight: 700;
  color: var(--uk-navy);
}

.article-meta::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 8px;
}

/* ============================================================
   HERO IMAGE
   ============================================================ */

.article-hero-image {
  margin: 0 0 36px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.article-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.article-hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--uk-navy) 0%,
    var(--uk-red) 25%,
    #fff 50%,
    var(--bg-green) 75%,
    var(--bg-red) 100%
  );
}

/* ============================================================
   BODY WRAP (glance + body side by side on wide screens)
   ============================================================ */

.article-body-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

/* ============================================================
   AT A GLANCE SIDEBAR
   ============================================================ */

.article-glance {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  order: 2;
}

.glance-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--uk-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--uk-navy);
}

.glance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glance-list li {
  padding: 7px 0 7px 20px;
  position: relative;
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}

.glance-list li:last-child { border-bottom: none; }

.glance-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-green);
  flex-shrink: 0;
}

/* ============================================================
   ARTICLE BODY TYPOGRAPHY
   ============================================================ */

.article-body {
  order: 1;
  font-family: 'Inter', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 1.4em;
}

.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2em 0 0.6em;
  line-height: 1.2;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.article-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--uk-navy);
  margin: 1.6em 0 0.5em;
}

.article-body strong {
  font-weight: 700;
  color: var(--ink);
}

.article-body em {
  font-style: italic;
  color: var(--ink-light);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4em 1.2em;
  padding: 0;
}

.article-body li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.article-body a {
  color: var(--uk-navy);
  text-decoration: underline;
  text-decoration-color: rgba(1, 33, 105, 0.3);
}

.article-body a:hover {
  text-decoration-color: var(--uk-navy);
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

.article-body blockquote {
  margin: 1.5em 0;
  padding: 14px 20px;
  border-left: 4px solid var(--bg-green);
  background: rgba(0, 150, 110, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink-light);
}

/* Source credit line */
.article-body p:last-child {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 2em;
}

/* ============================================================
   FAQ
   ============================================================ */

.article-faq {
  margin-bottom: 48px;
}

.article-faq h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ink);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--uk-navy);
  font-weight: 700;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-light);
  line-height: 1.65;
  background: rgba(0, 0, 0, 0.02);
}

/* ============================================================
   SOURCES
   ============================================================ */

.article-sources {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.article-sources h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-sources li {
  padding: 4px 0;
  font-size: 0.88rem;
}

.article-sources a {
  color: var(--uk-navy);
  text-decoration: none;
  font-weight: 500;
}

.article-sources a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .article-body-wrap {
    grid-template-columns: 1fr;
  }

  .article-glance {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .article-inner { padding: 32px 18px 60px; }
  .article-headline { font-size: 1.7rem; }
  .article-standfirst { font-size: 1.05rem; }
}

/* ============================================================
   SHARE BAR
   ============================================================ */

.article-share {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2d5a 100%);
  padding: 22px 32px;
  margin: 40px 0 0;
  border-radius: 12px;
  flex-wrap: wrap;
}

.share-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  flex-shrink: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.share-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.share-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
}

.share-btn--copy.copied {
  background: rgba(0, 180, 100, 0.25);
  color: #4ade80;
  border-color: rgba(0,180,100,0.3);
}

@media (max-width: 600px) {
  .article-share {
    padding: 18px 20px;
    gap: 14px;
    border-radius: 8px;
  }
  .share-btn {
    width: 38px;
    height: 38px;
  }
  .share-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* ============================================================
   NEWSLETTER SUBSCRIBE STRIP
   ============================================================ */

.article-subscribe {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2d5a 100%);
  padding: 56px 24px;
  text-align: center;
}

.article-subscribe-inner {
  max-width: 520px;
  margin: 0 auto;
}

.subscribe-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.subscribe-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.subscribe-sub {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 24px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.subscribe-input {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 12px 16px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-input::placeholder { color: rgba(255,255,255,0.45); }
.subscribe-input:focus { border-color: #E8A020; }

.subscribe-btn {
  padding: 12px 28px;
  background: #C8102E;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.subscribe-btn:hover { background: #a50d26; }
.subscribe-btn:active { transform: scale(0.97); }
.subscribe-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.subscribe-note {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin: 14px 0 0;
}

.subscribe-success {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  color: #fff;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
}
