.public-events {
    background: #F5F7FE;
    color: #1A1A1A;
}

.public-events-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.public-events-header {
    background: rgba(18, 22, 43, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    color: #F5F7FE;
}

.public-events-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #F5F7FE;
    min-width: 0;
}

.public-events-brand__mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: #4A6CF7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.public-events-brand__mark .material-symbols-outlined {
    color: #fff;
    font-size: 1.25rem;
}

.public-events-brand__name {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.public-events-brand__short {
    display: none;
    font-weight: 700;
}

.public-events-nav__link {
    color: rgba(245, 247, 254, 0.82);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.public-events-nav__link:hover,
.public-events-nav__link--current {
    color: #FFB84D;
}

.public-events-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4A6CF7;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
}

.public-events-header__cta:hover {
    background: #3d5ce0;
    color: #fff;
}

.public-events-header__cta--block {
    margin-top: 0.35rem;
}

.public-events-nav__toggle {
    color: #F5F7FE;
    background: transparent;
    border: 0;
    border-radius: 999px;
    padding: 0.4rem;
}

.public-events-nav__toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.public-events-drawer {
    background: #12162B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #F5F7FE;
}

.public-events-drawer__link {
    color: #F5F7FE;
    text-decoration: none;
    font-weight: 600;
    padding: 0.45rem 0;
}

.public-events-drawer__link--current {
    color: #FFB84D;
}

.public-events-drawer__close {
    background: transparent;
    border: 0;
    color: rgba(245, 247, 254, 0.7);
    text-align: left;
    padding: 0.45rem 0;
    font-size: 0.8rem;
}

.public-events-hero {
    background:
        radial-gradient(ellipse 70% 55% at 50% -10%, rgba(74, 108, 247, 0.55), transparent 62%),
        linear-gradient(180deg, #12162B 0%, #1a2148 62%, #F5F7FE 100%);
    color: #F5F7FE;
    padding: 7.25rem 0 3.5rem;
}

.public-events-hero__eyebrow {
    display: inline-flex;
    margin: 0 0 0.85rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFB84D;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-events-hero__title {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #fff;
}

.public-events-hero__lead {
    margin: 1rem 0 0;
    max-width: 36rem;
    color: rgba(245, 247, 254, 0.82);
    font-size: 1.125rem;
    line-height: 1.5;
}

.public-events-search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.75rem;
    max-width: 46rem;
    padding: 0.4rem 0.4rem 0.4rem 0.35rem;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(18, 22, 43, 0.22);
}

.public-events-search__query,
.public-events-search__city {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    margin: 0;
    color: #5C5F6E;
}

.public-events-search__query {
    flex: 1.4 1 0;
    padding-left: 0.7rem;
}

.public-events-search__city {
    flex: 0.8 1 12rem;
    padding-left: 0.85rem;
    border-left: 1px solid #D8DCE8;
}

.public-events-search .material-symbols-outlined {
    font-size: 1.25rem;
    color: #4A6CF7;
}

.public-events-search input,
.public-events-search select {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #1A1A1A;
    font: inherit;
    padding: 0.7rem 0.2rem;
    outline: none;
    box-shadow: none;
}

.public-events-search input::placeholder {
    color: #5C5F6E;
}

.public-events-search__submit {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: #FFB84D;
    color: #1A1A1A;
    font-weight: 800;
    padding: 0.85rem 1.35rem;
    cursor: pointer;
}

.public-events-search__submit:hover {
    background: #ffc56b;
}

.public-events-search input:focus-visible,
.public-events-search select:focus-visible,
.public-events-search__submit:focus-visible {
    outline: 2px solid #4A6CF7;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

.public-events-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.public-events-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #F5F7FE;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.public-events-chip:hover,
.public-events-chip.is-active {
    background: #4A6CF7;
    border-color: #4A6CF7;
    color: #fff;
}

.public-events-chip:focus-visible,
.public-events-city:focus-visible,
.public-events-feature:focus-visible,
.public-events-row:focus-visible,
.public-events-header__cta:focus-visible,
.public-events-host__cta:focus-visible,
.public-events-empty a:focus-visible,
.public-events-footer a:focus-visible,
.public-events-nav__link:focus-visible,
.public-events-nav__toggle:focus-visible,
.public-events-whatsapp:focus-visible {
    outline: 2px solid #FFB84D;
    outline-offset: 3px;
}

.public-events-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 40;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(18, 22, 43, 0.2);
    text-decoration: none;
}

.public-events-whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
}

.public-events-whatsapp svg {
    width: 1.85rem;
    height: 1.85rem;
}

.public-events-body {
    padding-bottom: 3.5rem;
}

.public-events-block {
    margin-bottom: 2.75rem;
}

.public-events-block__title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.public-events-featured {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
}

.public-events-feature {
    flex: 0 0 16.5rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.public-events-feature__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 1.15rem;
    overflow: hidden;
    background: #1a2148;
}

.public-events-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.public-events-slider {
    position: absolute;
    inset: 0;
}

.public-events-slider img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.public-events-slider img.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .public-events-slider img {
        transition: none;
    }
}

.public-events-feature__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    background: #fff;
    color: #12162B;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.28rem 0.6rem;
}

.public-events-feature__shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(18, 22, 43, 0.92));
}

