section.custom-player .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 52.65%;
    cursor: pointer;
}

section.custom-player .video-container .overlay::after {
    content: '';
    position: absolute;
    background-image: url('../icons/play.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 10rem;
    height: 10rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 999;
    transition: opacity 0.2s ease;
}

section.custom-player .video-container:hover .overlay::after {
    opacity: 0.75;
}

section.custom-player .video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.custom-player .video-container .info {
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

section.custom-player.green .video-container .info {
    background-image: linear-gradient(to top, rgba(57, 169, 106, 1), rgba(57, 169, 106, 0));
}

section.custom-player.gold .video-container .info {
    background-image: linear-gradient(to top, rgba(250, 184, 73, 1), rgba(250, 184, 73, 0));
}

section.custom-player.coral .video-container .info {
    background-image: linear-gradient(to top, rgba(255, 121, 77, 1), rgba(255, 121, 77, 0));
}

section.custom-player.yellow .video-container .info {
    background-image: linear-gradient(to top, rgba(253, 203, 1, 1), rgba(253, 203, 1, 0));
}

section.custom-player.red .video-container .info {
    background-image: linear-gradient(to top, rgba(255, 86, 14, 1), rgba(255, 86, 14, 0));
}

section.custom-player .video-container h3 {
    position: absolute;
    color: var(--color-off-white);
    z-index: 1;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 2rem;
}

section.custom-player .video-container iframe {
    z-index: -1;
    transition: z-index 0.5s step-end;
}


.homepage-animation ~ .fixed-overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.75);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 1000;
}

.homepage-animation ~ .fixed-overlay .fixed-wrapper {
    width: 75%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 0;
    padding-bottom: 42.1875%;
    position: relative;
    box-shadow: 0px 0px 50px black;
}

.homepage-animation ~ .fixed-overlay .fixed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.custom-carousel .carousel-nav {
    right: 0;
    cursor: pointer;
    z-index: 999;
}

.custom-carousel .carousel-nav > span {
    color: black;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.custom-carousel .carousel-nav > span:not(:last-child) {
    margin-right: 0.25rem;
}

.custom-carousel .carousel-nav > span.active {
    color: black;
    -webkit-text-fill-color: black;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.custom-carousel .carousel-program,
.custom-carousel .carousel-newsletter {
    opacity: 0;
    z-index: 0;
    transition: all 0.2s ease, z-index 0.5s step-end;
}

.custom-carousel .carousel-newsletter {
    background-color: orange;
}

.custom-carousel .carousel-newsletter {
    grid-template-rows: 1fr auto;
}

.custom-carousel .carousel-program.active,
.custom-carousel .carousel-newsletter.active {
    opacity: 1;
    z-index: 1;
}

article .carousel-image-wrapper {
    overflow: hidden;
}

article .carousel-program .carousel-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(57, 169, 106, 1), rgba(57, 169, 106, 0));
}

.ratio-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 500px;
}

.ratio-contents {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 991px) {

    .ratio-wrapper {
        padding-bottom: 750px;
    }

}

.homepage-animation img {
    filter: brightness(0.75);
}

.homepage-animation.lightbox::before {
    content: '';
    position: absolute;
    background-image: url('../icons/play.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top-left;
    right: 3rem;
    bottom: 3rem;
    width: 3rem;
    height: 3rem;
    z-index: 999;
    opacity: 0.75;
    transition: all 0.2s ease;
    cursor: pointer;
}

.homepage-animation.lightbox:hover::before {
    opacity: 1;
}

.homepage-animation span {
    display: inline-block;
}



.homepage-animation h2 {
    position: absolute;
    width: 100%;
    z-index: 998;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: var(--color-off-white);
}

.homepage-animation #homepage-keyword {
    position: relative;
    color: var(--color-pink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.single-program .gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
}

body.single-program img.program-hero {
    object-fit: cover;
}

body.single-program .socials .external {
    text-decoration-color: var(--color-red) !important;
}

body.single-program .socials svg {
    display: block;
    height: 3rem;
}

body.single-program article *,
body.single-case-study article *,
body.single-reports article * {
    color: var(--color-off-white);
}

body.single-program .post-card .landscape-image::after {
    content: '';
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to top, rgba(57, 169, 106, 1), rgba(57, 169, 106, 0));
}

body.single-program .post-card .landscape-image::before {
    content: '';
    position: absolute;
    background-image: url('../icons/play.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top-left;
    top: 2rem;
    left: 2rem;
    width: 5rem;
    height: 5rem;
    z-index: 999;
}

nav.program-menu .active .outline {
    color: inherit;
    -webkit-text-fill-color: var(--color-red);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: inherit;
}