  /**
 * NYC STEM Club - Course Styles
 * Global reusable styling for all course pages
 *
 * IMPORTANT: Uses CSS variables from design-system.css
 * Typography: var(--text-base), var(--text-lg), etc.
 * Colors: var(--color-primary), var(--color-accent), etc.
 */

/* ===========================
   TYPOGRAPHY STANDARDS
   References design-system.css variables
   =========================== */
body, .course-single {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: var(--text-base, 16px);
    line-height: 1.6;
    color: var(--color-text, #333);
    font-weight: var(--font-normal, 400);
}

/* Headings - Desktop sizes (mobile overrides below) */
h1, .h1 {
    font-size: var(--text-4xl, 36px);
    font-weight: var(--font-bold, 700);
    line-height: 1.3;
    color: var(--color-primary, #134958);
    margin-bottom: 20px;
}

h2, .h2 {
    font-size: var(--text-3xl, 32px);
    font-weight: var(--font-bold, 700);
    line-height: 1.3;
    color: var(--color-primary, #134958);
    margin-bottom: 16px;
}

h3, .h3 {
    font-size: var(--text-2xl, 24px);
    font-weight: var(--font-semibold, 600);
    line-height: 1.3;
    color: var(--color-primary, #134958);
    margin-bottom: 12px;
}

h4, .h4 {
    font-size: var(--text-lg, 18px);
    font-weight: var(--font-semibold, 600);
    line-height: 1.3;
    color: var(--color-primary, #134958);
    margin-bottom: 10px;
}

/* ===========================
   MOBILE: Responsive content
   ALL content left-aligned + scaled font sizes
   NOTE: Avoid broad selectors that affect Elementor widgets
   =========================== */
@media (max-width: 768px) {
    /* Content left-aligned on mobile - specific selectors only */
    .course-single h1,
    .course-single h2,
    .course-single h3,
    .course-single h4,
    .course-single h5,
    .course-single h6,
    .course-single p,
    /* Hero section */
    .course-hero,
    .course-hero h1,
    .course-hero p,
    .hero-content,
    .hero-content h1,
    .hero-content p,
    .hero-tagline,
    .hero-excerpt,
    .hero-track-record,
    .hero-track-record *,
    .track-record-item,
    .hero-stats-mini,
    /* Related/Cross-sell sections */
    .related-title,
    h2.related-title,
    .course-related .related-title,
    .course-crosssell .related-title,
    .section-alt .related-title,
    .section-title,
    .course-related,
    .course-related h2,
    .course-related p,
    .course-crosssell,
    .course-crosssell h2,
    /* CTA section */
    .cta-title,
    .cta-subtitle,
    .testimonials-title,
    .schedule-title,
    .course-cta,
    .cta-section,
    .cta-section h2,
    .cta-section p,
    .cta-content,
    /* Other content */
    .course-description,
    .course-benefits,
    .admissions-universities-section,
    .admissions-universities-section h2,
    .admissions-universities-section p {
        text-align: left !important;
    }

    /* Responsive font sizes - H2 */
    h2, .h2,
    .related-title,
    h2.related-title,
    .course-related .related-title,
    .course-crosssell .related-title,
    .section-alt .related-title,
    .section-title,
    .cta-title,
    .cta-section h2,
    .testimonials-title,
    .schedule-title,
    .admissions-universities-section h2 {
        font-size: 24px !important;
    }

    /* Responsive font sizes - subtitle/body */
    .cta-subtitle,
    .cta-section p,
    .admissions-universities-section p {
        font-size: 16px !important;
    }

    /* Responsive font sizes - H1 */
    h1, .h1,
    .course-hero h1,
    .hero-content h1 {
        font-size: 28px !important;
    }

    /* Responsive font sizes - H3 */
    h3, .h3,
    .module-title,
    .course-card-title,
    .highlight-title {
        font-size: 20px !important;
    }

    h4, .h4 {
        font-size: 16px !important;
    }

    /* Hero tagline/excerpt */
    .hero-tagline,
    .hero-excerpt {
        font-size: 16px !important;
    }

    /* Track record stats */
    .hero-track-record,
    .track-record-item {
        font-size: 14px !important;
    }

    /* Override hero-centered text-align for mobile */
    .course-hero.hero-centered .hero-container,
    .course-hero.hero-centered .hero-content,
    .course-hero.hero-centered .hero-content h1,
    .course-hero.hero-centered .hero-content p,
    .course-hero.hero-centered .hero-tagline,
    .course-hero.hero-centered .hero-excerpt,
    .course-hero.hero-centered .hero-track-record,
    .course-hero.hero-centered .cta-group {
        text-align: left !important;
    }

    .course-hero.hero-centered .cta-group {
        justify-content: flex-start !important;
    }

    /* Override desktop h1 font-size for mobile */
    .course-hero .hero-content h1,
    .course-hero.hero-centered .hero-content h1 {
        font-size: 28px !important;
    }

    /* Related section titles - override desktop center */
    .course-related .related-title,
    .course-crosssell .related-title,
    h2.related-title {
        text-align: left !important;
        font-size: 24px !important;
    }

    /* CTA section - override desktop styles */
    .cta-section .cta-container,
    .cta-section .cta-content,
    .cta-section .cta-title,
    .cta-section p {
        text-align: left !important;
    }

    .cta-section .cta-title {
        font-size: 24px !important;
    }

    /* CTA section - consistent padding with other sections */
    .cta-section {
        padding: 40px 16px !important; /* Match other sections on mobile */
    }

    /* Course description section */
    .section .section-header,
    .section .section-title,
    .section .section-subtitle,
    .section-alt .section-header,
    .section-alt .section-title,
    .section-alt .section-subtitle,
    .course-description-content,
    .course-description-content h2,
    .course-description-content h3,
    .course-description-content p,
    .module-title,
    .module-description,
    .timeline-content,
    .faq-footer,
    .faq-footer-text {
        text-align: left !important;
    }

    .section .section-title,
    .section-alt .section-title {
        font-size: 24px !important;
    }

    .module-title {
        font-size: 20px !important;
    }

    .section .section-subtitle,
    .section-alt .section-subtitle,
    .module-description {
        font-size: 16px !important;
    }

    /* Testimonials section */
    .course-testimonials,
    .testimonials-container,
    .testimonials-title,
    .testimonials-content {
        text-align: left !important;
    }

    .testimonials-title {
        font-size: 24px !important;
    }
}

/* Body Text */
p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Small Text */
.small-text, small {
    font-size: 14px;
}

/* Large Body Text */
.section-subtitle {
    font-size: 20px;
    line-height: 1.6;
}

/* Reset for course pages */
.course-single * {
    box-sizing: border-box;
}

.course-single {
    overflow-x: hidden;
    background: #EFF8FB;
}

/* ===========================
   HERO SECTION
   =========================== */
.course-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #134958 0%, #1a5f73 50%, #28AFCF 100%);
}

.course-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(40, 175, 207, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Centered Hero (for enrichment courses) */
.course-hero.hero-centered .hero-container {
    max-width: 900px;
    text-align: center;
    align-items: center;
    padding: 40px 20px;
}

.course-hero.hero-centered .hero-content {
    text-align: center;
}

.course-hero.hero-centered .cta-group {
    justify-content: center;
}

/* Hero H1 - Mobile first: 32px (handled by responsive rules later in file) */
.course-hero .hero-content h1 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-align: left !important;
}

.hero-content .highlight {
    background: linear-gradient(135deg, #FF7F07, #F0B268);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-excerpt {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-stats-mini {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-mini-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-mini-icon svg {
    width: 22px;
    height: 22px;
    color: #FF7F07;
}

.stat-mini-text {
    color: white;
}

.stat-mini-number {
    font-size: 24px;
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 3px;
}

.stat-mini-label {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 400;
}

/* CTA Buttons - GLOBAL */
.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button,
.btn-primary,
.inquiry-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF7F07;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(255, 127, 7, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover,
.btn-primary:hover,
.inquiry-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 127, 7, 0.5);
    text-decoration: none;
    color: white;
}

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.2);
}

/* Teal Button Variation - Primary Brand Color */
.cta-button-teal,
.btn-teal {
    background: #28AFCF !important;
    color: white !important;
    box-shadow: 0 10px 40px rgba(40, 175, 207, 0.3) !important;
}

.cta-button-teal:hover,
.btn-teal:hover {
    box-shadow: 0 15px 50px rgba(40, 175, 207, 0.5) !important;
    transform: translateY(-3px);
    color: white !important;
}

/* Compact Button - Slimmer for inline use */
.cta-compact {
    padding: 8px 18px !important;
    font-size: 14px !important;
    min-width: auto !important;
    width: auto !important;
}

/* Orange Button Variation - Explicit class for Elementor */
.cta-button-orange,
.btn-orange {
    background: #FF7F07 !important;
    color: white !important;
    box-shadow: 0 10px 40px rgba(255, 127, 7, 0.3) !important;
}

.cta-button-orange:hover,
.btn-orange:hover {
    box-shadow: 0 15px 50px rgba(255, 127, 7, 0.5) !important;
    transform: translateY(-3px);
    color: white !important;
}

/* ==============================================================================
   ⚠️ HERO CARD STYLING - DO NOT ADD STYLES HERE
   Last Cleaned: 2025-11-20

   ALL .hero-card, .hero-card-grid, .card-stat-* styles have been REMOVED from this file.

   REASON: Single source of truth architecture
   - Theme CSS (/themes/skola-child/css/course-pages.css) controls ALL hero-card styling
   - Theme loads at priority 1000, plugin loads at priority 10
   - Adding styles here creates conflicts and inconsistent designs

   IF YOU NEED TO MODIFY HERO CARD STYLES:
   → Edit: /themes/skola-child/css/course-pages.css (lines 140-270)
   → Do NOT add styles to this file

   Current pattern: Modern inline horizontal text with bullets (default)
   Legacy pattern: Opt-in via body class .hero-boxed-stats
   ============================================================================== */

/* ===========================
   TRUST BAR
   =========================== */
.trust-bar {
    background: white;
    padding: 30px 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.trust-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28AFCF, #134958);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(40, 175, 207, 0.3);
}

.trust-icon svg {
    width: 28px;
    height: 28px;
    color: #FF7F07;
}

.trust-text {
    font-size: 16px;
    color: #134958;
    font-weight: 700;
}

/* ===========================
   SECTION STYLES
   =========================== */
.section {
    background: #CDE9F6;
    padding: 40px 40px 30px 40px;
}

.section#program {
    background: #F7F9FB;
}

.section#faqs {
    background: #EFF8FB;
    padding: 40px 40px 50px 40px;
}

