@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --page-bg: #fbfaf7;
    --surface: #ffffff;
    --ink: #2d3138;
    --muted: #69727f;
    --line: #e3ded7;
    --coral: #e85d75;
    --mint: #2f9a8d;
    --gold: #c9902e;
    --soft-mint: #edf7f4;
    --soft-coral: #fff0f3;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--ink);
    font-family: "IBM Plex Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.72;
    word-break: keep-all;
    overflow-wrap: break-word;
}

a {
    color: inherit;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(18px, 5vw, 56px);
    border-bottom: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.92);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
}

.brand-link {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 24px);
    justify-content: flex-end;
    margin-left: auto;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a {
    text-decoration: none;
}

main {
    width: 100%;
}

.blog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    min-height: min(760px, calc(100svh - 64px));
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.blog-list-hero {
    display: block;
    min-height: auto;
}

.blog-list-hero .blog-hero-copy {
    align-items: center;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.blog-list-hero .hero-summary {
    max-width: 700px;
}

.blog-list-hero .hero-actions {
    justify-content: center;
}

.blog-post-hero .blog-hero-copy {
    align-items: center;
    text-align: center;
}

.blog-post-hero .hero-summary {
    max-width: 680px;
}

.blog-post-hero .hero-actions {
    justify-content: center;
}

.blog-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    padding: clamp(54px, 9vw, 118px) clamp(20px, 6vw, 88px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--mint);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    color: var(--ink);
    font-size: clamp(2.45rem, 7vw, 5.6rem);
    line-height: 1.03;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.18;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.hero-summary {
    max-width: 640px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.primary-link,
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.primary-link {
    background: var(--coral);
    color: #ffffff;
}

.secondary-link {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

.primary-link:hover,
.secondary-link:hover,
.post-row-link:hover {
    transform: translateY(-2px);
}

.source-note {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-image-strip {
    --hero-thumb-size: clamp(60px, 5.8vw, 86px);
    display: grid;
    grid-template-columns: repeat(4, var(--hero-thumb-size));
    align-content: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(14px, 3vw, 28px);
    background: #20252c;
}

.hero-image-strip img {
    display: block;
    width: var(--hero-thumb-size);
    height: var(--hero-thumb-size);
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    background: #15191f;
    filter: saturate(0.95);
}

.article-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--page-bg);
    position: sticky;
    top: 61px;
    z-index: 8;
}

.article-nav a {
    padding: 9px 13px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.article-nav a:hover {
    background: var(--soft-mint);
    color: var(--mint);
}

.article-intro,
.profile-section,
.post-list-section,
.article-cta {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.article-intro {
    padding: clamp(34px, 6vw, 72px) 0 8px;
    color: var(--ink);
    font-size: clamp(1.06rem, 2vw, 1.24rem);
}

.profile-section,
.post-list-section {
    padding: clamp(42px, 7vw, 88px) 0;
    border-top: 1px solid var(--line);
}

.section-heading {
    max-width: 760px;
    margin-bottom: clamp(24px, 4vw, 44px);
}

.profile-block {
    display: grid;
    grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: start;
    padding: clamp(24px, 4vw, 42px) 0;
    border-top: 1px solid var(--line);
}

.profile-block:first-of-type {
    border-top: 0;
}

.profile-media {
    position: sticky;
    top: 124px;
}

.profile-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 8px;
    background: var(--soft-mint);
}

.profile-kicker {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 700;
}

.profile-summary {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 1.05rem;
}

.profile-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
}

.profile-facts div {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.profile-facts dt {
    margin-bottom: 4px;
    color: var(--mint);
    font-size: 0.8rem;
    font-weight: 700;
}

.profile-facts dd {
    margin: 0;
    color: var(--ink);
}

.profile-detail-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.profile-detail-list li {
    position: relative;
    padding-left: 18px;
}

.profile-detail-list li::before {
    content: "";
    position: absolute;
    top: 0.82em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
}

.article-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    margin-bottom: clamp(48px, 8vw, 96px);
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft-coral);
}

.article-cta p {
    max-width: 660px;
    color: var(--muted);
}

.post-list {
    display: grid;
    gap: 10px;
}

.post-row {
    border-top: 1px solid var(--line);
}

.post-row-link {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 24px 0;
    text-decoration: none;
    transition: transform 0.18s ease;
}

.post-season {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    border-radius: 8px;
    background: var(--ink);
    color: #ffffff;
    font-weight: 700;
}

.post-row-body h3 {
    margin-bottom: 6px;
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.post-row-body p {
    margin-bottom: 8px;
    color: var(--muted);
}

.post-row-body span {
    color: var(--mint);
    font-size: 0.92rem;
    font-weight: 700;
}

.blog-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 18px 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.blog-footer a {
    text-decoration: none;
}

@media (max-width: 860px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .blog-hero {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .blog-hero-copy {
        padding: 42px 20px;
    }

    .hero-image-strip {
        --hero-thumb-size: clamp(54px, 15vw, 68px);
        grid-template-columns: repeat(4, var(--hero-thumb-size));
        gap: 6px;
        overflow-x: visible;
        padding: 12px;
    }

    .hero-image-strip img {
        min-height: 0;
    }

    .article-nav {
        justify-content: flex-start;
        overflow-x: auto;
        top: 60px;
    }

    .profile-block {
        grid-template-columns: 1fr;
    }

    .profile-media {
        position: static;
        max-width: 320px;
        width: min(100%, 320px);
        margin: 0 auto;
    }

    .article-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .site-nav {
        width: auto;
        justify-content: flex-end;
        font-size: 0.88rem;
    }

    h1 {
        font-size: clamp(2.2rem, 14vw, 3.4rem);
    }

    .article-nav {
        top: 60px;
    }

    .profile-facts {
        grid-template-columns: 1fr;
    }

    .post-row-link {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .post-season {
        justify-content: flex-start;
        min-height: auto;
        width: max-content;
        padding: 8px 12px;
    }

    .primary-link,
    .secondary-link {
        width: 100%;
    }
}
