/*
 * check.css
 * ------------------------------------------------------------
 * "내 복지 찾기" 전용 스타일.
 * 기초연금·국민연금·65세 복지혜택·복지 계산기와 같은
 * 페이지 헤더 구조를 사용해 사이트 전체의 시각적 일관성을 유지한다.
 */

.check-page {
    background: var(--color-bg);
}

/* 페이지 상단: 다른 주요 메뉴 페이지와 같은 옅은 색상 구분 영역 */
.check-hero {
    padding: 34px 0 62px;
    background: linear-gradient(135deg, #eef4ff 0%, #f7f9fc 58%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
}

.check-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 52px;
    color: var(--color-muted);
    font-size: .95rem;
}

.check-hero .breadcrumb a {
    color: var(--color-primary);
    font-weight: 700;
}

.check-hero .breadcrumb span {
    color: #9aa4b2;
}

.check-hero .section-kicker {
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 800;
}

.check-hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 3.5rem);
    line-height: 1.38;
    letter-spacing: -.045em;
}

.check-hero-desc {
    max-width: 820px;
    margin: 24px 0 0;
    color: #4f5b6a;
    font-size: 1.08rem;
    line-height: 1.85;
}

/* 질문/결과 영역 */
.check-form-section,
.result-section,
.guide-section {
    padding: 70px 0;
}

.section-heading,
.result-header {
    margin-bottom: 30px;
}

.section-heading h2,
.result-header h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    line-height: 1.4;
    letter-spacing: -.025em;
}

.welfare-check-form {
    display: grid;
    gap: 18px;
    max-width: 900px;
}

.welfare-check-form fieldset {
    margin: 0;
    padding: 26px 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.welfare-check-form legend {
    margin-bottom: 15px;
    padding: 0;
    font-weight: 800;
    font-size: 1.05rem;
}

.welfare-check-form label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    margin: 4px 18px 4px 0;
    cursor: pointer;
}

.welfare-check-form input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
}

.check-submit {
    justify-self: start;
    margin-top: 8px;
    padding: 14px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.check-submit:hover,
.check-submit:focus-visible {
    background: var(--color-primary-dark);
}

.result-header p:not(.section-kicker) {
    margin: 10px 0 0;
    color: var(--color-muted);
}

.result-list {
    display: grid;
    gap: 14px;
}

.result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.result-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.result-card p {
    margin: 7px 0 0;
    color: var(--color-muted);
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 750;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-secondary {
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
}

.notice-box {
    padding: 22px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

.notice-box p {
    margin: 8px 0 0;
    color: var(--color-muted);
}

@media (max-width: 768px) {
    .check-hero {
        padding: 24px 0 48px;
    }

    .check-hero .breadcrumb {
        margin-bottom: 38px;
    }

    .check-hero h1 {
        font-size: 2.15rem;
    }

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

    .check-form-section,
    .result-section,
    .guide-section {
        padding: 52px 0;
    }

    .welfare-check-form fieldset {
        padding: 22px 20px;
    }

    .welfare-check-form label {
        display: flex;
        margin-right: 0;
    }

    .result-card {
        align-items: stretch;
        flex-direction: column;
        padding: 22px 20px;
    }
}
