/* Article/post shared styles — blog detail pages. Pairs with styles.css. */
body { background: #fff; }
main { background: #fff; }

/* ───────── Hero ───────── */
.art-hero { padding: 72px 0 40px; background: #fff; }
.art-breadcrumb {
  font-size: 13px; color: var(--ink-mute); margin-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.art-breadcrumb a { color: var(--ps-blue-dark); text-decoration: none; }
.art-breadcrumb a:hover { text-decoration: underline; }
.art-breadcrumb span[aria-hidden] { color: #c7cdd6; }

.art-tag {
  display: inline-block;
  background: rgba(0, 112, 204, 0.08); color: var(--ps-blue-dark);
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  margin-bottom: 20px;
}
.art-hero h1 {
  font-size: 52px; font-weight: 300; line-height: 1.1;
  letter-spacing: -0.5px; color: var(--ink); max-width: 940px;
}
.art-hero h1 em { font-style: normal; color: var(--ps-blue-dark); }
.art-dek {
  font-size: 21px; line-height: 1.55; font-weight: 300;
  color: var(--ink-body); max-width: 760px; margin-top: 22px;
}
.art-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--divider);
  font-size: 14px; color: var(--ink-mute);
}
.art-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #c7cdd6; }
.art-meta strong { color: var(--ink); font-weight: 600; }
.art-meta a { color: var(--ps-blue-dark); text-decoration: none; }
.art-meta a:hover { text-decoration: underline; }

.art-figure { margin: 40px 0 0; }
.art-figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-media, 20px);
  box-shadow: var(--shadow-feather);
}
.art-figure figcaption {
  font-size: 13px; color: var(--ink-mute); margin-top: 12px; line-height: 1.5;
}

/* ───────── Body ───────── */
.art-body { padding: 56px 0 24px; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }

.prose { max-width: 720px; font-size: 18px; line-height: 1.72; color: var(--ink-deep); }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 24px; }
.prose h2 {
  font-size: 32px; font-weight: 300; line-height: 1.25; letter-spacing: -0.3px;
  color: var(--ink); margin-top: 52px; scroll-margin-top: 90px;
}
.prose h3 {
  font-size: 22px; font-weight: 600; line-height: 1.35;
  color: var(--ink); margin-top: 36px; scroll-margin-top: 90px;
}
.prose a { color: var(--ps-blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ps-link-hover); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 24px; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--ps-blue); }

.prose blockquote {
  margin: 36px 0; padding: 24px 28px;
  background: var(--ice); border-left: 3px solid var(--ps-blue);
  border-radius: 0 14px 14px 0;
  font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--ink);
}
.prose blockquote p { margin: 0; }

.callout {
  background: #fff; border: 1px solid var(--divider);
  border-radius: 16px; padding: 24px 26px;
  box-shadow: var(--shadow-feather);
}
.callout h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--ps-blue-dark); margin: 0 0 10px;
}
.callout p { font-size: 16px; line-height: 1.6; color: var(--ink-body); margin: 0; }
.callout p + p { margin-top: 12px; }

/* Data table */
.art-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.art-table {
  width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-feather);
}
.art-table caption {
  caption-side: bottom; font-size: 13px; color: var(--ink-mute);
  text-align: left; padding-top: 12px; line-height: 1.5;
}
.art-table th, .art-table td { padding: 13px 16px; text-align: left; }
.art-table thead th {
  background: var(--ice); font-weight: 600; color: var(--ink);
  font-size: 13px; letter-spacing: 0.3px; text-transform: uppercase;
  border-bottom: 1px solid var(--divider);
}
.art-table tbody tr + tr td { border-top: 1px solid var(--divider); }
.art-table td strong { color: var(--ink); }

/* Key-takeaways box */
.takeaways {
  background: var(--ice); border-radius: 18px; padding: 28px 30px; margin-top: 8px;
}
.takeaways h2 { font-size: 15px !important; font-weight: 700 !important;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--ps-blue-dark);
  margin: 0 0 16px !important; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { font-size: 16px; line-height: 1.6; color: var(--ink-deep); }
.takeaways li + li { margin-top: 10px; }

/* ───────── Sidebar ───────── */
.art-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.side-card {
  background: #fff; border: 1px solid var(--divider);
  border-radius: 18px; padding: 24px; box-shadow: var(--shadow-feather);
}
.side-card h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 14px;
}
.side-card p { font-size: 15px; line-height: 1.6; color: var(--ink-body); margin: 0 0 16px; }
.side-card .btn { width: 100%; justify-content: center; font-size: 15px; padding: 12px 20px; }
.side-toc { list-style: none; margin: 0; padding: 0; }
.side-toc li + li { margin-top: 10px; }
.side-toc a {
  font-size: 15px; line-height: 1.45; color: var(--ink-body);
  text-decoration: none; display: block;
}
.side-toc a:hover { color: var(--ps-blue-dark); }

.side-author { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.side-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center top; }
.side-author strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.side-author span { font-size: 13px; color: var(--ink-mute); }

/* ───────── FAQ ───────── */
.art-faq { padding: 24px 0 72px; }
.art-faq .faq-inner { max-width: 720px; }
.art-faq h2 {
  font-size: 32px; font-weight: 300; letter-spacing: -0.3px; color: var(--ink);
  margin-bottom: 28px;
}
.faq-item { border-top: 1px solid var(--divider); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--divider); }
.faq-item h3 { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.4; margin: 0 0 10px; }
.faq-item p { font-size: 16px; line-height: 1.65; color: var(--ink-body); margin: 0; }

/* ───────── Related + CTA ───────── */
.art-related { padding: 72px 0; background: linear-gradient(180deg, #fff, var(--ice)); }
.art-related h2 { font-size: 32px; font-weight: 300; color: var(--ink); margin-bottom: 32px; letter-spacing: -0.3px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rel-card {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow-feather); text-decoration: none;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-tile, 0 12px 32px rgba(0,0,0,.1)); }
.rel-card .rel-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ps-blue-dark);
}
.rel-card h3 { font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--ink); margin: 0; }
.rel-card span.rel-meta { font-size: 13px; color: var(--ink-mute); margin-top: auto; }

.art-cta {
  background: var(--ink); color: #fff; border-radius: 24px;
  padding: 56px; margin: 0 0 72px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.art-cta h2 { font-size: 34px; font-weight: 300; line-height: 1.18; color: #fff; letter-spacing: -0.2px; }
.art-cta h2 em { font-style: normal; color: var(--ps-link-on-dark); }
.art-cta p { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.6; margin: 14px 0 0; }
.art-cta-actions { display: flex; flex-direction: column; gap: 12px; }
.art-cta-actions .btn { justify-content: center; }

.art-disclaimer {
  max-width: 720px; font-size: 13px; line-height: 1.6;
  color: var(--ink-mute); padding: 0 0 64px;
}

/* ───────── Responsive ───────── */
@media (max-width: 1040px) {
  .art-layout { grid-template-columns: 1fr; gap: 44px; }
  .art-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .art-side .side-card { flex: 1 1 280px; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .art-hero { padding: 48px 0 32px; }
  .art-hero h1 { font-size: 34px; }
  .art-dek { font-size: 18px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 26px; margin-top: 42px; }
  .prose h3 { font-size: 20px; }
  .rel-grid { grid-template-columns: 1fr; }
  .art-cta { grid-template-columns: 1fr; padding: 36px 24px; }
  .art-cta h2 { font-size: 27px; }
  .art-faq h2, .art-related h2 { font-size: 26px; }
}
