/**
 * KAICE Exam Page Styles
 * 자격 시험 페이지 전용 스타일
 *
 * @package KAICE
 * @since 1.0.0
 */

/* ===========================================
   히어로 섹션
   =========================================== */

.exam-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 40px 0;
}

.exam-hero-content {
    flex: 1;
}

.exam-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--theme-text-color);
}

.exam-tagline {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--theme-main-color);
    font-family: var(--theme-font-bold);
    margin-bottom: 16px;
}

.exam-intro-text {
    font-size: 1rem;
    color: var(--theme-info-text);
}

.exam-hero-visual {
    flex: 0 0 200px;
}

.exam-hero-image img {
    max-width: 100%;
    height: auto;
}

/* ===========================================
   자격증 카드 섹션
   =========================================== */

.cert-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cert-card {
    background: #fff;
    border: 1px solid var(--theme-item-border);
    border-radius: var(--theme-card-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.cert-card:hover {
    box-shadow: var(--theme-card-shadow);
}

.cert-card.featured {
    border-color: var(--theme-main-color);
}

.cert-card-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--theme-item-border);
}

.cert-card-header .badge {
    margin-bottom: 12px;
}

.cert-card-header h3 {
    font-size: 1.5rem;
    font-family: var(--theme-font-bold);
    color: var(--theme-text-color);
    margin-bottom: 4px;
}

.cert-subtitle {
    font-size: var(--theme-font-size-medium);
    color: var(--theme-info-text);
    margin: 0;
}

.cert-card-body {
    padding: 24px 30px;
}

.cert-description {
    font-size: var(--theme-font-size-body);
    color: var(--theme-text-color);
    line-height: 1.7;
    margin-bottom: 24px;
}

.cert-target {
    background: var(--theme-light-bg);
    border-radius: var(--theme-card-radius);
    margin-bottom: 24px;
}

.cert-target h4 {
    font-size: var(--theme-font-size-body);
    font-family: var(--theme-font-bold);
    color: var(--theme-text-color);
    margin-bottom: 12px;
}

.cert-target ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cert-target li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--theme-font-size-medium);
    color: var(--theme-text-color);
    margin-bottom: 8px;
}

.cert-target li:last-child {
    margin-bottom: 0;
}

.cert-target li i {
    color: var(--theme-main-color);
    margin-top: 3px;
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-info-item {
    display: flex;
    justify-content: space-between;
    font-size: var(--theme-font-size-medium);
}

.cert-info-item .label {
    color: var(--theme-info-text);
}

.cert-info-item .value {
    color: var(--theme-text-color);
    font-family: var(--theme-font-bold);
}

.cert-card-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--theme-item-border);
    text-align: center;
}

/* ===========================================
   왜 KAICE 자격증인가 섹션
   =========================================== */

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border: 1px solid var(--theme-item-border);
    border-radius: var(--theme-card-radius);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--theme-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 1.75rem;
    color: var(--theme-main-color);
}

.why-card h3 {
    font-size: 1.125rem;
    font-family: var(--theme-font-bold);
    color: var(--theme-text-color);
    margin-bottom: 12px;
}

.why-card p {
    font-size: var(--theme-font-size-body);
    color: var(--theme-info-text);
    line-height: 1.6;
}

/* ===========================================
   시험 접수 섹션
   =========================================== */

.page-section.registration {
    background: var(--theme-light-bg) !important;
}

.recruit-list + .recruit-list {
    margin-top: 16px;
}

/* ===========================================
   반응형 디자인
   =========================================== */

@media (max-width: 1024px) {
    .cert-cards {
        grid-template-columns: 1fr;
    }

    .why-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .exam-hero {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .exam-hero-content h1 {
        font-size: 2rem;
    }

    .exam-hero-visual {
        flex: 0 0 150px;
    }

    .cert-card-header,
    .cert-card-body,
    .cert-card-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}
