* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f4f8f7;
    color: #162e3e;
    font-family: Arial, "Helvetica Neue", sans-serif
}

.shell {
    max-width: 1200px;
    margin: auto;
    padding: 38px 22px 70px
}

.hero {
    padding: 38px;
    border-radius: 26px;
    background-image: url("header-videos-sms.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #073b55;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    box-shadow: 0 18px 40px #123b3630
}

.hero span {
    color: #bdd7e5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .75rem
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: #ee513f !important;
    margin: 10px 0 8px
}

.hero p {
    margin: 0;
    max-width: 650px;
    color: #314f6e;
    max-width: 52%;
}
.hero > span {
    color: #b52e19;
}
.back {
    float: left;
    color: #001d54;
    text-decoration: none;
    font-weight: 700;
    top: -50px !important;
}

.filters {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin: 34px 0 22px
}

.filters button {
    border: 1px solid #c8d9d6;
    background: #fff;
    color: #284252;
    border-radius: 999px;
    padding: 10px 17px;
    cursor: pointer;
    font-weight: 700
}

.filters .active {
    background: #b31f44;
    color: #fff;
    border-color: #b31f44
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 26px #173f3a16
}

.open-video {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit
}

.thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    background: #17303f;
    overflow: hidden
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s
}

.thumb i {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #b61f45;
    color: white;
    font-style: normal
}

.open-video:hover img {
    transform: scale(1.04)
}

.card-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px
}

.card-copy small {
    color: #b61f45;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .72rem
}

.card-copy strong {
    font-size: 1.14rem
}

.card-copy em {
    font-style: normal;
    color: #667a77;
    font-size: .9rem;
    line-height: 1.4
}

.empty {
    text-align: center;
    background: #fff;
    padding: 70px 20px;
    margin-top: 30px;
    border-radius: 22px
}

dialog {
    width: min(960px, 94vw);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #102927;
    color: #fff;
    box-shadow: 0 25px 80px #0008
}

dialog::backdrop {
    background: #071715c9
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px
}

.modal-head h2 {
    font-size: 1rem;
    margin: 0
}

.modal-head button {
    border: 0;
    background: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer
}

.player {
    aspect-ratio: 16/9
}

.player iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.card[hidden] {
    display: none
}

@media(max-width:850px) {
    .grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .shell {
        padding: 18px 13px 50px
    }

    .hero {
        padding: 28px 22px
    }

    .back {
        float: none;
        display: block;
        margin-bottom: 25px
    }

    .grid {
        grid-template-columns: 1fr
    }
}