/**
 * Fundraising & Events
 * pregnancyoptionscenter.org — theme: grace (Sage 9)
 *
 * Plain CSS on purpose: it loads directly from the theme and needs no yarn build.
 * Colours and type mirror resources/assets/styles/common/_variables.scss.
 */

.fe-page {
  --fe-navy: #073f61;
  --fe-navy-deep: #00283f;
  --fe-blue: #5c8bc3;
  --fe-mint: #d5ffc9;
  --fe-green: #38f461;
  --fe-green-dark: #2ecc56;
  --fe-grey: #ebebeb;
  --fe-grey-soft: #f6f8f9;
  --fe-ink: #2b2b2b;
  --fe-muted: #5f6b72;
  --fe-heading: 'Comfortaa', sans-serif;
  --fe-body: 'Raleway', sans-serif;

  font-family: var(--fe-body);
  color: var(--fe-ink);
}

.fe-page section {
  padding: 48px 0;
}

.fe-page h2,
.fe-page h3 {
  font-family: var(--fe-heading);
  color: var(--fe-navy);
}

.fe-section-heading {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--fe-mint);
}

.fe-eyebrow {
  font-family: var(--fe-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fe-blue);
  margin: 0 0 6px;
}

.fe-note {
  font-size: 14px;
  color: var(--fe-muted);
  margin: 10px 0 0;
}

.fe-link-arrow {
  display: inline-block;
  font-weight: 700;
  color: var(--fe-navy);
  text-decoration: none;
  border-bottom: 2px solid var(--fe-mint);
  padding-bottom: 2px;
}

.fe-link-arrow::after {
  content: '\2192';
  margin-left: 8px;
  transition: transform 120ms ease;
  display: inline-block;
}

.fe-link-arrow:hover,
.fe-link-arrow:focus {
  color: var(--fe-navy-deep);
  border-bottom-color: var(--fe-green);
  text-decoration: none;
}

.fe-link-arrow:hover::after {
  transform: translateX(4px);
}

