/*
 * national-pension.css
 * ------------------------------------------------------------
 * 국민연금·노령연금 허브 전용 스타일입니다.
 * 공통 스타일은 common/layout/components.css에서 상속합니다.
 */

.np-hero {
    padding: 70px 0 60px;
    background: linear-gradient(135deg, #eef7f3, #ffffff);
}

.np-hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.3;
    letter-spacing: -.04em;
}

.np-hero h1 strong {
    color: #19735a;
}

.np-hero-desc {
    max-width: 780px;
    margin: 20px 0 0;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.np-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.np-summary > div {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.np-summary span,
.np-summary strong,
.np-summary small {
    display: block;
}

.np-summary span,
.np-summary small {
    color: var(--color-muted);
}

.np-summary span {
    font-size: .9rem;
}

.np-summary strong {
    margin: 5px 0;
    color: #17684f;
    font-size: 1.35rem;
}

.np-summary small {
    font-size: .78rem;
}

.np-question-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.age-table-wrap {
    overflow-x: auto;
    margin: 26px 0 12px;
}

.age-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

.age-table th,
.age-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.age-table th {
    background: #f1f5f8;
}

.age-table tr:last-child td {
    border-bottom: 0;
}

.highlight-card {
    margin: 25px 0;
    padding: 28px;
}

.highlight-card span,
.highlight-card strong,
.highlight-card p {
    display: block;
}

.highlight-card span {
    color: var(--color-muted);
}

.highlight-card strong {
    margin: 6px 0;
    color: #17684f;
    font-size: 1.55rem;
}

.highlight-card p {
    margin: 0;
    color: var(--color-muted);
}

.defer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 26px 0;
}

.defer-card {
    padding: 25px;
    text-align: center;
}

.defer-card span {
    display: block;
    color: var(--color-muted);
}

.defer-card strong {
    display: block;
    margin-top: 5px;
    color: #17684f;
    font-size: 1.8rem;
}

.source-note {
    color: #687383;
    font-size: .88rem !important;
}

.related-links {
    display: grid;
    gap: 10px;
    margin-top: 25px;
}

.related-links a {
    padding: 17px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 11px;
    font-weight: 700;
}

.related-links a:hover {
    color: #17684f;
    border-color: #a7c9bc;
}

@media (max-width: 900px) {
    .np-question-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .np-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .np-hero {
        padding: 52px 0 45px;
    }

    .np-question-grid,
    .defer-grid {
        grid-template-columns: 1fr;
    }

    .np-hero-desc {
        font-size: 1rem;
    }

    .age-table {
        min-width: 430px;
    }
}
