:root {
  --eo-surface: #fefae5;
  --eo-surface-low: #f8f4df;
  --eo-surface-mid: #f2eeda;
  --eo-surface-high: #ece9d4;
  --eo-white: #ffffff;
  --eo-primary: #063817;
  --eo-primary-container: #214f2c;
  --eo-primary-soft: #bbefbf;
  --eo-secondary: #436900;
  --eo-secondary-soft: #a4d65e;
  --eo-tertiary: #f6bf22;
  --eo-text: #1d1c10;
  --eo-muted: #414941;
  --eo-outline: #727970;
  --eo-outline-soft: #c1c9be;
  --eo-radius-sm: 18px;
  --eo-radius-md: 28px;
  --eo-radius-lg: 44px;
  --eo-shadow: 0 24px 70px rgba(29, 28, 16, .08);
  --eo-font-display: "Plus Jakarta Sans", sans-serif;
  --eo-font-body: "Public Sans", sans-serif;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

.eventos-page {
  color: var(--eo-text);
  font-family: var(--eo-font-body);
  padding: 96px 24px 120px;
}

.eventos-page *,
.eventos-page *::before,
.eventos-page *::after {
  box-sizing: border-box;
}

.eventos-hero,
.eventos-featured,
.eventos-filtros,
.eventos-layout {
  width: min(1280px, 100%);
  margin-inline: auto;
}

/* HERO */

.eventos-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 76px;
}

.eventos-hero__content {
  max-width: 860px;
}

.eventos-hero h1 {
  margin: 0 0 28px;
  color: var(--eo-primary);
  font-family: var(--eo-font-display);
  font-size: clamp(60px, 10vw, 120px);
  line-height: .86;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.eventos-hero h1 span {
  color: var(--eo-secondary);
  font-style: italic;
}

.eventos-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--eo-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.eventos-hero__icon {
  width: 108px;
  height: 108px;
  border: 2px dashed var(--eo-outline);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--eo-primary);
  flex: 0 0 auto;
  animation: eo-soft-spin 18s linear infinite;
}

.eventos-hero__icon .material-symbols-outlined {
  font-size: 44px;
  font-variation-settings: 'FILL' 1;
}

@keyframes eo-soft-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* FEATURED */

.eventos-featured {
  margin-bottom: 72px;
}

.eventos-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.eventos-section-head h2 {
  margin: 0;
  color: var(--eo-primary);
  font-family: var(--eo-font-display);
  font-size: 25px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.eventos-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.eventos-featured-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--eo-white);
  box-shadow: 0 12px 34px rgba(29, 28, 16, .07);
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}

.eventos-featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--eo-shadow);
}

.eventos-featured-card__image,
.eventos-featured-card__image img {
  width: 100%;
  height: 100%;
}

.eventos-featured-card__image {
  position: absolute;
  inset: 0;
}

.eventos-featured-card__image img {
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .7s ease;
}

.eventos-featured-card:hover img {
  transform: scale(1.07);
}

.eventos-featured-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(6, 56, 23, .92), rgba(6, 56, 23, .18) 60%, rgba(6, 56, 23, .03)),
    linear-gradient(to bottom, rgba(255, 251, 230, .08), transparent);
}

.eventos-featured-card__content {
  position: absolute;
  z-index: 4;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: #ffffff;
}

.eventos-featured-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.55;
}

.eventos-featured-card__content span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--eo-tertiary);
  color: #251a00;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.eventos-featured-card__content h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: var(--eo-font-display);
  font-size: 31px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.eventos-featured-card__link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
  z-index: 3;
}

.eventos-featured-card__link:hover {
  color: inherit;
  text-decoration: none;
}

.eventos-featured-card__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: .9;
}

/* FILTERS */

.eventos-filtros {
  margin-bottom: 66px;
}

.eventos-filtros__form {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(180px, .7fr) minmax(150px, .55fr) minmax(150px, .55fr) auto;
  align-items: end;
  gap: 18px;
  padding: 28px;
  background: rgba(248, 244, 223, .92);
  border: 1px solid rgba(193, 201, 190, .55);
  border-radius: 36px;
  box-shadow: 0 16px 50px rgba(29, 28, 16, .045);
}