.fe-page a:focus-visible,
.fe-page button:focus-visible {
  outline: 3px solid var(--fe-blue);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- Intro */

.fe-intro {
  padding-top: 40px;
}

.fe-intro__heading {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.fe-intro__body p {
  font-size: 17px;
  line-height: 1.65;
}

.fe-intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

/* --------------------------------------------------------- Goal meter */

.fe-goal {
  background: var(--fe-navy);
  color: #fff;
  padding: 28px 26px 30px;
  border-radius: 4px;
  margin-top: 32px;
}

.fe-goal__label {
  font-family: var(--fe-heading);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fe-mint);
  margin: 0 0 10px;
}

.fe-goal__raised {
  font-family: var(--fe-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: #fff;
}

.fe-goal__of {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin: 6px 0 18px;
}

.fe-goal__track {
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  overflow: hidden;
}

.fe-goal__fill {
  height: 100%;
  background: var(--fe-green);
  border-radius: 7px;
  transition: width 700ms ease;
}

.fe-goal__pct {
  font-size: 14px;
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.fe-goal .btn-default {
  width: 100%;
  text-align: center;
}

/* -------------------------------------------------------- Event cards */

.fe-events {
  background: var(--fe-grey-soft);
}

.fe-event-list {
  display: grid;
  gap: 28px;
}

.fe-event {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--fe-grey);
  border-radius: 4px;
  overflow: hidden;
}

.fe-event--featured {
  border-color: var(--fe-navy);
  box-shadow: 0 10px 30px rgba(7, 63, 97, 0.1);
}

.fe-event__media {
  position: relative;
  background: var(--fe-grey);
  min-height: 180px;
}

.fe-event__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Signature element: a calendar block anchored to the event image. */
.fe-date {
  position: absolute;
  left: 20px;
  bottom: -18px;
  margin: 0;
  width: 78px;
  padding: 10px 0 8px;
  text-align: center;
  background: var(--fe-mint);
  border-top: 6px solid var(--fe-navy);
  box-shadow: 0 6px 16px rgba(7, 63, 97, 0.18);
}

.fe-date__month,
.fe-date__day,
.fe-date__year {
  display: block;
  font-family: var(--fe-heading);
  color: var(--fe-navy);
}

.fe-date__month {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fe-date__day {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
}

.fe-date__year {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fe-muted);
}

.fe-event__body {
  padding: 34px 24px 26px;
  flex: 1;
}

.fe-event__title {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.fe-event__title a {
  color: var(--fe-navy);
  text-decoration: none;
}

.fe-event__title a:hover,
.fe-event__title a:focus {
  color: var(--fe-blue);
  text-decoration: underline;
}

.fe-meta {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 15px;
  color: var(--fe-muted);
}

.fe-meta__item {
  padding: 3px 0 3px 26px;
  position: relative;
}

.fe-meta__item::before {
  position: absolute;
  left: 0;
  top: 3px;
  font-family: 'FontAwesome';
  color: var(--fe-blue);
}

.fe-meta__item--date::before { content: '\f073'; }
.fe-meta__item--time::before { content: '\f017'; }
.fe-meta__item--place::before { content: '\f041'; }
.fe-meta__item--price::before { content: '\f145'; }

.fe-meta__item a {
  color: var(--fe-navy);
}

.fe-event__summary {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.fe-event__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.fe-status {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 3px;
}

.fe-status--closed {
  background: var(--fe-grey);
  color: var(--fe-navy-deep);
}

.fe-status--low {
  background: var(--fe-mint);
  color: var(--fe-navy-deep);
  margin-top: 14px;
}

/* Sponsorship disclosure */

.fe-sponsor {
  margin-top: 20px;
  border-top: 1px solid var(--fe-grey);
  padding-top: 14px;
}

.fe-sponsor summary {
  font-family: var(--fe-heading);
  font-weight: 700;
  color: var(--fe-navy);
  cursor: pointer;
}

.fe-sponsor__list {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.fe-sponsor__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--fe-grey);
}

.fe-sponsor__name {
  font-weight: 700;
  color: var(--fe-navy);
}

.fe-sponsor__amount {
  font-family: var(--fe-heading);
  color: var(--fe-blue);
}

.fe-sponsor__benefits {
  flex: 1 1 100%;
  font-size: 14px;
  color: var(--fe-muted);
}

/* Empty state */

.fe-empty {
  background: #fff;
  border: 1px dashed var(--fe-blue);
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
}

.fe-empty__lead {
  font-family: var(--fe-heading);
  font-size: 20px;
  color: var(--fe-navy);
  margin-bottom: 8px;
}

/* ----------------------------------------------------- Ways to give */

.fe-ways__grid {
  display: grid;
  gap: 24px;
}

.fe-way {
  background: #fff;
  border-left: 5px solid var(--fe-mint);
  padding: 22px 24px;
  box-shadow: 0 2px 12px rgba(7, 63, 97, 0.07);
}

.fe-way__title {
  font-size: 20px;
  margin: 0 0 8px;
}

.fe-way__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fe-muted);
}

/* ---------------------------------------------------------- Donation */

.fe-give {
  background: var(--fe-navy);
  color: #fff;
}

.fe-give__heading {
  color: #fff;
  font-size: 30px;
  margin: 0 0 16px;
}

.fe-give__text {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.fe-give__prompt {
  font-family: var(--fe-heading);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fe-mint);
  margin: 24px 0 12px;
}

.fe-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fe-amount {
  background: transparent;
  border: 2px solid rgba(213, 255, 201, 0.55);
  border-radius: 3px;
  color: #fff;
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.fe-amount:hover {
  border-color: var(--fe-green);
  background: rgba(56, 244, 97, 0.12);
}

.fe-amount.is-selected {
  background: var(--fe-mint);
  border-color: var(--fe-mint);
  color: var(--fe-navy-deep);
}

.fe-amount__value {
  display: block;
  font-family: var(--fe-heading);
  font-size: 22px;
  font-weight: 700;
}

.fe-amount__note {
  display: block;
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}

.fe-give__form {
  background: #fff;
  border-radius: 4px;
  padding: 26px 24px;
  margin-top: 28px;
  color: var(--fe-ink);
}

/* --------------------------------------------------- Registration page */

.fe-register__title {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.fe-meta--stacked {
  font-size: 16px;
  margin-bottom: 18px;
}

.fe-register__summary {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.fe-register__panel {
  background: var(--fe-grey-soft);
  border: 1px solid var(--fe-grey);
  border-radius: 4px;
  padding: 24px 22px;
  margin-top: 30px;
}

.fe-picker {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.fe-picker__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--fe-grey);
}

.fe-picker__date {
  font-family: var(--fe-heading);
  font-weight: 700;
  color: var(--fe-blue);
  min-width: 110px;
}

.fe-picker__title {
  flex: 1;
  font-weight: 700;
  color: var(--fe-navy);
}

/* ------------------------------------------------------- Past + help */

.fe-past {
  background: var(--fe-grey-soft);
}

.fe-past__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fe-past__item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fe-grey);
}

.fe-past__date {
  font-family: var(--fe-heading);
  color: var(--fe-muted);
  min-width: 110px;
}

.fe-past__title {
  color: var(--fe-navy);
  font-weight: 700;
}

.fe-help {
  text-align: center;
  background: var(--fe-mint);
}

.fe-help__heading {
  font-size: 28px;
  margin: 0 0 10px;
}

.fe-help__text {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 22px;
}

/* ------------------------------------------------- Gravity Forms trim */

.fe-page .gform_wrapper {
  margin: 0;
}

.fe-page .gform_wrapper .gform_fields {
  gap: 16px 20px;
}

.fe-page .gform_wrapper .gfield_label {
  font-family: var(--fe-heading);
  color: var(--fe-navy);
  font-size: 15px;
}

.fe-page .gform_wrapper input[type='text'],
.fe-page .gform_wrapper input[type='email'],
.fe-page .gform_wrapper input[type='tel'],
.fe-page .gform_wrapper input[type='number'],
.fe-page .gform_wrapper textarea,
.fe-page .gform_wrapper select {
  border: 1px solid #c8d2d8;
  border-radius: 3px;
  padding: 10px 12px;
}

.fe-page .gform_wrapper input:focus,
.fe-page .gform_wrapper textarea:focus,
.fe-page .gform_wrapper select:focus {
  border-color: var(--fe-blue);
  outline: 2px solid rgba(92, 139, 195, 0.35);
  outline-offset: 1px;
}

.fe-page .gform_wrapper .ginput_container_total .ginput_total,
.fe-page .gform_wrapper .gfield_total .ginput_total {
  font-family: var(--fe-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--fe-navy);
}

.fe-page .gform_wrapper .gform_footer {
  margin-top: 18px;
}

.fe-page .gform_wrapper .gfield_required {
  color: #b3261e;
}

.fe-page .gform_wrapper .gform_validation_errors,
.fe-page .gform_wrapper .validation_message {
  font-size: 15px;
}

/* ------------------------------------------------------------ Layout */

@media (min-width: 768px) {
  .fe-page section {
    padding: 64px 0;
  }

  .fe-amounts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fe-ways__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fe-event {
    flex-direction: row;
  }

  .fe-event__media {
    flex: 0 0 38%;
    max-width: 38%;
    min-height: 260px;
  }

  .fe-date {
    left: auto;
    right: -26px;
    bottom: 24px;
    z-index: 2;
  }

  .fe-event__body {
    padding: 28px 30px 28px 44px;
  }
}

@media (min-width: 992px) {
  .fe-goal {
    margin-top: 0;
  }

  .fe-ways__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fe-give__form {
    margin-top: 0;
  }

  .fe-section-heading {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fe-page *,
  .fe-page *::before,
  .fe-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .fe-give,
  .fe-help {
    background: #fff;
    color: #000;
  }
}
