.blog-page-shell {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: calc(104px + env(safe-area-inset-top)) 0 64px;
}
.blog-article {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}
.blog-article-header {
    padding: 34px 38px 24px;
}
.blog-article-header h1 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}
.blog-article-date-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}
.blog-article-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(16, 47, 53, .1);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 247, 249, .96), rgba(255, 255, 255, .78));
    color: #2b3b42;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .01em;
}
.blog-article-date-pill span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}
.blog-article-date-pill.is-completed {
    border-color: rgba(16, 47, 53, .14);
    background: linear-gradient(135deg, rgba(230, 243, 246, .92), rgba(255, 255, 255, .78));
}
.blog-article-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
    gap: 24px;
    align-items: start;
    padding: 0 38px 28px;
}
.blog-article-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    display: block;
    object-fit: cover;
    background: #f5f7f9;
}
.blog-article-meta {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 22px;
    padding-top: 2px;
}
.blog-article-meta-section {
    display: grid;
    gap: 10px;
}
.blog-article-author {
    margin: 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.55;
}
.blog-article-author span {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}
.blog-article-summary-count {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.01em;
}
.blog-article-summary-reading {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.6;
}
.blog-article-body {
    padding: 32px 38px 42px;
    color: #283238;
    font-size: 17px;
    font-weight: 560;
    line-height: 1.95;
}
.blog-article-body p {
    margin: 0 0 1.2em;
}
.blog-article-body p:last-child {
    margin-bottom: 0;
}
.blog-related {
    padding: 0 38px 42px;
}
.blog-related-header {
    margin-bottom: 14px;
}
.blog-related-header h2 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.03em;
}
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.blog-related-card {
    min-width: 0;
}
.blog-related-card a {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 92px;
    padding: 10px;
    border: 1px solid rgba(16, 47, 53, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    color: var(--ink);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.blog-related-card img {
    width: 100%;
    height: 72px;
    aspect-ratio: 2 / 3;
    display: block;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f5f7f9;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(16, 47, 53, .07);
}
.blog-related-presentation-card a {
    grid-template-columns: 112px minmax(0, 1fr);
}
.blog-related-presentation-card img {
    width: 112px;
    height: 63px;
    aspect-ratio: 16 / 9;
    border: 0;
    object-fit: cover;
}
.blog-related-card a:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 47, 53, .14);
    box-shadow: 0 14px 30px rgba(16, 47, 53, .1);
}
.blog-related-card strong,
.blog-related-card small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}
.blog-related-card strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    -webkit-line-clamp: 2;
}
.blog-related-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 760;
    line-height: 1.35;
    -webkit-line-clamp: 1;
}

.blog-library-page {
    scroll-behavior: auto;
}

.blog-list-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: calc(104px + env(safe-area-inset-top)) 0 64px;
}
.blog-list-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 16px;
    margin-bottom: 24px;
}
.blog-list-header .eyebrow {
    grid-column: 1 / -1;
}
.blog-list-header h1 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: .94;
}
.blog-sort-tabs {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    display: inline-flex;
    gap: 4px;
    margin-top: 0;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}
.blog-sort-tabs a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.blog-sort-tabs a.is-active {
    background: var(--ink);
    color: #fff;
}
.blog-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
}
.blog-active-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
    padding: 12px 16px;
    border: 1px solid rgba(183, 45, 83, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
}
.blog-active-author a {
    flex: 0 0 auto;
    color: #b72d53;
    font-size: 13px;
    font-weight: 850;
}
.blog-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.blog-search-form input[type="search"] {
    box-sizing: border-box;
    min-width: 0;
    min-height: 46px;
    flex: 1 1 360px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: var(--ink);
    font: inherit;
}
.blog-search-form input[type="search"]::placeholder {
    color: var(--muted);
}
.blog-search-form button,
.blog-search-form a {
    min-height: 42px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}
