/* =========================================================
   SECTION   IBM Customers Video
   ========================================================= */
.ibm-customers-video-section {
    background-color: var(--color-ink-50);
    padding-block: var(--section-padding);
}

.ibm-customers-video-section .h2 {
    text-align: center;
    margin-bottom: var(--space-smm);
}

.ibm-customers-video-section .ibm-customers-video-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.ibm-customers-video-section .ibm-customers-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg, 12px);
    background-color: var(--color-teal-950);
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

/* Removed to keep the poster visible while the iframe loads
.ibm-customers-video-section .ibm-customers-video-wrapper:has(iframe) {
    background: transparent !important;
    background-image: none !important;
}
*/

.ibm-customers-video-section .ibm-customers-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.ibm-customers-video-section .ibm-customers-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    background-color: var(--color-signal-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    padding: var(--space-sm);
}

.ibm-customers-video-section .ibm-customers-video-wrapper:hover .ibm-customers-video-play-btn,
.ibm-customers-video-section .ibm-customers-video-wrapper:focus-visible .ibm-customers-video-play-btn {
    transform: translate(-50%, -50%) scale(1.06);
    background-color: var(--color-signal-600);
}

.ibm-customers-video-section .ibm-customers-video-link {
    margin-top: var(--space-sm, 16px);
    color: var(--color-slate-500);
    font-family: var(--font-mono, monospace);
    font-size: var(--font-size-meta, 14px);
}

.ibm-customers-video-section .ibm-customers-video-cta {
    margin-top: var(--space-smm);
}

@media (max-width:767px) {
    .ibm-customers-video-section .ibm-customers-video-play-btn {
        width: 40px;
        height: 40px;
        padding: var(--space-xss);
    }
}