/* Shared styles for /blog articles and listing page. Loads after /styles.css and reuses its design tokens. */

.post { padding: 150px 0 100px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 12px; font-weight: 650; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span[aria-current] { color: var(--ink); }

.post-header { max-width: 780px; margin-bottom: 44px; }
.post-header h1 { margin: 14px 0 18px; font-size: clamp(32px, 4vw, 48px); font-weight: 850; line-height: 1.2; letter-spacing: -.03em; }
.post-lead { margin-bottom: 18px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 12px; font-weight: 650; }

.post-cover { max-width: 780px; margin: 0 0 44px; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.post-cover img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }

.prose { max-width: 760px; }
.prose h2 { margin: 46px 0 16px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 830; letter-spacing: -.02em; }
.prose h3 { margin: 30px 0 12px; font-size: 20px; font-weight: 800; }
.prose p { margin: 0 0 18px; color: #383a3f; font-size: 16px; line-height: 1.85; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; color: #383a3f; font-size: 16px; line-height: 1.85; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 26px 0; padding: 18px 22px; border-left: 3px solid var(--red); border-radius: 0 12px 12px 0; background: var(--soft); color: #4d5057; font-size: 15px; }
.prose table { width: 100%; margin: 8px 0 26px; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid #e7e7e5; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); font-weight: 800; }

.post-cta { margin: 46px 0; padding: 34px; color: #fff; background: var(--ink); border-radius: var(--radius); }
.post-cta p { margin-bottom: 18px; color: rgba(255,255,255,.8); font-size: 15px; }

.post-faq details { padding: 18px 0; border-bottom: 1px solid #e7e7e5; }
.post-faq summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 800; }
.post-faq summary::-webkit-details-marker { display: none; }
.post-faq summary::after { content: "+"; float: right; color: var(--red); font-size: 20px; }
.post-faq details[open] summary::after { content: "\2013"; }
.post-faq p { margin: 12px 0 0; color: #4d5057; font-size: 14.5px; line-height: 1.8; }

.related { margin-top: 60px; padding-top: 50px; border-top: 1px solid #e7e7e5; }
.related h2 { margin-bottom: 22px; font-size: 24px; font-weight: 830; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: block; padding: 22px; background: var(--soft); border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22,25,29,.1); }
.related-card span { color: var(--red); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.related-card strong { display: block; margin-top: 8px; color: var(--ink); font-size: 15px; line-height: 1.4; }

.blog-hero { padding: 150px 0 50px; background: linear-gradient(115deg, #fff 0%, #f8f7f6 62%, #f1eeee 100%); }
.blog-hero h1 { margin: 14px 0 16px; font-size: clamp(38px, 4.6vw, 58px); font-weight: 850; letter-spacing: -.03em; }
.blog-hero p { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.blog-list { padding: 20px 0 110px; }
.blog-group { margin-bottom: 56px; }
.blog-group > h2 { margin-bottom: 20px; font-size: 22px; font-weight: 830; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e7e7e5; border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(22,25,29,.1); }
.article-card-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.article-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.article-card:hover .article-card-cover img { transform: scale(1.06); }
.article-card-body { display: flex; flex-direction: column; padding: 24px 28px 28px; }
.article-card .kicker { margin-bottom: 14px; }
.article-card h2, .article-card h3 { margin-bottom: 10px; font-size: 19px; font-weight: 830; line-height: 1.4; }
.article-card p { margin-bottom: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

@media (max-width: 860px) {
  .post { padding: 120px 0 70px; }
  .blog-hero { padding: 120px 0 40px; }
  .related-grid, .article-grid { grid-template-columns: 1fr; }
}
