/* Video/property cross-links. Scoped to avoid changing existing Elementor UI. */
.dpch-related-videos {
    margin: 40px 0 24px;
}

.dpch-related-videos__heading {
    margin: 0 0 20px;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.25;
}

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

.dpch-related-video-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    color: #222;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.dpch-related-video-card:hover,
.dpch-related-video-card:focus-visible {
    color: #222;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.dpch-related-video-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f0e6;
}

.dpch-related-video-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dpch-related-video-card__empty {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7f3e7, #e9e2ce);
}

.dpch-related-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding-left: 3px;
    border-radius: 50%;
    color: #222;
    background: #eacb41;
    font-size: 21px;
    line-height: 1;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, .2);
}

.dpch-related-video-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px 18px;
}

.dpch-related-video-card__title {
    font-size: 17px;
    font-weight: 650;
    line-height: 1.4;
}

.dpch-related-video-card__action {
    font-size: 13px;
    font-weight: 700;
    color: #665716;
}

.dpch-video-property-link {
    margin: 28px 0;
}

.dpch-video-property-link__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 999px;
    color: #1d1d1d;
    background: #eacb41;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s ease;
}

.dpch-video-property-link__button:hover,
.dpch-video-property-link__button:focus-visible {
    color: #1d1d1d;
    background: #f2d963;
}

@media (max-width: 900px) {
    .dpch-related-videos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .dpch-related-videos__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .dpch-video-property-link__button {
        max-width: 100%;
    }
}
