/* AlloDentiste Banner Widget Styles */

.allo-banner-widget {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #e8f7f8 0%, #f0fafb 40%, #f9f4ef 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.allo-banner-widget .banner-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 var(--allo-gutter);
}

.allo-banner-widget .banner-content {
    flex: 1;
    z-index: 2;
}

.allo-banner-widget .banner-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1A1A1A;
    margin: 0 0 20px;
}

.allo-banner-widget .banner-breadcrumb {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 4px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: #888888;
    letter-spacing: 0.01em;
}

.allo-banner-widget .banner-breadcrumb a {
    color: #888888;
    text-decoration: none;
    transition: color 0.25s ease;
}

.allo-banner-widget .banner-breadcrumb a:hover {
    color: #00A1AD;
}

.allo-banner-widget .breadcrumb-home-link {
    display: flex;
    align-items: center;
    align-self: center;
    line-height: 1;
}

.allo-banner-widget .breadcrumb-home-icon {
    display: block;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

/* Current page (last span) */
.allo-banner-widget .banner-breadcrumb > span:last-of-type {
    color: #1A1A1A;
    font-weight: 500;
}

.allo-banner-widget .breadcrumb-separator {
    color: #bbbbbb;
    margin: 0 2px;
    font-size: 13px;
    flex-shrink: 0;
}

.allo-banner-widget .banner-image {
    flex: 0 0 auto;
    max-width: 50%;
    z-index: 2;
}

.allo-banner-widget .banner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .allo-banner-widget .banner-title {
        font-size: 40px;
    }
    
    .allo-banner-widget .banner-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .allo-banner-widget {
        min-height: 180px !important;
    }
    
    .allo-banner-widget .banner-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }
    
    .allo-banner-widget .banner-content {
        text-align: left;
    }
    
    .allo-banner-widget .banner-title {
        font-size: 32px;
    }
    
    .allo-banner-widget .banner-breadcrumb {
        justify-content: flex-start;
        flex-wrap: wrap;
        font-size: 13px;
        line-height: 1.2;
        gap: 2px 4px;
    }
    
    .allo-banner-widget .banner-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .allo-banner-widget {
        min-height: 150px !important;
    }

    .allo-banner-widget .banner-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .allo-banner-widget .banner-breadcrumb {
        font-size: 12px;
        line-height: 1.2;
    }
}

/* Alignment Variations */
.allo-banner-widget .banner-content[style*="text-align: center"] .banner-breadcrumb {
    justify-content: center;
}

/* Background Overlay Support */
.allo-banner-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* No overlay when there's no background image */
.allo-banner-widget:not([style*="background-image"])::before {
    display: none;
}
