/* Publication — single scroll page (no slider) */

.page-pub {
    --pub-accent: #1e3a5f;
    --pub-accent-soft: #2563eb;
    --pub-text: #0f172a;
    --pub-muted: #64748b;
    --pub-border: rgba(15, 23, 42, 0.08);
    --pub-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR",
        sans-serif;
    font-family: var(--pub-font);
    color: var(--pub-text);
    background-color: #f4f6fb;
    background-image:
        radial-gradient(ellipse 120% 80% at 100% -20%, rgba(37, 99, 235, 0.08), transparent 50%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(30, 58, 95, 0.05), transparent 45%);
    background-attachment: fixed;
    min-height: 100vh;
}


.page-pub .footer {
    background: #fff;
    border-top: 1px solid var(--pub-border);
    margin-top: 0;
}

.pub-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 4rem;
}

.pub-page-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--pub-border);
}

.pub-page-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.06em;
    text-transform: none;
    color: var(--pub-accent-soft);
    margin-bottom: 0.5rem;
}

.pub-page-title {
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    color: var(--pub-text);
}

.pub-page-title span {
    color: var(--pub-accent-soft);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

.pub-page-desc {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--pub-muted);
}

.pub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pub-item {
    display: flex;
    gap: 1.1rem;
    align-items: stretch;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pub-item:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 14px 36px rgba(30, 58, 95, 0.1);
}

.pub-item-num {
    flex-shrink: 0;
    width: 2.65rem;
    height: 2.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(145deg, var(--pub-accent) 0%, var(--pub-accent-soft) 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.pub-item-body {
    flex: 1;
    min-width: 0;
}

.pub-item-text {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.72;
    color: #334155;
    font-weight: 500;
}

/* 논문 제목: 논문 페이지로 이동하는 링크 (파란색·굵게) */
.pub-title-link {
    font-weight: 700;
    color: var(--pub-accent-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}

.pub-title-link:hover {
    color: #1d4ed8;
    border-bottom-color: rgba(37, 99, 235, 0.45);
}

/* 초록 제목: 링크 없이 publication 제목과 동일한 강조 */
.pub-abstract-title {
    font-weight: 700;
    color: var(--pub-accent-soft);
}

/* 저널명: 이탤릭만 (링크 없음) */
.pub-journal-name {
    font-style: italic;
    font-weight: 500;
    color: inherit;
}

/* 학회록·보충권 등 뒷줄: 이탤릭만 (Abstracts) */
.pub-journal-plain {
    font-style: italic;
    font-weight: 500;
    color: inherit;
}

@media (max-width: 575.98px) {
    .pub-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .pub-item-num {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 0.92rem;
    }
}
