/**
 * Date Slider Styles
 */

.ps-dateslider-container {
    width: 100%;
    margin: 0 auto 2rem;
    position: relative;
    max-width: 1440px;
}

.ps-dateslider-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    padding-bottom: 28.125%; /* 1440:405 ratio */
}

@media (max-width: 767px) {
    .ps-dateslider-wrapper {
        padding-bottom: 120%; /* 1000:1200 ratio */
    }
}

.ps-dateslider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ps-dateslider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.ps-dateslider-slide.active {
    opacity: 1;
    z-index: 1;
}

.ps-dateslider-link {
    display: block;
    width: 100%;
    height: 100%;
}

.ps-dateslider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-dateslider-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #fff;
    pointer-events: none;
    z-index: 2;
}

.ps-dateslider-content .container {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.ps-dateslider-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ps-dateslider-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.ps-dateslider-description p {
    margin-bottom: 0.5rem;
}

.ps-dateslider-description p:last-child {
    margin-bottom: 0;
}

/* Navigation */
.ps-dateslider-prev,
.ps-dateslider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.ps-dateslider-prev:hover,
.ps-dateslider-next:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.ps-dateslider-prev {
    left: 1.5rem;
}

.ps-dateslider-next {
    right: 1.5rem;
}

.ps-dateslider-prev svg,
.ps-dateslider-next svg {
    color: #333;
    width: 28px;
    height: 28px;
}

/* Dots */
.ps-dateslider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100;
}

.ps-dateslider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ps-dateslider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.ps-dateslider-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 991px) {
    .ps-dateslider-title {
        font-size: 2rem;
    }
    .ps-dateslider-description {
        font-size: 1rem;
    }
    .ps-dateslider-content .container {
        padding: 1.5rem;
    }
    .ps-dateslider-prev, .ps-dateslider-next {
        width: 48px;
        height: 48px;
    }
    .ps-dateslider-prev {
        left: 1rem;
    }
    .ps-dateslider-next {
        right: 1rem;
    }
    .ps-dateslider-prev svg, .ps-dateslider-next svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 767px) {
    .ps-dateslider-title {
        font-size: 1.5rem;
    }
    .ps-dateslider-description {
        font-size: 0.9rem;
    }
    .ps-dateslider-content {
        padding: 1rem;
    }
    .ps-dateslider-content .container {
        padding: 1rem;
    }
    .ps-dateslider-prev, .ps-dateslider-next {
        width: 44px;
        height: 44px;
    }
    .ps-dateslider-prev {
        left: 0.75rem;
    }
    .ps-dateslider-next {
        right: 0.75rem;
    }
    .ps-dateslider-prev svg, .ps-dateslider-next svg {
        width: 22px;
        height: 22px;
    }
    .ps-dateslider-dots {
        bottom: 1rem;
    }
    .ps-dateslider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 575px) {
    .ps-dateslider-title {
        font-size: 1.25rem;
    }
    .ps-dateslider-description {
        font-size: 0.85rem;
    }
    .ps-dateslider-prev, .ps-dateslider-next {
        width: 40px;
        height: 40px;
    }
    .ps-dateslider-prev {
        left: 0.5rem;
    }
    .ps-dateslider-next {
        right: 0.5rem;
    }
    .ps-dateslider-prev svg, .ps-dateslider-next svg {
        width: 20px;
        height: 20px;
    }
}
