/* ==========================================================================
   FunYub Modern Event & Activity Discovery Stylesheet
   Goal: High-usability event finding for All Ages (Kids, Teens, Adults 18+ & Seniors 55+)
   ========================================================================== */

:root {
    --fy-indigo-dark: #1E1B4B;
    --fy-indigo: #312E81;
    --fy-primary: #4F46E5;
    --fy-primary-light: #EEF2FF;
    --fy-coral: #F97316;
    --fy-coral-dark: #EA580C;
    --fy-coral-soft: #FFF7ED;
    --fy-rose: #E11D48;
    --fy-emerald: #059669;
    --fy-amber: #D97706;
    --fy-slate-900: #0F172A;
    --fy-slate-700: #334155;
    --fy-slate-600: #475569;
    --fy-slate-500: #64748B;
    --fy-slate-200: #E2E8F0;
    --fy-slate-100: #F1F5F9;
    --fy-bg-soft: #F8FAFC;
    --fy-radius-lg: 18px;
    --fy-radius-md: 14px;
    --fy-radius-sm: 10px;
    --fy-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
    --fy-shadow-md: 0 10px 28px rgba(15, 23, 42, 0.09);
    --fy-shadow-lg: 0 20px 44px rgba(15, 23, 42, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--fy-slate-900);
    background-color: var(--fy-bg-soft);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
}

section,
.HomePageWrapper,
.SearchActivityPageWrapper,
.ActivityDetailsPageWrapper {
    margin-top: 0 !important;
}

main.content {
    padding-top: 76px;
    background-color: var(--fy-bg-soft);
}

/* ==========================================================================
   1. HEADER & NAVBAR
   ========================================================================== */

.fy-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.fy-navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(226, 232, 240, 0.9), 0 4px 18px rgba(15, 23, 42, 0.05) !important;
    padding: 0.55rem 1rem !important;
    min-height: 76px;
}

.fy-logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.fy-brand-link:hover .fy-logo-img {
    transform: translateY(-1px);
}

.fy-navbar .navbar-nav .nav-item {
    height: auto !important;
    margin-right: 0.2rem !important;
    border-radius: 999px !important;
    background: transparent !important;
}

.fy-navbar .navbar-nav .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    color: var(--fy-slate-700) !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 999px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.fy-navbar .navbar-nav .nav-item:hover .nav-link,
.fy-navbar .navbar-nav .nav-item.current .nav-link {
    color: var(--fy-primary) !important;
    background-color: var(--fy-primary-light) !important;
}

.fy-nav-pill-adult {
    color: #BE123C !important;
    background: #FFE4E6 !important;
}

.fy-nav-pill-adult:hover {
    background: #FECDD3 !important;
    color: #9F1239 !important;
}

.fy-nav-pill-senior {
    color: #047857 !important;
    background: #D1FAE5 !important;
}

.fy-nav-pill-senior:hover {
    background: #A7F3D0 !important;
    color: #065F46 !important;
}

.fy-saved-btn {
    border: 1.5px solid var(--fy-slate-200);
    background: #ffffff;
    color: var(--fy-slate-700);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.88rem !important;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.fy-saved-btn:hover {
    border-color: var(--fy-rose);
    color: var(--fy-rose);
    background: #FFF1F2;
}

.fy-saved-count {
    background: var(--fy-rose);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    line-height: 1.2;
}

.fy-nav-cta-btn {
    background: linear-gradient(135deg, var(--fy-coral) 0%, var(--fy-rose) 100%);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.88rem !important;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    border: none;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.28);
    transition: all 0.2s ease;
}

.fy-nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.38);
    color: #ffffff !important;
}

/* ==========================================================================
   2. HERO SECTION & MULTI-AGE EVENT FINDER BAR
   ========================================================================== */

.fy-hero {
    position: relative;
    padding: 4.25rem 0 4.75rem;
    background-color: var(--fy-indigo-dark);
    overflow: visible;
}

.fy-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.36;
}

.fy-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.93) 0%, rgba(49, 46, 129, 0.84) 52%, rgba(124, 58, 237, 0.78) 100%);
}

