/* Featured videos below single posts. */
.hd-post-videos {
    width: 100%;
    min-width: 0;
    margin: 8px 0 32px;
    padding: 0 10px;
}

.hd-post-videos .hd-post-videos__panel {
    padding: 24px;
    border: 1px solid #dceee7;
    border-radius: 20px;
    background: linear-gradient(135deg, #edf8f3, #f6fbf9);
}

.hd-post-videos .hd-post-videos__header {
    position: relative;
    margin-bottom: 20px;
    padding-left: 16px;
}

.hd-post-videos .hd-post-videos__header::before {
    position: absolute;
    top: 3px;
    left: 0;
    width: 4px;
    height: 30px;
    border-radius: 4px;
    background: #169b80;
    content: "";
}

.hd-post-videos .hd-post-videos__header h2 {
    margin: 0 0 6px;
    color: #17554d;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.hd-post-videos .hd-post-videos__header p {
    margin: 0;
    color: #536e66;
    font-size: 14px;
    line-height: 1.5;
}

.hd-post-videos .hd-post-videos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hd-post-videos .hd-post-videos__card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dceae4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgb(33 83 71 / 5%);
}

.hd-post-videos .hd-post-videos__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #163f37;
}

.hd-post-videos .hd-post-videos__media iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
}

.hd-post-videos .hd-post-videos__content {
    padding: 18px 20px 20px;
}

.hd-post-videos .hd-post-videos__tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 5px;
    background: #e3f5ec;
    color: #16765e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.hd-post-videos .hd-post-videos__content h3 {
    margin: 0;
    color: #204e55;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

@media only screen and (max-width: 849px) {
    .hd-post-videos .hd-post-videos__panel {
        padding: 20px;
    }

    .hd-post-videos .hd-post-videos__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

@media only screen and (max-width: 549px) {
    .hd-post-videos {
        margin-bottom: 24px;
    }

    .hd-post-videos .hd-post-videos__panel {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .hd-post-videos .hd-post-videos__header {
        margin-bottom: 16px;
        padding-left: 12px;
    }

    .hd-post-videos .hd-post-videos__header::before {
        top: 0;
        height: 26px;
    }

    .hd-post-videos .hd-post-videos__header h2 {
        font-size: 21px;
    }

    .hd-post-videos .hd-post-videos__header p {
        font-size: 13px;
    }

    .hd-post-videos .hd-post-videos__content {
        padding: 14px;
    }

    .hd-post-videos .hd-post-videos__tag {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .hd-post-videos .hd-post-videos__content h3 {
        font-size: 16px;
    }
}
/* End featured videos. */
