/* ==========================================================================
   SCHEDULE PAGE - Premium Class Schedule Experience
   ========================================================================== */

.schedule-hero {
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-size: cover;
    position: relative;
    overflow: hidden;
}
.schedule-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--brand-glow-12, rgba(22, 163, 74, 0.12)) 0%, transparent 60%);
    pointer-events: none;
}
.schedule-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.schedule-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.schedule-hero-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}

/* Location map below schedule (trust / directions) */
.schedule-map-strip {
    background: var(--bg-soft, #f8fafc);
    padding: 3rem 2rem 4rem;
    border-top: 1px solid var(--border-light, #e2e8f0);
}
.schedule-map-strip .apex-maps-section {
    max-width: 960px;
    padding-left: 0;
    padding-right: 0;
}

.schedule-content {
    padding: 3rem 2rem 5rem;
    background: var(--bg-soft, #f8fafc);
}
.schedule-container {
    max-width: 1100px;
    margin: 0 auto;
}

#sessions {
    scroll-margin-top: 5.5rem;
}
@media (max-width: 768px) {
    #sessions {
        scroll-margin-top: 4.5rem;
    }
}

.schedule-toolbar {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}
.schedule-location-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.schedule-filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main, #0f172a);
}
.schedule-select {
    padding: 0.6rem 2rem 0.6rem 1rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 10px;
    background: #ffffff;
    color: var(--text-main);
    cursor: pointer;
    min-width: 180px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.25rem;
}
.schedule-select:hover,
.schedule-select:focus {
    border-color: var(--brand-primary, #16a34a);
    outline: none;
}

.schedule-option-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
}
.schedule-option-card {
    min-height: 100%;
}
.schedule-online-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-tint-subtle, #f0fdf4) 100%);
    border: 1px solid var(--brand-border-soft, #bbf7d0);
    border-radius: var(--radius-lg, 18px);
    box-shadow: 0 6px 24px -8px var(--brand-glow-12, rgba(22, 163, 74, 0.08));
}
.schedule-premium-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 45%, #fefce8 100%);
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.08);
}
.schedule-premium-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, #d97706, #b45309);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
}
.schedule-premium-icon svg {
    width: 28px;
    height: 28px;
}
.schedule-premium-body {
    flex: 1;
    min-width: 0;
}
.schedule-premium-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #b45309;
    background: rgba(254, 243, 199, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.45rem;
}
.schedule-premium-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.schedule-premium-desc {
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    margin: 0 0 0.85rem;
    line-height: 1.55;
}
.schedule-premium-highlight {
    font-size: 0.92rem;
    color: #78350f;
    margin: 0 0 1rem;
    line-height: 1.55;
    padding: 0.85rem 1rem;
    background: rgba(255, 251, 235, 0.95);
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.28);
}
.schedule-premium-highlight strong {
    color: #92400e;
}
.schedule-premium-note {
    font-weight: 600;
    color: #a16207;
    font-size: 0.88em;
}
.schedule-btn-secondary-premium {
    background: #ffffff;
    color: #b45309;
    border: 2px solid rgba(180, 83, 9, 0.45);
}
.schedule-btn-secondary-premium:hover {
    background: #fffbeb;
    color: #92400e;
    border-color: #b45309;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.15);
}
.schedule-online-icon {
    width: 52px;
    height: 52px;
    background: var(--brand-primary, #16a34a);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.schedule-online-icon svg {
    width: 28px;
    height: 28px;
}
.schedule-online-body {
    flex: 1;
}
.schedule-online-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.5rem;
}
.schedule-online-desc {
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.schedule-section {
    margin-top: 2rem;
}
.schedule-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.5rem;
}
.schedule-section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}
.schedule-card {
    background: #ffffff;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}
.schedule-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}
.schedule-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.schedule-card-format {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-primary, #16a34a);
}
.schedule-card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
}
.schedule-card-badge-open {
    background: #f0fdf4;
    color: var(--brand-primary, #16a34a);
}
.schedule-card-badge-full {
    background: #fef2f2;
    color: #dc2626;
}
.schedule-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}
.schedule-card-code {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 0.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.schedule-card-code-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-right: 0.35rem;
}
.schedule-card-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.25rem;
}
.schedule-card-instructor {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}
.schedule-card-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.schedule-card-date-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}
.schedule-card-time {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.schedule-card-meetings {
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-light);
}
.schedule-meetings-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.schedule-meetings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.schedule-meeting-item {
    font-size: 0.9rem;
    color: var(--text-main);
    padding: 0.25rem 0;
}
.schedule-meeting-more {
    color: var(--text-muted);
    font-style: italic;
}
.schedule-card-actions {
    margin-top: auto;
    padding-top: 1rem;
}
.schedule-btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-align: center;
}
.schedule-btn-primary {
    background: var(--brand-primary, #16a34a);
    color: white;
    border: none;
}
.schedule-btn-primary:hover {
    background: var(--brand-primary-dark, #15803d);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -6px var(--brand-glow-40, rgba(22, 163, 74, 0.35));
}
.schedule-btn-disabled {
    background: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
}

.schedule-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 1px dashed var(--border-light);
    border-radius: 16px;
}
.schedule-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: #cbd5e1;
}
.schedule-empty-icon svg {
    width: 100%;
    height: 100%;
}
.schedule-empty-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.75rem;
}
.schedule-empty-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* In-class offered elsewhere callout (shared with BDE page) */
.bde-inclass-remote-callout {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(22, 163, 74, 0.25);
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 100%);
    text-align: left;
}
.bde-inclass-remote-title {
    margin: 0 0 0.35rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
}
.bde-inclass-remote-desc {
    margin: 0 0 0.85rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.bde-inclass-remote-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.bde-inclass-remote-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.55rem 0.65rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.bde-inclass-remote-loc {
    font-weight: 700;
    color: var(--text-main);
}
.bde-inclass-remote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
}
a.bde-inclass-remote-btn {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--brand-primary);
    color: #fff !important;
}
a.bde-inclass-remote-btn:hover {
    filter: brightness(1.05);
}
a.bde-inclass-remote-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: underline;
}
.bde-inclass-remote-online-note {
    margin: 0.8rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.bde-inclass-remote-online-note a {
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: underline;
}

/* Context strip — full schedule page */
.schedule-context-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.schedule-context-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
}
.schedule-context-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #64748b);
}
.schedule-context-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
}
.schedule-context-meta {
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
}
.schedule-context-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}
.schedule-context-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary, #16a34a);
    text-decoration: none;
}
.schedule-context-link:hover {
    text-decoration: underline;
}