.fy-hero-container {
    z-index: 2;
}

.fy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 1.05rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #FEF3C7;
    font-size: 0.84rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.fy-hero-title {
    color: #ffffff;
    font-size: clamp(2.1rem, 4.4vw, 3.45rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.fy-hero-highlight {
    background: linear-gradient(90deg, #FDE047 0%, #FB923C 55%, #F472B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fy-hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.55vw, 1.18rem);
    max-width: 780px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Quick Audience Switcher Pills above Search Box */
.fy-audience-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}

.fy-audience-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 0.86rem !important;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    cursor: pointer;
}

.fy-audience-tab:hover,
.fy-audience-tab.active {
    background: #ffffff;
    color: var(--fy-indigo-dark) !important;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.fy-search-box {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.5rem 1.65rem;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.fy-search-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fy-slate-600);
    margin-bottom: 0.4rem;
}

.fy-search-input {
    height: 50px;
    border-radius: 12px !important;
    border: 1.5px solid var(--fy-slate-200) !important;
    background-color: var(--fy-bg-soft) !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 500;
    color: var(--fy-slate-900) !important;
    transition: all 0.2s ease;
}

.fy-search-input:focus,
.fy-search-input:hover {
    border-color: var(--fy-primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
    outline: none;
}

.fy-btn-search {
    height: 50px;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--fy-coral) 0%, var(--fy-rose) 100%) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
    transition: all 0.2s ease;
}

.fy-btn-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.42);
    color: #ffffff !important;
}

/* Fix Bootstrap Dropdown positioning */
.fy-homepage .dropdown .dropdown-menu,
.fy-explore-page .dropdown .dropdown-menu,
.fy-dropdown-menu,
.fy-dropdown-panel {
    left: 0 !important;
    transform: none !important;
    top: calc(100% + 6px) !important;
    min-width: 330px !important;
    max-height: 370px !important;
    overflow-y: auto !important;
    border-radius: 16px !important;
    border: 1px solid var(--fy-slate-200) !important;
    box-shadow: var(--fy-shadow-lg) !important;
    padding: 0.65rem !important;
    z-index: 1060 !important;
}

.fy-homepage .dropdown .dropdown-menu .age-cont,
.fy-explore-page .dropdown .dropdown-menu .age-cont {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.fy-age-item {
    width: 100% !important;
    height: auto !important;
    justify-content: flex-start !important;
    padding: 0.4rem 0.6rem !important;
    border-radius: 8px;
    font-size: 0.86rem !important;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.fy-age-item:hover {
    background-color: var(--fy-primary-light) !important;
}

.fy-age-item-highlight {
    grid-column: span 3;
    background: #F8FAFC;
    border: 1px solid var(--fy-slate-200);
    font-weight: 700 !important;
    padding: 0.5rem 0.75rem !important;
}

.fy-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background-color: var(--fy-slate-100);
    color: var(--fy-slate-700) !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fy-chip:hover {
    background-color: var(--fy-primary-light);
    color: var(--fy-primary) !important;
    transform: translateY(-1px);
}

.fy-chip-adult {
    background-color: #FFE4E6;
    color: #BE123C !important;
}

.fy-chip-senior {
    background-color: #D1FAE5;
    color: #047857 !important;
}

.fy-chip-weekend {
    background-color: #FEF3C7;
    color: #B45309 !important;
}

/* ==========================================================================
   3. TRUST BAR & SECTIONS
   ========================================================================== */

.fy-trust-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--fy-slate-200);
    padding: 1.65rem 0;
}

.fy-stat-item {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.fy-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.fy-stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--fy-indigo-dark);
    line-height: 1.2;
}

.fy-stat-label {
    font-size: 0.84rem;
    color: var(--fy-slate-500);
    font-weight: 500;
}

.fy-section {
    padding: 4.25rem 0;
}

.fy-section-alt {
    background-color: #F1F5F9;
}

.fy-section-warm {
    background: linear-gradient(180deg, #FFF7ED 0%, #FFFFFF 100%);
}

.fy-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fy-primary);
    margin-bottom: 0.35rem;
}

