.image-content-slider {
    padding: 4rem 0rem;
}

.image-content-slider .image-content-slider__title h2 {
    font-size: 50px;
    margin-bottom: 2rem;
}

.image-content-slider .image-content-slider__title {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 40px;
    color: white;
    text-align: center;
}

.image-content-slider .image-content-slider__title p {
    font-size: 24px;
    font-family: 'Cachet';
}

.image-content-slider .splide {
    border: 6px solid var(--green-dk);
    box-shadow: 2px 3px 9px #00000036;
    border-radius: 20px;
    max-width: 1600px;
    margin: 0 auto;
    margin-bottom: 4.5rem;
    background: white;
    overflow: visible;
}

.image-content-slider .splide .splide__track {
    overflow: hidden;
    border-radius: 14px;
    z-index: 1;
}

.image-content-slider .splide__slide {
    display: flex;
    height: fit-content !important;
}

.image-content-slider .splide__slide .image-side {
    width: 40%;
}

.image-content-slider .splide__slide .image-side img,
.image-content-slider .splide__slide .image-side .image-side__img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 14px 0 0 14px;
}

.image-content-slider .splide__slide .content-side {
    width: 60%;
    height: fit-content;
}

.image-content-slider .splide__slide .slide-header {
    margin-top: 2rem;
    margin-bottom: 3rem;
    width: calc(100% - 6rem);
    padding: 1rem 3rem;
    border-radius: 0 1000px 1000px 0;
    background: rgba(1, 164, 144, .1);
}

.image-content-slider .splide__slide .slide-header h3 {
    color: var(--green-md);
    font-size: 42px;
    line-height: 1.2;
    font-family: 'Cachet', sans-serif;
    text-transform: none;
}

.image-content-slider .splide__slide .slide-header h4 {
    font-size: 22px;
    font-family: 'Cachet', sans-serif;
    color: var(--green-dk);
    font-weight: 500;
}

.image-content-slider .splide__slide .slide-content {
    padding: 0 3rem 2.5rem;
    font-family: 'Cachet';
}

.image-content-slider .splide__slide .slide-content .slide-disclaimer {
    color: #636466;
    font-style: italic;
    font-family: 'Cachet', sans-serif;
}

.image-content-slider .splide__slide .slide-content p,
.image-content-slider .splide__slide .slide-content ul {
    color: #636466;
    margin-bottom: 0;
}

.image-content-slider .button-row {
    margin-bottom: 3rem;
}

.image-content-slider .button-row.single-button {
    justify-content: flex-start;

}

.page-template-blocks .image-content-slider .btn {
    font-size: 22px;
}

.image-content-slider .slide-content ul {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 405px;
    gap: 0.25rem 2.5rem;
    align-content: flex-start;
}

.image-content-slider .slide-content ul:has(> li:nth-child(n+19)) li::before {
    transform: translate(-20px, -1px);
}

.image-content-slider .slide-content ul:has(> li:nth-child(n+19)) li {
    font-size: 14px;
}

.image-content-slider .slide-content li,
.image-content-slider .slide-content p {
    font-size: 20px;
}

.image-content-slider .slide-content li {
    position: relative;
    margin-bottom: 0.5rem;
    list-style: none;
}

.image-content-slider .slide-content .button-row {
    margin-top: 50px;
}

.image-content-slider .slide-content li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    content: '';
    background-image: url(https://www.lasvegasymca.org/dev/wp-content/uploads/2024/03/arrow-graphic.png);
    background-size: auto 20px;
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
    transform: translate(-22px, 4px);
}

.image-content-slider .slide-content em {
    font-size: 16px;
}

.image-content-slider .slider-controls {
    display: flex;
    position: absolute;
    bottom: 50%;
    width: calc(100% + 200px);
    left: calc(0px - 100px);
    justify-content: space-between;
}

.image-content-slider .slider-controls .slider-prev,
.image-content-slider .slider-controls .slider-next {
    border-radius: 50%;
    overflow: hidden;
    background: white;
    fill: var(--green-dk);
    cursor: pointer;
    padding: .35rem;
    z-index: 0;
}

.image-content-slider .slider-controls .slider-prev {
    transform: rotate(180deg);
}

.image-content-slider .slider-controls .slider-prev .icon,
.image-content-slider .slider-controls .slider-next .icon {
    transform: translate(2px, 0px);
}

.image-content-slider .splide__pagination {
    bottom: -4rem;
    gap: 15px;
}

.image-content-slider .splide__pagination__page {
    opacity: 1;
    transform: scale(1);
    width: 75px;
    border-radius: 1000px;
    background: white;
    margin: 0 .5rem;
    box-shadow: none;
    cursor: pointer;
    height: 14px;
}


.image-content-slider.bg-teal-gradient-ltr .splide__pagination__page:not(.is-active) {
    background: #53C6C0;
}

