/* =========================================================
   BLOG — index + article styles for /блог and /блог/<slug>.
   Loaded alongside the shared /theme.css (which supplies the shell:
   navbar, footer, .container, .cta-band/.cta-card, .btn, .breadcrumb).
   Extracted from the design deliverable (Aisha Portal/content.css).
   ========================================================= */

/* ---------- generic content section ---------- */
.content-section { padding: 72px 0; }

/* ---------- prose (article / long-form body) ---------- */
.prose { max-width: var(--content-measure); font-size: 17px; line-height: 1.75; color: var(--text-secondary); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.25; color: var(--text-primary); margin-top: 44px; letter-spacing: -0.2px; }
.prose h3 { font-family: var(--font-sans); font-weight: 700; font-size: 20px; color: var(--text-primary); margin-top: 32px; }
.prose p { margin: 0; }
.prose a { color: var(--color-amber); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text-primary); font-weight: 700; }

/* ---------- related strip ---------- */
.related-strip { max-width: var(--content-measure); margin: 0 auto; padding: 20px 0; border-top: 1px solid var(--surface-divider); font-size: 15px; color: var(--text-muted); }
.related-strip a { color: var(--color-amber); font-weight: 600; }
.related-strip a:hover { text-decoration: underline; }

/* =========================================================
   BLOG INDEX
   ========================================================= */
.blog-hero { padding: 112px 0 32px; }
@media (min-width: 768px) { .blog-hero { padding: 128px 0 48px; } }
.blog-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -0.4px; margin: 0 0 14px; }
@media (min-width: 768px) { .blog-hero h1 { font-size: 52px; } }
.blog-hero .lede { font-size: 18px; line-height: 1.6; color: var(--text-secondary); max-width: 560px; }

/* cluster chips (blog clusters) */
.cluster-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cluster-chip { font-size: 14px; font-weight: 600; color: var(--text-secondary); background: var(--surface-card); border: 1px solid var(--surface-divider); border-radius: var(--radius-pill); padding: 8px 16px; transition: all var(--motion-fast) ease; }
.cluster-chip:hover, .cluster-chip.active { color: #fff; background: var(--color-amber); border-color: var(--color-amber); }

/* blog post grid */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 24px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card-thumb { aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; background: var(--surface-warm); margin-bottom: 16px; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-base) ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.post-card-cluster { color: var(--color-amber); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.post-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--text-primary); margin: 0 0 8px; }
.post-card p { font-size: 15px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

/* featured post (blog index lead) */
.post-featured { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 8px 0 40px; border-bottom: 1px solid var(--surface-divider); margin-bottom: 48px; }
@media (min-width: 768px) { .post-featured { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.post-featured .post-card-thumb { aspect-ratio: 16/11; margin: 0; }
.post-featured h2 { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--text-primary); margin: 10px 0 12px; }
@media (min-width: 768px) { .post-featured h2 { font-size: 36px; } }
.post-featured p { font-size: 17px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 18px; }
.post-featured .spoke-card-more { font-size: 14px; font-weight: 600; color: var(--color-amber); display: inline-flex; align-items: center; gap: 6px; }
.post-featured .spoke-card-more svg { width: 16px; height: 16px; }

/* =========================================================
   BLOG POST (article)
   ========================================================= */
/* Breadcrumb-led pages start 32px below the 64px navbar — site standard
   (spoke hero, blog article, glossary masthead all use 88px / 96px@md). */
.article-head { padding: 88px 0 0; }
@media (min-width: 768px) { .article-head { padding: 96px 0 0; } }
.article-head-inner { max-width: var(--content-measure); margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.article-meta .post-card-cluster { font-size: 12px; }
.article-head h1 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: -0.4px; color: var(--text-primary); margin: 0 0 18px; }
@media (min-width: 768px) { .article-head h1 { font-size: 46px; } }
.article-head .excerpt { font-size: 19px; line-height: 1.55; color: var(--text-secondary); margin: 0; }
.article-byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--surface-divider); }
.article-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--color-amber-light); color: var(--color-amber); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.article-byline .who { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.article-byline .when { font-size: 13px; color: var(--text-muted); }
.article-hero-img { max-width: 900px; margin: 40px auto 0; }
.article-hero-img img { width: 100%; height: auto; border-radius: var(--radius-card); }
.article-body { padding: 48px 0 72px; }
.article-body .prose { margin: 0; }
.article-body .prose figure { margin: 32px 0; }
.article-body .prose figure img { width: 100%; border-radius: 14px; }
.article-body .prose figcaption { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 8px; }
.pull-quote { max-width: var(--content-measure); margin: 36px 0; font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--text-primary); border-left: 3px solid var(--color-amber); padding-left: 24px; }
