/* Shoppi Blog article-detail page — light theme (implements the "Article" screen
   of Claude Design "Shoppi Blog.dc.html"). Shares tokens/classes with home.css
   (utility bar, header, buttons, newsletter, footer) -- load both. */

.header-progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 0%;
    background: var(--accent);
    transition: width 0.1s linear;
}

.article-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px var(--gutter) 0;
    background: #FFFFFF;
}

.article-head-inner { width: 100%; max-width: 800px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    color: var(--ink-faint);
}
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .cat-pill { padding: 4px 10px; }

.article-head h1 {
    margin: 0 0 22px;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.article-dek {
    margin: 0 0 28px;
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink-soft);
    text-wrap: pretty;
}

.byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.byline-who { display: flex; align-items: center; gap: 12px; }

.byline-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background-color: var(--media-bg);
    flex: none;
}

.byline-text { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
.byline-text .name { font-weight: 600; }
.byline-text .meta { color: var(--ink-faint); }

.byline-share { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.byline-share .label { color: var(--ink-faint); margin-right: 2px; }

.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #DDE2EA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
    background: none;
    cursor: pointer;
}
.share-btn:hover { background: var(--chip-bg); color: var(--ink); }

.article-cover-wrap { padding: 32px var(--gutter) 0; background: #FFFFFF; }

.article-cover {
    aspect-ratio: 21 / 9;
    border-radius: 20px;
    background-color: var(--media-bg);
    background-size: cover;
    background-position: center;
}

.article-body-wrap {
    display: grid;
    grid-template-columns: 1fr minmax(0, 720px) 1fr;
    gap: 40px;
    padding: 52px 40px 8px;
    background: #FFFFFF;
}

.article-body {
    font-size: 18px;
    line-height: 1.75;
    color: #243352;
}

.article-body p { margin: 0 0 26px; text-wrap: pretty; }

.article-body h2, .article-body h3 {
    margin: 44px 0 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.article-body h2 { font-size: 28px; }
.article-body h3 { font-size: 22px; }

.article-body blockquote {
    margin: 36px 0;
    padding: 26px 30px;
    border-radius: 16px;
    background: var(--chip-bg);
    border-left: 3px solid var(--accent);
}
.article-body blockquote p {
    margin: 0;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.article-body img {
    max-width: 100%;
    border-radius: 16px;
    margin: 36px 0;
    display: block;
}

.article-body ul, .article-body ol {
    margin: 0 0 26px;
    padding-left: 22px;
}
.article-body li { margin-bottom: 12px; text-wrap: pretty; }

.related-wrap { padding: 0 var(--gutter) 64px; background: #FFFFFF; }

.related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}
.related-head h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.related-head a { font-size: 13.5px; font-weight: 600; color: var(--accent); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.related-card { display: flex; flex-direction: column; gap: 14px; }
.related-media {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background-color: var(--media-bg);
    background-size: cover;
    background-position: center;
}
.related-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ink-faint);
}
.related-card h4 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

@media (max-width: 980px) {
    .article-body-wrap { grid-template-columns: 1fr; padding: 40px 24px 8px; }
    .article-head h1 { font-size: 34px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .article-head { padding: 32px 20px 0; }
    .article-head h1 { font-size: 28px; }
    .article-dek { font-size: 16px; }
    .byline { flex-direction: column; align-items: flex-start; gap: 16px; }
    .article-cover-wrap { padding: 24px 20px 0; }
    .article-body { font-size: 16px; }
    .related-wrap { padding: 0 20px 48px; }
    .related-grid { grid-template-columns: 1fr; }
}
