/* Course Page */
.class-page-body {
    position: relative;
}

.class-page {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.decorations-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 200px;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.class-decorations {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.class-decoration {
    background-repeat: no-repeat;
    background-size: contain;
}

.class-decoration-hero {
    width: 1165px;
    height: 768px;
    top: 308px;
    left: calc(25% - 58px);
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.52) 0%, rgba(60, 150, 255, 0.28) 18%, rgba(60, 150, 255, 0.12) 42%, rgba(60, 150, 255, 0.06) 60%, rgba(60, 150, 255, 0.02) 82%, transparent 100%);
}

.class-decoration-hero-2 {
    width: 1681px;
    height: 1187px;
    top: 1230px;
    left: -8px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.52) 0%, rgba(60, 150, 255, 0.28) 18%, rgba(60, 150, 255, 0.12) 42%, rgba(60, 150, 255, 0.06) 60%, rgba(60, 150, 255, 0.02) 82%, transparent 100%);
    opacity: 0.6;
}

.class-decoration-blur {
    width: 585px;
    height: 585px;
    top: 1400px;
    right: -100px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.28) 0%, rgba(60, 150, 255, 0.14) 25%, rgba(60, 150, 255, 0.07) 50%, rgba(60, 150, 255, 0.03) 72%, transparent 100%);
    opacity: 0.6;
}

.class-decoration-blur-2 {
    width: 585px;
    height: 585px;
    top: 2800px;
    left: -120px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.28) 0%, rgba(60, 150, 255, 0.14) 25%, rgba(60, 150, 255, 0.07) 50%, rgba(60, 150, 255, 0.03) 72%, transparent 100%);
    opacity: 0.5;
}

.class-decoration-cloud {
    position: absolute;
    top: 1400px;
    left: 50%;
    width: 1593px;
    height: 896px;
    object-fit: contain;
    transform: translateX(-50%);
    opacity: 0.15; /* Initial; JS animates 0.15 → 0.75 → 0.15 on scroll */
    z-index: 1;
    pointer-events: none;
}

.class-breadcrumbs {
    padding: 120px 0 32px;
}

