#the-space {
    display: flex;
    flex-direction: column;
    padding: 60px 30px;
    background-color: #000;
    color: #fff;
}

#the-space .cs-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#the-space .cs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

#the-space .cs-text-container {
    padding: 20px;
}

#the-space .cs-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#the-space .cs-image-container a {
    display: block;
    width: 100%;
    max-width: 600px;
}

#the-space .cs-large-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    max-height: 440px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.17);
    display: block;
    transition: transform 0.3s;
}

#the-space .cs-image-container:hover .cs-large-image {
    transform: scale(1.035);
    cursor: pointer;
}

#the-space .cs-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--bodyTextColorWhite, #fff);
}

#the-space .cs-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 30px;
    color: var(--primary, #ed1c24);
}

#the-space .cs-text {
    font-size: 1.125rem;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #bbb;
}

#the-space .cs-text:last-of-type {
    margin-bottom: 2rem;
}

#the-space .cs-button-solid {
    display: inline-flex;
    align-items: center;
    background: var(--primary, #ed1c24);
    color: #fff;
    font-weight: bold;
    padding: 0.7rem 1.6rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s;
    margin-top: 18px;
    gap: 0.7rem;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
}

#the-space .cs-button-solid:hover {
    background: #fff;
    color: var(--primary, #ed1c24);
}

#the-space .cs-button-wrapper {
    display: inline-flex;
    margin-left: 8px;
}

#the-space .cs-button-icon {
    width: 20px;
    height: 20px;
    display: block;
}

@media (max-width: 900px) {
    #the-space .cs-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    #the-space .cs-image-container {
        margin-top: 1.6rem;
    }
    #the-space .cs-large-image {
        max-width: 95vw;
        max-height: 44vw;
    }
}

@media (max-width: 600px) {
    #the-space {
        padding: 32px 5vw;
    }
    #the-space .cs-title {
        font-size: 1.45rem;
    }
    #the-space .cs-subtitle {
        font-size: 1.1rem;
        margin-top: 1.6rem;
    }
    #the-space .cs-text {
        font-size: 1rem;
        margin-bottom: 0.95rem;
    }
    #the-space .cs-large-image {
        max-width: 100vw;
        max-height: 36vw;
        border-radius: 8px;
    }
    #the-space .cs-text-container {
        padding: 0;
        text-align: center;
    }
    #the-space .cs-button-solid {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
}



@media only screen and (min-width: 0rem) {
    #schedule {
        padding: var(--sectionPadding);
        padding-top: 3.125rem;
        padding-bottom: 20vw;
        background-color: #000000;
        position: relative;
        z-index: 1;
    }
    #schedule #cs-content-830 {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #schedule #cs-content-830 .cs-button-solid {
        flex: none;
    }

    #schedule .cs-container {
        width: 100%;
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(3rem, 6vw, 4rem);
    }

    #schedule .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: clamp(1rem, 2.5vw, 1.25rem);
    }

    #schedule .cs-item {
        list-style: none;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        padding: clamp(1.5rem, 4vw, 2.5rem);
        background-color: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        grid-column: span 12;
        text-align: left;
        transition: background-color 0.3s, transform 0.3s;
    }

    #schedule .cs-item:hover {
        background-color: var(--primary);
        transform: translateY(-1rem);
    }

    #schedule .cs-item:hover .cs-date {
        color: var(--bodyTextColorWhite);
    }

    #schedule .cs-item:hover .cs-picture {
        border-color: rgba(0, 0, 0, 0.5);
    }

    #schedule .cs-item:hover .cs-picture:before {
        background-color: #000;
        opacity: 0.4;
    }

    #schedule .cs-item.cs-long .cs-text-group {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    #schedule .cs-link {
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #schedule .cs-picture {
        width: 5rem;
        height: 5rem;
        margin-bottom: 1.25rem;
        box-sizing: border-box;
        border-radius: 50%;
        border: 1px solid var(--primary);
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        flex: none;
        position: relative;
        z-index: 1;
        transition: border-color 0.3s;
    }

    #schedule .cs-picture:before {
        content: '';
        width: 100%;
        height: 100%;
        background: var(--primary);
        opacity: 0.1;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: -1;
        transition: opacity 0.3s, background-color 0.3s;
    }

    #schedule .cs-icon {
        width: 2.25rem;
        height: auto;
        display: block;
    }

    #schedule .cs-h3 {
        text-align: inherit;
        font-size: 1.25rem;
        line-height: 1.5em;
        width: 100%;
        margin: 0;
        margin-bottom: 0.5rem;
        color: var(--bodyTextColorWhite);
    }

    #schedule .cs-date {
        font-family: var(--headerFont);
        text-transform: uppercase;
        font-size: 1rem;
        line-height: 1.2em;
        margin: 0 0 1rem;
        color: var(--primary);
        display: block;
        transition: color 0.3s;
    }

    #schedule .cs-item-text {
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        text-align: inherit;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColorWhite);
        opacity: 0.8;
    }

    #schedule .cs-graphic {
        width: 100%;
        height: auto;
        display: flex;
        align-items: flex-end;
        position: absolute;
        bottom: -1px;
        left: 0;
        z-index: 10;
        pointer-events: none;
    }

    #schedule .cs-graphic img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media only screen and (min-width: 48rem) {
    #schedule {
        padding-bottom: 13vw;
    }

    #schedule .cs-container {
        max-width: 80rem;
    }

    #schedule #cs-content-830 {
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    #schedule #cs-content-830 .cs-title {
        margin: 0;
    }

    #schedule .cs-item {
        grid-column: span 6;
    }

    #schedule .cs-item.cs-long {
        grid-column: span 12;
        grid-row: 1 / span 1;
    }

    #schedule .cs-item.cs-long .cs-flex {
        width: 45%;
    }
}

@media only screen and (min-width: 75rem) {
    #schedule .cs-item {
        grid-column: span 3;
    }

    #schedule .cs-item.cs-long {
        grid-column: span 6;
        grid-row: auto;
    }

    #schedule .cs-item.cs-long .cs-flex {
        width: 45%;
    }
}
/* Box with icon and text */
.cs-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
}
