/* ============================================================
   ARTICLES — hub + article detail pages
   ============================================================ */
.art-page .stage { padding-top: 140px; padding-bottom: 80px; }

.art-hub-hero,
.art-hero {
  text-align: center;
  padding-bottom: 40px;
}
.art-hub-hero .crumbs,
.art-hero .crumbs {
  justify-content: center;
  margin-bottom: 18px;
}
.art-hub-hero h1,
.art-hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.art-lead {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.15rem;
  color: var(--ink-muted);
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.art-hero-media {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto 60px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 28px 60px -34px rgba(0,0,0,0.85);
}
.art-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

.art-hub,
.art-main {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

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

.art-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 28px 60px -34px rgba(0,0,0,0.85);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.art-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-strong);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 40px 70px -30px rgba(0,0,0,0.9);
}
.art-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-1);
}
.art-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.art-card:hover .art-card-img img { transform: scale(1.05); }
.art-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.art-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green-bright);
  width: fit-content;
}
.art-card-date {
  font-size: 0.85rem;
  color: var(--ink-dim);
}
.art-card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.art-card-body p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.art-prose {
  max-width: 780px;
  margin: 0 auto 80px;
}
.art-heading {
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 18px;
  line-height: 1.25;
}
.art-h2 { font-size: 1.8rem; }
.art-h3 { font-size: 1.45rem; }
.art-h4 { font-size: 1.2rem; }
.art-paragraph {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 22px;
}
.art-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.art-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.art-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
}
.art-quote {
  margin: 36px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--brand-green);
  border-radius: 0 14px 14px 0;
  background: var(--card-bg-soft);
}
.art-quote p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}
.art-tldr {
  margin: 36px 0;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}
.art-tldr-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand-green-bright);
  font-weight: 600;
}
.art-tldr ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.art-tldr li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.art-tldr li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-green);
}
.art-faq {
  margin: 36px 0;
}
.art-faq .faq-item {
  border-bottom: 1px solid var(--card-border);
  padding: 18px 0;
}
.art-faq summary {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  line-height: 1.6;
}
.art-figure {
  margin: 36px 0;
}
.art-figure img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
}
.art-figure figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-dim);
  margin-top: 10px;
}
.art-video .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.art-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.art-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-green-bright);
  text-decoration: none;
  font-weight: 500;
}
.art-link a:hover { text-decoration: underline; }

.art-related {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--card-border);
}
.art-related h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

@media (max-width: 640px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-h2 { font-size: 1.5rem; }
  .art-h3 { font-size: 1.25rem; }
  .art-hero-media { margin-bottom: 40px; }
}