.fy-section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 800;
    color: var(--fy-indigo-dark);
}

.fy-section-desc {
    color: var(--fy-slate-600);
    font-size: 1rem;
}

/* ==========================================================================
   4. LIFE STAGE / AGE GROUP CARDS (KIDS, TEENS, ADULTS 18+, SENIORS 55+)
   ========================================================================== */

.fy-age-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: var(--fy-radius-lg);
    overflow: hidden;
    border: 1px solid var(--fy-slate-200);
    box-shadow: var(--fy-shadow-sm);
    transition: all 0.25s ease;
}

.fy-age-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fy-shadow-md);
    border-color: var(--fy-primary);
}

.fy-age-card-img-wrap {
    position: relative;
    height: 205px;
    overflow: hidden;
}

.fy-age-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.fy-age-card:hover .fy-age-card-img-wrap img {
    transform: scale(1.06);
}

.fy-age-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.badge-kids { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.badge-teens { background: linear-gradient(135deg, #6366F1 0%, #7C3AED 100%); }
.badge-adults { background: linear-gradient(135deg, #F97316 0%, #E11D48 100%); }
.badge-seniors { background: linear-gradient(135deg, #10B981 0%, #047857 100%); }

.fy-age-card-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fy-age-card-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--fy-indigo-dark);
    margin-bottom: 0.45rem;
}

.fy-age-card-body p {
    font-size: 0.9rem;
    color: var(--fy-slate-600);
    line-height: 1.55;
    margin-bottom: 0.9rem;
    flex-grow: 1;
}

.fy-age-subtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.fy-age-subtag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: var(--fy-slate-100);
    color: var(--fy-slate-700);
}

.fy-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fy-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   5. CATEGORY CARDS
   ========================================================================== */

.fy-category-card {
    position: relative;
    display: block;
    height: 295px;
    border-radius: var(--fy-radius-lg);
    overflow: hidden;
    box-shadow: var(--fy-shadow-sm);
}

.fy-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.fy-category-card:hover img {
    transform: scale(1.07);
}

.fy-category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #ffffff;
}

.cat-festival { background: linear-gradient(180deg, rgba(30, 27, 75, 0.08) 15%, rgba(159, 18, 57, 0.92) 100%); }
.cat-music { background: linear-gradient(180deg, rgba(30, 27, 75, 0.08) 15%, rgba(49, 46, 129, 0.94) 100%); }
.cat-fitness { background: linear-gradient(180deg, rgba(6, 78, 59, 0.08) 15%, rgba(4, 120, 87, 0.92) 100%); }
.cat-workshop { background: linear-gradient(180deg, rgba(124, 45, 18, 0.08) 15%, rgba(194, 65, 12, 0.92) 100%); }

.fy-cat-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.fy-category-overlay h3 {
    font-size: 1.32rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.fy-category-overlay p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.fy-cat-btn {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FDE047;
}

/* ==========================================================================
   6. EVENT CARDS & AGE PILLS
   ========================================================================== */

.fy-event-card {
    background: #ffffff;
    border-radius: var(--fy-radius-md);
    border: 1px solid var(--fy-slate-200);
    padding: 1.15rem;
    box-shadow: var(--fy-shadow-sm);
    transition: all 0.2s ease;
    position: relative;
}

.fy-event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--fy-shadow-md);
    border-color: var(--fy-primary);
}

.fy-date-badge {
    width: 80px;
    background: linear-gradient(160deg, var(--fy-indigo-dark) 0%, var(--fy-primary) 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 0.55rem 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}

.fy-date-start,
.fy-date-end {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.fy-date-sep {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 1px 0;
}

.fy-date-more {
    margin-top: 4px;
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.22);
    padding: 1px 6px;
    border-radius: 999px;
    font-weight: 600;
}

.fy-event-title {
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--fy-indigo-dark);
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fy-age-pill-senior {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: #D1FAE5;
    color: #065F46;
    font-size: 0.75rem;
    font-weight: 700;
}

.fy-age-pill-adult {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: #FFE4E6;
    color: #9F1239;
    font-size: 0.75rem;
    font-weight: 700;
}

.fy-age-pill-teen {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: #EDE9FE;
    color: #5B21B6;
    font-size: 0.75rem;
    font-weight: 700;
}

.fy-age-pill-kids,
.fy-age-pill-family {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.75rem;
    font-weight: 700;
}

.fy-meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 6px;
    background-color: var(--fy-slate-100);
    color: var(--fy-slate-700);
    font-size: 0.76rem;
    font-weight: 600;
}

.fy-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.fy-status-open {
    background-color: #DCFCE7;
    color: #15803D;
}

.fy-status-other {
    background-color: #FEF3C7;
    color: #B45309;
}

.fy-bookmark-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--fy-slate-200);
    background: #ffffff;
    color: var(--fy-slate-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.18s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.fy-bookmark-btn:hover,
.fy-bookmark-btn.saved {
    background: #FFF1F2;
    border-color: #FECDD3;
    color: var(--fy-rose);
}

/* ==========================================================================
   7. EXPLORE / SEARCH PAGE
   ========================================================================== */

.fy-explore-hero {
    background: linear-gradient(135deg, var(--fy-indigo-dark) 0%, var(--fy-indigo) 55%, var(--fy-primary) 100%);
    padding: 2rem 0 2.35rem;
    color: #ffffff;
}

.fy-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 0.84rem !important;
    font-weight: 500;
}

.fy-breadcrumb .breadcrumb-item.active {
    color: #FDE047 !important;
    font-size: 0.84rem;
    font-weight: 600;
}

.fy-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

.fy-explore-title {
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 800;
    color: #ffffff;
}

.fy-explore-highlight {
    color: #FDE047;
}

.fy-filter-bar {
    background: #ffffff;
    border-radius: 16px;
    padding: 0.9rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
    color: var(--fy-slate-900);
}

.fy-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fy-primary);
    z-index: 2;
    pointer-events: none;
}

