/* FUL Staff News Slider Style */

.ful-slider-container {
    position: relative;
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.ful-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.ful-slider-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.ful-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-end;
}

.ful-slider-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Background image handling */
.ful-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 1;
}

/* Dark gradient overlay for typography readability */
.ful-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
}

/* Modern glassmorphic caption card */
.ful-slider-content-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 650px;
    margin: 0 0 50px 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, opacity 0.6s ease 0.2s;
}

.ful-slider-slide.active .ful-slider-content-card {
    transform: translateY(0);
    opacity: 1;
}

.ful-slider-title {
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ful-slider-caption {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Premium Button Styling */
.ful-slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0056b3; /* Primary theme color */
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.ful-slider-btn:hover {
    background: #004094;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.ful-slider-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.ful-slider-btn:hover .ful-slider-arrow {
    transform: translateX(4px);
}

/* Left & Right Navigation Arrows */
.ful-slider-prev,
.ful-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    outline: none;
    padding: 0;
}

.ful-slider-prev {
    left: 20px;
}

.ful-slider-next {
    right: 20px;
}

.ful-slider-prev:hover,
.ful-slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.ful-slider-prev svg,
.ful-slider-next svg {
    pointer-events: none;
}

/* Dot pagination indicators */
.ful-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.ful-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
    outline: none;
}

.ful-slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.ful-slider-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ful-slider-container {
        height: 380px !important;
    }

    .ful-slider-content-card {
        margin: 0 20px 40px 20px;
        padding: 20px;
    }
    
    .ful-slider-title {
        font-size: 22px;
    }
    
    .ful-slider-caption {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .ful-slider-prev,
    .ful-slider-next {
        display: none; /* Hide arrows on touch screens */
    }
}
