/* ==========================================================================
   Hero Page Slider Widget Styles
   ========================================================================== */

/* Page Slider Layout */
.swiper-page-slider {
    width: 100%;
    height: 100vh;
    position: relative;
}

.swiper-page-slider .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.swiper-page-slider .post-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 40px;
    z-index: 10;
}

.swiper-page-slider .content-main {
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

.swiper-page-slider .content-left {
    flex: 1;
    border-right: 2px solid var(--golf-color-white);
    padding-right: 40px;
    margin-right: 40px;
}

.swiper-page-slider .content-right {
    flex: 2;
    padding-left: 20px;
}

.swiper-page-slider .post-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.swiper-page-slider .post-title a {
    color: white;
    text-decoration: none;
}

.swiper-page-slider .post-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.swiper-page-slider .cta-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-page-slider .cta-button:hover {
    background-color: var(--golf-color-red-hover);
}

/* Page-specific styles */
.swiper-page-slider .page-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 10px;
    font-weight: 300;
}

.swiper-page-slider .page-meta {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

/* Navigation and Pagination */
.swiper-page-slider .swiper-button-next,
.swiper-page-slider .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.swiper-page-slider .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-page-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--golf-color-red);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .swiper-page-slider .post-content-overlay {
        margin: 0 20px;
        bottom: 20px;
        padding: 20px;
    }
    
    .swiper-page-slider .content-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .swiper-page-slider .content-left {
        padding: 0;
        border-right: none;
        border-bottom: 2px solid var(--golf-color-white);
        padding-bottom: 15px;
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .swiper-page-slider .content-right {
        padding: 0;
        width: 100%;
    }
    
    .swiper-page-slider .post-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .swiper-page-slider .post-excerpt {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .swiper-page-slider .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
