section.image-card-slider h2 {
    font-size: 50px;
    margin-bottom: 2.5rem;
}

.image-card-slider__title {
    margin-bottom: 1.5rem;
}

section.image-card-slider .image-card-slider__title h3 {
    text-transform: capitalize;
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 1.5rem;
    margin-top: -1rem;
}

section.image-card-slider .image-card-slider__title p {
    font-size: 22px;
}

section.image-card-slider {
    text-align: center;
    font-family: 'Cachet';
    padding: 60px 0;
    background-color: var(--green-dk);
    color: white;
    position: relative;
    z-index: 0;
}

.image-card-slider .image-card {
    position: relative;
    /* establish a positioning context */
    overflow: hidden;
    /* crop anything that bleeds out */
    /* width: 350px; */
    height: 360px;
    border: 7px solid #fff;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    display: grid;
}

.image-card-slider .image-card.has-decoration {
    border-radius: 20px;
}

.image-card__image img,
.image-card__image .image-card__image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.image-card-slider .image-card-slider__cards-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 50px 100px;
    justify-items: center;
    margin: auto;
}

.image-card-slider .image-card__content a {
    color: var(--green-dk);
}

.image-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--green-dk);
    z-index: 1;
    height: 6rem;
    max-height: 6rem;
    transition: max-height 0.4s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-card__content .icon {
    fill: var(--yellow);
}


.image-card__content-title {
    font-size: 32px;
    margin-bottom: 0;
    padding: 5px 0;
    position: relative;
    display: inline-block;
    z-index: 1;
    text-align: left;
}


.image-card__card-links {
    color: var(--green-md);
    font-size: 18px;
    font-weight: bold;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
}

.image-card__card-links .icon {
    height: 18px;
    width: 18px;
}

.image-card-slider .slider-controls {
    display: flex;
    position: absolute;
    bottom: 40%;
    width: calc(100% + 200px);
    left: -100px;
    justify-content: space-between;
    margin: 0 auto;
    pointer-events: none;
}

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

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

.image-card-slider .image-card__wrap {
    max-width: 80%;
    margin: auto;
    position: relative;
}

.image-card-slider .image-card__wrap .image-card.has-decoration .image-card__content {
    background: var(--green-dk);
    color: white;
    justify-content: flex-start;
}

.image-card-slider .image-card__wrap .image-card.has-decoration .image-card__content a {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.image-card-slider .image-card__wrap .image-card.has-decoration .image-card__content h3,
.image-card-slider .image-card__wrap .image-card.has-decoration .image-card__content h4 {
    text-transform: capitalize;
}

.image-card-slider .image-card__wrap .image-card.no-decoration .image-card__content h3,
.image-card-slider .image-card__wrap .image-card.no-decoration .image-card__content h4 {
    text-transform: uppercase;
    text-align: center;
}

.image-card .icon svg {
    height: unset;
    width: unset;
    color: var(--yellow);
}

.image-card__wrap .slider-controls svg {
    color: var(--green-dk);
}

a.image-card:hover {
    border-color: var(--yellow);
}


@media screen and (min-width: 1500px) {

    /* hide arrows when all cards are displayed */
    .image-card-slider.no-arrows .slider-controls {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .image-card-slider .slider-controls {
        width: calc(90% + 200px);
        left: calc(5% - 100px);
    }
}

@media screen and (max-width: 800px) {
    .image-card-slider .slider-controls {
        width: 100%;
        left: 0;
    }
}

@media screen and (max-width: 600px) {
    .image-card-slider .image-card__wrap {
        margin-bottom: 70px;
        /* Add space at bottom for swiper */
    }

    .image-card-slider .slider-controls {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    section.image-card-slider h2 {
        line-height: 1;
    }

    section#youth-engagement-slider.image-card-slider {
        padding: 0 0 60px;
    }

    section#cdm-slider.image-card-slider {
        padding: 60px 0 0;
    }

    section#camp-options-slider.image-card-slider {
        padding: 0;
    }
}