.image-content-slider .splide__pagination__page:not(.is-active) {
    opacity: 0.5;
    background: var(--white);
}

.image-content-slider .content-side .slide-content a:not(.btn) {
    color: var(--green-md);
}

.image-content-slider .content-side .slide-content a:not(.btn):hover {
    color: var(--green-dk);
}

/* Make content control height and prevent the image from setting it */
.image-content-slider .splide__track {
    height: auto !important;
}

.image-content-slider .splide__slide {
    display: flex;
    align-items: stretch;
    height: auto !important;
}

.image-content-slider .splide__slide .content-side {
    width: 60%;
    height: auto !important;
}

.image-content-slider .splide__slide .image-side {
    width: 40%;
    position: relative;
}

.image-content-slider .splide__slide .image-side img,
.image-content-slider .splide__slide .image-side .image-side__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px 0 0 14px;
}

/* ========== READ MORE CSS STYLING ========== */

.image-content-slider .slide-content ul.is-collapsible.is-collapsed li.extra {
    display: none;
}

.image-content-slider .list-toggle {
    margin-top: .75rem;
    font: inherit;
    background: none;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
}

@media (min-width: 993px) {
    .image-content-slider .list-toggle {
        display: none;
    }
}

/* ========== END READ MORE ========== */


#schedules-image-slider .slide-content .button-row {
    flex-direction: column;
    align-items: flex-start;
}

@media screen and (max-width: 1376px) {
    .image-content-slider .slide-content .button-row {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1800px) {
    .image-content-slider .slider-controls {
        bottom: -15%;
        width: 100%;
        left: 0;
    }
}


@media screen and (max-width: 1400px) {
    .image-content-slider .splide__slide {
        max-height: none;
        height: auto;
    }

    .image-content-slider .slide-content ul {
        display: block;
        max-height: none;
        flex-wrap: nowrap;
        gap: 0;
        align-content: initial;
    }

    .image-content-slider .slide-content ul:has(> li:nth-child(n+19)) li {
        font-size: 16px;
    }

    .image-content-slider .slide-content ul:has(> li:nth-child(n+19)) li::before {
        transform: translate(-22px, 4px);
    }
}

@media (max-width: 1200px) {
    .image-content-slider .splide__slide .slide-header h3 {
        font-size: 32px;
    }

    .image-content-slider .splide__slide .slide-header h4 {
        font-size: 20px;
    }

    .image-content-slider .slide-content li,
    .image-content-slider .slide-content p {
        font-size: 18px;
    }

    .image-content-slider .splide__slide .slide-header {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 992px) {
    .image-content-slider .slider-controls {
        display: none;
    }

    .image-content-slider .splide__slide {
        flex-direction: column;
        /* max-height: 750px; */
    }

    .image-content-slider .splide__slide .image-side,
    .image-content-slider .splide__slide .content-side {
        width: 100%;
    }

    .image-content-slider .splide__slide .image-side {
        max-height: 40%;
    }

    .image-content-slider .splide__slide .image-side img,
    .image-content-slider .splide__slide .image-side .image-side__img {
        border-radius: 14px 14px 0 0;
        max-height: 300px;
    }

    .image-content-slider .slider-controls .slider-prev,
    .image-content-slider .slider-controls .slider-next {
        width: 50px;
        height: 50px;
        font-size: 40px;
    }

    .image-content-slider .splide__slide .slide-header h3 {
        font-size: 28px;
    }

    .image-content-slider .splide__slide .slide-header h4 {
        font-size: 18px;
    }

    .image-content-slider .slide-content li,
    .image-content-slider .slide-content p {
        font-size: 16px;
    }

    .image-content-slider .section-title .slider-controls {
        display: none;
    }

    .image-content-slider .splide__pagination__page {
        width: 80px;
    }

    .image-content-slider .splide__slide .slide-header {
        margin-top: 0;
        border-radius: 0;
        width: 100%;
    }

    .image-content-slider .button-row {
        margin-bottom: 0;
        margin-top: 25px;
    }
}

@media screen and (max-width: 768px) {
    .image-content-slider .splide__slide {
        max-height: fit-content;
    }
}

@media screen and (max-width: 600px) {
    .image-content-slider .image-content-slider__title h2 {
        font-size: 40px;
    }

    .image-content-slider .image-content-slider__title h3 {
        font-size: 24px;
    }

    .image-content-slider .splide__pagination {
        display: none;
    }

    .image-content-slider .splide__slide .slide-content {
        padding: 0 3rem 2rem;
    }
}

@media screen and (max-width: 500px) {
    .image-content-slider .splide__pagination__page {
        width: 40px;
    }

    .image-content-slider .image-content-slider__title h2 {
        font-size: 30px;
    }

    .image-content-slider .image-content-slider__title h3 {
        font-size: 18px;
    }

    .image-content-slider {
        padding: 4rem 1rem;
    }
}