.eventos-filtros__group label {
  display: block;
  margin-bottom: 9px;
  color: var(--eo-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.eventos-filtros input,
.eventos-filtros select {
  width: 100%;
  height: 48px;
  border: 0;
  border-bottom: 2px solid var(--eo-outline-soft);
  border-radius: 0;
  background: transparent;
  color: var(--eo-text);
  font-family: var(--eo-font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .25s ease;
}

.eventos-filtros input:focus,
.eventos-filtros select:focus {
  border-bottom-color: var(--eo-primary);
}

.eventos-search {
  position: relative;
}

.eventos-search input {
  padding-right: 42px;
}

.eventos-search .material-symbols-outlined {
  position: absolute;
  top: 13px;
  right: 4px;
  color: var(--eo-outline);
}

.eventos-filtros__actions {
  display: flex;
  gap: 10px;
}

.eventos-btn {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--eo-font-body);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
}

.eventos-btn--primary {
  background: var(--eo-tertiary);
  color: #251a00;
}

.eventos-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(62, 45, 0, .14);
}

.eventos-btn--ghost {
  background: transparent;
  color: var(--eo-primary);
  border: 1px solid var(--eo-outline-soft);
}

.eventos-btn--ghost:hover {
  background: var(--eo-surface-high);
}

.eventos-btn--full {
  width: 100%;
  min-height: 50px;
  background: #ffffff;
  color: var(--eo-primary);
  border-radius: 18px;
}

/* LAYOUT */

.eventos-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 72px;
  align-items: start;
}

.eventos-listado__header {
  margin-bottom: 34px;
}