.class-breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.class-breadcrumb {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.class-breadcrumbs-list .icon-home {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 4px;
}

.class-breadcrumb.current {
    color: var(--text-primary);
    font-weight: 500;
}

.class-breadcrumb-divider {
    color: var(--text-secondary);
}

.class-hero {
    padding: 64px 0 64px;
}

.class-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 527px;
    align-items: stretch;
    background-color: var(--bg-secondary);
    border: 1px solid var(--alfa-grey-1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    max-width: 1152px;
    margin: 0 auto;
}

.class-hero-card::before {
    content: '';
    position: absolute;
    left: calc(33.33% - 1008px);
    top: calc(100% - 1008px);
    width: 2016px;
    height: 2016px;
    background: radial-gradient(circle at calc(50% + 50px) calc(50% - 30px), rgba(60, 150, 255, 0.25) 0%, rgba(60, 150, 255, 0.12) 12%, rgba(60, 150, 255, 0.06) 30%, rgba(60, 150, 255, 0.025) 50%, rgba(60, 150, 255, 0.008) 70%, rgba(60, 150, 255, 0.002) 88%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.class-hero-card > * {
    position: relative;
    z-index: 1;
}

.class-hero-content {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    box-sizing: border-box;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.class-hero-content:has(.class-hero-enrollment-closed) {
    padding-top: 32px;
}

.class-hero-title {
    font-size: 64px;
    line-height: 72px;
    margin: 0;
}

.class-hero-enrollment-closed {
    margin: 16px 0;
    align-self: flex-start;
}

.class-enrollment-closed-badge {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #ff93cf;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #ff93cf;
    white-space: nowrap;
}

.class-hero-content .class-hero-cta {
    width: fit-content;
    align-self: flex-start;
}

.class-hero-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.class-hero-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

.class-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.class-hero-link-text {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.class-hero-item-stack {
    align-items: flex-start;
}

.class-hero-item-stack-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 500;
    color: var(--text-primary);
}

.class-hero-item-stack-text strong {
    font-weight: 500;
}

.class-hero-item-stack-text span {
    font-size: 20px;
    line-height: 28px;
    color: var(--text-secondary);
}

.class-hero-schedule-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
}

.class-hero-schedule-slot {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
}

.class-hero-schedule-slot strong {
    font-weight: 500;
}

.class-hero-item-sub {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 8px;
}

.class-hero-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.class-hero-icon .icon-calendar {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.class-hero-icon .icon-clock-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.class-hero-icon .icon-location-pin,
.class-hero-icon .icon-ticks,
.class-hero-icon .icon-price,
.class-hero-icon .icon-drop {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.class-hero-icon-muted {
    color: var(--text-secondary);
    margin-left: 8px;
}

.class-hero-media {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    z-index: 1;
}

/* Direct child only — not .class-hero-play img / video button icon */
.class-hero-media.img-placeholder > img,
.class-hero-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    z-index: 1;
}

.class-hero-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.class-hero-video-btn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

.class-hero-video-btn:focus-visible {
    outline: 2px solid var(--white-100);
    outline-offset: 4px;
}

.class-hero-play img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

/* Higher specificity so transition isn't overridden by .img-placeholder img */
.class-hero-media .class-hero-play img {
    transition: transform 0.3s ease;
}

.class-hero-video-btn:hover .class-hero-play img {
    transform: scale(1.1);
}

.class-stats {
    padding: 72px 0 60px;
}

.class-stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    text-align: center;
}

.class-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.class-stat-value {
    font-family: 'Urbanist', sans-serif;
    font-size: 64px;
    line-height: 72px;
    font-weight: 700;
}

.class-stat-label {
    font-size: 24px;
    line-height: 32px;
    color: var(--text-primary);
    font-weight: 400;
}

.class-benefits {
    padding: 80px 0;
}

.class-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.class-benefits-copy h2 {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 24px;
}

.class-benefits-copy p {
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
}

.class-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.class-benefit-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.class-benefit-icon {
    width: 24px;
    height: 24px;
    margin-top: 8px;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.class-benefit-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 22px rgba(255, 255, 255, 0.6));
}

.class-benefit-item h3 {
    font-size: 32px;
    line-height: 40px;
    margin: 0 0 8px;
    color: var(--white-100);
}

.class-benefit-item p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.class-instructors {
    padding: 80px 0;
}

.class-section-title {
    text-align: center;
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 60px;
}

.class-instructors:has(.class-instructors-intro) .class-section-title {
    margin-bottom: 16px;
}

.class-instructors-intro {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.class-instructors-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.class-instructors-grid::-webkit-scrollbar {
    display: none;
}

.class-instructor-card {
    border: 2px solid var(--alfa-grey-2);
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    display: flex;
    flex-direction: column;
    flex: 0 0 378px;
}

.class-instructor-photo {
    height: auto;
    aspect-ratio: 1 / 1;
    background: url('../images/instructors/default.png') center / cover no-repeat;
    overflow: hidden;
    position: relative;
}

.class-instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-instructor-photo.hover-video-container video,
.instructor-image.hover-video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    z-index: 2;
}

.class-instructor-photo.hover-video-container {
    background: transparent;
}

.class-instructor-photo.hover-video-container img,
.instructor-image.hover-video-container img {
    transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.class-instructor-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.class-instructor-body h3 {
    font-size: 32px;
    line-height: 40px;
    margin: 0;
}

.class-instructor-body p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
}

.class-instructors-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.class-instructor-arrow {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
}

.class-instructor-arrow .icon-btn-icon {
    width: 24px;
    height: 24px;
}

.class-instructor-arrow .icon-angle-left,
.class-instructor-arrow .icon-angle-right {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s, opacity 0.3s;
}

.class-instructor-arrow:disabled {
    opacity: 0.4;
}

.class-instructor-arrow:disabled .icon-angle-left,
.class-instructor-arrow:disabled .icon-angle-right {
    opacity: 0.6;
}

.class-instructor-arrow:not(:disabled):hover .icon-angle-left,
.class-instructor-arrow:not(:disabled):hover .icon-angle-right,
.class-instructor-arrow:not(:disabled):active .icon-angle-left,
.class-instructor-arrow:not(:disabled):active .icon-angle-right {
    transform: scale(1.25);
}

.class-program {
    padding: 80px 0;
}

.class-program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.class-program-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.class-program-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.class-program-number {
    font-family: 'Urbanist', sans-serif;
    font-size: 32px;
    line-height: 40px;
    color: var(--text-placeholder);
    font-weight: 700;
}

.class-program-item h3 {
    font-size: 24px;
    line-height: 32px;
    margin: 0 0 12px;
}

.class-program-item p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.class-contact {
    position: relative;
    padding: 80px 0;
}

.class-section-title-decorated {
    position: relative;
}

.class-section-title-decorated::before,
.class-section-title-decorated::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 143px;
    height: 104px;
    background-image: url('../images/decorations/decoration-glow-arrows.png');
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%);
    opacity: 0.9;
}

