/* Goals Course homepage feature — scoped to the existing #retreat anchor.
   Separate from stylesheet.css so the site's Tailwind build cannot overwrite it. */

#retreat .section-content {
  max-width: 960px;
  padding: 0 0.5rem;
}

#retreat .goals-course {
  box-sizing: border-box;
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4.5vw, 3.25rem);
  background: linear-gradient(110deg, #06788e 0%, #258b9f 52%, #76a8b5 100%);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(23, 67, 80, 0.14);
  color: #fff;
  text-align: center;
}

#retreat .goals-course__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#retreat .goals-course__title {
  margin: 0;
  color: #fff;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 500;
  line-height: 1.17;
}

#retreat .goals-course__subtitle {
  max-width: 650px;
  margin: 0.7rem auto 0;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
}

#retreat .goals-course__divider {
  width: 100px;
  height: 2px;
  margin: 1.5rem auto;
  background: rgba(255, 255, 255, 0.48);
}

#retreat .goals-course__description {
  max-width: 680px;
  margin: 0 auto 1.75rem;
  font-size: clamp(0.99rem, 1.9vw, 1.12rem);
  line-height: 1.75;
  color: #fff;
}

#retreat .goals-course__dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 610px;
  gap: 1rem;
  margin: 0 auto;
}

#retreat .goals-course__date {
  box-sizing: border-box;
  min-height: 133px;
  padding: 1.05rem 0.75rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  color: #fff;
}

#retreat .goals-course__date svg {
  width: 25px;
  height: 25px;
  margin-bottom: 0.28rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#retreat .goals-course__date-title {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  line-height: 1.35;
}

#retreat .goals-course__date-type,
#retreat .goals-course__date-time {
  display: block;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.35;
}

#retreat .goals-course__date-type {
  font-weight: 600;
}

#retreat .goals-course__price {
  margin: 0.1rem auto 0.8rem;
  color: #fff;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(2.3rem, 5vw, 2.9rem);
  font-weight: 600;
  line-height: 1.2;
}

#retreat .goals-course__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
  gap: 0.65rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: #fff;
  color: #06768d;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 5px 15px rgba(7, 65, 83, 0.14);
  transition: background-color 0.2s, transform 0.2s;
}

#retreat .goals-course__button:hover,
#retreat .goals-course__button:focus-visible {
  background: #eff9fb;
  color: #045b71;
  transform: translateY(-2px);
}

#retreat .goals-course__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

#retreat .goals-course__note {
  margin: 1rem auto 0;
  color: #fff;
  font-size: 0.82rem;
  opacity: 0.93;
}

@media (max-width: 600px) {
  #retreat .section-content {
    padding: 0;
  }

  #retreat .goals-course__dates {
    gap: 0.65rem;
  }

  #retreat .goals-course__date {
    min-height: 127px;
    padding: 0.9rem 0.5rem;
  }

  #retreat .goals-course__date-title {
    font-size: 1rem;
  }

  #retreat .goals-course__date-time {
    font-size: 0.82rem;
  }

  #retreat .goals-course__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.13em;
  }
}

@media (max-width: 390px) {
  #retreat .goals-course__dates {
    grid-template-columns: 1fr;
  }

  #retreat .goals-course__date {
    min-height: 110px;
  }

  #retreat .goals-course__button {
    padding: 0.85rem 1.15rem;
    font-size: 0.91rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #retreat .goals-course__button {
    transition: none;
  }
}