.schedule-next-step {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08);
}
.schedule-next-step-text {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    line-height: 1.45;
    max-width: 42rem;
}
.schedule-next-step-actions {
    flex-shrink: 0;
}
.schedule-next-step .schedule-btn {
    margin: 0;
    white-space: nowrap;
}

.schedule-hero-subtitle a {
    color: #86efac;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.schedule-hero-subtitle a:hover {
    color: #bbf7d0;
}

.schedule-section-subtitle a {
    color: var(--brand-primary, #16a34a);
    font-weight: 700;
    text-decoration: none;
}
.schedule-section-subtitle a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   BDE page — schedule preview (overview)
   ========================================================================== */

.bde-schedule-preview {
    max-width: 1120px;
    margin: 3.5rem auto 0;
    padding: 0 1rem;
}
.bde-schedule-preview-inner {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light, #e2e8f0);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 50px -28px rgba(15, 23, 42, 0.18);
}
.bde-schedule-preview-head {
    text-align: center;
    padding: 2.25rem 1.75rem 1.5rem;
    border-bottom: 1px solid var(--border-light, #e2e8f0);
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.75) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.bde-schedule-preview-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-primary, #119436);
}
.bde-schedule-preview-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 900;
    color: var(--text-main, #0f172a);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.bde-schedule-preview-lead {
    margin: 0 auto;
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted, #64748b);
}
.bde-schedule-preview-lead a {
    color: var(--brand-primary, #16a34a);
    font-weight: 700;
    text-decoration: none;
}
.bde-schedule-preview-lead a:hover {
    text-decoration: underline;
}
.bde-schedule-preview-grid {
    padding: 1.75rem 1.75rem 0.5rem;
    background: transparent;
}
.bde-schedule-preview-card.schedule-card {
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.12);
}
.bde-schedule-preview-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.25rem;
    padding: 1.25rem 1.75rem 2rem;
}
.bde-schedule-preview-actions--stack {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.bde-schedule-preview-btn-main {
    min-width: 200px;
    text-align: center;
}
.bde-schedule-preview-btn-secondary {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    text-decoration: none;
    padding: 0.5rem 0.25rem;
}
.bde-schedule-preview-btn-secondary:hover {
    color: var(--brand-primary, #16a34a);
    text-decoration: underline;
}
.bde-schedule-preview-empty {
    text-align: center;
    padding: 3rem 1.75rem 2.5rem;
}
.bde-schedule-preview-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    color: #cbd5e1;
}
.bde-schedule-preview-empty-icon svg {
    width: 100%;
    height: 100%;
}
.bde-schedule-preview-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
}
.bde-schedule-preview-empty-desc {
    margin: 0 auto 1.5rem;
    max-width: 420px;
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .schedule-option-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .schedule-hero { padding: 4rem 1.5rem 3rem; }
    .schedule-content { padding: 2rem 1rem 4rem; }
    .schedule-grid { grid-template-columns: 1fr; }
    .schedule-online-card,
    .schedule-premium-card { flex-direction: column; padding: 1.5rem; }
    .schedule-context-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .bde-schedule-preview-grid.schedule-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem 1rem 0.25rem;
    }
    .bde-schedule-preview-head {
        padding: 1.75rem 1.25rem 1.25rem;
    }
}
