/* ── 목록 카드 ─────────────────────────── */
.schedule-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.schedule-card {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    transition: box-shadow .18s, transform .18s;
}
.schedule-card:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    transform: translateY(0);
}
.schedule-card-cat {
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: .04em;
}
.schedule-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark, #111);
    line-height: 1.5;
    margin: 0;
}
.schedule-card-date {
    font-size: 1rem;
    color: var(--text-mid, #555);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.schedule-card-date i { color: var(--primary-dark) }
.schedule-card-desc {
    font-size: .87rem;
    color: var(--text-mid, #666);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 900px) { .schedule-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .schedule-card-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ── 상세 페이지 ─────────────────────────── */
.sch-detail-wrap {
    max-width: 680px;
    margin: 0 auto 60px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 14px;
    overflow: hidden;
}
.sch-detail-head {
    background: var(--primary-dark);
    color: #fff;
    padding: 32px 28px 28px;
    text-align: center;
}
.sch-detail-main-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
}
.sch-detail-subtitle {
    font-size: .95rem;
    margin: 0;
    opacity: .9;
}
.sch-detail-info-box {
    background: #fff;
    padding: 28px 28px 20px;
}
.sch-detail-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark, #111);
    border-left: 4px solid var(--accent, #3b7af8);
    padding-left: 12px;
    margin: 0 0 20px;
    line-height: 1.4;
}
.sch-detail-table {
    width: 100%;
    border-collapse: collapse;
}
.sch-detail-table tr + tr { border-top: 1px solid var(--border, #eee); }
.sch-detail-table th,
.sch-detail-table td {
    padding: 13px 4px;
    font-size: .92rem;
    vertical-align: top;
    text-align: left;
}
.sch-detail-table th {
    width: 130px;
    font-weight: 600;
    color: var(--text-mid, #555);
    white-space: nowrap;
}
.sch-detail-table td { color: var(--text-dark, #222); line-height: 1.6; }

.sch-detail-content-box {
    margin: 0 28px 20px;
    background: #f7f7f7;
    border: 1px solid #bcab67;
    padding: 18px 20px;
}
.sch-detail-content-title {
    font-size: .95rem;
    font-weight: 700;
    color: #b45309;
    margin: 0 0 10px;
}
.sch-detail-content-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sch-detail-content-list li {
    font-size: .9rem;
    color: var(--text-dark, #333);
    line-height: 1.5;
}

.sch-detail-contact-box {
    margin: 0 28px 28px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 18px 20px;
    text-align: center;
}
.sch-detail-contact-label {
    font-size: .85rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 6px;
}
.sch-detail-contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark, #111);
    margin: 0;
    letter-spacing: .04em;
}

/* ── 레이아웃 B: 과정별 블록 ─────────────────────────── */
.sch-detail-blocks-wrap {
    padding: 20px 28px 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sch-block {
    border-left: 4px solid #3b7af8;
    padding: 12px 16px;
    background: #f8faff;
    border-radius: 0 6px 6px 0;
}
.sch-block-title {
    display: block;
    font-size: .97rem;
    font-weight: 700;
    color: var(--text-dark, #111);
    margin-bottom: 4px;
}
.sch-block-date {
    font-size: .88rem;
    color: var(--text-mid, #555);
    margin: 0;
}
.sch-detail-info-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent, #3b7af8);
    text-underline-offset: 4px;
    margin: 0 0 16px;
}

@media (max-width: 600px) {
    .sch-detail-head { padding: 24px 18px 20px; }
    .sch-detail-info-box { padding: 20px 18px 14px; }
    .sch-detail-blocks-wrap { padding: 16px 18px 4px; }
    .sch-detail-table th { width: 100px; font-size: .85rem; }
    .sch-detail-content-box,
    .sch-detail-contact-box { margin-left: 18px; margin-right: 18px; }
    .sch-detail-contact-phone { font-size: 1.25rem; }
}
