/* ── ARTICLE HERO ── */
#art-hero {
  padding-top: 120px;
  padding-bottom: 72px;
  background: var(--dark);
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  position: relative;
  overflow: hidden;
}

#art-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
}

.art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.art-breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.art-breadcrumb a:hover { color: var(--blue); }
.art-breadcrumb-sep { opacity: 0.4; }

.art-category {
  display: inline-block;
  background: rgba(39,127,190,0.2);
  color: #5ab0e8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.art-hero-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0;
  max-width: 760px;
  margin-bottom: 24px;
}

.art-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.art-meta-author { display: flex; align-items: center; gap: 10px; }

.art-author-avatar {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  flex-shrink: 0;
}

.art-author-info { display: flex; flex-direction: column; gap: 1px; }

.art-author-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.art-author-role {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.art-meta-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
}

.art-meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.art-meta-info span { display: flex; align-items: center; gap: 5px; }

.art-meta-info svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  flex-shrink: 0;
}

/* ── ARTICLE BODY ── */
#art-body {
  background: var(--white);
  padding-top: 72px;
  padding-bottom: 80px;
}

.art-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

/* ── ARTICLE CONTENT ── */
.art-content {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.8;
  color: #2e3440;
}

.art-content p { margin-bottom: 24px; }
.art-content p:last-child { margin-bottom: 0; }

.art-content h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: 0;
  margin-top: 52px;
  margin-bottom: 20px;
}

.art-content h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 36px;
  margin-bottom: 12px;
}

.art-content ul, .art-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.art-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.art-content strong { color: var(--dark); font-weight: 600; }

.art-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Pull quote */
.art-pullquote {
  margin: 40px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.art-pullquote p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 0;
}

.art-pullquote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: var(--gray);
  margin-top: 12px;
}

/* Section divider */
.art-divider {
  height: 1px;
  background: #eaecf0;
  margin: 48px 0;
}

/* Lead paragraph */
.art-lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--gray-mid);
  margin-bottom: 32px;
  font-weight: 300;
}

/* ── SIDEBAR ── */
.art-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.art-sidebar-card {
  background: #f4f7fb;
  border-radius: var(--radius);
  border: 1.5px solid #e4e8ef;
  padding: 24px;
}

.art-sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

/* TOC */
.art-toc {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border-bottom: none;
  height: auto;
  width: auto;
  backdrop-filter: none;
  z-index: auto;
}

.art-toc a {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.15s;
  line-height: 1.4;
}

.art-toc a:last-child { border-bottom: none; }
.art-toc a:hover { color: var(--blue); }

/* Sidebar logo */
.art-sidebar-logo {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  align-self: flex-start;
}

/* About sidebar */
.art-sidebar-about p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.art-sidebar-about .btn-primary {
  font-size: 13px;
  padding: 10px 18px;
  width: 100%;
  justify-content: center;
}

/* ── RELATED ARTICLES ── */
#art-related {
  background: #f4f7fb;
  padding-top: 64px;
  padding-bottom: 80px;
}

.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.art-related-card {
  background: var(--white);
  border: 1.5px solid rgba(39,127,190,0.14);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.art-related-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
}

.art-related-card:hover {
  box-shadow: 0 6px 24px rgba(39,127,190,0.1);
  transform: translateY(-2px);
}

.art-rel-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.art-rel-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
}

.art-rel-meta {
  font-size: 12px;
  color: var(--gray);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eaecf0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.art-rel-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

/* ── CTA ── */
#art-cta { background: #1e2330; text-align: center; position: relative; overflow: hidden; }
#art-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--pink);
}
#art-cta h2 { color: var(--white); margin-bottom: 16px; }
#art-cta h2 em { color: #7ec6f0; }
#art-cta p { color: #8a9ab0; max-width: 480px; margin: 0 auto 36px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .art-layout { grid-template-columns: 1fr; }
  .art-sidebar { position: static; }
  .art-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .art-related-grid { grid-template-columns: 1fr; }
  #art-hero { padding-top: 90px; padding-bottom: 48px; }
  .art-hero-title { font-size: clamp(24px, 6vw, 38px); }
  .art-hero-meta { gap: 14px; }
  .art-meta-divider { display: none; }
  .art-pullquote { padding: 20px; margin: 28px 0; }
  .art-pullquote p { font-size: 17px; }
  .art-content { font-size: 16px; }
  #art-body { padding-top: 48px; padding-bottom: 56px; }
  #art-related { padding-top: 48px; padding-bottom: 56px; }
}
