.fhsys-youtube-card {
    width: 100%;
    max-width: 720px;
    margin: 12px 0;
}

.fhsys-youtube-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.fhsys-youtube-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.88;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fhsys-youtube-thumb:hover img {
    transform: scale(1.03);
    opacity: 0.72;
}

.fhsys-youtube-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.fhsys-youtube-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.fhsys-youtube-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.fhsys-youtube-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.fhsys-youtube-modal-content {
    position: relative;
    width: min(96vw, 1100px);
}

.fhsys-youtube-modal .fhsys-youtube-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.fhsys-youtube-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 28px;
    line-height: 38px;
    cursor: pointer;
}
