/* 
Theme Name: Traders
Version: 1.0
*/


/* Container Module Styling */
.module.module__fullwidth {
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Wrapper for the YouTube Video */
.module__fullwidth .yourube-video__wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 42.55%; /* Aspect ratio for 2.35:1 */
    height: 0;
    overflow: hidden;
    max-height: 800px; /* Optional: prevent extreme height on large screens */

}

/* Responsive YouTube iframe */
.module__fullwidth iframe {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    border: 0;
    pointer-events: none;
}

@media (max-width: 480px) {
    .module__fullwidth .yourube-video__wrapper {
        padding-bottom: 56.25%; /* fallback to 16:9 if needed on small screens */
    }
}

.mute-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 8px 10px;
    font-size: 16px;
    cursor: pointer;
}

.mute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.mute-btn svg {
    width: 30px;
    height: 30px;
}