/* Photo Slider Section - Mobile First */
.photo-slider-section {
    width: 100%;
    position: relative;
    padding-top: 30px;
    border-bottom: 2px solid var(--border-color);
}

/* Main Slider */
.main-slider {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide Overlay */
/* .slide-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 0;
    background-color: #fff;
    padding: 30px 20px;    
    width: 270px;
    height: 155px;
} */
.slide-overlay-forcap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 30px 20px;    
    width: 100%;
    height: 55px;
}

.slide-content {
    max-width: 600px;
}

.slide-title {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 25px;
    line-height: 1.2;
    color: #1D1D1D;
    margin-bottom: 8px;
}

.slide-date {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #686868;

}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
    background: #fff;
}

.slider-arrow svg {
    color: #333;
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

/* Thumbnail Navigation - Mobile First */
.thumbnail-nav {
    width: 100%;
    padding: 20px 10px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.thumbnail-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.thumbnail-wrapper {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

.thumbnail {
    min-width: 120px;
    height: 120px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #333;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 10px 8px;
}

.thumb-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Thumbnail Arrows */
.thumb-arrow {
    background: #333;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.thumb-arrow:hover {
    background: #555;
}

.thumb-arrow svg {
    color: #fff;
}

/* Pagination Counter */
.pagination-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 3px;
}

.current-slide {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .main-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-overlay {
        padding: 10px;
    }
    
    .slide-title {
        font-size: 18px;
    }
    
    .slide-date {
        font-size: 16px;
    }
    
    .slider-arrow {
        width: 60px;
        height: 60px;
    }
    
    .prev-arrow {
        left: 20px;
    }
    
    .next-arrow {
        right: 20px;
    }
    
    .thumbnail-nav {
        padding: 30px 20px;
        gap: 15px;
    }
    
    .thumbnail {
        min-width: 150px;
        height: 150px;
    }
    
    .thumb-title {
        font-size: 12px;
    }
    
    .thumb-arrow {
        width: 40px;
        height: 40px;
    }
    
    .pagination-counter {
        bottom: 30px;
        right: 30px;
        padding: 10px 20px;
    }
    
    .current-slide {
        font-size: 22px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .main-slider {
        height: 80vh;
        min-height: 600px;
    }
    
    .slide-overlay {
        padding: 10px;
    }
    
    .slide-title {
        font-size: 25px;
    }
    
    .slide-content {
        max-width: 800px;
    }
    
    .slider-arrow {
        width: 70px;
        height: 70px;
    }
    
    .prev-arrow {
        left: 30px;
    }
    
    .next-arrow {
        right: 30px;
    }
    
    .thumbnail-nav {
        padding: 40px 60px;
        gap: 20px;
    }
    
    .thumbnail {
        min-width: 180px;
        height: 180px;
    }
    
    .thumb-title {
        font-size: 17px;
        padding: 12px 10px;
    }
    
    .thumb-arrow {
        width: 45px;
        height: 45px;
    }
}
