/* ========================================
   LMS: 집체교육(오프라인) 페이지
   - Apple-style minimal & premium
======================================== */

/* ───── 페이지 헤더 ───── */
.ot-hero {
    background: #fff;
    padding: 64px 0 52px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.ot-hero .section-label {
    background: #f5f5f7;
    color: #86868b;
    font-size: 13px;
    letter-spacing: 1.5px;
}
.ot-hero .section-title {
    color: #1d1d1f;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.ot-hero .section-desc {
    color: #86868b;
    font-size: 17px;
    max-width: 520px;
    line-height: 1.6;
}
.ot-hero-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.ot-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    background: #f5f5f7;
    color: #1d1d1f;
    border: none;
}
.ot-hero-badge i {
    font-size: 14px;
    color: #553AE7;
}
.ot-hero-badge--dark {
    background: #1d1d1f;
    color: #fff;
    text-decoration: none;
}
.ot-hero-badge--dark i {
    color: #fff;
}

/* ───── 과정 그리드 (4열) ───── */
.ot-section {
    padding: 56px 0 72px;
    background: #f5f5f7;
}
.ot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ───── 세로형 카드 ───── */
.ot-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.ot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

/* 카드 이미지 (상단) */
.ot-card-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--g1, #059669), var(--g2, #047857));
    display: flex;
    align-items: center;
    justify-content: center;
}
.ot-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.ot-card-thumb-icon {
    font-size: 36px;
    color: rgba(255,255,255,.15);
}

/* 카드 상단 */
.ot-card-header {
    padding: 18px 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ot-card-icon { display: none; }
.ot-card-header-text {
    flex: 1;
    min-width: 0;
}

/* 뱃지 */
.ot-injae-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    background: #059669;
    color: #fff;
    margin-bottom: 6px;
    margin-right: 4px;
    white-space: nowrap;
    letter-spacing: -0.2px;
}
.ot-injae-badge i { font-size: 12px; }

.ot-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    background: #fff3e0;
    color: #e65100;
    margin-bottom: 4px;
}

/* 과정명 */
.ot-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.35;
    margin: 0;
    word-break: keep-all;
    letter-spacing: -0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 카드 본문 */
.ot-card-body {
    padding: 4px 20px 14px;
    flex: 1;
}
.ot-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ot-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #86868b;
    font-weight: 400;
}
.ot-meta-item i {
    width: 14px;
    text-align: center;
    color: #aeaeb2;
    font-size: 11px;
}
.ot-meta-item .ot-meta-label {
    color: #aeaeb2;
    font-weight: 500;
    min-width: 36px;
}

/* 태그 */
.ot-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}
.ot-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    background: #f5f5f7;
    color: #86868b;
}

/* 카드 하단 */
.ot-card-footer {
    padding: 14px 20px;
    border-top: 1px solid #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ot-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.ot-price-label {
    font-size: 11px;
    font-weight: 500;
    color: #aeaeb2;
}
.ot-price-value {
    font-size: 22px;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}
.ot-price-original {
    font-size: 13px;
    color: #aeaeb2;
    text-decoration: line-through;
    font-weight: 400;
}
.ot-price-note {
    font-size: 11px;
    color: #2e7d32;
    font-weight: 500;
}

/* 버튼 */
.ot-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 11px 20px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    background: #553AE7;
    color: #fff;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}
.ot-card-btn:hover {
    background: #4028C4;
}
.ot-card-btn i { font-size: 11px; }
.ot-card-btn--pay { background: #553AE7; }
.ot-card-btn--pay:hover { background: #4028C4; }

/* ───── 하단 문의 ───── */
.ot-contact {
    padding: 56px 0 72px;
    text-align: center;
    background: #fff;
}
.ot-contact-box {
    max-width: 520px;
    margin: 0 auto;
    padding: 44px 36px;
    background: #f5f5f7;
    border-radius: 18px;
    border: none;
}
.ot-contact-box h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.ot-contact-box p {
    font-size: 15px;
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 24px;
}
.ot-contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    background: #1d1d1f;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}
.ot-contact-phone:hover { background: #333; }
.ot-contact-phone i { font-size: 16px; }
.ot-contact-sub {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.ot-contact-sub a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    background: #fff;
    border: 1px solid #e5e5ea;
    text-decoration: none;
    transition: all .2s;
}
.ot-contact-sub a:hover {
    background: #f5f5f7;
}

/* ───── 반응형 ───── */
@media (max-width: 1024px) {
    .ot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ot-hero { padding: 48px 0 36px; }
    .ot-hero .section-title { font-size: 28px; }
    .ot-section { padding: 36px 0 48px; }
    .ot-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .ot-card-btn {
        justify-content: center;
        width: 100%;
    }
}
@media (max-width: 560px) {
    .ot-grid { grid-template-columns: 1fr; gap: 14px; }
    .ot-contact-box { padding: 32px 20px; }
    .ot-contact-phone { font-size: 16px; padding: 12px 24px; }
    .ot-contact-sub { flex-direction: column; align-items: center; }
}
