/* Agenda de Eventos — experiencia editorial de escritorio. */

body[data-d360-layout="desktop"].page-eventos {
    --events-ink: #17191c;
    --events-muted: #65686d;
    --events-line: #dedbd6;
    --events-paper: #f5f3ef;
    --events-card: #fff;
    --events-accent: #b81249;
    --events-accent-dark: #8f0f38;
    --events-warm: #e8b45c;
    background: var(--events-paper);
    color: var(--events-ink);
}

body[data-d360-layout="desktop"].page-eventos .main-content {
    overflow: clip;
}

body[data-d360-layout="desktop"].page-eventos .main-content > .container {
    max-width: 1440px;
    padding-inline: clamp(24px, 3.2vw, 52px);
}

.events-experience,
.event-detail {
    width: min(100%, 1320px);
    margin-inline: auto;
    padding: 26px 0 88px;
    color: var(--events-ink);
}

.events-experience *,
.event-detail * {
    box-sizing: border-box;
}

.events-experience [hidden],
.event-detail [hidden] {
    display: none !important;
}

.events-breadcrumbs {
    display: flex;
    min-height: 48px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--events-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.events-breadcrumbs a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    color: var(--events-ink);
    text-decoration: none;
}

.events-breadcrumbs a:hover {
    color: var(--events-accent);
}

.events-alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 17px 20px;
    border: 1px solid #e3b2c3;
    border-radius: 16px;
    color: #70102f;
    background: #fff4f7;
}

.events-alert-mark {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--events-accent);
    font-weight: 850;
}

.events-alert strong,
.events-alert p {
    display: block;
    margin: 0;
}

.events-alert p {
    margin-top: 3px;
    color: #87324e;
    line-height: 1.55;
}

.events-hero {
    position: relative;
    display: grid;
    min-height: 510px;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    overflow: hidden;
    border-radius: 32px;
    background: #16181b;
    box-shadow: 0 24px 70px rgba(23, 25, 28, 0.16);
}

.events-hero--without-feature {
    grid-template-columns: minmax(0, 820px);
}

.events-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 6vw, 84px);
    color: #fff;
    background:
        radial-gradient(circle at 8% 10%, rgba(232, 180, 92, 0.22), transparent 31%),
        linear-gradient(145deg, #1c1f23 0%, #111316 100%);
}

.events-hero-copy::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    transform: translate(42%, 46%);
}

.events-eyebrow,
.events-section-kicker {
    margin: 0 0 12px;
    color: var(--events-accent);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.events-hero .events-eyebrow {
    color: #f4c97e;
}

.events-hero h1 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 4.4vw, 4.9rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-wrap: balance;
}

.events-hero-summary {
    max-width: 540px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.73);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
}

.events-hero-actions,
.event-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.events-primary-action,
.events-secondary-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.events-primary-action {
    color: #fff;
    background: var(--events-accent);
}

.events-primary-action:hover {
    color: #fff;
    background: var(--events-accent-dark);
}

