/* Retreat pages polish v1 (owner request 2026-10-09). Scoped to the widget ids the four retreat
   pages share (they are clones of one layout), so the same file can be linked from each of them. */

/* Intro under the H2: real paragraphs with breathing room instead of one <p> split by a <br>. */
.elementor-element-c43546a p { margin: 0 0 14px; }
.elementor-element-c43546a p:last-child { margin-bottom: 0; }

/* Links under "Life at Yoga Nisarga": centred pill buttons, never flush with the screen edge. */
.yn-life-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 24px auto 0;
  padding: 0 16px;
  text-align: center;
}
.yn-life-links a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #A43C1F;
  border-radius: 999px;
  color: #A43C1F;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.yn-life-links a:hover,
.yn-life-links a:focus-visible { background-color: #A43C1F; color: #fff; }

/* Food and "Life at" carousels: one shape for every photo, whatever its source ratio. */
.elementor-element-5abcf92 .swiper-slide-image,
.elementor-element-170638e .swiper-slide-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* "Upcoming Programs" intro: centred and measure-limited like the other section intros. */
.elementor-element-d1ca509 { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 767px) {
  .elementor-element-d1ca509 { padding: 0 16px; }
}

/* Intro sub-heading ("A Path to Balance, Well-Being and Positive Change"). */
.elementor-element-c43546a .yn-intro-sub {
  margin: 26px 0 10px;
  color: #A43C1F;
  font-family: "Marcellus", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

/* "Why Choose" reasons: numbered cards, two columns on desktop, one on phones. */
.yn-why-list {
  counter-reset: yn-why;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 0;
  padding: 0;
  text-align: left;
}
.yn-why-list li {
  counter-increment: yn-why;
  position: relative;
  padding: 22px 22px 20px 74px;
  border: 1px solid #E8C9B9;
  border-radius: 16px;
  background: #FFFBF7;
}
.yn-why-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.yn-why-list li::before {
  content: counter(yn-why);
  position: absolute;
  top: 20px;
  left: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #A43C1F;
  color: #fff;
  font-size: 17px;
  line-height: 38px;
  text-align: center;
}
.yn-why-list h3 {
  margin: 0 0 6px;
  color: #A43C1F;
  font-family: "Marcellus", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}
.yn-why-list p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 767px) {
  .yn-why-list { grid-template-columns: 1fr; gap: 14px; }
  .elementor-element-83e49fb { --container-widget-width: 100%; max-width: 100%; }
  .yn-why-list li { padding: 18px; }
  .yn-why-list li::before { position: static; float: left; margin: 0 12px 6px 0; width: 34px; height: 34px; line-height: 34px; font-size: 15px; }
  .yn-why-list h3 { min-height: 34px; display: flex; align-items: center; }
  .yn-why-list p { clear: both; }
  .elementor-element-c43546a .yn-intro-sub { font-size: 21px; }
}

/* Venue section: photo beside a composed text column instead of three floating lines and dividers. */
.yn-venue {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: 8px auto 0;
  text-align: left;
}
.yn-venue-media { position: relative; isolation: isolate; }
.yn-venue-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: 20px;
  background: #F3E2D6;
}
.yn-venue .yn-venue-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 20px;
}
.yn-venue-kicker {
  margin: 0 0 10px;
  color: #A43C1F;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.yn-venue-lead {
  margin: 0 0 22px;
  color: #1A1A1A;
  font-family: "Marcellus", serif;
  font-size: 22px;
  line-height: 1.45;
}
.yn-venue-points { list-style: none; margin: 0 0 26px; padding: 0; }
.yn-venue-points li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.65;
}
.yn-venue-points li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #A43C1F;
}
.yn-venue-points strong { color: #A43C1F; font-weight: 600; }
.yn-venue-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 10px;
  background: #A43C1F;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease;
}
.yn-venue-cta:hover,
.yn-venue-cta:focus-visible { background: #7F2E17; color: #fff; }
.yn-venue-cta:focus-visible { outline: 3px solid #1A1A1A; outline-offset: 2px; }
@media (max-width: 900px) {
  .yn-venue { grid-template-columns: 1fr; gap: 34px; padding: 0 16px; }
  .yn-venue-media::after { inset: 12px -10px -12px 10px; }
  .yn-venue-lead { font-size: 19px; }
  .yn-venue-cta { width: 100%; justify-content: center; }
}
