
/* CE Banner - Balloon shape triangle for Layout 2 */
.ce-header:is(.banner--layout-0, .banner--layout-2) .banner__content-frame {
    position: relative;
}

.ce-header:is(.banner--layout-0, .banner--layout-2) .banner__content-frame::after {
    position: absolute;
    left: 1rem;
    top: -3.75rem;
    content: "";
    width: 2.875rem;
    height: 3.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='60' fill='none' viewBox='0 0 46 60'%3E%3Cpath fill='%23fff' d='M0 60h38l8-60z'/%3E%3C/svg%3E");
}

@media (min-width: 62rem) {
    .ce-header:is(.banner--layout-0, .banner--layout-2) .banner__content-frame::after {
        top: unset;
        left: unset;
        right: 1rem;
        bottom: -3.75rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='60' fill='none' viewBox='0 0 46 60'%3E%3Cpath fill='%23fff' d='M0 0h38l8 60z'/%3E%3C/svg%3E");
    }
}

/* CE Spotlight */
.spotlight:is(.spotlight--layout-6, .spotlight--layout-7) .spotlight__content {
    position: relative;
}

.spotlight:is(.spotlight--layout-6, .spotlight--layout-7) .spotlight__content::after {
    content: '';
    position: absolute;
    top: -44px;
    left: 1rem;
    height: 45px;
    width: 43px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 43 45'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M42.606 0C41.376.958 0 45 0 45L8.617 0h33.99Z'/%3E%3C/svg%3E");
    background-position: bottom;
    background-repeat: no-repeat;
    transform: scale(-1, -1);
}

.spotlight:is(.spotlight--layout-6, .spotlight--layout-7):not(.section--color) .spotlight__content::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 43 45'%3E%3Cpath fill='%23106e61' fill-rule='evenodd' d='M42.606 0C41.376.958 0 45 0 45L8.617 0h33.99Z'/%3E%3C/svg%3E");
}

@media (min-width: 62rem) {
    .spotlight:is(.spotlight--layout-6, .spotlight--layout-7) .spotlight__content {
        margin-top: -44px;
    }

    .spotlight.spotlight--layout-6 .spotlight__content::after {
        top: unset;
        right: 1rem;
        bottom: -44px;
        left: unset;
        transform: scale(-1, 1);
    }

    .spotlight.spotlight--layout-7 .spotlight__content::after {
        top: unset;
        bottom: -44px;
        left: 1rem;
        transform: scale(1, 1);
    }
}

/* Card List - Balloon shape triangle */
.cards:not([data-maximum-columns="2"]) .card__image {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' width='20' height='30' fill='none' viewBox='0 0 20 30'%3E%3Cpath fill='%23000' d='m0 0 20 30H0z'/%3E%3C/svg%3E") bottom left / 1.25rem 1.875rem no-repeat, linear-gradient(#000 0 0);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' width='20' height='30' fill='none' viewBox='0 0 20 30'%3E%3Cpath fill='%23000' d='m0 0 20 30H0z'/%3E%3C/svg%3E") bottom left / 1.25rem 1.875rem no-repeat, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: exclude;
}

/*
  - Rectangle image above footer
  - Adjust enough padding for footer content
  - Reposition scroll to top button
*/
.page-footer {
    z-index: 2;
    position: relative;
}

.page-footer:after {
    z-index: -1;
    position: absolute;
    content: '';
    display: block;
    top: 0;
    right: 0;
    left: 0;
    height: 3rem;
    background-color: var(--root-color--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 375 48' preserveAspectRatio='none'%3E%3Cpath fill='%23106e61' d='M0 48h375V0z'/%3E%3C/svg%3E");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}

.page-footer__container {
    padding-top: 6rem;
}

.scroll-button__up {
    z-index: 3;
    transform: translate(-50%, 3rem);
}

@media (min-width: 42rem) {
    .page-footer:after {
        height: 6rem;
    }

    .page-footer__container {
        padding-top: 9rem;
    }

    .scroll-button__up {
        transform: translate(-50%, 4.438rem);
    }
}

/* Social share */
.social-share__header {
    --font-weight: var(--root-font-weight--semi-bold);
}
