@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Figtree:wght@400;500;600;700&display=swap');


/* ============================================================
   LGAPA — Full CSS Customisation
   Paste the entire contents of this file into:
   Wild Apricot admin → Website → CSS customisation
   (Replace everything currently there.)
   ============================================================ */


/* ---------- Existing site styles (preserved) ---------- */

div.mainMenuContainer {
    background-color: #243D63 !important;
}

ul.dropdown li {
    color: #243D63 !important;
}

div#idFooterContainer {
    background-color: #243D63 !important;
    margin: 0 auto;
}

#id_5QiukFZ {
    color: #FFFFFF;
}

div#idFooterContentHolder {
    padding-left: 12%;
    padding-right: 12%;
}

#idFooterPoweredByWA,
.powered-by-wildapricot,
.footer-powered-by {
    display: none !important;
}


/* ============================================================
   UPCOMING EVENTS GADGET — Casefile "Basic Style for light background"
   (upcomingEventsStyle001)

   Using `body .WaGadget...` to match Casefile's own specificity
   so our rules win instead of being overridden by the theme.
   ============================================================ */

/* ---------- Gadget base typography ---------- */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001,
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 * {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ---------- Remove default list styling, make each event a card ---------- */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 ul > li {
    background: #ffffff !important;
    border: 1px solid #e6e2d8 !important;
    border-radius: 4px !important;
    padding: 28px !important;
    margin-bottom: 20px !important;
    list-style: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 ul > li:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(36, 61, 99, 0.08);
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 ul > li::before {
    display: none !important;
}


/* ---------- Event title (uses .title class, not <h4>) ---------- */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li .title {
    font-family: 'Fraunces', Georgia, serif !important;
    font-weight: 500 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.005em;
    color: #243D63 !important;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li .title a {
    color: #243D63 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li .title a:hover {
    color: #ed7d24 !important;
}


/* ---------- Inner metadata list (date/time/location) ---------- */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
    font-size: 14px;
    color: #6b6b6b;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li ul > li {
    background: transparent !important;
    border: none !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li ul > li:hover {
    transform: none;
    box-shadow: none !important;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li ul > li strong,
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li ul > li b {
    color: #243D63 !important;
    font-weight: 600 !important;
}


/* ---------- Description / body text ---------- */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #2a2a2a !important;
    margin: 0 0 12px !important;
}

/* Event banner images */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    margin: 8px 0 16px !important;
    display: block !important;
}


/* ---------- Register link → orange button ---------- */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 a[href*="/Registration"] {
    display: inline-block !important;
    background: #ed7d24 !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 2px !important;
    letter-spacing: 0.01em;
    margin-right: 8px !important;
    transition: background 0.2s ease;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 a[href*="/Registration"]:hover {
    background: #d16a15 !important;
}

/* "Show details" / "View event details" — underlined secondary link */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 a[href*="/event-"]:not([href*="/Registration"]):not([href*="/Attendees"]) {
    color: #243D63 !important;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid #ed7d24;
    padding-bottom: 1px;
}

/* Don't underline title links (already styled above) */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 .title a[href*="/event-"] {
    border-bottom: none !important;
}

/* "Be the first" attendee link */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 a[href*="/Attendees"] {
    color: #6b6b6b !important;
    text-decoration: underline;
    font-size: 13px;
}


/* ---------- Calendar view toggle + RSS ---------- */
body .WaGadgetUpcomingEvents.upcomingEventsStyle001 a[href*="EventListViewMode=2"] {
    color: #243D63 !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    border-bottom: 1px solid #ed7d24;
    padding-bottom: 2px;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 a[href*="EventListViewMode=2"]:hover {
    color: #ed7d24 !important;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 img[src*="calendar-view"] {
    display: none !important;
}

body .WaGadgetUpcomingEvents.upcomingEventsStyle001 a[href*="/RSS"] {
    color: #6b6b6b !important;
    font-size: 13px;
    font-weight: 500;
}


/* ---------- Small screens ---------- */
@media (max-width: 640px) {
    body .WaGadgetUpcomingEvents.upcomingEventsStyle001 ul > li {
        padding: 20px !important;
    }

    body .WaGadgetUpcomingEvents.upcomingEventsStyle001 li .title {
        font-size: 19px !important;
    }

    body .WaGadgetUpcomingEvents.upcomingEventsStyle001 a[href*="/Registration"] {
        display: block !important;
        text-align: center;
        margin-bottom: 8px;
    }
}