/**
 * Public events archive and singles.
 * Palette: green #005B40 / #004632, soft #F0FBF6, white, black #111 / #383838.
 */

body.ipb3-eventos-layout .page-header,
body.ipb3-eventos-layout .nav-backed-header,
body.ipb3-eventos-layout .slider-revolution-new,
body.ipb3-eventos-layout .hero-slider,
body.ipb3-eventos-layout .breadcrumb,
body.ipb3-eventos-layout .breadcrumbs {
  display: none !important;
}

.ipb3-eventos {
  background: #ffffff;
  color: #111111;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.ipb3-eventos-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 88px;
}

.ipb3-evento-single-wrap {
  width: min(800px, calc(100% - 40px));
}

.ipb3-eventos-head {
  margin: 0 0 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid #D5E6DC;
}

.ipb3-eventos-head h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
  line-height: 1.2;
  margin: 0;
  font-size: 2.55rem;
}

.ipb3-eventos-section {
  margin: 0 0 56px;
}

.ipb3-eventos-section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: #111111;
  margin: 0 0 20px;
}

.ipb3-eventos-empty {
  color: #383838;
  margin: 0;
}

.ipb3-eventos .ipb3-event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ipb3-eventos .ipb3-event-card,
.ipb3-home .ipb3-event-card {
  background: #ffffff;
  border: 1px solid #D5E6DC;
  border-radius: 16px;
  overflow: hidden;
}

.ipb3-eventos .ipb3-event-card-link,
.ipb3-home .ipb3-event-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.ipb3-eventos .ipb3-event-card-link:hover h3,
.ipb3-eventos .ipb3-event-card-link:focus-visible h3,
.ipb3-home .ipb3-event-card-link:hover h3,
.ipb3-home .ipb3-event-card-link:focus-visible h3 {
  color: #005B40;
}

.ipb3-eventos .ipb3-event-media,
.ipb3-home .ipb3-event-media {
  background: #F0FBF6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  max-height: 320px;
}

.ipb3-eventos .ipb3-event-media img,
.ipb3-home .ipb3-event-media img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.ipb3-eventos .ipb3-event-body,
.ipb3-home .ipb3-event-body {
  padding: 18px 20px 22px;
}

.ipb3-eventos .ipb3-event-body h3,
.ipb3-home .ipb3-event-body h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #111111;
}

.ipb3-eventos .kicker,
.ipb3-home .ipb3-event-body .kicker {
  color: #005B40;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

.ipb3-eventos .ipb3-event-local,
.ipb3-home .ipb3-event-local {
  color: #383838;
  font-size: 0.98rem;
  margin: 0 0 8px;
}

.ipb3-eventos .ipb3-event-excerpt,
.ipb3-home .ipb3-event-excerpt {
  color: #383838;
  font-size: 0.98rem;
  margin: 0;
}

.ipb3-event-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ipb3-eventos-head .ipb3-event-badge {
  margin: 0 0 12px;
}

.ipb3-event-card.is-past {
  background: #F0FBF6;
}

.ipb3-event-card.is-past .ipb3-event-media {
  opacity: 0.92;
}

.ipb3-evento-back {
  margin: -16px 0 24px;
  font-size: 0.98rem;
}

.ipb3-evento-back a {
  color: #005B40;
  text-decoration: none;
}

.ipb3-evento-back a:hover,
.ipb3-evento-back a:focus-visible {
  text-decoration: underline;
}

.ipb3-evento-facts {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ipb3-evento-facts li {
  margin: 0;
  color: #111111;
}

.ipb3-evento-facts span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #005B40;
  font-weight: 600;
  margin-bottom: 2px;
}

.ipb3-evento-flyer {
  margin: 0 0 32px;
  background: #F0FBF6;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #D5E6DC;
}

.ipb3-evento-flyer img {
  width: 100%;
  height: auto;
  display: block;
}

.ipb3-evento-content {
  color: #111111;
}

.ipb3-evento-content h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.55rem;
  margin: 28px 0 12px;
}

.ipb3-evento-content p {
  margin: 0 0 16px;
}

.ipb3-evento-content ul {
  margin: 0 0 20px;
  padding-left: 1.2em;
}

.ipb3-evento-content a {
  color: #005B40;
}

.ipb3-evento-cta {
  margin: 32px 0 0;
}

.ipb3-evento-btn {
  display: inline-block;
  background: #005B40;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
}

.ipb3-evento-btn:hover,
.ipb3-evento-btn:focus-visible {
  background: #004632;
  color: #ffffff;
}

.ipb3-evento-btn.is-closed {
  background: transparent;
  color: #383838;
  border: 1px solid #D5E6DC;
  font-weight: 500;
}

.ipb3-evento-btn.is-closed:hover,
.ipb3-evento-btn.is-closed:focus-visible {
  background: #F0FBF6;
  color: #111111;
}

.ipb3-home .ipb3-event-grid.is-single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.ipb3-home .ipb3-event-more {
  margin: 24px 0 0;
}

.ipb3-home .ipb3-event-more a {
  color: #005B40;
  font-weight: 600;
  text-decoration: none;
}

.ipb3-home .ipb3-event-more a:hover,
.ipb3-home .ipb3-event-more a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .ipb3-eventos .ipb3-event-grid {
    grid-template-columns: 1fr;
  }
  .ipb3-eventos-head h1 {
    font-size: 2.1rem;
  }
  .ipb3-eventos-wrap {
    padding: 32px 0 64px;
  }
}

.ipb3-event-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #005B40;
  background: #ffffff;
  color: #005B40;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ipb3-eventos-head .ipb3-event-tag {
  margin: 0 8px 12px 0;
}

.ipb3-event-month {
  margin: 0 0 28px;
}

.ipb3-event-month-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #005B40;
  margin: 0 0 12px;
}

.ipb3-event-agenda,
.ipb3-home .ipb3-event-list,
.ipb3-eventos .ipb3-event-list {
  display: grid;
  gap: 10px;
}

.ipb3-home .ipb3-event-card,
.ipb3-eventos .ipb3-event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ipb3-home .ipb3-event-card-link,
.ipb3-eventos .ipb3-event-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ipb3-event-card.is-calendario,
.ipb3-home .ipb3-event-card.is-calendario {
  border-radius: 12px;
}

.ipb3-event-card.is-calendario .ipb3-event-body,
.ipb3-home .ipb3-event-card.is-calendario .ipb3-event-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ipb3-event-card.is-calendario .ipb3-event-tag,
.ipb3-home .ipb3-event-card.is-calendario .ipb3-event-tag {
  margin: 0 0 12px;
}

.ipb3-cal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
}

.ipb3-cal-text {
  min-width: 0;
}

.ipb3-cal-weekday {
  margin: 0 0 4px;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #383838;
}

.ipb3-event-card.is-calendario h3,
.ipb3-home .ipb3-event-card.is-calendario h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0;
  color: #111111;
}

.ipb3-cal-day {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 0.95;
  color: #005B40;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: right;
}

.ipb3-cal-day.is-range {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.ipb3-home .ipb3-event-list {
  margin-top: 22px;
}

@media (max-width: 700px) {
  .ipb3-cal-day {
    font-size: 2.5rem;
  }
  .ipb3-cal-day.is-range {
    font-size: 1.55rem;
  }
  .ipb3-event-card.is-calendario h3,
  .ipb3-home .ipb3-event-card.is-calendario h3 {
    font-size: 1.2rem;
  }
}
