@charset "utf-8";

/* RESOURCES - YouTube video list */
.resources-videos,
.resources-videos * {
    box-sizing: border-box;
}

.resources-videos {
    width: 100%;
    padding: 54px 0 100px;
    overflow: hidden;
    color: #56616b;
    background: #fff;
}

.resources-videos__inner {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

.resources-videos__heading {
    margin-bottom: 48px;
    text-align: center;
}

.resources-videos__heading span {
    color: #0879ef;
    font: 600 15px/1.2 Poppins, sans-serif;
}

.resources-videos__heading h2 {
    margin: 9px 0 0;
    color: #17314f;
    font: 600 42px/1.1 Poppins, sans-serif;
}

.resources-videos__list {
    display: grid;
}

.resources-video {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(300px, .86fr);
    gap: 52px;
    align-items: center;
    padding: 46px 0;
    border-top: 1px solid #e7ebef;
    scroll-margin-top: 90px;
}

.resources-video:first-child {
    padding-top: 0;
    border-top: 0;
}

.resources-video__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: #111b25;
    box-shadow: 0 5px 22px rgba(18, 42, 68, .11);
}

.resources-video__media iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.resources-video__copy h3 {
    margin: 0 0 18px;
    color: #17314f;
    font: 600 26px/1.28 Poppins, sans-serif;
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none;
}

.resources-video__description {
    color: #59636d;
    font-size: 16px;
    line-height: 1.65;
    white-space: pre-line;
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none;
}

.resources-videos__empty {
    padding: 50px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .resources-videos {
        padding: 42px 0 72px;
    }

    .resources-videos__inner {
        width: calc(100% - 36px);
    }

    .resources-videos__heading {
        margin-bottom: 32px;
    }

    .resources-videos__heading h2 {
        font-size: 34px;
    }

    .resources-video {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 36px 0;
    }

    .resources-video__copy {
        text-align: left;
    }

    .resources-video__copy h3 {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .resources-video__description {
        font-size: 15px;
        line-height: 1.55;
    }
}
