/* ==========================================================
   AGENDA — CASA DE SOSSEGO VÓ TEREZA
========================================================== */

.agenda-page-body {
  margin: 0;
  color: #171717;
  background: #fff;
  font-family: "filson-soft", Arial, sans-serif;
}

.agenda-hero {
  position: relative;
  width: 100%;
  height: 870px;
  min-height: 870px;
  padding: 0;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
}

.agenda-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 13%), transparent 32%, rgb(0 0 0 / 7%));
  pointer-events: none;
}

.agenda-hero__frame {
  position: relative;
  z-index: 1;
  width: calc(100% - 56px);
  max-width: 1600px;
  height: calc(100% - 148px);
  margin: 120px auto 28px;
  border: 3px solid var(--lime, #c9dd00);
  box-sizing: border-box;
}

.agenda-hero__content {
  width: 100%;
  height: 100%;
}

.agenda-hero h1 {
  position: absolute;
  left: 62px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--pink, #df0067);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: lowercase;
}

.agenda-hero h1 span {
  display: inline-block;
  padding: 7px 14px 9px;
  background: var(--lime, #c9dd00);
  line-height: 1.04;
}

.agenda-content {
  padding: 105px 20px 125px;
  background: #fff;
}

.agenda-container {
  width: 100%;
  max-width: 630px;
  margin: 0 auto;
}

.agenda-content h2 {
  margin: 0 0 42px;
  color: var(--pink, #df0067);
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

.agenda-year {
  position: relative;
  display: inline-block;
  margin-bottom: 52px;
}

.agenda-year::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}

.agenda-year select {
  min-width: 112px;
  height: 43px;
  padding: 0 42px 0 20px;
  border: 0;
  border-radius: 7px;
  outline: 0;
  color: #fff;
  background: var(--pink, #df0067);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 43px;
  appearance: none;
  cursor: pointer;
}

.agenda-year select:focus-visible {
  box-shadow: 0 0 0 4px rgb(223 0 103 / 24%);
}

.agenda-month h3 {
  margin: 0 0 32px;
  color: #171717;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.agenda-event {
  margin: 0 0 27px;
  font-size: 18px;
  line-height: 1.13;
}

.agenda-event:last-child {
  margin-bottom: 0;
}

.agenda-event h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.13;
  text-transform: uppercase;
}

.agenda-event p {
  margin: 0;
}

.agenda-event time {
  font: inherit;
}

@media (max-width: 900px) {
  .agenda-hero {
    height: 640px;
    min-height: 640px;
  }

  .agenda-hero__frame {
    width: calc(100% - 40px);
    height: 512px;
    margin: 100px auto 28px;
  }

  .agenda-hero h1 {
    left: 32px;
    bottom: 34px;
    font-size: clamp(32px, 6vw, 46px);
  }

  .agenda-content {
    padding: 80px 24px 100px;
  }
}

@media (max-width: 560px) {
  .agenda-hero {
    height: 600px;
    min-height: 600px;
    background-position: 55% center;
  }

  .agenda-hero__frame {
    width: calc(100% - 28px);
    height: 486px;
    margin: 92px auto 22px;
  }

  .agenda-hero h1 {
    right: 18px;
    left: 18px;
    bottom: 28px;
    gap: 7px;
    font-size: clamp(27px, 8.5vw, 36px);
  }

  .agenda-hero h1 span {
    padding: 5px 9px 7px;
  }

  .agenda-content {
    padding: 62px 22px 80px;
  }

  .agenda-content h2 {
    margin-bottom: 32px;
    font-size: 38px;
  }

  .agenda-year {
    margin-bottom: 42px;
  }

  .agenda-event,
  .agenda-event h4 {
    font-size: 17px;
  }
}