.public-events-feature__title {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 1;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.public-events-feature__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.public-events-feature__host,
.public-events-row__host {
    color: #1A1A1A;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
}

.public-events-feature__meta,
.public-events-row__meta {
    color: #5C5F6E;
    font-size: 0.875rem;
    line-height: 1.35;
}

.public-events-feature__meta,
.public-events-feature__host {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-events-feature__price {
    color: #4A6CF7;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.public-events-feature--ended {
    opacity: 0.72;
}

.public-events-feature--ended .public-events-feature__price {
    color: #5C5F6E;
}

.public-events-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.public-events-city {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: #fff;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(74, 108, 247, 0.08);
}

.public-events-city:hover,
.public-events-city.is-active {
    background: #4A6CF7;
    color: #fff;
}

.public-events-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.public-events-row {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(74, 108, 247, 0.08);
    min-width: 0;
}

.public-events-row--media {
    grid-template-columns: 4.6rem 4.75rem minmax(0, 1fr) auto;
}

.public-events-row:hover {
    box-shadow: 0 10px 40px rgba(74, 108, 247, 0.16);
}

.public-events-row__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 4.35rem;
    border-radius: 0.85rem;
    background: #E8EDFE;
    color: #4A6CF7;
}

.public-events-row__weekday,
.public-events-row__month {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.public-events-row__day {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.05;
}

.public-events-row__media {
    width: 4.75rem;
    height: 4.35rem;
    border-radius: 0.75rem;
    object-fit: cover;
    display: block;
}

.public-events-row__body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.public-events-row__title {
    color: #1A1A1A;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.public-events-row__host,
.public-events-row__meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-events-row__price {
    color: #4A6CF7;
    font-weight: 800;
    font-size: 0.95rem;
    text-align: right;
    white-space: nowrap;
}

.public-events-row--ended {
    opacity: 0.72;
}

.public-events-row--ended .public-events-row__date {
    background: #EEF1FD;
    color: #5C5F6E;
}

.public-events-row--ended .public-events-row__price {
    color: #5C5F6E;
}

.public-events-note {
    margin: 0 0 0.5rem;
    color: #5C5F6E;
}

.public-events-empty {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(74, 108, 247, 0.08);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.public-events-empty h2 {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
}

.public-events-empty p {
    margin: 0 0 1rem;
    color: #5C5F6E;
}

.public-events-empty a {
    color: #4A6CF7;
    font-weight: 700;
    text-decoration: none;
}

.public-events-host {
    background:
        radial-gradient(ellipse 50% 80% at 100% 0%, rgba(255, 184, 77, 0.18), transparent 55%),
        #12162B;
    color: #F5F7FE;
}

.public-events-host__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}

.public-events-host__eyebrow {
    margin: 0 0 0.4rem;
    color: #FFB84D;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-events-host h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.public-events-host p {
    margin: 0.55rem 0 0;
    max-width: 36rem;
    color: rgba(245, 247, 254, 0.78);
}

.public-events-host__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFB84D;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 800;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
}

.public-events-host__cta:hover {
    background: #ffc56b;
    color: #1A1A1A;
}

.public-events-footer {
    background: #0d1020;
    color: rgba(245, 247, 254, 0.78);
    padding: 2.5rem 0 1.5rem;
}

.public-events-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
    gap: 2rem;
}

.public-events-footer__brand {
    margin: 0;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.public-events-footer__lead {
    margin: 0.45rem 0 0;
    max-width: 22rem;
}

.public-events-footer__label {
    margin: 0 0 0.55rem;
    color: #FFB84D;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-events-footer nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.public-events-footer a {
    color: rgba(245, 247, 254, 0.82);
    text-decoration: none;
}

.public-events-footer a:hover {
    color: #fff;
}

.public-events-footer__copy {
    margin: 2rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.875rem;
}

@media (max-width: 720px) {
    .public-events-whatsapp {
        right: 0.85rem;
        bottom: 0.85rem;
        width: 3.15rem;
        height: 3.15rem;
    }

    .public-events-brand__name {
        display: none;
    }

    .public-events-brand__short {
        display: inline;
    }

    .public-events-hero {
        padding: 5.75rem 0 1.75rem;
    }

    .public-events-hero__title {
        font-size: 2rem;
    }

    .public-events-hero__lead {
        margin-top: 0.6rem;
        font-size: 1rem;
    }

    .public-events-search {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 1.15rem;
        border-radius: 1.15rem;
        padding: 0.35rem 0.7rem 0.5rem;
    }

    .public-events-search__query,
    .public-events-search__city {
        flex: 0 0 auto;
        min-height: 2.75rem;
        padding-left: 0;
    }

    .public-events-search__city {
        border-left: 0;
        border-top: 1px solid #E4E7F0;
        padding-top: 0;
    }

    .public-events-search input,
    .public-events-search select {
        padding: 0.4rem 0.15rem;
        line-height: 1.2;
    }

    .public-events-search select {
        appearance: none;
        -webkit-appearance: none;
        padding-right: 1.4rem;
        background-color: transparent;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C5F6E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.1rem center;
        background-size: 1rem 1rem;
    }

    .public-events-search__submit {
        width: 100%;
        margin-top: 0.35rem;
        padding: 0.65rem 1rem;
        border-radius: 0.85rem;
    }

    .public-events-row,
    .public-events-row--media {
        grid-template-columns: 4.25rem minmax(0, 1fr);
        grid-template-areas:
            "date body"
            "date price";
    }

    .public-events-row--media {
        grid-template-areas:
            "date media"
            "body body"
            "price price";
    }

    .public-events-row__date {
        grid-area: date;
    }

    .public-events-row__media {
        grid-area: media;
        width: 100%;
        height: 4.35rem;
    }

    .public-events-row__body {
        grid-area: body;
    }

    .public-events-row__price {
        grid-area: price;
        text-align: left;
        white-space: normal;
    }

    .public-events-host__inner,
    .public-events-footer__grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .public-events-host__cta {
        justify-self: start;
    }
}
