/* ==========================================================================
   Hero Slider Widget Styles
   ========================================================================== */

/* Basic Swiper Slider Styles */
.swiper-posts-slider .swiper {
    width: 100%;
    height: 100%;
}

.swiper-posts-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: var(--golf-color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.swiper-posts-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Slider Specific Styles */
.swiper-posts-slider .swiper-container {
    position: relative;
    overflow: hidden;
}

.swiper-posts-slider .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.swiper-posts-slider .slide-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.swiper-posts-slider .slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.swiper-posts-slider .slide-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--golf-color-red);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.swiper-posts-slider .slide-button:hover {
    background-color: var(--golf-color-red-hover);
}

/* Swiper Navigation */
.swiper-posts-slider .swiper-button-next,
.swiper-posts-slider .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.swiper-posts-slider .swiper-button-next:hover,
.swiper-posts-slider .swiper-button-prev:hover {
    background: rgba(0,0,0,0.6);
}

/* Swiper Pagination */
.swiper-posts-slider .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-posts-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--golf-color-red);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .swiper-posts-slider .slide-title {
        font-size: 2rem;
    }
    
    .swiper-posts-slider .slide-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .swiper-posts-slider .slide-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .swiper-posts-slider .swiper-button-next,
    .swiper-posts-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}