.fy-filter-control {
    height: 44px;
    border-radius: 10px !important;
    border: 1.5px solid var(--fy-slate-200) !important;
    background-color: var(--fy-bg-soft) !important;
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem !important;
    font-weight: 600;
    color: var(--fy-slate-700) !important;
    cursor: pointer;
    transition: all 0.18s ease;
}

.fy-filter-control:hover,
.fy-filter-control:focus,
.fy-filter-control.active {
    border-color: var(--fy-primary) !important;
    background-color: #ffffff !important;
    color: var(--fy-indigo-dark) !important;
}

.fy-btn-search-inline {
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--fy-coral) 0%, var(--fy-rose) 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    padding: 0 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.fy-btn-search-inline:hover {
    opacity: 0.95;
    color: #ffffff !important;
}

.fy-icon-btn {
    height: 44px;
    width: 44px;
    border-radius: 10px;
    border: 1.5px solid var(--fy-slate-200);
    background: var(--fy-bg-soft);
    color: var(--fy-slate-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fy-icon-btn:hover {
    background: var(--fy-primary-light);
    color: var(--fy-primary);
    border-color: var(--fy-primary);
}

.fy-active-filter-chip {
    background-color: var(--fy-primary) !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    padding: 0.3rem 0.75rem !important;
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
}

/* Override legacy Day/Time picker vw styles */
#day-time-dropdown .day-picker.dayofWeekLabel {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
    border: 1.5px solid var(--fy-primary) !important;
}

#day-time-dropdown .day-picker.weekdaysLabel {
    width: auto !important;
    height: 34px !important;
    padding: 0 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 999px !important;
}

#day-time-dropdown .day-picker.time-of-day {
    width: 132px !important;
    height: auto !important;
    padding: 0.5rem !important;
    border-radius: 10px !important;
}

#day-time-dropdown .day-picker h3 {
    font-size: 0.84rem !important;
    font-weight: 700;
}

#day-time-dropdown .day-picker p {
    font-size: 0.74rem !important;
}

.activity-types-items-list {
    max-height: 240px;
    overflow-y: auto;
    list-style: none;
}

