:root {
    --public-events-panel: #ecf8f7;
    --public-events-panel-border: #d1e9e8;
    --public-events-teal: #60AAA9;
    --public-events-pink: #d23363;
    --public-events-ink: #182f59;
    --public-events-muted: #645d61;
    --public-events-shadow: 0 8px 20px rgba(71, 55, 63, 0.08);
}

.public-events-layout {
    background: #ffffff;
}

.public-events-page {
    box-sizing: border-box;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.public-events-page__intro {
    padding: clamp(1.75rem, 4vw, 3.25rem);
    background: var(--public-events-panel);
    border: 1px solid var(--public-events-panel-border);
    border-radius: 7px;
    box-shadow: var(--public-events-shadow);
}

.public-events-page__eyebrow {
    margin: 0 0 0.7rem;
    color: var(--public-events-teal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.public-events-page h1,
.public-events-page h2,
.public-events-page h3,
.public-events-page p {
    position: relative;
}

.public-events-page__intro h1 {
    margin: 0;
    color: var(--public-events-pink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
}

.public-events-page__intro > p:last-child {
    max-width: 62ch;
    margin: 1rem 0 0;
    color: var(--public-events-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.public-events-page__group {
    margin-top: 2.5rem;
}

.public-events-page__group-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.public-events-page__group-heading .public-events-page__eyebrow {
    margin-bottom: 0.35rem;
}

.public-events-page__group-heading h2 {
    margin: 0;
    color: var(--public-events-ink);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
}

.public-events-page__group-count {
    flex: 0 0 auto;
    padding: 0.45rem 0.7rem;
    color: var(--public-events-teal);
    background: var(--public-events-panel);
    border: 1px solid var(--public-events-panel-border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.public-event {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--public-events-panel-border);
    border-radius: 7px;
    box-shadow: var(--public-events-shadow);
}

.public-event__summary {
    display: flex;
    min-height: 6.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem 1.25rem 1.65rem;
    color: inherit;
    cursor: pointer;
    list-style: none;
}

.public-event__summary::-webkit-details-marker {
    display: none;
}

.public-event__summary::marker {
    content: "";
}

.public-event__summary:focus-visible {
    outline: 3px solid rgba(210, 51, 99, 0.28);
    outline-offset: -3px;
}

.public-event__summary-copy {
    display: grid;
    min-width: 0;
    gap: 0.45rem;
}

.public-event__title {
    color: var(--public-events-ink);
    font-size: clamp(1.1rem, 2.1vw, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
}

.public-event__date {
    color: var(--public-events-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.public-event__summary-meta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.8rem;
}

.public-event__status {
    padding: 0.4rem 0.65rem;
    color: var(--public-events-muted);
    background: #f4f0f2;
    border: 1px solid #e5dddf;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    line-height: 1.25;
    text-transform: uppercase;
}

.public-event__chevron {
    display: block;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid var(--public-events-teal);
    border-bottom: 2px solid var(--public-events-teal);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 150ms ease;
}

.public-event[open] .public-event__chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.public-event[open] .public-event__summary {
    background: var(--public-events-panel);
    border-bottom: 1px solid var(--public-events-panel-border);
}

.public-event__content {
    padding: 1.75rem clamp(1rem, 3vw, 2.25rem) 2rem;
}

.public-event__legacy-content,
.public-event__body {
    width: 100%;
}

.public-event__body > h1:first-child {
    display: none;
}

.public-event__body h1.auto-style1 {
    margin: 0 0 1.25rem;
    color: var(--public-events-pink);
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.public-event__body h1.auto-style1 a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    background: var(--public-events-pink);
    border: 1px solid var(--public-events-pink);
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.public-event__body h1.auto-style1 a::after {
    content: "\2192";
    font-size: 1.05em;
}

.public-event__body h1.auto-style1 a:hover,
.public-event__body h1.auto-style1 a:focus-visible {
    color: #ffffff;
    background: #a9274d;
    border-color: #a9274d;
    transform: translateY(-1px);
}

.public-event__body h1.auto-style1 a:focus-visible {
    outline: 3px solid rgba(210, 51, 99, 0.28);
    outline-offset: 3px;
}

.public-event__closed-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    color: var(--public-events-muted);
    background: #f4f0f2;
    border: 1px solid #e5dddf;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    cursor: not-allowed;
}

.public-event__body > p.auto-style1 {
    margin: 1.5rem auto 2rem;
    text-align: center;
}

.public-event__body > p.auto-style1 img {
    display: block;
    width: min(320px, 100%);
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
    object-fit: cover;
    border: 1px solid var(--public-events-panel-border);
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(71, 55, 63, 0.1);
}

.public-event__body > p.auto-style1::after {
    display: block;
    margin-top: 0.65rem;
    color: var(--public-events-muted);
    content: "The Little Escape Retreat";
    font-size: 0.78rem;
    font-weight: 600;
}

.public-event__body p.bodytextSTYLE {
    margin: 0 0 1.1rem;
    color: var(--public-events-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.public-event__body p.bodytextSTYLE strong {
    color: var(--public-events-ink);
    font-weight: 800;
}

.public-event__body p.bodytextSTYLE span[style*="color"] {
    color: var(--public-events-pink) !important;
}

.public-event__body > p.bodytextSTYLE:nth-of-type(3) {
    margin-top: 1.75rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--public-events-panel-border);
}

.public-event__body > strong {
    color: var(--public-events-ink);
    font-size: 0.95rem;
    line-height: 1.6;
}

.public-event__body > a[style*="small"] {
    color: var(--public-events-teal);
    font-size: 0.8rem !important;
    font-weight: 700;
}

.public-events-page__group--upcoming {
    margin-top: 2.75rem;
}

.public-events-page__group--upcoming:has(.public-event--upcoming) .public-events-page__empty-eyebrow,
.public-events-page__group--upcoming:has(.public-event--upcoming) .public-events-empty {
    display: none;
}

.public-events-empty {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    background: var(--public-events-panel);
    border: 1px solid var(--public-events-panel-border);
    border-radius: 7px;
    box-shadow: var(--public-events-shadow);
}

.public-events-empty__mark {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    color: #ffffff;
    background: var(--public-events-teal);
    border-radius: 50%;
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 1;
}

.public-events-empty h3 {
    margin: 0 0 0.35rem;
    color: var(--public-events-ink);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.public-events-empty p {
    max-width: 64ch;
    margin: 0;
    color: var(--public-events-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .public-events-page {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .public-events-page__intro {
        padding: 1.35rem 1rem 1.5rem;
    }

    .public-events-page__intro > p:last-child {
        font-size: 0.9rem;
    }

    .public-events-page__group {
        margin-top: 1.75rem;
    }

    .public-events-page__group-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .public-event__summary {
        min-height: 0;
        align-items: flex-start;
        padding: 1rem;
    }

    .public-event__summary-meta {
        gap: 0.45rem;
    }

    .public-event__status {
        padding: 0.32rem 0.45rem;
        font-size: 0.66rem;
    }

    .public-event__content {
        padding: 1.25rem 1rem 1.5rem;
    }

    .public-event__body h1.auto-style1 a {
        font-size: 0.86rem;
    }

    .public-event__body p.bodytextSTYLE {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .public-events-empty {
        padding: 1.1rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-event__chevron,
    .public-event__body h1.auto-style1 a {
        transition: none;
    }
}