.blog-search-form button {
    border: 0;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
}
.blog-search-form a {
    color: var(--muted);
}
.blog-mobile-controls,
.blog-mobile-active-tags {
    display: none;
}
@media (max-width: 560px) {
    .blog-list-shell .blog-list-header {
        margin-bottom: 12px;
    }
    .blog-list-shell .blog-list-header h1 {
        font-size: 42px;
    }
    .blog-sort-tabs--desktop,
    .blog-tag-browser--desktop {
        display: none;
    }
    .blog-search-form {
        gap: 6px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .blog-search-form input[type="search"] {
        flex-basis: calc(100% - 76px);
    }
    .blog-search-form a {
        width: 100%;
        min-height: 26px;
        padding: 0;
    }
    .blog-mobile-controls {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
        margin-bottom: 10px;
    }
    .blog-mobile-tag-filter,
    .blog-mobile-sort-form select {
        box-sizing: border-box;
        width: 100%;
        min-height: 42px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255, 255, 255, .86);
        color: var(--ink);
        font: inherit;
    }
    .blog-mobile-tag-filter {
        position: relative;
        z-index: 6;
    }
    .blog-mobile-sort-form {
        position: relative;
        min-width: 0;
        height: 42px;
    }
    .blog-mobile-tag-filter summary {
        position: relative;
        box-sizing: border-box;
        width: 100%;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 34px 0 16px;
        font-size: 13px;
        font-weight: 850;
        line-height: 1;
        cursor: pointer;
        list-style: none;
    }
    .blog-mobile-tag-filter summary::-webkit-details-marker {
        display: none;
    }
    .blog-mobile-tag-filter summary::after {
        content: "⌄";
        position: absolute;
        top: 50%;
        right: 14px;
        color: var(--muted);
        font-size: 15px;
        transform: translateY(-58%);
    }
    .blog-mobile-tag-filter[open] summary::after {
        content: "⌃";
        transform: translateY(-38%);
    }
    .blog-mobile-tag-panel {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        box-sizing: border-box;
        width: calc(200% + 8px);
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 14px 36px rgba(8, 13, 16, .14);
    }
    .blog-mobile-tag-filter[open] {
        border-radius: 999px;
    }
    .blog-mobile-sort-form select {
        appearance: none;
        height: 42px;
        padding: 0 34px 0 16px;
        font-size: 13px;
        font-weight: 850;
        line-height: 1;
        text-align: center;
        text-align-last: center;
        cursor: pointer;
    }
    .blog-mobile-sort-form::after {
        content: "⌄";
        position: absolute;
        top: 50%;
        right: 14px;
        color: var(--muted);
        font-size: 15px;
        pointer-events: none;
        transform: translateY(-58%);
    }
    .blog-mobile-active-tags {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 6px;
        margin: 0 0 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .blog-mobile-active-tags::-webkit-scrollbar {
        display: none;
    }
    .blog-mobile-active-tags span,
    .blog-mobile-active-tags a {
        flex: 0 0 auto;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 850;
        text-decoration: none;
    }
    .blog-mobile-active-tags span {
        background: var(--ink);
        color: #fff;
    }
    .blog-mobile-active-tags a {
        color: var(--muted);
    }
}
.blog-tag-browser {
    margin: 0 0 22px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .52);
}
.blog-tag-browser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.blog-tag-browser-header h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
}
.blog-tag-browser-header a {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.blog-tag-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.blog-tag-nav a,
.blog-tag-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}
.blog-tag-nav a {
    min-height: 34px;
    padding: 0 13px;
    background: rgba(255, 255, 255, .84);
    color: var(--muted);
    box-shadow: inset 0 0 0 1px rgba(26, 45, 48, .09);
}
.blog-tag-nav a.is-active {
    background: var(--tag-bg, var(--ink));
    color: var(--tag-fg, #fff);
    box-shadow: none;
}
.blog-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.blog-tag-chip {
    min-height: 24px;
    padding: 0 9px;
    background: var(--tag-bg, #e5e7eb);
    color: var(--tag-fg, #1f2937);
}
.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.blog-list-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f5f7f9;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.blog-list-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}
.blog-list-card a {
    position: relative;
    height: 100%;
    display: block;
    color: #fff;
    text-decoration: none;
}
.blog-list-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    display: block;
    object-fit: cover;
    background: #f5f7f9;
    transition: transform 220ms ease, filter 220ms ease;
}
.blog-list-card:hover img {
    transform: scale(1.018);
    filter: brightness(.94);
}
.blog-list-card-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 52px 14px 14px;
    background: linear-gradient(to top, rgba(8, 13, 16, .82), rgba(8, 13, 16, .34) 62%, transparent);
}
.blog-list-card .blog-tag-list {
    min-width: 0;
    width: 100%;
}

.blog-list-card .blog-tag-chip {
    max-width: 100%;
}
.blog-article-tags {
    margin-top: 16px;
}
.blog-list-empty {
    grid-column: 1 / -1;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.blog-list-empty h2 {
    margin-bottom: 10px;
    font-size: 24px;
}
.blog-list-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
.blog-load-sentinel {
    height: 1px;
}
.blog-pagination a,
.blog-pagination span,
.blog-pagination strong {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 820;
}
.blog-pagination a {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
}
.blog-pagination span {
    color: color-mix(in srgb, var(--muted) 60%, white);
}
.blog-pagination strong {
    color: var(--muted);
}