.events-secondary-action {
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.events-secondary-action:hover {
    border-color: rgba(255, 255, 255, 0.72);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.events-hero-metrics {
    display: flex;
    gap: clamp(28px, 4vw, 52px);
    margin: 38px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.events-hero-metrics div {
    min-width: 0;
}

.events-hero-metrics dt {
    overflow: hidden;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.events-hero-metrics dd {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.75rem;
}

.event-featured,
.event-featured-link,
.event-featured-media,
.event-featured-media img,
.event-featured-shade {
    position: absolute;
    inset: 0;
}

.event-featured {
    position: relative;
    min-width: 0;
    min-height: 510px;
    overflow: hidden;
    background: #363942;
}

.event-featured-link {
    display: block;
    min-height: 100%;
    color: #fff;
    text-decoration: none;
}

.event-featured-media {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #5c3544, #24272d);
}

.event-featured-media img,
.event-card-media img,
.event-detail-media img,
.event-detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-featured-media img {
    transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.event-featured-link:hover .event-featured-media img {
    transform: scale(1.035);
}

.event-featured-shade {
    background: linear-gradient(180deg, rgba(12, 13, 15, 0.04) 20%, rgba(12, 13, 15, 0.9) 100%);
}

.event-image-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255, 255, 255, 0.92);
    background:
        radial-gradient(circle at 80% 15%, rgba(232, 180, 92, 0.35), transparent 27%),
        linear-gradient(145deg, #8d3655, #2b2f37 72%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 8vw, 7.5rem);
}

.event-demo-badge {
    position: absolute;
    z-index: 4;
    top: 18px;
    left: 18px;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    color: #1a1c20;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 850;
    letter-spacing: 0.035em;
}

.event-featured-content {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(28px, 4vw, 52px);
}

.event-featured-kicker {
    margin-bottom: 9px;
    color: #f4c97e;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.event-featured-content > strong {
    max-width: 680px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.1vw, 3.35rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.03;
    text-wrap: balance;
}

.event-featured-content time,
.event-featured-content > span:not(.event-featured-kicker):not(.event-featured-cta) {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.45;
}

.event-featured-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

.events-discovery {
    position: relative;
    z-index: 2;
    margin: 34px 0 0;
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid var(--events-line);
    border-radius: 26px;
    background: var(--events-card);
    box-shadow: 0 18px 50px rgba(34, 31, 27, 0.07);
}

.events-discovery-heading,
.events-agenda-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.events-discovery-heading h2,
.events-agenda-heading h2,
.event-detail-content h2,
.event-detail-facts h2 {
    margin: 0;
    color: var(--events-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.events-discovery-heading > p,
.events-agenda-heading > p {
    max-width: 430px;
    margin: 0;
    color: var(--events-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: right;
}

.events-filter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
    border: 1px solid var(--events-line);
    border-radius: 20px;
    background: #fbfaf8;
}

.events-filter-panel {
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 0;
}

.events-filter-panel + .events-filter-panel {
    border-left: 1px solid var(--events-line);
}

.events-filter-panel legend {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    padding: 0;
    color: var(--events-ink);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.events-filter-panel legend span {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--events-ink);
    font-size: 0.63rem;
}

.events-filter-panel > label,
.events-date-range label {
    display: block;
    margin: 14px 0 6px;
    color: var(--events-muted);
    font-size: 0.72rem;
    font-weight: 750;
}

.events-filter-panel select,
.events-date-range input {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #cbc7c1;
    border-radius: 11px;
    color: var(--events-ink);
    background: #fff;
    font: inherit;
    font-size: 0.86rem;
}

.events-filter-panel select:disabled {
    color: #8d8e91;
    background: #efeeeb;
    cursor: not-allowed;
}

.events-date-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.events-filter-submit,
.events-filter-reset {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 0 16px;
    border: 1px solid var(--events-ink);
    border-radius: 11px;
    color: #fff;
    background: var(--events-ink);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.events-filter-submit:hover {
    border-color: var(--events-accent);
    background: var(--events-accent);
}

.events-filter-reset {
    margin-top: 6px;
    border-color: transparent;
    color: var(--events-muted);
    background: transparent;
}

.events-filter-reset:hover {
    color: var(--events-accent);
}

.events-date-shortcuts,
.events-category-rail {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.events-date-shortcuts {
    margin-top: 20px;
}

.events-category-rail {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eeece8;
}

.events-date-shortcuts a,
.events-category-rail a {
    display: inline-flex;
    min-width: max-content;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid var(--events-line);
    border-radius: 999px;
    color: var(--events-ink);
    background: #fff;
    font-size: 0.79rem;
    font-weight: 750;
    text-decoration: none;
}

.events-date-shortcuts a:hover,
.events-category-rail a:hover {
    border-color: var(--events-ink);
}

.events-date-shortcuts a.is-active,
.events-category-rail a.is-active {
    border-color: var(--events-ink);
    color: #fff;
    background: var(--events-ink);
}

.events-category-rail a span {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    color: var(--events-muted);
    background: #eceae6;
    font-size: 0.68rem;
}

.events-category-rail a.is-active span {
    color: var(--events-ink);
    background: #fff;
}

.events-agenda {
    padding-top: clamp(58px, 7vw, 92px);
    scroll-margin-top: 120px;
}

.events-demo-note {
    margin: 24px 0 0;
    padding: 15px 18px;
    border-left: 3px solid var(--events-warm);
    color: #64543a;
    background: #fff8eb;
    font-size: 0.82rem;
    line-height: 1.55;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.events-grid > li,
.event-card {
    min-width: 0;
    height: 100%;
}

.event-card {
    overflow: hidden;
    border: 1px solid var(--events-line);
    border-radius: 20px;
    background: var(--events-card);
    box-shadow: 0 8px 26px rgba(31, 29, 25, 0.055);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.event-card-link {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    color: var(--events-ink);
    text-decoration: none;
}

.event-card-media {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    background: #343740;
}

.event-card-media img {
    transition: transform 400ms ease;
}

.event-card-body {
    display: flex;
    min-height: 238px;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.event-card-date-row {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.event-card-date-row time {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: var(--events-accent);
}

.event-card-date-row time strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1;
}

.event-card-date-row time span,
.event-card-category {
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.event-card-category {
    overflow: hidden;
    padding: 7px 9px;
    border-radius: 999px;
    color: #5f5035;
    background: #f7ecd8;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.event-card-title {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 13px;
    color: var(--events-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    text-wrap: balance;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-card-meta {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    color: var(--events-muted);
    font-size: 0.79rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-card-place {
    margin-top: 5px;
}

.event-card-footer {
    display: flex;
    min-height: 48px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #efede9;
    color: var(--events-ink);
    font-size: 0.78rem;
    font-weight: 800;
}

.event-card-footer > span:last-child {
    color: var(--events-accent);
    font-size: 1.1rem;
}

@media (hover: hover) {
    .event-card:hover {
        border-color: #c7c1b8;
        box-shadow: 0 18px 42px rgba(31, 29, 25, 0.12);
        transform: translateY(-5px);
    }

    .event-card:hover .event-card-media img {
        transform: scale(1.04);
    }
}

.events-empty {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
    padding: 52px 24px;
    border: 1px dashed #c9c4bc;
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

.events-empty-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    color: var(--events-accent);
    background: #fff0f5;
    font-size: 1.55rem;
    font-weight: 850;
}

.events-empty h1,
.events-empty h2 {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--events-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.events-empty p {
    max-width: 580px;
    margin: 14px 0 0;
    color: var(--events-muted);
    line-height: 1.65;
}

.events-empty .events-primary-action {
    margin-top: 24px;
}

.events-pagination {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    gap: 24px;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid var(--events-line);
}

.events-pagination-direction,
.events-pagination-page {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--events-line);
    border-radius: 999px;
    color: var(--events-ink);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.events-pagination-direction {
    width: max-content;
    gap: 8px;
    padding: 0 18px;
}

.events-pagination-direction:last-child {
    justify-self: end;
}

.events-pagination-direction:hover,
.events-pagination-page:hover {
    border-color: var(--events-ink);
}

.events-pagination-direction.is-disabled {
    opacity: 0.42;
}

.events-pagination-pages {
    display: flex;
    align-items: center;
    gap: 7px;
}

.events-pagination-page.is-current {
    border-color: var(--events-ink);
    color: #fff;
    background: var(--events-ink);
}

.events-pagination-gap {
    display: inline-grid;
    min-width: 26px;
    place-items: center;
    color: var(--events-muted);
}

.events-pagination-status {
    margin: 10px 0 0;
    color: var(--events-muted);
    font-size: 0.74rem;
    text-align: center;
}

/* Ficha individual */

.event-detail-hero {
    display: grid;
    min-height: 570px;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    overflow: hidden;
    border: 1px solid var(--events-line);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(31, 29, 25, 0.1);
}

.event-detail-media {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 570px;
    place-items: center;
    overflow: hidden;
    background: #343740;
}

.event-detail-intro {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 5.5vw, 72px);
}

.event-detail-intro h1 {
    margin: 0;
    color: var(--events-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 4.8vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.99;
    text-wrap: balance;
}

.event-detail-demo {
    margin: 22px 0 0;
    padding: 14px 16px;
    border-left: 3px solid var(--events-warm);
    color: #64543a;
    background: #fff8eb;
    font-size: 0.82rem;
    line-height: 1.55;
}

.event-detail-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 26px 0 0;
    border-top: 1px solid var(--events-line);
    border-left: 1px solid var(--events-line);
}

.event-detail-summary div {
    min-width: 0;
    padding: 16px;
    border-right: 1px solid var(--events-line);
    border-bottom: 1px solid var(--events-line);
}

.event-detail-summary dt,
.event-detail-facts dt {
    color: var(--events-muted);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-detail-summary dd,
.event-detail-facts dd {
    margin: 5px 0 0;
    color: var(--events-ink);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.5;
}

.event-detail .events-secondary-action {
    border-color: var(--events-line);
    color: var(--events-ink);
    background: #fff;
}

.event-detail .events-secondary-action:hover {
    border-color: var(--events-ink);
    color: var(--events-ink);
    background: #f5f3ef;
}

.event-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: clamp(40px, 6vw, 84px);
    align-items: start;
    padding-top: clamp(58px, 7vw, 94px);
    scroll-margin-top: 120px;
}

.event-detail-content {
    min-width: 0;
}

.event-detail-content section + section {
    margin-top: 64px;
    padding-top: 52px;
    border-top: 1px solid var(--events-line);
}

.event-detail-description,
.event-detail-missing {
    max-width: 760px;
    margin: 24px 0 0;
    color: #414348;
    font-size: 1rem;
    line-height: 1.85;
}

.event-detail-missing {
    color: var(--events-muted);
}

.event-detail-facts {
    position: sticky;
    top: calc(var(--nav-height, 72px) + 28px);
    padding: 28px;
    border: 1px solid var(--events-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(31, 29, 25, 0.07);
}

.event-detail-facts h2 {
    font-size: 2rem;
}

.event-detail-facts dl {
    margin: 22px 0 0;
}

.event-detail-facts dl div {
    padding: 15px 0;
    border-top: 1px solid #ece9e4;
}

.event-detail-advisory {
    margin: 20px 0 0;
    padding: 15px;
    border-radius: 12px;
    color: #5f5035;
    background: #fff8eb;
    font-size: 0.78rem;
    line-height: 1.55;
}

.event-detail-back {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin-top: 16px;
    color: var(--events-accent);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.event-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.event-detail-gallery figure {
    position: relative;
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    margin: 0;
    border-radius: 16px;
    background: #343740;
}

.events-experience :where(a, button, select, input):focus-visible,
.event-detail :where(a, button, select, input):focus-visible {
    outline: 3px solid #e31c5f;
    outline-offset: 3px;
}

@media (max-width: 1120px) {
    .events-hero {
        grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    }

    .events-hero-copy {
        padding: 48px;
    }

    .events-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .events-filter-category {
        grid-column: 1 / -1;
        border-top: 1px solid var(--events-line);
        border-left: 0 !important;
    }

    .events-grid {
        gap: 18px;
    }

    .event-detail-hero {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    }
}

@media (max-width: 880px) {
    .events-hero,
    .event-detail-hero {
        grid-template-columns: 1fr;
    }

    .event-featured,
    .event-detail-media {
        min-height: 460px;
    }

    .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-detail-layout {
        grid-template-columns: 1fr;
    }

    .event-detail-facts {
        position: static;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-featured-media img,
    .event-card,
    .event-card-media img {
        scroll-behavior: auto;
        transition: none !important;
    }
}

@media (forced-colors: active) {
    .event-demo-badge,
    .events-primary-action,
    .events-filter-submit,
    .events-date-shortcuts a.is-active,
    .events-category-rail a.is-active,
    .events-pagination-page.is-current {
        border: 1px solid ButtonText;
    }
}