/* ==========================================================================
   8. EVENT DETAILS PAGE
   ========================================================================== */

.fy-detail-hero {
    background: linear-gradient(135deg, var(--fy-indigo-dark) 0%, var(--fy-indigo) 58%, var(--fy-primary) 100%);
    padding: 2.5rem 0 3rem;
    color: #ffffff;
}

.fy-detail-title {
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.fy-btn-register-lg {
    background: linear-gradient(135deg, var(--fy-coral) 0%, var(--fy-rose) 100%);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem !important;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.fy-btn-register-lg:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}

.fy-btn-secondary-hero {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 600;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.fy-btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff !important;
}

.fy-quick-facts-card {
    background: #ffffff;
    color: var(--fy-slate-900);
    border-radius: var(--fy-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--fy-shadow-lg);
}

.fy-detail-card {
    background: #ffffff;
    border-radius: var(--fy-radius-lg);
    border: 1px solid var(--fy-slate-200);
    padding: 1.75rem;
    box-shadow: var(--fy-shadow-sm);
}

.fy-sessions-table thead th {
    background-color: var(--fy-slate-100);
    color: var(--fy-slate-600);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.9rem 1rem;
    border-bottom: none;
}

.fy-sessions-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--fy-slate-200);
    font-size: 0.92rem;
}

/* ==========================================================================
   9. DIRECTORY PILLS & FOOTER
   ========================================================================== */

.fy-directory-sec {
    background: linear-gradient(135deg, var(--fy-indigo-dark) 0%, var(--fy-indigo) 100%);
    padding: 4rem 0;
    color: #ffffff;
}

.fy-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fy-dir-pill {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #F1F5F9 !important;
    font-size: 0.84rem !important;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fy-dir-pill:hover {
    background: var(--fy-coral);
    border-color: var(--fy-coral);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.fy-footer {
    background: #0F0E26;
    color: #CBD5E1;
    padding: 4rem 0 2rem;
}

.fy-footer-heading {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.fy-footer-links li {
    margin-bottom: 0.55rem;
}

.fy-footer-links a {
    color: #CBD5E1 !important;
    text-decoration: none;
    font-size: 0.88rem !important;
    transition: color 0.15s ease;
}

.fy-footer-links a:hover {
    color: #FDE047 !important;
}

/* Sticky Map on Desktop */
@media (min-width: 992px) {
    .fy-explore-page .mapWrapper {
        position: sticky;
        top: 92px;
        height: calc(100vh - 115px);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--fy-shadow-md);
        border: 1px solid var(--fy-slate-200);
    }
}


/* ==========================================================================
   10. COMPLETE HERO, CARDS, FILTERS & INTERACTIVE LEAFLET MAP CLASSES
   ========================================================================== */

.fy-pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
    display: inline-block;
}

.fy-highlight {
    background: linear-gradient(135deg, #FDE047 0%, #FB923C 55%, #F43F5E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fy-audience-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fy-audience-pill:hover,
.fy-audience-pill.active {
    background: #ffffff;
    color: var(--fy-indigo-dark) !important;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.fy-hero-visual {
    position: relative;
    border-radius: 22px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06));
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.fy-hero-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.fy-hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    color: var(--fy-slate-900);
    padding: 0.65rem 0.95rem;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.8rem;
    z-index: 3;
}

.fy-hero-float-card strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--fy-indigo-dark);
    line-height: 1.2;
}

.fy-hero-float-card span {
    color: var(--fy-slate-500);
    font-size: 0.74rem;
}

.fy-float-top {
    top: -14px;
    left: -14px;
}

.fy-float-bottom {
    bottom: -14px;
    right: -14px;
}

.fy-float-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Unified Multi-Filter Event Search Card */
.fy-search-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.2rem 1.35rem;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.26);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: var(--fy-slate-900);
}

.fy-search-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.1fr auto;
    gap: 0.85rem;
    align-items: stretch;
}

@media (max-width: 991px) {
    .fy-search-grid {
        grid-template-columns: 1fr;
    }
}

