* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Mamoth';
    src: url('Fonts/Mamoth.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: Arial, sans-serif;
    background: #2596be; /* mock blue */
    color: #fff;
}

/* Force vertical-only scrolling; prevent any horizontal overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    width: 100%;
    padding: 40px 20px;
}

.hero-inner {
    max-width: 980px;
    text-align: center;
}

/* removed split panel layout */

/* top rotating image removed */

/* Ensure images never cause horizontal overflow */
img {
    max-width: 100%;
    height: auto;
}

/* removed: next-event image styles (event PNGs no longer used) */

/* removed small logo under the image */

.socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.socials a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid white;
    border-radius: 4px;
}

/* removed right cream card and split layout */

/* Badge label for the Next Event block */
.next-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* For the Next Event section: put text on the left, image on the right */
.next-event .right { order: 1; }
.next-event .left { order: 2; }

/* removed unused .date style */

.right h1,
.brand {
    /* Responsive scaling with max at previous size */
    font-size: clamp(48px, 12vw, 192px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
    font-family: 'Mamoth', Arial, sans-serif;
    color: #fefee6; /* mock cream */
}

.subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto;
    color: #fefee6;
    /* prevent overflow on small screens */
    overflow-wrap: anywhere;
    word-break: break-word;
}

.right h1 span {
    font-size: 28px;
    font-weight: 600;
}

.events {
    padding: 0 60px 60px; /* remove gap above events */
    background: transparent;
}

.events h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.accordion .event {
    margin-bottom: 16px;
    background: #fefee6; /* mock cream */
    color: #0b3a4a;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.4);
    position: relative; /* for anchored icons/arrows */
}
.event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    cursor: pointer;
}
.event-header .title {
    font-size: 22px;
    font-weight: 800;
}
.event-header .meta { font-size: 14px; opacity: 0.8; }
.event-header .toggle { font-size: 24px; line-height: 1; margin-left: 8px; }
.event-body { padding: 0 18px 18px; display: none; }
.event.open .event-body { display: block; }
.event.open.locked .event-header { cursor: default; }
.cal-btn { background: #2596be; color: #fff; border: none; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.section-title { font-family: 'Mamoth', Arial, sans-serif; color: #fefee6; font-size: 40px; margin-bottom: 16px; }

.event-meta {
    margin-top: 14px;
    font-size: 14px;
    opacity: 0.9;
    /* ensure long content wraps inside panel */
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Calendar emoji icon anchored to top-right of event panel */
.calendar-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    text-decoration: none;
    font-size: 20px;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.15));
}

/* Toggle arrow styled blue and anchored bottom-right of the event panel */
.event .toggle {
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: #2596be;
    font-size: 28px;
}

.site-footer {
    text-align: center;
    font-size: 12px;
    color: #bbb;
    padding: 18px 12px 28px;
}
.site-footer a { color: #e2c64b; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Community gallery */
.community-gallery { padding: 40px 60px 80px; }
.gallery { position: relative; display: flex; align-items: center; justify-content: center; background: #fefee6; border-radius: 8px; padding: 20px; }
.gallery img { max-height: 420px; border-radius: 6px; }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(37,150,190,0.9); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 22px; }
.gallery .prev { left: 10px; }
.gallery .next { right: 10px; }
.gallery-title { text-align: center; margin-top: 10px; font-weight: 700; color: #fefee6; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero { min-height: 60vh; padding: 32px 16px; }
    .socials { margin-top: 20px; }
    /* titles already scale via clamp() */
    .right h1, .brand { line-height: 1.1; margin-bottom: 18px; }
    .subtitle {
        font-size: 16px;
        line-height: 1.6;
        max-width: 640px;
    }
    .events { padding: 0 20px 32px; } /* remove gap above on mobile */
}