/* Ou2s Hero Banner Widget Styles */

.hero-banner-wrapper {
    position: relative;
    min-height: 400px;
    background-color: #f5f1eb;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f1eb 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px;
}

.hero-banner-wrapper[data-icon-alignment="left"] {
    flex-direction: row-reverse;
}

.hero-banner-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0;
}

.hero-banner-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-banner-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #666666;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.hero-banner-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

.hero-banner-heading .hero-banner-highlight {
    color: #1E7BB5;
    font-style: italic;
    font-weight: 600;
}

.hero-banner-subheading {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

/* Icon Styling */
.hero-banner-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.hero-banner-icon img {
    width: 100%;
    height: auto;
    max-width: 250px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* Button Wrapper */
.hero-banner-button-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Button Styles */
.hero-banner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Primary Button */
.hero-banner-button-primary {
    background-color: #FFB800;
    color: #333333;
    border: 2px solid #FFB800;
    font-weight: 700;
}

.hero-banner-button-primary:hover {
    background-color: #E6A300;
    border-color: #E6A300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.hero-banner-button-primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.hero-banner-button-secondary {
    background-color: transparent;
    color: #0F557D;
    border: 2px solid #0F557D;
}

.hero-banner-button-secondary:hover {
    background-color: #0F557D;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-banner-button-secondary:active {
    transform: translateY(0);
}

/* White Button */
.hero-banner-button-white {
    background-color: #ffffff;
    color: #0F557D;
    border: 2px solid #ffffff;
}

.hero-banner-button-white:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.hero-banner-button-white:active {
    transform: translateY(0);
}

/* Outline Button */
.hero-banner-button-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.hero-banner-button-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-banner-button-outline:active {
    transform: translateY(0);
}

/* Transparent Button */
.hero-banner-button-transparent {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid transparent;
    text-decoration: underline;
}

.hero-banner-button-transparent:hover {
    color: #f0f0f0;
    transform: translateY(-2px);
}

.hero-banner-button-transparent:active {
    transform: translateY(0);
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .hero-banner-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 40px;
    }

    .hero-banner-wrapper[data-icon-alignment="left"] {
        flex-direction: column;
    }

    .hero-banner-content {
        gap: 20px;
    }

    .hero-banner-heading {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-banner-subheading {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-banner-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .hero-banner-icon {
        min-width: auto;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-banner-icon img {
        max-width: 100%;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .hero-banner-wrapper {
        min-height: auto;
        padding: 24px 16px;
        gap: 20px;
    }

    .hero-banner-content {
        gap: 16px;
        padding: 0;
    }

    .hero-banner-heading {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-banner-label {
        font-size: 12px;
    }

    .hero-banner-subheading {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-banner-button-wrapper {
        flex-direction: column;
    }

    .hero-banner-button {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
    }

    .hero-banner-icon {
        min-width: auto;
        width: 100%;
        max-width: 150px;
        margin: 10px auto 0;
    }

    .hero-banner-icon img {
        max-width: 100%;
    }
}

/* Accessibility */
.hero-banner-button:focus-visible {
    outline: 2px solid #FFB800;
    outline-offset: 2px;
}

.hero-banner-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hero-banner-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Dark background variant support */
.hero-banner-wrapper {
    box-sizing: border-box;
}

/* Ensure text selection is visible */
.hero-banner-text-content {
    user-select: text;
}

/* Ou2s Hero Banner — WYSIWYG description links (overridable in Elementor: Style → Description Links) */
.elementor-widget-xclean_hero_banner .hero01__header__right .hero__desc a {
    color: var(--blue-900-main, #13496a);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.elementor-widget-xclean_hero_banner .hero01__header__right .hero__desc a:hover,
.elementor-widget-xclean_hero_banner .hero01__header__right .hero__desc a:focus-visible {
    color: #0e3b57;
}

.elementor-widget-xclean_hero_banner .hero-banner-wrapper.theme-interactive .hero01__header__right .hero__desc a {
    color: var(--Blue-100, #e8f4fc);
}

.elementor-widget-xclean_hero_banner .hero-banner-wrapper.theme-interactive .hero01__header__right .hero__desc a:hover,
.elementor-widget-xclean_hero_banner .hero-banner-wrapper.theme-interactive .hero01__header__right .hero__desc a:focus-visible {
    color: #ffffff;
}
