
/* Loading State */
.hero-ads-loading {
    padding: 20px;
    text-align: center;
    color: #888;
    font-style: italic;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}

/* Error Message */
.hero-ads-error {
    padding: 15px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

/* Video Wrapper */
/* In css/hero-ads.css */

/* Video Wrapper */
.hero-ads-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.hero-ad-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; /* Force 100% width */
    height: 100% !important; /* Force 100% height */
    overflow: hidden;
    background: #000;
}

.hero-ad-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; /* Force 100% width */
    height: 100% !important; /* Force 100% height */
    border: none;
}

/* Hero Ads Container */
.hero-ads-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px;
    overflow: hidden;
}

/* Mute Toggle Button */
.mute-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.mute-toggle:hover {
    background: rgba(0,0,0,0.8);
}

.mute-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.mute-toggle:hover {
    background: rgba(0,0,0,0.8);
}

.mute-toggle i {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mute-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z'/%3E%3C/svg%3E");
}

.unmute-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E");
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-ads-container {
        min-height: 160px;
    }
    
    .mute-toggle {
        bottom: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 12px;
    }
}