/**
 * Article Embeds - Runfish Apparel
 * YouTube/external video watch card
 */

.external-video-card {
    background: #0F2E44;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.75rem 0;
    box-shadow: 0 6px 18px rgba(15, 46, 68, 0.18);
    color: #fff;
}

.external-video-card-link {
    display: grid;
    grid-template-columns: 320px 1fr;
    text-decoration: none;
    color: inherit;
    align-items: stretch;
    transition: background 0.25s ease;
}

.external-video-card-link:hover {
    background: #143a55;
    color: #fff;
}

.external-video-card-media {
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 180px;
}

.external-video-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.external-video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(15, 46, 68, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.external-video-card-link:hover .external-video-card-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #FFAA47;
    border-color: #FFAA47;
}

.external-video-card-play::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}

.external-video-card-link:hover .external-video-card-play::before {
    border-left-color: #0F2E44;
}

.external-video-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.external-video-card-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FF0000;
    margin: 0;
}

.external-video-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.external-video-card-meta {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 768px) {
    .external-video-card-link {
        grid-template-columns: 1fr;
    }
    .external-video-card-media {
        min-height: 200px;
        aspect-ratio: 16 / 9;
    }
    .external-video-card-body {
        padding: 1rem 1.25rem 1.25rem;
    }
}
