:root {
    /* --color-green: #34b5a7; */
    --color-green-hover: #2a9a8e;
    /* --color-black: #141314; */
    /* --accent-color: #fee059; */
    /* --text-dark: #333; */
    /* --text-muted: #666; */
    /* --border-color: #eaeaea; */
    /* --bg-light: #f8f8f8; */
    --bg-teal-light: #EFF9F8;
}

/* Hero Section */
.hero-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(0deg, #00000000 0%, #00000000 30%, #00000040 100%), linear-gradient(0deg, #ffffffff 0%, #00000000 30%);
}

.hero-container .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner-container {
    max-width: 1250px;
}

.border-calendar-hero {
    border-right: 2px solid var(--color-green);
}

@media (max-width: 575px) {
    .border-calendar-hero {
        border-right: none;
        border-bottom: 2px solid var(--color-green);
        padding-bottom: 1rem !important;
    }
}

/* Filter Section Container */
.filter-section-2025 {
    background-color: #fff;
}

.filter-container-2025 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Workshop Type Tabs - Underline style matching image */
.filter-method-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
    margin-bottom: 24px;
}

.filter-method-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-method-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.filter-method-btn:hover {
    color: #474747;
    text-decoration: none;
}

.filter-method-btn.active {
    color: var(--color-green);
    border-bottom-color: var(--color-green);
    background: none;
}

.filter-method-btn.active svg {
    stroke: var(--color-green);
}

/* Filter Dropdowns Row */
.filter-dropdowns-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.filter-select-2025 {
    display: block;
    min-width: 160px;
    width: 100%;
    max-width: 200px;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #474747;
    background-color: #f8f8f8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select-2025:hover {
    background-color: #f0f0f0;
    border-color: #ddd;
}

.filter-select-2025:focus {
    outline: none;
    border-color: var(--color-green);
    background-color: #f5fffe;
}

/* Clear Filters Link */
.filter-clear-btn {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-clear-btn.visible {
    display: inline-flex;
}

.filter-clear-btn svg {
    width: 14px;
    height: 14px;
}

.filter-clear-btn:hover {
    color: #d9534f;
    text-decoration: none;
}

/* City Section Card */
.calendar-city-section {
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.city-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.city-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.city-header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.city-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.city-info {
    text-align: left;
}

.city-info h2 {
    font-size: 1.5rem!important;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
}

.city-date-range {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.city-venue {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
}

.city-venue svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: #999;
}

.city-venue-text {
    line-height: 1.4;
}

.city-venue-name {
    font-weight: 600;
    color: #333;
}

.bundle-section {
    text-align: right;
    flex-shrink: 0;
}

.bundle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: #fee059;
}

.bundle-btn:hover {
    background-color: #fee98b;
    text-decoration: none;
}

.bundle-btn svg {
    width: 18px;
    height: 18px;
    fill: #333;
}

.bundle-subtext {
    font-size: 0.8rem;
    color: #757575;
    margin-top: 6px;
}

/* Course List */
.city-card-body {
    padding: 0;
}

.course-row {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 35px;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.course-row:last-child {
    border-bottom: none;
}

.course-row:hover {
    background-color: #fafafa;
}

.course-row.filtered-hidden,
.calendar-city-section.filtered-hidden {
    display: none !important;
}

/* Date Badge */
.course-date-badge {
    flex-shrink: 0;
    width: 100px;
    padding: 8px;
    background-color: var(--color-black-2024);
    border-radius: 10px;
    text-align: center;
}

.course-date-badge-day {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-date-badge-num {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

/* Course Info */
.course-info {
    flex: 1;
    min-width: 0;
}

.course-title {
    font-size: 1rem !important;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.course-title a {
    font-size: 1rem !important;
    color: inherit;
    text-decoration: none;
}

.course-title a:hover {
    color: var(--color-green);
}

.course-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #888;
}

.course-time svg {
    width: 14px;
    height: 14px;
    stroke: #888;
    fill: none;
}

/* Course Pricing */
.course-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.course-price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-green);
}

.course-price-original {
    font-size: 0.9rem;
    color: #aaa;
    text-decoration: line-through;
}

.course-savings-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-green);
    padding: 4px 10px;
    background-color: var(--bg-teal-light);
    border-radius: 4px;
}

.course-early-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #CD7E31;
    padding: 4px 10px;
    background-color: #FCF3CC;
    border-radius: 4px;
}

/* Register Button */
.course-action {
    flex-shrink: 0;
    /* margin-left: 20px; */
}

.course-register-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-green);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.course-register-btn:hover {
    /* background-color: var(--color-green-hover); */
    color: #fff;
    text-decoration: none;
}

.course-register-btn-secondary {
    background-color: #adb5bd;
}

.course-register-btn-secondary:hover {
    background-color: #8c939a;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    /* .course-row {
        gap: 12px;
    } */

    /* .course-action {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    } */

    .course-register-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .filter-method-btn {
        font-size: 0.875rem;
    }

    .city-card-header {
        flex-direction: column;
        gap: 16px;
    }

    .bundle-section {
        text-align: left;
    }

    .city-header-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .city-thumbnail {
        width: 100%;
        height: 150px;
    }

    .city-info h2 {
        font-size: 1.3rem;
    }

    .course-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .course-date-badge {
        padding: 8px 6px;
        /* margin-right: 12px; */
    }

    .course-date-badge-num {
        font-size: 1rem;
    }

    .course-title {
        font-size: 0.95rem !important;
    }

    .course-price-current {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .filter-select-2025 {
        width: 100%;
        max-width: 200px;
    }    

    .filter-method-btn {
        padding: 10px 12px;
        font-size: 0.785rem;
    }

    .filter-method-btn svg {
        width: 16px;
        height: 16px;
    }

    /* .city-card-header {
        padding: 16px;
    } */

    /* .course-row {
        padding: 16px;
    } */
    
    .course-pricing {
        gap: 6px;
    }
}

@media (max-width: 450px) {
    .filter-method-toggle {
        /* gap: 0;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        flex-wrap: unset;
        justify-content: flex-start; */
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .filter-method-btn {
        white-space: nowrap;
        width: fit-content;
        margin: 0 auto;
    }

    .filter-dropdowns-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Scroll Margin */
#overview, #courses, #objectives {
    scroll-margin-top: 100px;
}