/**
 * Standard Banner Styles
 * 
 * This file contains styles for the standard horizontal banner layout.
 * Features an offset overlay effect and consistent styling with other components.
 */

.standard-banner-container {
    position: relative;
    width: 85vw;
    height: 600px;
    overflow: visible;
    margin-bottom: 60px;
    margin-left: 15vw;
}

/* Add overflow-x hidden to prevent horizontal scroll */
body {
    overflow-x: hidden;
}

.standard-banner-container .swiper-wrapper {
    display: flex;
    justify-content: flex-end;
}

.standard-banner-slide {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.standard-banner-overlay {
    position: absolute;
    top: 50px;
    left: -50px;
    width: calc(100% + 50px);
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Hide navigation arrows */
.standard-banner-container .swiper-button-next,
.standard-banner-container .swiper-button-prev {
    display: none;
}

/* Enhanced pagination styles */
.standard-banner-container .swiper-pagination {
    bottom: -40px;
}

.standard-banner-container .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 2px solid rgba(0, 0, 0, 0.7);
    opacity: 1;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.standard-banner-container .swiper-pagination-bullet-active {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.2);
}

.standard-banner-content {
    position: absolute;
    bottom: 80px;
    left: 40px; /* Adjusted from 50% */
    transform: none; /* Removed translateX */
    width: calc(100% - 80px); /* Adjusted for padding */
    max-width: var(--container-width, 1200px);
    padding: 0 40px;
    color: #fff;
    z-index: 2;
}

.standard-banner-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 20px;
}

.standard-banner-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #fff;
}

/* Update title underline */
.standard-banner-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Changed from 200vw to prevent scroll issues */
    height: 2px; /* Increased from 1px */
    background: #fff; /* Changed from rgba(255, 255, 255, 0.3) to solid white */
}

.standard-banner-excerpt {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #fff;
    line-height: 1.6;
    max-width: 700px; /* Added max-width constraint */
}

/* Style similar to isotope-read-more */
.standard-banner-btn {
    display: block;
    width: fit-content;
    color: #fff;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 30px; /* Space for arrow */
}

.standard-banner-btn:after {
    content: '→';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.standard-banner-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.standard-banner-btn:hover:after {
    transform: translate(5px, -50%);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .standard-banner-container {
        width: 90vw;
        margin-left: 10vw;
        height: 500px;
    }
    
    .standard-banner-overlay {
        top: 35px;
        left: -35px;
        width: calc(100% + 35px);
    }
    
    .standard-banner-content {
        left: 30px;
        width: calc(100% - 60px);
        padding: 0 30px;
    }
    
    .standard-banner-title {
        font-size: 2.5rem;
    }
    
    .standard-banner-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .standard-banner-container {
        width: 95vw;
        margin-left: 5vw;
        height: 400px;
    }
    
    .standard-banner-overlay {
        top: 25px;
        left: -25px;
        width: calc(100% + 25px);
    }
    
    .standard-banner-content {
        left: 20px;
        width: calc(100% - 40px);
        padding: 0 20px;
    }
    
    .standard-banner-title {
        font-size: 2rem;
        padding-bottom: 15px;
    }
    
    .standard-banner-excerpt {
        font-size: 0.9rem;
    }
} 