.fy-search-field {
    background: var(--fy-bg-soft);
    border: 1.5px solid var(--fy-slate-200);
    border-radius: 14px;
    padding: 0.55rem 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.18s ease;
}

.fy-search-field:focus-within {
    background: #ffffff;
    border-color: var(--fy-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.fy-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fy-slate-500);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.fy-field-label i {
    color: var(--fy-primary);
}

.fy-input-clean {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 0.94rem !important;
    font-weight: 600;
    color: var(--fy-slate-900);
    width: 100%;
    padding: 0;
}

.fy-dropdown-btn {
    border: none;
    background: transparent;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.93rem !important;
    font-weight: 600;
    color: var(--fy-slate-900);
    text-align: left;
}

.fy-dropdown-btn::after {
    display: none !important;
}

.fy-age-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.fy-age-preset-btn {
    border: 1px solid var(--fy-slate-200);
    background: var(--fy-bg-soft);
    color: var(--fy-slate-700);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.76rem !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.fy-age-preset-btn:hover,
.fy-age-preset-btn.active {
    background: var(--fy-primary);
    color: #ffffff;
    border-color: var(--fy-primary);
}

.fy-age-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
    max-height: 220px;
    overflow-y: auto;
}

.fy-age-special {
    grid-column: span 2;
    background: var(--fy-primary-light);
    border-radius: 8px;
    margin-bottom: 2px;
}

.fy-city-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--fy-slate-200);
    box-shadow: var(--fy-shadow-lg);
    z-index: 1050;
    max-height: 260px;
    overflow-y: auto;
}

.fy-city-option {
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--fy-slate-900);
    cursor: pointer;
    border-bottom: 1px solid var(--fy-slate-100);
}

.fy-city-option:hover {
    background: var(--fy-primary-light);
}

.fy-city-count {
    font-size: 0.75rem;
    color: var(--fy-slate-500);
    font-weight: 500;
}

.fy-search-submit {
    background: linear-gradient(135deg, var(--fy-coral) 0%, var(--fy-rose) 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 14px;
    padding: 0.85rem 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.98rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.32);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fy-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.42);
}

.fy-quick-tags-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--fy-slate-100);
}

.fy-quick-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fy-slate-600);
    margin-right: 0.2rem;
}

.fy-quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: var(--fy-slate-100);
    color: var(--fy-slate-700) !important;
    font-size: 0.78rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.16s ease;
}

.fy-quick-chip:hover {
    background: var(--fy-primary);
    color: #ffffff !important;
}

/* Trust Bar */
.fy-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 991px) {
    .fy-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .fy-trust-grid {
        grid-template-columns: 1fr;
    }
}

.fy-trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.fy-trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.fy-trust-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--fy-indigo-dark);
    line-height: 1.2;
}

.fy-trust-label {
    font-size: 0.82rem;
    color: var(--fy-slate-500);
    font-weight: 500;
}

/* Section Headers & Buttons */
.fy-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.85rem;
}

.fy-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    border: 1.5px solid var(--fy-slate-200);
    background: #ffffff;
    color: var(--fy-indigo-dark) !important;
    font-size: 0.88rem !important;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}

.fy-btn-outline:hover {
    border-color: var(--fy-primary);
    color: var(--fy-primary) !important;
    background: var(--fy-primary-light);
}

/* Life-Stage Age Cards Grid */
.fy-age-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 991px) {
    .fy-age-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .fy-age-cards-grid {
        grid-template-columns: 1fr;
    }
}

.fy-age-card {
    position: relative;
    height: 310px;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: var(--fy-shadow-md);
}

.fy-age-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fy-age-card:hover img {
    transform: scale(1.06);
}

.fy-age-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.45) 55%, rgba(15, 23, 42, 0.1) 100%);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.fy-age-card-tag {
    align-self: flex-start;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.fy-age-card-overlay h3 {
    font-size: 1.22rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.fy-age-card-overlay p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0.65rem;
    line-height: 1.45;
}

.fy-age-card-cta {
    font-size: 0.84rem;
    font-weight: 700;
    color: #FDE047;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.fy-section-spotlight {
    background: linear-gradient(180deg, #F0FDFA 0%, #F8FAFC 100%);
    border-top: 1px solid #CCFBF1;
    border-bottom: 1px solid #E2E8F0;
}

/* Event Cards & Badges */
.fy-event-card-top {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    margin-bottom: 0.9rem;
}

.fy-date-month {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fy-rose);
    display: block;
}

.fy-date-day {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fy-indigo-dark);
    line-height: 1.1;
    display: block;
}

