/* =========================================================
   STOKOLM — Blog (hub + article)
   ========================================================= */

/* HUB */
.blog-hero {
    background: var(--stk-cream-50);
    padding: 32px 0 var(--stk-space-12);
}
.blog-hero__title {
    font-size: clamp(40px, 5.5vw, 72px);
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin: 24px 0 0;
}
.blog-hero__lead {
    font-size: 18px;
    color: var(--stk-stone-600);
    line-height: 1.55;
    margin: 24px 0 0;
    max-width: 60ch;
}

.blog-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
    background: var(--stk-cream-50);
    border: 1px solid var(--stk-cream-200);
    border-radius: var(--stk-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--stk-t-medium) var(--stk-ease), transform var(--stk-t-medium) var(--stk-ease);
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    border-color: var(--stk-stone-400);
    transform: translateY(-2px);
    color: inherit;
}
.blog-card__media {
    aspect-ratio: 16 / 10;
    background: var(--stk-cream-100);
    position: relative;
    overflow: hidden;
}
.blog-card__media .stk-img-placeholder { border-radius: 0; height: 100%; }
.blog-card__body { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.blog-card__category {
    font-family: var(--stk-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stk-forest-500);
}
.blog-card__title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--stk-ink-900);
    margin: 0;
}
.blog-card__excerpt {
    color: var(--stk-stone-600);
    font-size: 15px;
    line-height: 1.55;
    flex-grow: 1;
    margin: 0;
}
.blog-card__meta {
    display: flex;
    gap: 12px;
    font-family: var(--stk-mono);
    font-size: 12px;
    color: var(--stk-stone-600);
    padding-top: 12px;
    border-top: 1px solid var(--stk-cream-200);
}

/* ARTICLE */
.article {
    background: var(--stk-cream-50);
    padding: 32px 0 var(--stk-space-32);
}
.article__container {
    max-width: 720px;
    margin: 0 auto;
    padding-inline: var(--stk-container-pad);
}
.article__category {
    font-family: var(--stk-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stk-forest-500);
    margin-bottom: 16px;
}
.article__title {
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0 0 24px;
    color: var(--stk-ink-900);
}
.article__excerpt {
    font-size: 20px;
    color: var(--stk-stone-600);
    line-height: 1.5;
    margin: 0 0 32px;
    max-width: 60ch;
}
.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--stk-cream-200);
    border-bottom: 1px solid var(--stk-cream-200);
    font-family: var(--stk-mono);
    font-size: 12px;
    color: var(--stk-stone-600);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 48px;
}
.article__meta strong { color: var(--stk-ink-900); font-weight: 500; }

.article__body {
    font-size: 18px;
    line-height: 1.7;
    color: var(--stk-ink-900);
}
.article__body h2 {
    font-size: 28px;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 56px 0 16px;
    color: var(--stk-ink-900);
    font-weight: 500;
}
.article__body p {
    margin: 0 0 24px;
    max-width: 65ch;
    text-wrap: pretty;
}

.article__footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--stk-cream-200);
}
.article__related {
    margin-top: 56px;
}
.article__related h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    font-family: var(--stk-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stk-stone-600);
}
.article__related-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .article__related-grid { grid-template-columns: repeat(2, 1fr); }
}
.article__related-link {
    display: block;
    padding: 20px;
    background: var(--stk-cream-50);
    border: 1px solid var(--stk-cream-200);
    border-radius: var(--stk-radius-md);
    color: var(--stk-ink-900);
    transition: border-color var(--stk-t-fast);
}
.article__related-link:hover { border-color: var(--stk-forest-500); color: var(--stk-ink-900); }
.article__related-link strong { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.article__related-link span {
    display: block;
    font-family: var(--stk-mono);
    font-size: 11px;
    color: var(--stk-stone-600);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
