/**
 * OUI Banners CSS
 * @package     OUI.Banners
 * @copyright   Copyright (C) 2025. All rights reserved.
 */

/* Base Banner Styles */
.oui-banner {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.oui-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.oui-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 90%;
}

.oui-banner-header {
    font-family: 'Gothiks', sans-serif;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.2;
}

.oui-banner-subheader {
    font-family: 'New Atten', sans-serif;
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.4;
}

.oui-banner-description {
    font-family: 'New Atten', sans-serif;
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.6;
    margin-bottom: 20px;
}

.oui-banner-cta {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid currentColor;
    border-radius: 50px;
    font-family: 'New Atten', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.oui-banner-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Video Banner */
.oui-banner-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Lottie Banner */
.oui-banner-lottie-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Banner Sizes */
.oui-banner-leaderboard {
    width: 728px;
    height: 90px;
}

.oui-banner-large_leaderboard {
    width: 970px;
    height: 90px;
}

.oui-banner-rectangle {
    width: 300px;
    height: 250px;
}

.oui-banner-large_rectangle {
    width: 336px;
    height: 280px;
}

.oui-banner-skyscraper {
    width: 160px;
    height: 600px;
}

.oui-banner-half_page {
    width: 300px;
    height: 600px;
}

.oui-banner-mobile {
    width: 320px;
    height: 100px;
}

.oui-banner-billboard {
    width: 970px;
    height: 250px;
}

.oui-banner-custom {
    width: 100%;
    min-height: 200px;
}

/* Responsive */
@media (max-width: 992px) {
    .oui-banner-leaderboard,
    .oui-banner-large_leaderboard,
    .oui-banner-billboard {
        width: 100%;
        max-width: 728px;
        height: auto;
        min-height: 90px;
    }
    
    .oui-banner-rectangle,
    .oui-banner-large_rectangle {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .oui-banner {
        width: 100% !important;
        height: auto !important;
        min-height: 150px;
    }
    
    .oui-banner-content {
        padding: 15px;
    }
}

/* Zones (mod_oui_banners) */
.oui-zone {
    position: relative;
}

.oui-zone .oui-banner {
    margin: 0;
}

/* Paid banners must be identifiable as advertising (LCEN art. 20). */
.oui-zone-label {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    padding: 1px 6px;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .02em;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    border-radius: 3px;
}