.fy-event-main {
    flex: 1;
    min-width: 0;
}

.fy-event-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.fy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
}

.fy-badge-senior {
    background: #D1FAE5;
    color: #065F46;
}

.fy-badge-adult {
    background: #FFE4E6;
    color: #9F1239;
}

.fy-badge-teens {
    background: #EDE9FE;
    color: #5B21B6;
}

.fy-badge-kids,
.fy-badge-all {
    background: #FEF3C7;
    color: #92400E;
}

.fy-badge-type {
    background: var(--fy-slate-100);
    color: var(--fy-slate-700);
}

.fy-badge-free {
    background: #DCFCE7;
    color: #15803D;
}

.fy-badge-price {
    background: #EEF2FF;
    color: #4338CA;
}

.fy-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.45rem;
    font-size: 0.81rem;
    color: var(--fy-slate-500);
}

.fy-event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.fy-event-meta-item i {
    color: var(--fy-rose);
}

.fy-event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--fy-slate-100);
    margin-top: auto;
}

.fy-card-cta {
    font-size: 0.85rem !important;
    font-weight: 700;
    color: var(--fy-primary) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.fy-card-cta:hover {
    color: var(--fy-rose) !important;
}

.fy-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Category Cards Grid */
.fy-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 991px) {
    .fy-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .fy-cat-grid {
        grid-template-columns: 1fr;
    }
}

.fy-cat-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--fy-slate-200);
    box-shadow: var(--fy-shadow-sm);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
}

.fy-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fy-shadow-md);
}

.fy-cat-img-wrap {
    position: relative;
    height: 185px;
    overflow: hidden;
}

.fy-cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.fy-cat-card:hover .fy-cat-img-wrap img {
    transform: scale(1.05);
}

.fy-cat-floating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.fy-cat-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fy-cat-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--fy-indigo-dark);
    margin-bottom: 0.4rem;
}

.fy-cat-body p {
    font-size: 0.84rem;
    color: var(--fy-slate-600);
    margin-bottom: 0.85rem;
    flex: 1;
}

.fy-cat-link {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--fy-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Sister Platform Callout Card */
.fy-sister-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.fy-sister-card h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.fy-sister-card p {
    color: #CBD5E1;
    margin-bottom: 0;
    max-width: 640px;
    font-size: 0.92rem;
}

.fy-sister-btn {
    background: #38BDF8;
    color: #0F172A !important;
    font-weight: 800;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}

.fy-dir-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

/* Explore Page Filter Chips & Interactive Leaflet Map */
.fy-results-count {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.86rem;
}

.fy-type-list {
    max-height: 240px;
    overflow-y: auto;
}

.fy-applied-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.fy-applied-chip {
    background: #ffffff;
    color: var(--fy-indigo-dark);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.fy-applied-chip i {
    cursor: pointer;
    color: var(--fy-rose);
}

/* Sticky Interactive Map Card on Explore Page */
.fy-map-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--fy-slate-200);
    box-shadow: var(--fy-shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.SearchActivityPageWrapper #map,
.fy-map-card #map {
    width: 100% !important;
    height: calc(100vh - 185px) !important;
    min-height: 520px !important;
    z-index: 1;
}

@media (min-width: 992px) {
    .SearchActivityPageWrapper .mapWrapper {
        position: sticky;
        top: 92px;
        height: calc(100vh - 115px);
        align-self: flex-start;
    }
}

/* Ensure Leaflet map tiles are never distorted by legacy img rules */
.leaflet-container img.leaflet-tile,
.leaflet-container img {
    max-width: none !important;
    max-height: none !important;
    width: auto;
    padding: 0 !important;
    border: none !important;
}
