/* cro-hero-cta.v1.css — the Apply now / See dates & fees pair under the money-page hero heading.
 * Matches the site's own Elementor button (kit 11756): #A43C1F fill, white text, Fraunces 16px/400,
 * 10px radius. The secondary is solid white with brand-red text so its contrast never depends on
 * the hero photo behind it (#A43C1F on #FFFFFF is 6.6:1; #FFFFFF on #A43C1F the same).
 */
.yn-hero-cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: 28px;
}

.yn-hero-cta .yn-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 15px 24px;
  border: 1px solid #A43C1F;
  border-radius: 10px;
  font-family: "Fraunces", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.yn-hero-cta .yn-hero-cta-primary {
  background-color: #A43C1F;
  color: #FFFFFF;
}

.yn-hero-cta .yn-hero-cta-primary:hover {
  background-color: #85301A;
  border-color: #85301A;
  color: #FFFFFF;
}

.yn-hero-cta .yn-hero-cta-secondary {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #A43C1F;
}

.yn-hero-cta .yn-hero-cta-secondary:hover {
  background-color: #FFFAF5;
  border-color: #FFFAF5;
  color: #85301A;
}

.yn-hero-cta .yn-hero-cta-btn:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #26505E;
}

/* In-page targets: land below the header, not under it. */
[id="yn-dates-fees"],
[id="yn-retreats"] {
  scroll-margin-top: 110px;
}

@media (prefers-reduced-motion: no-preference) {
  html:has([id="yn-dates-fees"]),
  html:has([id="yn-retreats"]) {
    scroll-behavior: smooth;
  }
}

@media (max-width: 767px) {
  .yn-hero-cta {
    gap: 10px;
    margin-top: 20px;
  }

  .yn-hero-cta .yn-hero-cta-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 12px;
  }
}