.eventos-listado__header h2 {
  margin: 0 0 8px;
  color: var(--eo-primary);
  font-family: var(--eo-font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eventos-listado__header p {
  margin: 0;
  color: var(--eo-muted);
}

/* EVENT CARD */

.eventos-results {
  transition: opacity .2s ease;
}

.eventos-results.is-loading {
  opacity: .45;
  pointer-events: none;
}

.evento-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 30px;
}

.evento-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.evento-card__day {
  color: var(--eo-primary);
  font-family: var(--eo-font-display);
  font-size: 44px;
  line-height: .95;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.evento-card__month {
  margin-top: 5px;
  color: var(--eo-outline);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.evento-card__line {
  width: 1px;
  min-height: 100%;
  margin-top: 18px;
  background: var(--eo-outline-soft);
}

.evento-card__body {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(193, 201, 190, .45);
}

.evento-card:last-child .evento-card__body {
  border-bottom: 0;
}

.evento-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.evento-card__category,
.evento-card__external {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.evento-card__category {
  color: var(--eo-secondary);
}

.evento-card__external {
  padding: 0 11px;
  background: rgba(246, 191, 34, .22);
  color: #5a4300;
}

.evento-card__external .material-symbols-outlined {
  font-size: 16px;
}

.evento-card h3 {
  margin: 0 0 14px;
  color: var(--eo-primary);
  font-family: var(--eo-font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.evento-card h3 a {
  color: var(--eo-primary);
  text-decoration: none;
}

.evento-card h3 a:visited {
  color: var(--eo-primary);
}

.evento-card h3 a:hover {
  color: var(--eo-secondary);
}

.evento-card__excerpt {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--eo-muted);
  font-size: 16px;
  line-height: 1.72;
}

.evento-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-bottom: 28px;
  color: rgba(29, 28, 16, .72);
  font-size: 14px;
}

.evento-card__details span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.evento-card__details .material-symbols-outlined {
  color: var(--eo-primary);
  font-size: 21px;
}

.evento-card__link {
  min-height: 45px;
  padding: 0 28px;
  border: 1px solid var(--eo-primary);
  border-radius: 999px;
  color: var(--eo-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all .25s ease;
}

.evento-card__link .material-symbols-outlined {
  font-size: 17px;
}

.evento-card__link:hover {
  background: var(--eo-primary);
  color: #ffffff;
}

/* PAGINATION */

#eventos-pagination {
  margin-top: 18px;
  transition: opacity .2s ease;
}

#eventos-pagination.is-loading {
  opacity: .45;
  pointer-events: none;
}

.eventos-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.eventos-pagination__item {
  width: 43px;
  height: 43px;
  border: 1px solid var(--eo-outline-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--eo-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--eo-font-body);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
}

.eventos-pagination__item:hover,
.eventos-pagination__item.is-active {
  background: var(--eo-primary);
  border-color: var(--eo-primary);
  color: #ffffff;
}

.eventos-pagination__item .material-symbols-outlined {
  font-size: 21px;
}

.eventos-pagination__dots {
  color: var(--eo-outline);
  font-weight: 800;
}

/* SIDEBAR */

.eventos-sidebar__inner {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eventos-sidebar-card,
.eventos-newsletter {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 34px;
  background: var(--eo-surface-mid);
}

.eventos-sidebar-card--featured {
  background-color: var(--eo-primary-container);
  background:
    radial-gradient(circle at 100% 0%, rgba(164, 214, 94, .22), transparent 34%),
    var(--eo-primary-container);
  color: var(--eo-primary-soft);
  box-shadow: 0 22px 44px rgba(6, 56, 23, .18);
}

.eventos-sidebar-card--featured h3,
.eventos-sidebar-card--featured p {
  color: var(--eo-primary-soft);
}

.eventos-sidebar-card__circle {
  position: absolute;
  top: -44px;
  right: -44px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(164, 214, 94, .16);
}

.eventos-sidebar-card h3,
.eventos-newsletter h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  font-family: var(--eo-font-display);
  font-size: 25px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.eventos-sidebar-card p,
.eventos-newsletter p {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
  color: inherit;
  font-size: 14px;
  line-height: 1.65;
  opacity: .86;
}

.eventos-sidebar-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eventos-sidebar-links a {
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-weight: 800;
  transition: background .2s ease;
}

.eventos-sidebar-card--featured .eventos-sidebar-links a {
  background: rgba(164, 214, 94, .16);
  border: 1px solid rgba(164, 214, 94, .24);
  color: var(--eo-white);
}

.eventos-sidebar-links a:hover {
  background: rgba(255, 255, 255, .18);
}

.eventos-sidebar-card--featured .eventos-sidebar-links a:hover {
  background: rgba(164, 214, 94, .24);
}

.eventos-sidebar-card--route {
  background: var(--eo-surface-mid);
}

.eventos-sidebar-card__dashed {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  opacity: .45;
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23727970' stroke-width='1.4' stroke-dasharray='8%2c 12' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}

.eventos-sidebar-card__content {
  position: relative;
  z-index: 2;
}

/* NEWSLETTER CORREGIDO */

.eventos-newsletter {
  background: transparent;
  border: 1px solid rgba(193, 201, 190, .7);
  box-shadow: none;
}

.eventos-newsletter h3 {
  color: var(--eo-primary);
  font-size: 22px;
}

.eventos-newsletter p {
  color: var(--eo-muted);
  margin-bottom: 18px;
}

.eventos-newsletter__form {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--eo-outline-soft);
}

.eventos-newsletter__form .fluentform,
.eventos-newsletter__form form {
  margin: 0;
}

.eventos-newsletter__form .ff-t-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.eventos-newsletter__form .ff-t-cell {
  flex: 0 1 auto !important;
  flex-basis: auto !important;
  padding: 0 !important;
  width: auto !important;
}

.eventos-newsletter__form .ff-t-column-1 {
  flex: 1 1 auto !important;
  flex-basis: auto !important;
  min-width: 0;
}

.eventos-newsletter__form .ff-t-column-2 {
  flex: 0 0 auto !important;
  flex-basis: auto !important;
  width: auto !important;
}

.eventos-newsletter__form .ff-el-group {
  margin: 0 !important;
}

.eventos-newsletter__form .ff-el-input--content {
  position: relative;
}

.eventos-newsletter__form input,
.eventos-newsletter__form .ff-el-form-control {
  height: 42px;
  border: 0;
  background: transparent !important;
  color: var(--eo-text) !important;
  font-family: var(--eo-font-body) !important;
  font-size: 14px !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 0 0 10px !important;
}

.eventos-newsletter__form input::placeholder,
.eventos-newsletter__form .ff-el-form-control::placeholder {
  color: var(--eo-muted);
  opacity: .75;
}

.eventos-newsletter__form button,
.eventos-newsletter__form .ff-btn-submit,
.eventos-newsletter__form form.fluent_form_2 .wpf_has_custom_css.ff-btn-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  width: auto !important;
  min-width: auto !important;
  min-height: 42px !important;
  border: 1px solid var(--eo-primary-container) !important;
  border-radius: 999px !important;
  background: var(--eo-primary-container) !important;
  background-color: var(--eo-primary-container) !important;
  color: #fffbe6 !important;
  font-family: var(--eo-font-body) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .14em;
  cursor: pointer !important;
  box-shadow: none !important;
  padding: 0 18px !important;
  white-space: nowrap;
}

.eventos-newsletter__form button:hover,
.eventos-newsletter__form button:focus,
.eventos-newsletter__form .ff-btn-submit:hover,
.eventos-newsletter__form .ff-btn-submit:focus,
.eventos-newsletter__form form.fluent_form_2 .wpf_has_custom_css.ff-btn-submit:hover,
.eventos-newsletter__form form.fluent_form_2 .wpf_has_custom_css.ff-btn-submit:focus {
  border-color: var(--eo-primary) !important;
  background: var(--eo-primary) !important;
  background-color: var(--eo-primary) !important;
  color: #fffbe6 !important;
  transform: translateY(-1px) !important;
}

.eventos-newsletter__form .ff_submit_btn_wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 42px;
  margin: 0 !important;
  text-align: right !important;
}

.eventos-newsletter__form .error,
.eventos-newsletter__form .text-danger {
  position: absolute;
  left: 0;
  top: calc(100% + 2px);
  margin: 0 !important;
  color: #a63d2a !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: 0;
}

/* STATES */

.eventos-empty,
.eventos-loader {
  padding: 44px;
  border-radius: 30px;
  background: var(--eo-surface-low);
  text-align: center;
}

.eventos-empty h3 {
  margin: 0 0 8px;
  color: var(--eo-primary);
  font-family: var(--eo-font-display);
  font-size: 28px;
  font-weight: 800;
}

.eventos-empty p {
  margin: 0;
  color: var(--eo-muted);
}

.eventos-loader {
  margin-top: 20px;
  color: var(--eo-primary);
  font-weight: 800;
}

/* RESPONSIVE */

@media (max-width: 1120px) {
  .eventos-filtros__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eventos-filtros__group--search {
    grid-column: 1 / -1;
  }

  .eventos-filtros__actions {
    grid-column: 1 / -1;
  }

  .eventos-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .eventos-sidebar__inner {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .eventos-page {
    padding: 76px 18px 96px;
  }

  .eventos-hero {
    display: block;
    margin-bottom: 54px;
  }

  .eventos-hero__icon {
    display: none;
  }

  .eventos-featured__grid {
    grid-template-columns: 1fr;
  }

  .eventos-featured-card {
    min-height: 340px;
  }

  .eventos-sidebar__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .eventos-filtros__form {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 26px;
  }

  .eventos-filtros__group--search,
  .eventos-filtros__actions {
    grid-column: auto;
  }

  .eventos-filtros__actions {
    flex-direction: column;
  }

  .eventos-btn {
    width: 100%;
  }

  .evento-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
  }

  .evento-card__day {
    font-size: 34px;
  }

  .evento-card h3 {
    font-size: 27px;
  }

  .evento-card__body {
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .eventos-pagination {
    flex-wrap: wrap;
  }
}