.section-alt {
    background: #e8f5f7;
    padding: 40px 40px 50px 40px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(40, 175, 207, 0.15), rgba(255, 127, 7, 0.15));
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #28AFCF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(40, 175, 207, 0.3);
    box-shadow: 0 4px 15px rgba(40, 175, 207, 0.2);
}

.section-title {
    color: #134958;
    text-align: center;
    font-size: 32px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.section-subtitle {
    color: #666;
    font-size: 20px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.related-title {
    color: #134958;
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
    padding-top: 10px;
}

/* Related Courses Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.related-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Course Related Section */
.course-related {
    padding: 60px 0;
    background: #f8f9fa;
}

.course-crosssell {
    background: white;
}

/* ===========================
   WHY CHOOSE - HORIZONTAL CARDS
   =========================== */

/* Elementor-style section for benefits */
.section:has(.benefits-row) {
    padding: 40px 0;
    background: #f7f9fb;
}

.section:has(.benefits-row) .section-header {
    margin-bottom: 40px;
}

.benefits-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
}

.benefit-card {
    display: flex !important;
    align-items: flex-start !important;
    background: white !important;
    border-left: 3px solid var(--accent-color) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    gap: 8px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    transition: 0.3s !important;
    text-align: left !important;
}

.benefit-card:hover {
    transform: translateX(3px) !important;
    border-left-color: var(--accent-color) !important;
}

.benefit-card:nth-child(1) {
    --accent-color: #28AFCF;
}

.benefit-card:nth-child(2) {
    --accent-color: #F0B268;
}

.benefit-card:nth-child(3) {
    --accent-color: #FF7F07;
}

.benefit-card:nth-child(4) {
    --accent-color: #134958;
}

.benefit-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 50% !important;
    background: var(--accent-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.benefit-icon svg {
    width: 24px !important;
    height: 24px !important;
    fill: white !important;
}

.benefit-content {
    flex: 1 !important;
}

.benefit-content h3 {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #134958 !important;
    margin-bottom: 6px !important;
    margin-top: 0 !important;
    line-height: 1.3 !important;
}

.benefit-content p {
    font-size: 18px !important;
    font-family: 'Roboto', sans-serif !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Legacy support for old class names */
.features-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.feature-box {
    background: white;
    border-radius: 8px;
    padding: 12px;
    text-align: left;
    border-left: 3px solid #28AFCF;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.feature-box:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.feature-box:nth-child(2) {
    border-left-color: #F0B268;
}

.feature-box:nth-child(3) {
    border-left-color: #FF7F07;
}

.feature-box:nth-child(4) {
    border-left-color: #134958;
}

.feature-icon-large {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #28AFCF 0%, #1a8fa8 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-box:nth-child(2) .feature-icon-large {
    background: linear-gradient(135deg, #F0B268 0%, #d89a4f 100%);
}

.feature-box:nth-child(3) .feature-icon-large {
    background: linear-gradient(135deg, #FF7F07 0%, #e67000 100%);
}

.feature-box:nth-child(4) .feature-icon-large {
    background: linear-gradient(135deg, #134958 0%, #0a2832 100%);
}

.feature-icon-large svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.feature-box h3 {
    color: #134958;
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
}

.feature-box p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive - Benefits */
@media (max-width: 1024px) {
    .benefits-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .benefits-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-card {
        padding: 18px 15px;
    }
}

@media (max-width: 1024px) {
    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-bento {
        grid-template-columns: 1fr;
    }

    /* .section-title maintains 32px per typography guide */
}

/* ===========================
   MODULE TIMELINE
   =========================== */
.timeline {
    position: relative;
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #28AFCF, #FF7F07, #F0B268);
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.timeline-content {
    background: white;
    border-radius: 25px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: #28AFCF;
}

.timeline-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28AFCF, #134958);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(40, 175, 207, 0.3);
    position: relative;
    z-index: 2;
}

/* Compact Timeline Styles - Handout Format */
.timeline-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.timeline-compact .timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.timeline-badge-small {
    flex-shrink: 0;
    background: linear-gradient(135deg, #28AFCF, #134958);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    min-width: 85px;
}

.timeline-compact .timeline-item:nth-child(2) .timeline-badge-small {
    background: linear-gradient(135deg, #FF7F07, #e67106);
}

.timeline-compact .timeline-item:nth-child(3) .timeline-badge-small {
    background: linear-gradient(135deg, #F0B268, #d9a05a);
}

.timeline-content-compact {
    flex: 1;
}

.timeline-content-compact h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #134958;
    line-height: 1.3;
}

.timeline-content-compact p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.course-details-compact {
    background: #F7F9FB;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #28AFCF;
}

.course-details-compact p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.course-details-compact p:first-child {
    margin-top: 0;
}

.course-details-compact p:last-child {
    margin-bottom: 0;
}

/* ===========================
   VERTICAL CHEVRON TIMELINE
   For Foundational/Progressive courses
   =========================== */
.vertical-chevron-timeline {
    margin-bottom: 70px;
}

.vertical-chevron-timeline .chevron-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.vertical-chevron-phase {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px !important;
}

.vertical-chevron-arrow {
    width: 80px;
    flex-shrink: 0;
    position: relative;
}

.vertical-chevron-arrow-box {
    width: 80px;
    height: 120px;
}

.vertical-chevron-arrow-tip {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid;
}

/* Phase Colors */
.vertical-chevron-phase:nth-child(1) .vertical-chevron-arrow-box {
    background: linear-gradient(135deg, #28AFCF 0%, #1a9dbf 100%);
}

.vertical-chevron-phase:nth-child(1) .vertical-chevron-arrow-tip {
    border-top-color: #1a9dbf;
}

.vertical-chevron-phase:nth-child(2) .vertical-chevron-arrow-box {
    background: linear-gradient(135deg, #FF7F07 0%, #e66f00 100%);
}

.vertical-chevron-phase:nth-child(2) .vertical-chevron-arrow-tip {
    border-top-color: #e66f00;
}

.vertical-chevron-phase:nth-child(3) .vertical-chevron-arrow-box {
    background: linear-gradient(135deg, #F0B26B 0%, #d99d52 100%);
    height: 160px;
}

.vertical-chevron-phase:nth-child(3) .vertical-chevron-arrow-tip {
    border-top-color: #d99d52;
}

.vertical-chevron-content {
    flex: 1;
    background: white;
    border: 2px solid #e0e0e0;
    padding: 25px 30px;
    margin-left: 15px;
}

.vertical-chevron-label {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.vertical-chevron-phase:nth-child(1) .vertical-chevron-label {
    color: #28AFCF !important;
}

.vertical-chevron-phase:nth-child(2) .vertical-chevron-label {
    color: #FF7F07 !important;
}

.vertical-chevron-phase:nth-child(3) .vertical-chevron-label {
    color: #F0B26B !important;
}

.vertical-chevron-content h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #134958;
    margin: 0 0 15px;
}

.vertical-chevron-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.vertical-chevron-content p + p {
    margin-top: 10px;
}

.vertical-chevron-content p em {
    font-style: italic;
}

.vertical-chevron-content strong {
    color: #134958;
}

.vertical-chevron-benefits {
    margin-top: 40px;
    padding: 15px 20px;
    background: #f0f7f4;
    border: 3px solid #28AFCF;
    border-radius: 8px;
}

.vertical-chevron-benefits p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #134958;
    text-align: center;
    margin: 0;
}

.vertical-chevron-benefits p:first-child {
    margin-bottom: 5px;
}

.vertical-chevron-benefits p span {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .vertical-chevron-phase {
        flex-direction: column;
    }

    .vertical-chevron-arrow {
        width: 100%;
        margin-bottom: 15px;
    }

    .vertical-chevron-content {
        margin-left: 0;
    }
}

/* ===========================
   HORIZONTAL CHEVRON TIMELINE
   For SHSAT and step-by-step courses
   =========================== */
.chevron-timeline {
    margin: 40px auto !important;
    max-width: 900px;
    clear: both;
}

.chevron-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 40px !important;
    max-width: 100%;
    position: relative;
}

/* Focus indicator for Foundation chevron */
.chevron-bar::before {
    content: '';
    position: absolute;
    left: -10px;
    right: calc(66.66% - 10px);
    top: -10px;
    bottom: -10px;
    border: 2px dashed #28AFCF;
    border-radius: 8px;
    pointer-events: none;
    z-index: 0;
}

.chevron {
    flex: 1;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%, 30px 50%);
    padding: 0 40px 0 50px;
}

.chevron:first-child {
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%);
    padding-left: 30px;
}

.chevron:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30px 50%);
    padding-right: 30px;
}

.chevron-1 {
    background: #28AFCF;
}

.chevron-2 {
    background: #F0B268;
}

.chevron-3 {
    background: #FF7F07;
}

.chevron-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.chevron-date {
    font-size: 0.9rem;
    margin: 0 0 3px 0;
    opacity: 0.95;
    text-transform: uppercase;
    font-weight: 400;
    display: block;
}

.chevron-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    display: block;
}

/* Phase Detail Cards */
.phase-details {
    display: flex;
    gap: 0;
    max-width: 100%;
}

.phase-detail {
    text-align: center;
    flex: 1;
    padding: 20px 25px !important;
    background: #e8edf2;
    border-radius: 10px;
    border-top: 4px solid #28AFCF;
    margin: 0 10px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

/* Highlight Foundation card (first one) */
.phase-detail:first-child {
    margin-left: 0 !important;
    background: #ffffff;
    border: 2px solid #28AFCF;
    border-top: 4px solid #28AFCF;
    box-shadow: 0 2px 8px rgba(40, 175, 207, 0.1);
    position: relative;
}

/* Dashed outline around Foundation card */
.phase-detail:first-child::before {
    content: '';
    position: absolute;
    left: -12px;
    right: -12px;
    top: -12px;
    bottom: -12px;
    border: 2px dashed #28AFCF;
    border-radius: 12px;
    pointer-events: none;
}

/* Mute the other phase cards */
.phase-detail:not(:first-child) {
    opacity: 0.4;
}

.phase-detail:last-child {
    margin-right: 0 !important;
}

.phase-detail:nth-child(2) {
    border-top-color: #F0B268;
}

.phase-detail:nth-child(3) {
    border-top-color: #FF7F07;
}

.phase-detail strong {
    display: block;
    color: #134958;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.phase-detail span {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .chevron-bar {
        flex-direction: column;
        gap: 15px;
    }

    .chevron {
        clip-path: none;
        border-radius: 10px;
        height: 70px;
        padding: 20px;
    }

    .chevron:first-child,
    .chevron:last-child {
        clip-path: none;
        padding: 20px;
    }

    .phase-details {
        flex-direction: column;
    }
}

/* ===========================
   BOOTCAMP FOCUS VARIANT
   =========================== */
/* Override for bootcamp-focused pages */
.chevron-timeline.bootcamp-focus .chevron-bar::before {
    /* Focus indicator for Bootcamp (middle chevron) */
    left: calc(33.33% - 10px);
    right: calc(33.33% - 10px);
    border-color: #F0B268;
}

/* Reset Foundation card highlighting */
.chevron-timeline.bootcamp-focus .phase-detail:first-child {
    background: #e8edf2;
    border: none;
    border-top: 4px solid #28AFCF;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.chevron-timeline.bootcamp-focus .phase-detail:first-child::before {
    display: none;
}

/* Highlight Bootcamp card (second one) */
.chevron-timeline.bootcamp-focus .phase-detail:nth-child(2) {
    background: #ffffff;
    border: 2px solid #F0B268;
    border-top: 4px solid #F0B268;
    box-shadow: 0 2px 8px rgba(240, 178, 104, 0.1);
    position: relative;
    opacity: 1;
}

/* Dashed outline around Bootcamp card */
.chevron-timeline.bootcamp-focus .phase-detail:nth-child(2)::before {
    content: '';
    position: absolute;
    left: -12px;
    right: -12px;
    top: -12px;
    bottom: -12px;
    border: 2px dashed #F0B268;
    border-radius: 12px;
    pointer-events: none;
}

/* Mute the other phase cards */
.chevron-timeline.bootcamp-focus .phase-detail:not(:nth-child(2)) {
    opacity: 0.4;
}

/* ===========================
   FINAL PUSH FOCUS VARIANT
   =========================== */
/* Override for final-push-focused pages */
.chevron-timeline.final-push-focus .chevron-bar::before {
    /* Focus indicator for Final Push (third chevron) */
    left: calc(66.66% - 10px);
    right: -10px;
    border-color: #FF7F07;
}

/* Reset Foundation card highlighting */
.chevron-timeline.final-push-focus .phase-detail:first-child {
    background: #e8edf2;
    border: none;
    border-top: 4px solid #28AFCF;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.chevron-timeline.final-push-focus .phase-detail:first-child::before {
    display: none;
}

/* Highlight Final Push card (third one) */
.chevron-timeline.final-push-focus .phase-detail:nth-child(3) {
    background: #ffffff;
    border: 2px solid #FF7F07;
    border-top: 4px solid #FF7F07;
    box-shadow: 0 2px 8px rgba(255, 127, 7, 0.1);
    position: relative;
    opacity: 1;
}

/* Dashed outline around Final Push card */
.chevron-timeline.final-push-focus .phase-detail:nth-child(3)::before {
    content: '';
    position: absolute;
    left: -12px;
    right: -12px;
    top: -12px;
    bottom: -12px;
    border: 2px dashed #FF7F07;
    border-radius: 12px;
    pointer-events: none;
}

/* Mute the other phase cards */
.chevron-timeline.final-push-focus .phase-detail:not(:nth-child(3)) {
    opacity: 0.4;
}

.timeline-item:nth-child(2) .timeline-badge {
    background: linear-gradient(135deg, #FF7F07, #e67106);
    box-shadow: 0 10px 30px rgba(255, 127, 7, 0.3);
}

.timeline-item:nth-child(3) .timeline-badge {
    background: linear-gradient(135deg, #F0B268, #d9a05a);
    box-shadow: 0 10px 30px rgba(240, 178, 104, 0.3);
}

.module-header {
    margin-bottom: 20px;
}

.module-label {
    font-size: 14px;
    color: #28AFCF;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.module-title {
    font-size: 32px;
    color: #134958;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.module-meta {
    font-size: 14px;
    color: #555;
    font-weight: 400;
    line-height: 1.5;
}

.module-description {
    font-weight: 400;
    color: #333;
    margin: 18px 0 12px;
    font-size: 16px;
    line-height: 1.6;
}

.module-list {
    list-style: none;
    margin-top: 12px;
    padding: 0;
}

.module-list li {
    padding: 9px 0 9px 32px;
    position: relative;
    font-weight: 400;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

.module-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #28AFCF;
    font-weight: 700;
    font-size: 18px;
}

/* ===========================
   SPECIALIZED SCHOOLS GRID
   =========================== */
.schools-highlight {
    background: linear-gradient(135deg, #FF6B35 0%, #FF7F07 25%, #F4A261 50%, #E76F51 75%, #D4492A 100%);
    border-left: 6px solid #D4492A;
    padding: 38px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.35), 0 2px 10px rgba(212, 73, 42, 0.2);
}

.schools-highlight .highlight-text {
    font-size: 32px;
    color: white;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.schools-highlight .highlight-subtext {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.school-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9fc 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(40, 175, 207, 0.15);
    border: 2px solid #28AFCF;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.school-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.school-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(40, 175, 207, 0.25);
    border-color: #FF7F07;
}

.school-card h4 {
    font-size: 18px;
    color: #134958;
    font-weight: 700;
    transition: color 0.3s ease;
    margin: 0;
}

.school-card:hover h4 {
    color: #28AFCF;
}

.school-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.faq-card:hover {
    border-color: #28AFCF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-header {
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-header:hover {
    background: #f8f9fa;
}

.faq-question {
    font-size: 18px !important;
    color: #134958 !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #28AFCF, #134958);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    color: white;
    transition: transform 0.3s ease;
}

.faq-card.active .faq-icon {
    background: linear-gradient(135deg, #FF7F07, #e67106);
}

.faq-card.active .faq-icon svg {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 16px 0;
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    color: #666;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin: 0 0 8px 0;
}

.faq-answer p:last-child {
    margin-bottom: 16px;
}

.faq-answer ul {
    list-style: none;
    padding: 0 16px 0 16px;
    margin: 0 0 8px 0;
}

.faq-answer ul:last-child {
    margin-bottom: 16px;
}

.faq-answer li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 2px;
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #666;
    line-height: 1.5 !important;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-answer li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #28AFCF;
    font-weight: 700;
    font-size: 18px;
}

.faq-card.active .faq-answer {
    max-height: 500px;
}

.faq-footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px 10px;
    background: #f8fafc;
    border-radius: 8px;
    width: 100%;
}

.faq-footer-text,
.section .faq-footer p,
.container .faq-footer p,
.faq-footer .faq-footer-text {
    font-size: 18px !important;
    color: #134958 !important;
    font-weight: 600 !important;
    margin: 0 auto !important;
    text-align: center;
    display: block !important;
    width: 100% !important;
    line-height: 1.3 !important;
}

.faq-link {
    color: #FF9574 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.faq-link:hover {
    color: #1a5f73;
    text-decoration: underline;
}

.faq-link svg {
    transition: transform 0.3s ease;
}

.faq-link:hover svg {
    transform: translateX(4px);
}

/* ===========================
   CTA SECTION - HALF HEIGHT
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #134958 0%, #1a5f73 50%, #28AFCF 100%);
    padding: 50px 40px 60px 40px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 127, 7, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite reverse;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
}

.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: white !important;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 30px;
    font-weight: 400;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
    .hero-container {
        /* Already flex column by default, just adjust padding if needed */
        padding: 20px;
    }

    /* .hero-card styling removed - now in theme's course-pages.css */

    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-box:nth-child(1),
    .feature-box:nth-child(2),
    .feature-box:nth-child(3),
    .feature-box:nth-child(4) {
        grid-column: span 1;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 30px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-excerpt {
        font-size: 18px;
        line-height: 1.6;
    }

    /* .section-title maintains 32px per typography guide */

    .features-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .trust-container {
        justify-content: center;
    }

    .hero-stats-mini {
        justify-content: center;
    }
}

/* ===========================
   COURSE ARCHIVE PAGE
   =========================== */

.course-archive {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8f9fa;
}

/* Archive Header */
.courses-archive-header {
    background: linear-gradient(135deg, #134958 0%, #1a5f73 50%, #28AFCF 100%);
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.archive-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff !important;
}

.archive-description {
    font-size: 18px;
    color: #F0B268;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Search & Filter Bar */
.course-search-section {
    background: white;
    padding: 20px 0;
}

.courses-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-filter-bar {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.search-wrapper {
    flex: 0 1 450px;
    max-width: 450px;
}

.course-search-input {
    width: 100%;
    padding: 0 20px;
    border: 2px solid #28AFCF;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    background: white;
    height: 48px;
    box-sizing: border-box;
    line-height: 44px;
}

.course-search-input::placeholder {
    color: #999;
}

.course-search-input:focus {
    outline: none;
    border-color: #1a5f73;
    box-shadow: 0 2px 8px rgba(40, 175, 207, 0.15);
}

.category-wrapper {
    flex: 0 1 200px;
    max-width: 200px;
}

.category-select {
    width: 100%;
    padding: 0 40px 0 20px;
    border: 2px solid #28AFCF;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23134958" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    height: 48px;
    box-sizing: border-box;
    line-height: 44px;
}

.category-select:focus {
    outline: none;
    border-color: #1a5f73;
    box-shadow: 0 2px 8px rgba(40, 175, 207, 0.15);
}

/* Courses Grid Section */
.courses-grid-section {
    padding: 0 0 80px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Category Sections */
.category-section {
    margin-bottom: 60px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #134958;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #28AFCF;
    line-height: 1.2;
}

/* Course Card */
.course-card {
    background: white;
    border-radius: 12px;
    padding: 20px 20px 18px;
    border: 3px solid #28AFCF;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Alternating border colors for visual variety */
.course-card:nth-child(3n+1) {
    border-color: #28AFCF; /* Blue */
}

.course-card:nth-child(3n+2) {
    border-color: #FF7F07; /* Orange */
}

.course-card:nth-child(3n+3) {
    border-color: #F0B268; /* Tan/Beige */
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Hide image on archive cards */
.course-card-image {
    display: none;
}

.course-category-badge {
    display: none;
}

.course-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.course-card-title {
    font-size: 17.6px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #134958;
}

.course-card-title a {
    color: #134958;
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-card-title a:hover {
    color: #28AFCF;
}

.course-card-excerpt {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 400;
    flex: 1;
}

.course-card-meta {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 14px;
    margin-top: auto;
    padding-top: 0;
    padding-bottom: 14px;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.course-card-meta-item {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.course-card-meta-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #ddd;
    margin: 0 10px;
}

.course-card-button {
    display: inline-block;
    padding: 12px 28px;
    background: #28AFCF;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 0;
}

/* Button colors match border colors */
.course-card:nth-child(3n+1) .course-card-button {
    background: #28AFCF; /* Blue */
}

.course-card:nth-child(3n+2) .course-card-button {
    background: #FF7F07; /* Orange */
}

.course-card:nth-child(3n+3) .course-card-button {
    background: #F0B268; /* Tan/Beige */
    color: #134958;
}

.course-card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ===========================
   WHY CHOOSE SAT/ACT SECTION
   Shared styles for the Why Choose section
   =========================== */
.why-choose-sat-act {
    margin: 0;
    padding: 0 10px 20px 10px;
    background: #CDE9F6;
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 0 20px;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 12px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 0;
}

/* ===========================
   TESTIMONIALS SECTION
   Background matches "Why Choose NYC STEM Club" (#CDE9F6)
   Used by both shortcode and course template
   Flows seamlessly with Why Choose section above
   =========================== */
.course-testimonials {
    background: #CDE9F6;
    padding: 20px 10px 30px 10px;
    margin: 0;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-title {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #134958;
    margin-bottom: 40px;
    padding-top: 10px;
}

.testimonials-content {
    margin: 0 auto;
}

/* Responsive for Archive */
@media (max-width: 1200px) {
    .courses-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .why-choose-container {
        padding: 10px 15px 0 15px;
    }
}

@media (max-width: 768px) {
    .archive-title {
        font-size: 36px;
    }

    .archive-description {
        font-size: 18px;
    }

    .search-filter-bar {
        flex-direction: column;
        gap: 15px;
    }

    .search-wrapper,
    .category-wrapper {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .courses-grid,
    .related-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonials-title {
        font-size: 32px;
    }

    /* Why Choose Section - Mobile */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .why-choose-container {
        padding: 10px 15px 0 15px;
    }

    .why-choose-sat-act h2 {
        font-size: 28px;
    }

    .why-choose-header p {
        font-size: 16px;
    }

    .why-choose-sat-act h3 {
        font-size: 18px;
        margin-left: 0;
        clear: both;
        margin-top: 8px;
    }

    .why-choose-grid > div {
        padding: 12px;
    }

    .why-choose-sat-act div[style*="float: left"] {
        float: none;
        display: block;
        margin: 0 auto 10px;
    }
}

@media (max-width: 480px) {
    .why-choose-container {
        padding: 10px 12px 0 12px;
    }

    .why-choose-sat-act h2 {
        font-size: 24px;
    }

    .why-choose-header p {
        font-size: 15px;
    }

    .why-choose-sat-act h3 {
        font-size: 16px;
    }

    .why-choose-grid > div {
        padding: 10px;
    }

    /* FAQ Footer - Mobile */
    .faq-footer {
        padding: 15px 10px;
        margin-top: 20px;
    }

    .faq-footer-text,
    .section .faq-footer p,
    .container .faq-footer p,
    .faq-footer .faq-footer-text {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .faq-link {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
    }
}

/* ===========================
   COURSE DESCRIPTION CONTENT
   Typography per TYPOGRAPHY-STYLE-GUIDE.md
   =========================== */

.course-description-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.course-description-content strong,
.course-description-content b {
    font-weight: 700;
    color: #134958;
}

/* Headings */
.course-description-content h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #134958;
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
}

.course-description-content h2:first-child {
    margin-top: 0;
}

.course-description-content h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #134958;
    line-height: 1.3;
    margin-bottom: 12px;
}

.course-description-content h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #134958;
    line-height: 1.3;
    margin-bottom: 10px;
}

.course-description-content h5,
.course-description-content h6 {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #134958;
    line-height: 1.3;
}

/* Paragraphs */
.course-description-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #333;
}

.course-description-content p.lead {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

/* Small text, meta, captions */
.course-description-content .small,
.course-description-content .meta,
.course-description-content .caption {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* Lists - Chevron bullets per TYPOGRAPHY-STYLE-GUIDE.md */
.course-description-content ul {
    list-style: none;
    margin: 0 0 16px 0;
    padding-left: 0;
}

.course-description-content ol {
    margin: 0 0 16px 0;
    padding-left: 25px;
}

.course-description-content li {
    margin-bottom: 8px;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.course-description-content ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    font-size: 18px;
    font-weight: 700;
    color: #28AFCF;
}

.course-description-content em {
    font-style: italic;
}

/* Text color utilities - Brand colors per TYPOGRAPHY-STYLE-GUIDE.md */
.text-teal,
.course-description-content .text-teal {
    color: #28AFCF;
}

.text-dark-teal,
.course-description-content .text-dark-teal {
    color: #134958;
}

.text-orange,
.course-description-content .text-orange {
    color: #FF7F07;
}

.text-tan,
.course-description-content .text-tan {
    color: #F0B26B;
}

/* Course Details Grid - Two column layout for program details */
.course-details-grid {
    background: white;
    border-left: 4px solid #28AFCF;
    padding: 30px 35px;
    margin-bottom: 40px;
}

.course-details-grid .detail-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.course-details-grid .detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.course-details-grid .detail-label,
.course-details-grid h4.detail-label {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600; /* H4 level per typography guide */
    line-height: 1.3; /* Heading line-height per typography guide */
    color: #134958;
    margin: 0; /* Reset margin for grid layout */
}

.course-details-grid .detail-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6; /* Body text line-height per typography guide */
    color: #333;
}

.course-details-grid .detail-content ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.course-details-grid .detail-content li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.course-details-grid .detail-content li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #28AFCF;
    font-weight: 700;
}

.course-details-grid .detail-content li:last-child {
    margin-bottom: 0;
}

/* Mobile responsive for detail grid */
@media (max-width: 768px) {
    .course-details-grid {
        padding: 20px 15px;
    }

    .course-details-grid .detail-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Centered CTA container */
.cta-center {
    text-align: center;
    margin: 40px 0;
}

/* Info box - callout/note boxes */
.info-box {
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.info-box-teal {
    background: #f0f7f4;
    border: 2px solid #28AFCF;
}

.info-box ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.info-box li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #134958;
}

.info-box li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #28AFCF;
    font-weight: 700;
}

.info-box li:last-child {
    margin-bottom: 0;
}

/* Remove margin from last list item to control spacing precisely */
.course-description-content li:last-child {
    margin-bottom: 0 !important; /* Override inline styles */
}

/* Remove top margin when list comes directly after heading */
.course-description-content h3 + ul,
.course-description-content h3 + ol,
.course-description-content h2 + ul,
.course-description-content h2 + ol {
    margin-top: 10px;
}

/* No spacing class for compact lists */
.course-description-content ul.no-para-spacing {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Remove inline styles where appropriate - let CSS handle it */
.course-description-content div {
    margin-bottom: 0;
}

.course-description-content .section-block {
    margin-bottom: 50px;
}

.course-description-content .course-intro {
    margin-bottom: 25px;
}

.course-description-content .course-intro + .chevron-timeline {
    margin-top: 0;
}

/* Horizontal rules */
.course-description-content hr {
    margin: 50px 0;
    border: none;
    border-top: 2px solid #e8f5f7;
}

/* Tables - Responsive with horizontal scroll */
.course-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0 20px 0; /* 20px bottom margin as requested */
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Force nested tables to behave normally */
.course-description-content table table {
    display: table;
    width: 100%;
}

.course-description-content thead {
    background: linear-gradient(135deg, #134958, #1a5f73);
    color: white;
}

.course-description-content th {
    padding: 10px 15px;
    font-weight: 700;
    font-size: 16px;
    text-align: left;
    border-bottom: 2px solid #28AFCF;
    white-space: nowrap; /* Prevent header text wrapping on mobile */
}

.course-description-content td {
    padding: 10px 15px;
    border-bottom: 1px solid #e8f5f7;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.course-description-content tbody tr:hover {
    background: #f8fafc;
}

.course-description-content tbody tr:last-child td {
    border-bottom: none;
}

/* Detail rows - Grid layout for course details */
.course-description-content .detail-row {
    margin-bottom: 0 !important;
    padding-bottom: 2px !important; /* 80% reduction: 12px→2px */
    gap: 4px !important; /* 80% reduction: 20px→4px */
}

/* Detail row typography - Labels (left column) */
.course-description-content .detail-row > div:first-child {
    font-weight: 700; /* Bold labels */
    font-size: 15px; /* Slightly smaller than body text */
    color: #134958; /* Brand color for labels */
    line-height: 1.5;
}

/* Detail row typography - Values (right column) */
.course-description-content .detail-row > div:last-child {
    font-size: 16px; /* Standard body text */
    color: #333;
    line-height: 1.6;
}

.course-description-content .detail-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Grids */
.course-description-content .program-options,
.course-description-content .digital-sat-features,
.course-description-content .included-grid {
    margin: 10px 0; /* Reduced from 25px to 10px */
}

.course-description-content .digital-sat-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px; /* Reduced from 25px to 12px */
}

.course-description-content .included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px; /* Reduced from 20px to 12px */
}

/* Callout boxes */
.course-description-content .program-options {
    padding: 12px; /* Reduced from 20px to 12px */
    background: #f9f9f9;
    border-left: 4px solid #28AFCF;
    border-radius: 4px;
}

/* Timeline styling */
.course-description-content .timeline {
    position: relative;
    padding-left: 40px;
    border-left: 3px solid #28AFCF;
    margin: 40px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-description-content h2 {
        font-size: 32px; /* Maintain H2 standard on mobile */
    }

    /* Tables - Mobile - Better scrolling indicator */
    .course-description-content table {
        font-size: 13px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* More visible on mobile */
    }

    .course-description-content th,
    .course-description-content td {
        padding: 8px 12px;
        min-width: 100px; /* Reduced for better fit */
    }

    .course-description-content th {
        font-size: 13px;
        font-weight: 700;
    }

    .course-description-content td {
        font-size: 13px;
    }

    .course-description-content h3 {
        font-size: 24px; /* Maintain H3 standard on mobile */
    }

    /* Detail rows - Stack on mobile */
    .course-description-content .detail-row {
        display: block !important; /* Override inline grid styles */
        margin-bottom: 3px !important; /* 80% reduction: 15px→3px */
        padding-bottom: 3px !important; /* 80% reduction: 15px→3px */
        grid-template-columns: 1fr !important; /* Fallback if block fails */
    }

    .course-description-content .detail-row > div {
        margin-bottom: 10px;
    }

    /* CRITICAL: Universal inline style overrides for grids */
    /* Three column grids - Stack to single column */
    .course-description-content [style*="grid-template-columns: repeat(3"],
    .course-description-content [style*="grid-template-columns:repeat(3"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Two column grids - Stack to single column */
    .course-description-content [style*="grid-template-columns: 1fr 1fr"],
    .course-description-content [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Fixed width grids like "200px 1fr" - Stack to single column */
    .course-description-content [style*="200px 1fr"],
    .course-description-content [style*="grid-template-columns: 200px"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Reduce section padding on mobile */
    .section,
    .section#program,
    .section#faqs,
    .section-alt {
        padding: 30px 20px !important;
    }

    .course-description-content .digital-sat-features,
    .course-description-content .included-grid {
        grid-template-columns: 1fr;
        gap: 10px; /* Reduced from 20px to 10px */
    }
}

/* ===========================
   GLOBAL INQUIRY BUTTON
   Controlled via WordPress Settings (Courses -> Settings)
   No CSS needed - inline styles generated from settings
   =========================== */

/* Legacy button styles (keeping for backward compatibility) */
.cta-btn {
    background: #FF7F07;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #e66f00;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 127, 7, 0.3);
    color: white;
    text-decoration: none;
}

/* ===========================
   STANDARDIZED COURSE DESCRIPTION PATTERNS
   Reusable classes for course descriptions
   =========================== */

/* Value Proposition Section */
.course-value-prop {
    margin: 20px 0 20px;
}

.course-value-prop .container-narrow {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.course-value-prop h2 {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #134958;
    margin: 0 0 25px;
}

.course-value-prop p {
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin: 0 0 15px;
}

/* Two Column Comparison Section */
.two-col-section {
    margin: 0;
    background: #EFF8FB;
    padding: 25px 0 50px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.two-col-section .section-title-center {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
    max-width: 100%;
}

.two-col-section .section-title-center h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #134958;
    margin: 0;
}

.two-col-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
    align-items: start; /* Align columns to top */
}

.two-col-item {
    border-left: 4px solid;
    padding-left: 25px;
    min-width: 0; /* Prevent grid blowout */
}

.two-col-item.col-teal {
    border-left-color: #28AFCF;
}

.two-col-item.col-orange {
    border-left-color: #FF7F07;
}

.two-col-item h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 20px;
}

.two-col-item.col-teal h3 {
    color: #28AFCF;
}

.two-col-item.col-orange h3 {
    color: #FF7F07;
}

.two-col-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.two-col-item li {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

.two-col-item li:last-child {
    margin-bottom: 0;
}

.two-col-item strong {
    color: #134958;
}

/* Three Column Grid Section */
.three-col-section {
    margin-bottom: 0;
    background: #f9f9f9;
    padding: 50px 40px;
}

.three-col-container {
    max-width: 1000px;
    margin: 0 auto;
}

.three-col-section h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #134958;
    margin: 0 0 15px;
    text-align: center;
}

.three-col-section .section-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin: 0 0 40px;
    text-align: center;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.three-col-item {
    text-align: center;
}

.three-col-accent {
    width: 60px;
    height: 4px;
    margin: 0 auto 15px;
}

.three-col-item.item-teal .three-col-accent {
    background: #28AFCF;
}

.three-col-item.item-orange .three-col-accent {
    background: #FF7F07;
}

.three-col-item.item-tan .three-col-accent {
    background: #F0B26B;
}

.three-col-item h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #134958;
    margin: 0 0 10px;
}

.three-col-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.three-col-footer {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: #134958;
    margin: 0 0 30px 0;
    text-align: center;
    border-top: 2px solid #e0e0e0;
    padding-top: 30px;
}

.three-col-cta {
    text-align: center;
    margin: 0;
}

/* Responsive - Two and Three Column Sections */
@media (max-width: 968px) {
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .three-col-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .course-value-prop .container-narrow {
        padding: 0 20px;
    }

    .course-value-prop h2 {
        font-size: 28px;
    }

    .three-col-section {
        padding: 40px 20px;
    }

    .three-col-section h2 {
        font-size: 28px;
    }

    .three-col-footer {
        font-size: 18px;
    }

    .two-col-section {
        padding: 20px 0 40px 0;
    }

    .two-col-section .section-title-center h2 {
        font-size: 28px;
    }

    .two-col-item {
        padding-left: 20px;
        border-left-width: 3px;
    }

    .two-col-item li {
        font-size: 16px;
    }
}

/* ===========================
   PROGRAM HIGHLIGHTS SECTION
   =========================== */
.program-highlights-section {
    background: #f8f9fa;
    padding: 40px 0;
    margin: 40px 0;
}

.program-highlights-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.program-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #28AFCF;
}

.highlight-title {
    color: #134958;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-content {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .program-highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .highlight-item {
        padding: 20px;
    }
}

/* ===========================
   ELEMENTOR OVERRIDES - Typography v2.0
   Force our typography standards over Elementor
   =========================== */

/* EXCEPTION: Preserve ALL Hero section styles - must come first */
/* Hero H1 - Mobile first: 32px → 40px (tablet) → 48px (desktop) */
.course-hero .hero-content h1,
.hero-content h1,
.faq-hero h1,
.elementor .course-hero h1,
.elementor .hero-content h1 {
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    font-family: 'Roboto', sans-serif !important;
    text-align: left !important;
}

/* Tablet: 40px */
@media (min-width: 768px) {
    .course-hero .hero-content h1,
    .hero-content h1,
    .faq-hero h1,
    .elementor .course-hero h1,
    .elementor .hero-content h1 {
        font-size: 40px !important;
    }
}

/* Desktop: 48px */
@media (min-width: 1024px) {
    .course-hero .hero-content h1,
    .hero-content h1,
    .faq-hero h1,
    .elementor .course-hero h1,
    .elementor .hero-content h1 {
        font-size: 48px !important;
    }
}

/* Hero H2 - When hero title is H2 instead of H1 */
.course-hero h2,
.hero-content h2,
.faq-hero h2,
.cta-hero h2,
.hero-section h2,
.elementor .course-hero h2,
.elementor .hero-content h2,
.elementor .faq-hero h2 {
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    font-family: 'Roboto', sans-serif !important;
}

/* Hero H3, H4, paragraphs - all white */
.course-hero h3, .course-hero h4, .course-hero p,
.hero-content h3, .hero-content h4, .hero-content p,
.faq-hero h3, .faq-hero h4, .faq-hero p,
.elementor .course-hero h3, .elementor .course-hero h4, .elementor .course-hero p,
.elementor .hero-content h3, .elementor .hero-content h4, .elementor .hero-content p {
    color: #ffffff !important;
}

/* Hero card h3 styling removed - now controlled by theme's course-pages.css (hidden by default in inline pattern) */

/* H2 Headings - 32px */
.elementor-widget-heading h2,
.elementor-heading-title.elementor-size-default,
h2.elementor-heading-title,
.elementor h2,
.elementor-element h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #134958 !important;
    font-family: 'Roboto', sans-serif !important;
}

/* H3 Headings - 24px */
.elementor-widget-heading h3,
h3.elementor-heading-title,
.elementor h3,
.elementor-element h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #134958 !important;
    font-family: 'Roboto', sans-serif !important;
}

/* H4 Headings - 18px */
.elementor-widget-heading h4,
h4.elementor-heading-title,
.elementor h4,
.elementor-element h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #134958 !important;
    font-family: 'Roboto', sans-serif !important;
}

/* Body text */
.elementor-widget-text-editor p,
.elementor-element p,
.elementor p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-family: 'Roboto', sans-serif !important;
}

/* Course description default typography - inline styles can override */
.course-description-content p {
    font-size: 16px;
    line-height: 1.6;
}

/* Hero/intro paragraphs with larger impact text */
.course-description-content .course-intro p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Buttons */
.elementor-button,
.elementor-button-link,
.elementor-widget-button .elementor-button {
    font-size: 18px !important;
    font-weight: 700 !important;
    font-family: 'Roboto', sans-serif !important;
}

/* Section titles in Elementor sections */
.elementor-section .section-title,
.elementor-container h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* ===========================
   COUNSELING COURSES STYLES
   =========================== */

/* Container helpers */
.max-width-900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.max-width-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.max-width-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* Lead text */
.lead {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.meta {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* Approach intro */
.approach-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 24px;
}

/* Program Timeline */
.program-timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.timeline-marker {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FF7F07, #FFB366);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 127, 7, 0.3);
}

.timeline-marker .grade {
    font-size: 20px;
}

.timeline-marker .stage {
    font-size: 14px;
    margin-top: 5px;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    flex: 1;
}

.timeline-content h3 {
    margin-top: 0;
    padding-top: 0;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.timeline-content li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.timeline-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28AFCF;
    font-weight: 700;
    font-size: 18px;
}

/* Timing Cards */
.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.timing-card {
    color: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
}

.timing-card .grade-label {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.timing-card .timing-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.timing-card p {
    color: white !important;
    opacity: 0.95;
    font-size: 16px;
    margin: 0;
}

.timing-card-orange {
    background: linear-gradient(135deg, #FF7F07, #FFB366);
}

.timing-card-teal {
    background: linear-gradient(135deg, #28AFCF, #6DD5F1);
}

.timing-card-dark-teal {
    background: linear-gradient(135deg, #134958, #1B6B81);
}

/* Optional Programs */
.optional-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.optional-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 5px solid #F0B268;
}

.optional-badge {
    display: inline-block;
    background: #FF7F07;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.optional-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.optional-card li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.optional-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F0B268;
    font-weight: 700;
    font-size: 18px;
}

/* Section spacing */
.counseling-section {
    padding: 5px 20px;
}

.counseling-section-white {
    background: #ffffff;
}

.counseling-section-gray {
    background: #f8f9fa;
}

/* Mobile Responsive for Counseling */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
    }

    .timeline-marker {
        width: 80px;
        height: 80px;
    }

    .timing-card .grade-label {
        font-size: 40px;
    }

    .optional-programs {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   HERO TAGLINE
   =========================== */
.hero-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 15px 0 25px 0;
    padding-bottom: 20px;
    font-weight: 500;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
}

/* ===========================
   CTA CONTENT BLOCKS
   =========================== */
.cta-content-block {
    background: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
}

.cta-content-block-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-content-block h2 {
    font-size: 2rem;
    color: #134958;
    margin-bottom: 30px;
    font-weight: 600;
}

.cta-content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.cta-content-block a {
    color: #134958;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #28AFCF;
    transition: all 0.3s ease;
}

.cta-content-block a:hover {
    color: #28AFCF;
    border-bottom-color: #134958;
}

/* CTA Pricing Note */
.cta-pricing-note {
    margin-top: 16px;
    font-size: 14px;
    color: #ffffff !important;
    font-style: italic;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-tagline {
        font-size: 18px;
        margin: 12px 0 20px 0;
        padding-bottom: 15px;
    }

    .cta-content-block {
        padding: 40px 15px;
    }

    .cta-content-block h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .cta-content-block p {
        font-size: 1rem;
    }
}
