.content-groups {
    padding-left: 25px;
    padding-right: 25px;
}

/* Carousel */
.explore-jax-carousel {
    width: 100%;
    margin-bottom: 25px;
    padding: 20px;
    min-height: 228px;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(253, 254, 253, 1) 0%, rgba(248, 247, 248, 1) 79%, rgba(242, 242, 241, 1) 94%, rgba(239, 239, 240, 1) 100%);
    box-shadow: 4px 4px 20px #e2e2e2 inset;
    border: 2px solid #e3e3e2;
}

.explore-jax-carousel .contentBox {
    display: none;
}

.explore-jax-carousel .active {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto 1fr auto;
    column-gap: 20px;
}

.explore-jax-carousel .contentBoxBG {
    grid-column: 1;
    grid-row: 1 / span 3;
    background: center/cover no-repeat;
    border: 0;
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    min-height: 0;
    align-self: stretch;
    aspect-ratio: 5 / 3;
}

.explore-jax-carousel .contentBoxLink {
    grid-column: 2;
    grid-row: 1;
    text-decoration: none;
    color: #30567d;
    font-weight: 600;
    font-size: 1.4em;
    max-height: 50px;
    margin-bottom: 10px;
    padding-right: 20px;
}

.explore-jax-carousel .contentBoxLink:hover {
    color: black;
}

.explore-jax-carousel .contentBoxLink .contentBoxTableCell {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.explore-jax-carousel .contentBoxContent {
    grid-column: 2;
    grid-row: 2;
    max-height: 79px;
    font-size: 0.9em;
    line-height: 1.5em;
    padding-right: 20px;
}

.explore-jax-carousel .contentBoxContent .summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.explore-jax-carousel .contentBoxContent p {
    margin-top: 5px;
}

.explore-jax-carousel-indicators {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    gap: 12px;
    align-self: end;
}

.explore-jax-carousel-indicator {
    display: block;
    background: #30567d;
    width: 18px;
    height: 11px;
    border-radius: 2px;
    cursor: pointer;
}

.active-indicator {
    outline: 2px solid #31547b;
    outline-offset: 1.5px;
}

.explore-jax-carousel-view-all {
    margin-top: -2px;
    font-size: 14px;
    line-height: 1em;
    display: inline-block;
    text-decoration: none;
    color: #30567d;
}

.explore-jax-carousel-view-all:hover {
    color: black;
    text-decoration: underline;
}

.prev-btn-container,
.next-btn-container {
    z-index: 3;
    position: absolute;
    top: 50%;
    margin-top: -15px;
    background-color: #7ba8d1;
    border-radius: 35px;
    width: 35px;
    height: 35px;
    background-repeat: no-repeat;
    background-size: 16px 25px;
}

.prev-btn-container {
    background-image: url(/Content/Images/categories/exploreJax/carousel_news_prev.png);
    left: 0;
    margin-left: -18px;
    background-position: 7px center;
}

.next-btn-container {
    background-image: url(/Content/Images/categories/exploreJax/carousel_news_next.png);
    right: 0;
    margin-right: -18px;
    background-position: 11px center;
}

.prev-btn,
.next-btn {
    display: block;
    width: 50px;
    height: 50px;
    margin-top: -7px;
    cursor: pointer;
}

.prev-btn {
    margin-left: -7px;
}

.next-btn {
    margin-right: -7px;
}

@media screen and (max-width: 1180px) {
    .content-groups {
        padding: 0 3vw;
    }
}

@media screen and (max-width: 900px) {
    .explore-jax-carousel .active {
        min-height: 200px;
    }

    .explore-jax-carousel .contentBoxBG {
        aspect-ratio: unset;
        height: 100%;
    }
}

@media screen and (max-width: 680px) {
    .content-groups {
        padding: 0 10px;
    }

    .explore-jax-carousel .active {
        display: flex;
        flex-direction: column;
    }

    .explore-jax-carousel .contentBoxBG {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0.8;
        object-fit: cover;
        margin: 0 !important;
        z-index: 1;
    }

    .explore-jax-carousel .contentBoxBG .contentBoxCorner {
        background-image: url(/Content/Images/categories/exploreJax/ExploreJax_Gradient_Right.png);
        background-position: top right;
        background-size: 300% 100%;
        padding-top: 250px;
    }

    .explore-jax-carousel .contentBoxLink {
        color: white;
        padding: 0;
        z-index: 2;
    }

    .explore-jax-carousel .contentBoxLink:hover {
        color: white;
    }

    .explore-jax-carousel .contentBoxContent {
        padding: 0;
    }

    .explore-jax-carousel .contentBoxContent .summary {
        max-height: 79px;
        background-color: white;
        position: relative;
        z-index: 2;
        padding: 5px;
        border-top: 5px solid #7aa8d1;
        -webkit-line-clamp: 3;
    }

    .explore-jax-carousel .contentBoxContent .summary .p {
        padding: 0;
        margin-bottom: 5px;
    }

    .explore-jax-carousel .contentBoxContent .read_more_link {
        position: relative;
        color: white;
        opacity: 1 !important;
        font-size: 0.8em;
        z-index: 2;
    }

    .explore-jax-carousel-indicators {
        position: absolute;
        bottom: 20px;
        left: 20px;
        grid-column: unset;
        grid-row: unset;
        align-self: unset;
        z-index: 2;
    }

    .explore-jax-carousel-indicator {
        background: white;
    }

    .active-indicator {
        outline-color: white;
    }

    .explore-jax-carousel-view-all {
        color: white;
    }

    .explore-jax-carousel-view-all:hover {
        color: white;
    }
}

/* Content Boxes */
.explore-jax-boxes .contentBoxTable {
    background-image: url(/Content/Images/categories/exploreJax/Button_Stroke.png);
    background-size: 200% 110%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: auto;
}

.explore-jax-boxes a.contentBoxLink:hover .contentBoxTable {
    min-height: 65px;
}

.explore-jax-boxes .contentBox .contentBoxBG {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.explore-jax-boxes .contentBoxTable .contentBoxTableCell {
    padding: 10px 10px 10px 15px;
    text-align: left;
    font-size: 1.55em;
    font-style: italic;
    font-weight: 400;
    white-space: nowrap;
}

/* Responsive */
@media screen and (max-width: 980px) {
    .explore-jax-boxes .contentBoxTable .contentBoxTableCell {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 800px) {
    .explore-jax-boxes .contentBoxTable .contentBoxTableCell {
        font-size: 1.55em;
    }
}

@media screen and (max-width: 640px) {
    .explore-jax-boxes a.contentBoxLink:hover .contentBoxTable {
        min-height: 80px;
    }
}