
.editorial-image-text-card.theme-light {
    --background:  #FFF;
    --color: var(--azamara-blue);
    --headline: var(--azamara-blue);
    --background-image: url('/static-assets/images/backgrounds/maps-bg.png');
}

.editorial-image-text-card.theme-dark {
    --background: var(--azamara-blue);
    --color: var(--pure-white);
    --headline: var(--pure-white);
    --background-image: none;
}

.editorial-image-text-card {
    --image-height: 250px;
    --padding: 24px;

    background-color: var(--background);
    color: var(--color);
    padding: var(--padding);

    background-image: var(--background-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.editorial-image-text-card .section-header {
    width: 100%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.editorial-image-text-card .section-headline {
    text-align: left;

    font-style: normal;
    font-weight: 420;
    font-size: 48px;
    line-height: 69px;

    color: var(--color);
}

.editorial-image-text-card .body-copy {
    text-align: left;

    font-style: normal;
    font-weight: 390;
    font-size: 22px;
    line-height: 31px;
    letter-spacing: 0.05em;
}

.editorial-image-text-card .download-link {
    font-style: normal;
    font-weight: 420;
    font-size: 22px;
    line-height: 31px;
    letter-spacing: 0.05em;

    align-self: flex-end;
}

.editorial-image-text-card .image-card-group {
    margin-top: 64px;

    position: relative;
    display: flex;
}

.editorial-image-text-card .image-card-group.image-align-right {
    justify-content: end;
}

.editorial-image-text-card .image-card-group .image {
    width: 100vw;
    height: var(--image-height);
    object-fit: cover;
    align-self: start;
    margin-left: calc(var(--padding) * -1);
    margin-right: calc(var(--padding) * -1);
}

.editorial-image-text-card .image-card-group .card {
    position: absolute;
    top: calc(var(--image-height) - 48px);
    right: 0;
    left: 0;
}

.editorial-image-text-card .image-card-group.image-align-right .card {
    right: auto;
    left: 0;
}

.editorial-image-text-card .image-card-group .card .list-group {
    flex-direction: row;
}

.editorial-image-text-card .image-card-group .card .list-group .list-group-item {
    width: 100%;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: none;
    border-top: 1px solid var(--light-dusk);
    padding: 0;
}

.editorial-image-text-card .image-card-group .card .list-group .list-group-item:nth-child(2) {
    border-left: 1px solid var(--light-dusk);
}

.editorial-image-text-card .image-card-group .card .card-link {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--light-dusk);
    flex-grow: 1;
    height: 5rem;
    padding: 0 1.5rem; 
}

.editorial-image-text-card .image-card-group .card .card-link:hover {
    background-color: var(--light-blue);
    color: var(--azamara-blue);
    fill: var(--azamara-blue);
}

/* -sm breakpoint */
@media (min-width: 576px) {
    .editorial-image-text-card {
        --image-height: 450px;
        --padding: 48px;
    }
}

/* -md breakpoint */
@media (min-width: 768px) {

}

/* -lg breakpoint*/
@media (min-width: 992px) {
    .editorial-image-text-card {
        --image-height: 480px;
    }
    .editorial-image-text-card .image-card-group .image {
        width: 70%;
        aspect-ratio: 3/2;
        margin: 0;
    }

    .editorial-image-text-card .image-card-group .card {
        top: 64px;
        right: 0;
        left: auto;
        width: 50%;
    }
}

/* -xl breakpoint */
@media (min-width: 1200px) {
    .editorial-image-text-card {
        --padding: 12rem;
        padding-top: 3rem;
        padding-bottom: 4rem;
    }


}

/* -xxl breakpoint */
@media (min-width: 1400px) {
    .editorial-image-text-card .image-card-group .card {
        width: 40%;
    }
}