/* =========================================
   FF EVENTS CAROUSEL
   ========================================= */

.ffec-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #0a0a0a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 100%;
}

/* ---- Track & Slides ---- */

.ffec-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.ffec-slide {
    position: relative;
    min-width: 100%;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* ---- Background Image ---- */

.ffec-slide__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ffec-slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ---- Overlay ---- */

.ffec-slide__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

/* ---- Date Badge ---- */

.ffec-slide__date-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.ffec-badge--featured {
    background: linear-gradient(135deg, #D4A843, #F2D06B, #C8952E);
    border: none;
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.4);
}

.ffec-badge__day {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.ffec-badge__month {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

/* ---- Content ---- */

.ffec-slide__content {
    position: relative;
    z-index: 5;
    padding: 48px 56px;
    max-width: 720px;
}

.ffec-slide__featured-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #D4A843, #F2D06B);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ffec-slide__category {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    margin-left: 6px;
}

.ffec-slide__title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ---- Meta Line ---- */

.ffec-slide__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

.ffec-meta__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
}

.ffec-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* ---- Address ---- */

.ffec-slide__address {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 4px 0 12px 0;
}

/* ---- Recurring Tag ---- */

.ffec-slide__recurring {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-style: italic;
    margin-bottom: 16px;
}

/* ---- CTA Button ---- */

.ffec-slide__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, #D4A843, #F2D06B, #C8952E);
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.ffec-slide__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.5);
    color: #1a1a1a;
    text-decoration: none;
}

.ffec-cta-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.ffec-slide__cta:hover .ffec-cta-arrow {
    transform: translateX(4px);
}

/* ---- Navigation Arrows ---- */

.ffec-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ffec-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.ffec-nav svg {
    width: 22px;
    height: 22px;
}

.ffec-nav--prev {
    left: 20px;
}

.ffec-nav--next {
    right: 20px;
}

/* ---- Dots ---- */

.ffec-dots {
    position: absolute;
    bottom: 20px;
    right: 24px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

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

.ffec-dot--active {
    background: #D4A843;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(212, 168, 67, 0.5);
}

.ffec-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ---- Pause Button ---- */

.ffec-pause {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.ffec-pause:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ffec-pause svg {
    width: 14px;
    height: 14px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .ffec-slide__content {
        padding: 36px 32px;
    }

    .ffec-slide__title {
        font-size: 28px;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {

    /* Hide address + recurring on mobile */
    .ffec-mobile-hide {
        display: none !important;
    }

    .ffec-carousel {
        border-radius: 10px;
    }

    .ffec-slide {
        min-height: 360px !important;
    }

    /* Lighter overlay — let the image breathe */
    .ffec-slide__overlay {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.45) 35%,
            rgba(0, 0, 0, 0.08) 60%,
            transparent 100%
        );
    }

    .ffec-slide__content {
        padding: 18px 16px 52px 16px;
        max-width: 100%;
    }

    /* Tags — smaller, tighter */
    .ffec-slide__featured-tag {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 6px;
    }

    .ffec-slide__category {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 6px;
        margin-left: 4px;
    }

    /* Title — compact */
    .ffec-slide__title {
        font-size: 20px;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    /* Meta — single row */
    .ffec-slide__meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 4px;
    }

    .ffec-meta__item {
        font-size: 12px;
        gap: 4px;
    }

    .ffec-icon {
        width: 14px;
        height: 14px;
    }

    /* Date badge — smaller */
    .ffec-slide__date-badge {
        width: 52px;
        height: 52px;
        top: 12px;
        right: 12px;
        border-radius: 10px;
    }

    .ffec-badge__day {
        font-size: 20px;
    }

    .ffec-badge__month {
        font-size: 9px;
        letter-spacing: 1px;
    }

    /* Nav arrows — move up into image area */
    .ffec-nav {
        width: 34px;
        height: 34px;
        top: 40%;
    }

    .ffec-nav svg {
        width: 16px;
        height: 16px;
    }

    .ffec-nav--prev {
        left: 8px;
    }

    .ffec-nav--next {
        right: 8px;
    }

    /* CTA — compact full width */
    .ffec-slide__cta {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    /* Dots — smaller */
    .ffec-dots {
        bottom: 14px;
        right: 16px;
        gap: 5px;
    }

    .ffec-dot {
        width: 7px;
        height: 7px;
    }

    /* Pause — smaller */
    .ffec-pause {
        bottom: 12px;
        left: 14px;
        width: 28px;
        height: 28px;
    }

    .ffec-pause svg {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .ffec-slide {
        min-height: 320px !important;
    }

    .ffec-slide__content {
        padding: 14px 14px 48px 14px;
    }

    .ffec-slide__title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .ffec-meta__item {
        font-size: 11px;
    }

    .ffec-slide__date-badge {
        width: 46px;
        height: 46px;
        top: 10px;
        right: 10px;
        border-radius: 8px;
    }

    .ffec-badge__day {
        font-size: 18px;
    }

    .ffec-badge__month {
        font-size: 8px;
    }

    .ffec-slide__cta {
        padding: 9px 16px;
        font-size: 12px;
    }

    .ffec-nav {
        width: 30px;
        height: 30px;
        top: 35%;
    }

    .ffec-nav svg {
        width: 14px;
        height: 14px;
    }

    .ffec-nav--prev {
        left: 6px;
    }

    .ffec-nav--next {
        right: 6px;
    }
}