:root {
  --fe-blue: #075aae;
  --fe-ink: #252b33;
  --fe-soft: #f4f7fa;
}

.fe-section {
  box-sizing: border-box;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  text-align: center;
}

.fe-section h2 {
  margin: 0 0 1rem;
  color: var(--fe-ink);
}

.fe-section > p:not(.fe-eyebrow):not(.fe-status) {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  color: #4b5563;
}

.fe-invitation,
.fe-past {
  max-width: none;
  background: var(--fe-soft);
}

.fe-invitation > p:not(.fe-eyebrow) {
  font-size: 1.1rem;
}

.fe-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--fe-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fe-status {
  display: inline-block;
  margin: 0.25rem 0 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #e8f0f9;
  color: var(--fe-blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.fe-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.fe-action,
.fe-footer-contact,
.wp-block-button__link,
.uagb-buttons-repeater {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border: 2px solid var(--fe-blue);
  border-radius: 6px;
  background: var(--fe-blue);
  color: #fff !important;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.fe-action:hover,
.fe-footer-contact:hover,
.wp-block-button__link:hover,
.uagb-buttons-repeater:hover {
  border-color: #064783;
  background: #064783;
  color: #fff !important;
  transform: translateY(-1px);
}

.fe-action:focus-visible,
.fe-footer-contact:focus-visible,
.wp-block-button__link:focus-visible,
.uagb-buttons-repeater:focus-visible {
  outline: 3px solid #f2bd36;
  outline-offset: 3px;
}

.fe-action-secondary {
  border-color: #fff;
  background: transparent;
  color: var(--fe-blue) !important;
}

.fe-action-secondary:hover {
  border-color: var(--fe-blue);
  background: var(--fe-blue);
  color: #fff !important;
}

.fe-past figure {
  max-width: 760px;
  margin: 2rem auto 0;
}

.fe-past img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgb(24 45 68 / 14%);
}

.widget_text .fe-footer-contact {
  margin-top: 0.25rem;
  border-color: #fff;
  background: #fff;
  color: var(--fe-blue) !important;
}

.widget_text .fe-footer-contact:hover {
  background: transparent;
  color: #fff !important;
}

@media (max-width: 600px) {
  .fe-section {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }

  .fe-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