.class-section-title-decorated::before {
    left: 25%;
}

.class-section-title-decorated::after {
    right: 25%;
    transform: translateY(-50%) scaleX(-1);
}

.class-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: stretch;
}

.class-map {
    border: 2px solid var(--alfa-grey-2);
    border-radius: 16px;
    overflow: hidden;
    min-height: 472px;
}

.class-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 472px;
}

.class-contact-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.class-accordion {
    border-top: 2px solid var(--alfa-grey-2);
    padding: 8px 0;
}

.class-accordion summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    min-height: 60px;
}

.class-accordion summary::-webkit-details-marker {
    display: none;
}

.class-accordion-number {
    font-family: 'Urbanist', sans-serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: var(--text-primary);
}

.class-accordion-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.class-accordion-toggle {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.class-accordion-toggle i {
    transition: transform 0.2s ease;
}

.class-accordion[open] .class-accordion-toggle i {
    transform: rotate(180deg);
}

.class-accordion-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 12px;
    color: var(--text-secondary);
}

.class-accordion-body p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

.class-accordion-line {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
}

.class-accordion-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.class-accordion-icon .icon-location-pin {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.class-accordion-icon .icon-email {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.class-faq {
    padding: 80px 0 120px;
    position: relative;
}

.class-faq .decoration-spotlight {
    top: 12px;
}

.class-faq-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.class-faq-header .class-section-title {
    margin-bottom: 12px;
}

.class-faq-header p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
}

.class-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 932px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Match home FAQ: .faq-item / .faq-header / .faq-question / .faq-toggle / .faq-answer */
.class-faq-item {
    border-top: 2px solid var(--text-disabled);
    padding: 8px 0;
}

.class-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
}

.class-faq-item summary::-webkit-details-marker {
    display: none;
}

