@charset "utf-8";

/* ===========================
   PROGRAM SECTION
=========================== */
.program-section {
    padding: 70px 0 150px 0;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
}

/* 카드 */
.program-card {
    display: flex;
    flex-direction: column;
}

/* 이미지 */
.program-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f0eded;
    margin-bottom: 24px;
    border-radius: 4px;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-img img {
    transform: scale(1.05);
}

/* 텍스트 */
.program-info {
    display: flex;
    flex-direction: column;
}

.program-label {
    color: #4D3621;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

/* 원형 배경 */
.program-label::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(77, 54, 33, 0.2);
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    z-index: -1;
}

.program-title {
    color: #222;
    line-height: 1.4;
}

.program-desc {
    color: #666;
    white-space: pre-line;
    margin-top: 40px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 767px) {
    .program-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .program-img { height: 220px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .program-grid { gap: 40px 40px; }
    .program-img  { height: 240px; }
}