/* --- Reset & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f4f9f6; /* 아주 연한 녹색 톤 배경 */
    color: #333;
    line-height: 1.6;
}

/* --- Layout Container --- */
.clsContainer {
    width: 100%;
    overflow-x: hidden;
}

.clsCurriculumContainer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* --- Title Section --- */
.clsCurriculumTitle {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: #1b5e3a; /* 더 진한 숲색 */
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* 제목 밑줄 장식 */
.clsCurriculumTitle:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2a7d4f, #2a9d8f);
    border-radius: 2px;
}

/* --- Grid Layout --- */
.clsCurriculumGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 반응형 그리드 */
    gap: 30px;
    align-items: start;
}

/* --- Card Design --- */
.clsCurriculumCard {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(42, 125, 79, 0.08); /* 부드러운 녹색 그림자 */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(42, 157, 143, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%; /* 카드 높이 맞춤 */
}

.clsCurriculumCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(42, 125, 79, 0.15);
}

/* Card Header */
.clsCardHeader {
    background: linear-gradient(135deg, #2a7d4f 0%, #2a9d8f 100%); /* 그라데이션 적용 */
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 24px 30px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 헤더에 작은 장식 추가 */
.clsCardHeader::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
}

.clsCardContent {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px; /* 섹션 간 간격 */
    flex-grow: 1;
}

/* --- Content Sections --- */
.clsContentSection {
    /* 섹션별 구분감 */
}

.clsSectionTitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2a9d8f; /* 서브 컬러 사용 */
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.clsSectionBody {
    font-size: 1rem;
    color: #555;
    padding-left: 0; /* 들여쓰기 제거하고 깔끔하게 정렬 */
    line-height: 1.7;
}

/* 목표 섹션 강조 (Highlight Box) */
.clsCurriculumCard .clsContentSection:first-child {
    background-color: #f1f8f4;
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid #2a7d4f;
}

.clsCurriculumCard .clsContentSection:first-child .clsSectionTitle {
    color: #1b5e3a;
    margin-bottom: 4px;
}

/* Highlight Text */
.clsHighlight {
    color: #2a7d4f;
    font-weight: 800;
    background: linear-gradient(to top, rgba(42, 157, 143, 0.2) 50%, transparent 50%);
}

/* --- Tags Design --- */
.clsTag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #2a9d8f;
    border: 1px solid #2a9d8f;
    padding: 4px 10px;
    border-radius: 50px; /* 캡슐 모양 */
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 4px 6px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    transition: all 0.2s;
}

.clsTag:hover {
    background-color: #2a9d8f;
    color: white;
}

/* 리스트형 텍스트 정리 */
.clsSectionBody div {
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
}

/* Responsive */
@media (max-width: 768px) {
    .clsCurriculumContainer {
        padding: 40px 20px;
    }

    .clsCurriculumTitle {
        font-size: 2rem;
        margin-bottom: 40px;
        width: 100%;
    }

    .clsCurriculumGrid {
        grid-template-columns: 1fr; /* 모바일 한 줄 */
    }

    .clsCardContent {
        padding: 25px;
    }
}
