/* ===== PROGRAM DETAIL PAGE ===== */

.pd-section {
    padding: 40px 0 80px;
    background-color: #f9fafb;
}

/* ── Breadcrumb ── */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    color: #6b7280;
    margin-bottom: 28px;
}

.pd-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease;
}

.pd-breadcrumb a:hover {
    color: var(--theme_color);
}

.pd-breadcrumb .iconify {
    width: 13px;
    height: 13px;
    color: #d1d5db;
}

.pd-breadcrumb-current {
    color: var(--text_color);
    font-weight: 600;
}

/* ── Stats Bar ── */
.pd-stats-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pd-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 28px 6px 0;
}

.pd-stat:first-child {
    padding-left: 0;
}

.pd-stat-icon {
    width: 32px;
    height: 32px;
    color: var(--theme_color);
    flex-shrink: 0;
}

.pd-stat-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 3px;
}

.pd-stat-value {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text_color);
    line-height: 1.2;
}

.pd-stat-sep {
    width: 1px;
    height: 40px;
    background-color: #e5e7eb;
    margin: 0 28px 0 0;
    flex-shrink: 0;
}

/* ── Two-column layout ── */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* ── Content blocks ── */
.pd-block {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pd-block:last-child {
    margin-bottom: 0;
}

.pd-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text_color);
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.pd-block-header .iconify {
    width: 20px;
    height: 20px;
    color: var(--theme_color);
    flex-shrink: 0;
}

.pd-block-body {
    padding: 24px;
}

.pd-rich-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.85;
}

.pd-rich-text p { margin-bottom: 14px; }
.pd-rich-text p:last-child { margin-bottom: 0; }
.pd-rich-text ul, .pd-rich-text ol { padding-left: 20px; margin-bottom: 14px; }
.pd-rich-text li { margin-bottom: 6px; }
.pd-rich-text h1, .pd-rich-text h2, .pd-rich-text h3, .pd-rich-text h4 {
    font-weight: 700;
    color: var(--text_color);
    margin: 20px 0 10px;
}
.pd-rich-text strong { color: var(--text_color); }

/* ── Sidebar ── */
.pd-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-sidebar-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pd-sidebar-card--apply {
    background: linear-gradient(135deg, var(--theme_color) 0%, #a80008 100%);
    border-color: transparent;
    color: #fff;
}

.pd-sidebar-apply-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.pd-sidebar-apply-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
    line-height: 1.6;
}

.pd-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px 16px;
    background-color: #fff;
    color: var(--theme_color);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background-color 0.18s ease;
}

.pd-apply-btn:hover {
    background-color: #f3f4f6;
    color: var(--theme_color);
    text-decoration: none;
}

.pd-apply-btn .iconify {
    width: 17px;
    height: 17px;
}

.pd-enquiry-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: center;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.pd-enquiry-btn:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

/* Sidebar card title */
.pd-sidebar-card-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 16px;
}

/* Detail list */
.pd-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pd-detail-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
}

.pd-detail-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-detail-label {
    color: #6b7280;
    flex-shrink: 0;
}

.pd-detail-value {
    color: var(--text_color);
    font-weight: 600;
    text-align: right;
}

/* Syllabus download button */
.pd-syllabus-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background-color: #f3f4f6;
    color: var(--text_color);
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.18s ease;
    border: 1px solid #e5e7eb;
}

.pd-syllabus-btn:hover {
    background-color: #e5e7eb;
    color: var(--text_color);
    text-decoration: none;
}

.pd-syllabus-btn .iconify {
    width: 20px;
    height: 20px;
    color: #ef4444;
    flex-shrink: 0;
}

/* Contact link */
.pd-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme_color);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.pd-contact-link:hover {
    gap: 12px;
    text-decoration: none;
    color: var(--theme_color);
}

.pd-contact-link .iconify {
    width: 18px;
    height: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pd-layout {
        grid-template-columns: 1fr 300px;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .pd-layout {
        grid-template-columns: 1fr;
    }

    .pd-sidebar {
        position: static;
        top: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .pd-section {
        padding: 28px 0 60px;
    }

    .pd-stats-bar {
        padding: 16px 20px;
        gap: 0;
    }

    .pd-stat {
        padding: 8px 20px 8px 0;
        width: 50%;
    }

    .pd-stat-sep {
        display: none;
    }

    .pd-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .pd-breadcrumb {
        font-size: 11px;
    }

    .pd-stat {
        width: 100%;
        padding-right: 0;
    }

    .pd-block-header {
        font-size: 15px;
    }
}
