.eventos-page { background: #f5f8f5; }
.eventos-page [hidden] { display: none !important; }
.archive-shell { width: min(1320px, 86%); margin: 0 auto; }
.archive-intro { color: white; background: var(--green-dark); overflow: hidden; }
.archive-intro-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 50px; align-items: center; min-height: 405px; padding-block: 55px; }
.archive-intro-grid::after { content: ""; position: absolute; right: -180px; bottom: -305px; width: 630px; height: 630px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.035), 0 0 0 63px rgba(255,255,255,.025); }
.archive-back { display: inline-flex; margin-bottom: 39px; color: #bde2c8; font-size: 14px; font-weight: 700; }
.archive-eyebrow { margin-bottom: 20px; color: #cce7d4; }
.archive-intro h1 { max-width: 720px; color: white; font-size: clamp(48px, 6vw, 82px); }
.archive-intro h1 em { color: #f0b17b; }
.archive-description { max-width: 580px; margin: 24px 0 0; color: #dcefe1; font-size: 19px; line-height: 1.4; }
.archive-figure { position: relative; z-index: 1; display: grid; place-items: center; width: 245px; height: 245px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transform: rotate(-7deg); }
.archive-figure::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.archive-figure span { position: absolute; top: 26px; right: 31px; color: #f0b17b; font-family: var(--serif); font-size: 31px; font-style: italic; }
.archive-figure strong { color: white; font-family: var(--serif); font-size: 28px; line-height: .92; letter-spacing: -.04em; }
.archive-figure strong em { color: #f0b17b; font-style: italic; }
.archive-figure i { position: absolute; left: 28px; bottom: 36px; width: 55px; height: 3px; background: #f0b17b; }
.archive-content { padding-block: 63px 90px; }
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.archive-search { position: relative; display: block; width: min(520px, 100%); }
.archive-search svg { position: absolute; left: 17px; top: 50%; width: 21px; height: 21px; fill: none; stroke: var(--green-dark); stroke-linecap: round; stroke-width: 1.8; transform: translateY(-50%); }
.archive-search input { width: 100%; height: 56px; padding: 0 19px 0 50px; border: 1px solid #cddfd1; border-radius: 4px; outline: 0; color: var(--ink); background: white; font: 16px var(--sans); transition: border .2s ease, box-shadow .2s ease; }
.archive-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,149,65,.13); }
.archive-result-count { color: #66766d; font-size: 15px; }
.archive-result-count strong { color: var(--ink); font-size: 20px; }
.archive-filters { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding: 21px 24px; border: 1px solid #dce9df; background: white; }
.filter-group > span, .filter-selects label { display: block; margin-bottom: 9px; color: #52655a; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill { min-height: 37px; padding: 7px 14px; border: 1px solid #cddfd1; border-radius: 99px; color: #51635a; background: white; cursor: pointer; font: 600 14px var(--sans); transition: color .2s ease, border .2s ease, background .2s ease; }
.filter-pill:hover, .filter-pill:focus-visible { border-color: var(--green); color: var(--green-dark); }
.filter-pill.is-active { border-color: var(--green-dark); color: white; background: var(--green-dark); }
.filter-selects { display: flex; gap: 13px; flex: 0 0 auto; }
.filter-selects label { margin: 0; }
.filter-selects select { display: block; min-width: 145px; height: 37px; padding: 0 30px 0 12px; border: 1px solid #cddfd1; border-radius: 3px; color: var(--ink); background: white; font: 14px var(--sans); }
.archive-active-filters { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; padding: 9px 0; color: #66766d; font-size: 13px; }
.archive-active-filters button { padding: 0; border: 0; color: var(--green-dark); background: transparent; cursor: pointer; font: 700 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.event-archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; margin-top: 34px; }
.archive-card { display: flex; min-height: 450px; flex-direction: column; overflow: hidden; border: 1px solid #dce9df; background: white; transition: transform .25s ease, box-shadow .25s ease; }
.archive-card:hover, .archive-card:focus-within { transform: translateY(-5px); box-shadow: 0 17px 29px rgba(16,38,29,.11); }
.archive-card-media { position: relative; height: 185px; overflow: hidden; background: #dce9df; }
.archive-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,47,24,.48), transparent 55%); pointer-events: none; }
.archive-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.archive-card:hover .archive-card-media img { transform: scale(1.05); }
.archive-card[data-status="past"] .archive-card-media { filter: saturate(.5); }
.archive-card[data-status="soon"] .archive-card-media::after { background: linear-gradient(0deg, rgba(95,65,35,.43), transparent 55%); }
.archive-state { position: absolute; z-index: 1; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 99px; font-size: 9px; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.archive-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.archive-state-open { color: var(--green-dark); background: white; }
.archive-state-open::before { background: #e99453; }
.archive-state-soon { color: #80572f; background: #f8e4d1; }
.archive-state-soon::before { background: #e99453; }
.archive-state-past { color: white; background: rgba(23,36,28,.78); }
.archive-state-past::before { background: #c9d3cc; }
.archive-card-content { display: flex; flex: 1; flex-direction: column; padding: 21px 22px 22px; }
.archive-card-type { margin: 0 0 12px; color: var(--green-ui); font-size: 10px; font-weight: 700; letter-spacing: .13em; line-height: 1.25; }
.archive-card h3 { margin: 0 0 10px; color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1.05; letter-spacing: -.045em; }
.archive-card h3 em { color: var(--green); font-style: italic; font-weight: 500; }
.archive-card[data-status="soon"] { background: #fffaf5; border-color: #efd9c3; }
.archive-card[data-status="soon"] .archive-card-type, .archive-card[data-status="soon"] h3 em { color: #a35d25; }
.archive-card[data-status="past"] { background: #eef1ef; border-color: #d8e0da; }
.archive-card[data-status="past"] .archive-card-type, .archive-card[data-status="past"] h3 em { color: var(--green-3); }
.archive-card[data-status="past"] h3 { color: #405047; }
.archive-card-excerpt { min-height: 42px; margin: 0 0 16px; color: #5d6d64; font-size: 14px; line-height: 1.35; }
.archive-card-details { display: grid; gap: 7px; margin: auto 0 18px; padding-top: 16px; border-top: 1px solid #dce9df; }
.archive-card-details div { display: grid; grid-template-columns: 51px 1fr; gap: 7px; }
.archive-card-details dt { color: var(--green-dark); font-size: 11px; font-weight: 700; }
.archive-card-details dd { margin: 0; color: #3f5448; font-size: 12px; line-height: 1.25; }
.archive-card[data-status="past"] .archive-card-details dt { color: var(--green-3); }
.archive-card-link { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; color: var(--green-dark); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.archive-card-link span { font-size: 18px; }
.archive-card-note { color: #806649; font-size: 13px; line-height: 1.25; }
.archive-card-free { display: inline-block; padding: 3px 7px; border-radius: 99px; color: #54361f; background: #f1bd8a; font-size: 11px; font-weight: 700; }
.archive-empty { display: grid; justify-items: center; gap: 9px; padding: 80px 20px; text-align: center; }
.archive-empty strong { color: var(--ink); font-family: var(--serif); font-size: 30px; }
.archive-empty span { color: #66766d; }
.archive-empty button { margin-top: 10px; padding: 10px 15px; border: 0; border-radius: 4px; color: white; background: var(--green-dark); cursor: pointer; font: 700 14px var(--sans); }
.archive-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 55px; }
.page-button { display: grid; place-items: center; min-width: 37px; height: 37px; padding: 0 10px; border: 1px solid #cddfd1; border-radius: 3px; color: var(--green-dark); background: white; cursor: pointer; font: 700 14px var(--sans); }
.page-button:hover, .page-button:focus-visible, .page-button.is-active { border-color: var(--green-dark); color: white; background: var(--green-dark); }
.page-button:disabled { opacity: .38; cursor: not-allowed; }
.page-button.page-next { padding-inline: 13px; }

@media (max-width: 1080px) {
  .archive-shell { width: 88%; }
  .event-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .archive-filters { align-items: start; flex-direction: column; }
  .filter-selects { width: 100%; }
  .filter-selects label { flex: 1; }
  .filter-selects select { width: 100%; }
}
@media (max-width: 720px) {
  .archive-intro-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 38px 58px; }
  .archive-figure { display: none; }
  .archive-content { padding-block: 42px 65px; }
  .archive-toolbar { align-items: start; flex-direction: column; gap: 13px; }
  .archive-search { width: 100%; }
  .event-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 500px) {
  .archive-shell { width: 88%; }
  .archive-intro h1 { font-size: 47px; }
  .archive-description { font-size: 17px; }
  .filter-selects { display: grid; grid-template-columns: 1fr 1fr; }
  .event-archive-grid { grid-template-columns: 1fr; }
  .archive-card { min-height: 0; }
  .archive-card-media { height: 210px; }
  .archive-card-content { min-height: 335px; }
}