.class-faq-question {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
    user-select: none;
    -webkit-user-select: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.class-faq-toggle {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: none;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-primary);
    transition: color 0.3s, text-shadow 0.3s;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.class-faq-item summary:hover .class-faq-question,
.class-faq-item summary:hover .class-faq-toggle i,
.class-faq-item summary:active .class-faq-question,
.class-faq-item summary:active .class-faq-toggle i,
.class-faq-item[open] summary:focus-within .class-faq-question,
.class-faq-item[open] summary:focus-within .class-faq-toggle i {
    color: var(--white-100);
    text-shadow: 0 0 10px rgba(60, 150, 255, 0.85), 0 0 22px rgba(60, 150, 255, 0.6), 0 0 36px rgba(60, 150, 255, 0.4);
}

.class-faq-toggle i {
    font-size: 24px;
    color: var(--text-secondary);
    display: inline-block;
    visibility: visible;
    opacity: 1;
    transition: color 0.3s, text-shadow 0.3s, transform 0.2s ease;
}

.class-faq-item[open] .class-faq-toggle i {
    transform: rotate(180deg);
}

.class-faq-body {
    padding-top: 0;
    padding-bottom: 32px;
}

.class-faq-body p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.class-faq-line {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
}

.class-faq-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

@media (max-width: 1200px) {
    .class-hero-card {
        grid-template-columns: minmax(0, 1fr) 420px;
    }

    .class-instructors-grid {
        justify-content: flex-start;
    }

    .class-instructor-card {
        flex: 0 0 320px;
    }
}

@media (max-width: 992px) {
    .class-hero-card {
        grid-template-columns: 1fr;
    }

    .class-hero-content {
        grid-column: 1;
        grid-row: auto;
    }

    .class-hero-media {
        order: -1;
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        min-height: 320px;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 1024px) {
    .class-benefits-grid {
        grid-template-columns: 1fr;
    }

    .class-program-grid {
        grid-template-columns: 1fr;
    }

    .class-contact-grid {
        grid-template-columns: 1fr;
    }

    .class-map {
        height: 350px;
        min-height: auto;
    }

    .class-map iframe {
        min-height: auto;
    }

    .class-section-title-decorated::before,
    .class-section-title-decorated::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .class-hero {
        padding: 40px 0 32px;
    }

    .class-hero-content {
        padding: 32px 24px;
        gap: 24px;
    }

    .class-hero-title {
        font-size: 32px;
        line-height: 40px;
    }

    .class-hero-item {
        font-size: 14px;
        line-height: 20px;
    }

    .class-hero-item-stack-text span {
        font-size: 14px;
        line-height: 20px;
    }

    .class-hero-item-sub {
        font-size: 13px;
    }

    .class-stats-grid {
        flex-direction: column;
    }

    /* Course page mobile: compact sections, stats row, smaller benefits / program copy */
    .class-page .class-stats {
        padding: 24px 0 20px;
    }

    .class-page .class-stats-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 6px;
    }

    .class-page .class-stat {
        flex: 1 1 0;
        min-width: 0;
        gap: 4px;
    }

    .class-page .class-stat-value {
        font-size: 26px;
        line-height: 30px;
    }

    .class-page .class-stat-label {
        font-size: 11px;
        line-height: 14px;
    }

    .class-page .class-benefits {
        padding: 36px 0;
    }

    .class-page .class-benefits-grid {
        gap: 28px;
    }

    .class-page .class-benefits-copy h2 {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 14px;
    }

    .class-page .class-benefits-copy p {
        font-size: 16px;
        line-height: 24px;
    }

    .class-page .class-benefit-item {
        gap: 14px;
    }

    .class-page .class-benefit-item h3 {
        font-size: 18px;
        line-height: 24px;
        margin: 0 0 6px;
    }

    .class-page .class-benefit-item p {
        font-size: 14px;
        line-height: 20px;
    }

    .class-page .class-benefit-icon {
        margin-top: 4px;
    }

    .class-page .class-instructors {
        padding: 36px 0;
    }

    .class-page .class-instructors-intro {
        margin-bottom: 20px;
    }

    .class-page .class-instructors:has(.class-instructors-intro) .class-section-title {
        margin-bottom: 10px;
    }

    .class-page .class-program {
        padding: 36px 0;
    }

    .class-page .class-program .class-section-title {
        margin-bottom: 24px;
    }

    .class-page .class-program-column {
        gap: 20px;
    }

    .class-page .class-program-item {
        gap: 10px;
    }

    .class-page .class-program-number {
        font-size: 20px;
        line-height: 26px;
    }

    .class-page .class-program-item h3 {
        font-size: 17px;
        line-height: 24px;
        margin: 0 0 6px;
    }

    .class-page .class-program-item p {
        font-size: 14px;
        line-height: 20px;
    }

    .class-page .class-contact {
        padding: 36px 0;
    }

    .class-page .class-faq {
        padding: 36px 0 72px;
    }

    .class-page .class-faq-header {
        margin-bottom: 28px;
    }

    .class-section-title {
        font-size: 36px;
        line-height: 44px;
    }

    .class-instructors-grid {
        justify-content: flex-start;
    }

    .class-instructor-card {
        flex: 0 0 280px;
    }

    /* Course detail page: 2-column instructor grid on mobile (party keeps carousel) */
    .class-page .class-instructors-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        overflow-x: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
        justify-content: initial;
    }

    .class-page .class-instructor-card {
        flex: none;
        min-width: 0;
        width: 100%;
        scroll-snap-align: none;
    }

    .class-page .class-instructor-body {
        padding: 16px;
        gap: 10px;
    }

    .class-page .class-instructor-body h3 {
        font-size: 20px;
        line-height: 26px;
    }

    .class-page .class-instructor-body p {
        font-size: 14px;
        line-height: 20px;
    }

    .class-page .class-instructors-actions {
        display: none;
    }

    /* Location under map: use global mobile location scale (mobile.css — map height, title, line, detail text) */
}
