/* ============================================================
   Restart retreat page and its card (26.93.0)
   template-retreat-restart.php · inc/retreat-restart.php
   Mobile first. Logical properties only, so it is right-to-left
   without mirrored rules.
   ============================================================ */

.rt {
  --rt-ink: #2F2A4D;
  --rt-text: #3a3350;
  --rt-muted: #5d5772;          /* 6.0:1 on paper */
  --rt-gold: #7a5c26;           /* text-safe gold: 5.3:1 on paper, 4.9:1 on warm */
  --rt-line: rgba(58, 51, 80, .16);
  --rt-wa: #1f7a4a;             /* 5.3:1 with white */
  --rt-radius: 18px;
  color: var(--rt-text);
  background: var(--paper, #f6f1e9);
}
.rt .wrap { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.rt h2 {
  font-family: var(--font-editorial), 'Frank Ruhl Libre', serif; font-weight: 500;
  color: var(--rt-ink); font-size: clamp(1.65rem, 4.6vw, 2.3rem); line-height: 1.2;
  margin: 0 0 1rem;
}
.rt h3 { color: var(--rt-ink); font-size: 1.12rem; line-height: 1.35; margin: 0 0 .45rem; font-weight: 700; }
.rt p { line-height: 1.75; margin: 0 0 1rem; }
.rt a { color: var(--rt-ink); }
.rt a:focus-visible, .rt button:focus-visible, .rt summary:focus-visible {
  outline: 3px solid var(--rt-gold); outline-offset: 3px; border-radius: 6px;
}
.rt figure { margin: 0; }
.rt figure img { display: block; width: 100%; height: auto; border-radius: var(--rt-radius); background: #e9e1d2; }
.rt figcaption { font-size: .86rem; color: var(--rt-muted); margin-block-start: .5rem; line-height: 1.5; }

/* ---------- Hero ---------- */
.rt-hero {
  padding-block: calc(var(--header-h, 68px) + 1.25rem) 2.25rem;
  background: linear-gradient(180deg, #efe6d7 0%, var(--paper, #f6f1e9) 100%);
}
.rt-hero-in { display: grid; gap: 1.5rem; }
.rt-eyebrow { font-size: .92rem; font-weight: 600; color: var(--rt-gold); margin: 0 0 .6rem; }
.rt-eyebrow a { color: var(--rt-gold); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: .6rem; margin-block: -.6rem; }
.rt-hero h1 {
  font-family: var(--font-editorial), 'Frank Ruhl Libre', serif; font-weight: 500;
  color: var(--rt-ink); font-size: clamp(2.2rem, 8.5vw, 3.6rem); line-height: 1.05; margin: 0 0 1rem;
}
.rt-h1-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rt-h1-sub {
  display: block; font-family: var(--font-body); font-weight: 600;
  font-size: clamp(1.08rem, 3.6vw, 1.4rem); line-height: 1.35; color: var(--rt-text); margin-block-start: .55rem;
}
.rt-lead { font-size: 1.06rem; color: var(--rt-text); }
.rt-facts { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.rt-facts li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.5; }
.rt-facts svg { flex: 0 0 auto; color: var(--rt-gold); margin-block-start: .1rem; }
.rt-facts strong { color: var(--rt-ink); }

.rt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.5rem; border-radius: 999px;
  background: var(--rt-ink); color: #fff !important; text-decoration: none;
  font-weight: 700; font-size: 1.04rem; line-height: 1.3; text-align: center;
  box-shadow: 0 10px 24px rgba(47, 42, 77, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rt-btn.is-wa { background: var(--rt-wa); box-shadow: 0 10px 24px rgba(31, 122, 74, .25); }
.rt-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(47, 42, 77, .28); }
.rt-cta .rt-btn { width: 100%; }
.rt-cta-note { font-size: .9rem; color: var(--rt-muted); margin: .65rem 0 0; }


/* ---------- Jump links ---------- */
.rt-jump { border-block: 1px solid var(--rt-line); background: var(--paper, #f6f1e9); }
.rt-jump .wrap { display: flex; gap: .25rem 1.2rem; overflow-x: auto; scrollbar-width: none; }
.rt-jump .wrap::-webkit-scrollbar { display: none; }
.rt-jump a {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 48px;
  font-size: .95rem; font-weight: 600; color: var(--rt-text); text-decoration: none;
}
.rt-jump a:hover { color: var(--rt-gold); text-decoration: underline; }

/* ---------- Sections ---------- */
.rt-sec { padding-block: clamp(2.5rem, 7vw, 4.25rem); background: var(--paper, #f6f1e9); }
.rt-sec.rt-warm { background: var(--paper-warm, #efe6d7); }
.rt-prose { max-width: 760px; }
.rt .wrap.rt-prose { max-width: 792px; }
.rt-intro { color: var(--rt-muted); max-width: 680px; }

.rt-grid4 { display: grid; gap: 1rem; }
.rt-item {
  background: rgba(255, 255, 255, .62); border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius); padding: 1.25rem 1.25rem .4rem;
}

.rt-split { display: grid; gap: 1.5rem; align-items: center; }
.rt-split-text h3 { margin-block-start: 1.2rem; }
.rt-wide { margin-block-end: 1.5rem; }

.rt-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.rt-gallery figure img { border-radius: 14px; }
.rt-gallery figcaption { font-size: .8rem; }

/* ---------- Videos ---------- */
.rt-videos {
  list-style: none; margin: 0; padding: 0 0 .5rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%);
  gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory;
}
.rt-videos li { scroll-snap-align: start; }
.rt-video, .rt-video-frame {
  display: block; position: relative; width: 100%; aspect-ratio: 9 / 16;
  border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #1d1830;
}
.rt-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rt-play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--rt-ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}
.rt-video:hover .rt-play { background: #fff; }
.rt-video-cap { font-size: .86rem; line-height: 1.45; margin: .5rem 0 0; color: var(--rt-text); }
.rt-video-cap span { display: block; font-size: .78rem; color: var(--rt-muted); }

/* ---------- FAQ ---------- */
.rt-faq details { border-block-end: 1px solid var(--rt-line); }
.rt-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 56px; padding-block: .7rem;
}
.rt-faq summary::-webkit-details-marker { display: none; }
.rt-faq summary h3 { margin: 0; font-size: 1.05rem; }
.rt-faq summary::after {
  content: ""; flex: 0 0 auto; width: 11px; height: 11px;
  border-right: 2px solid var(--rt-gold); border-bottom: 2px solid var(--rt-gold);
  transform: rotate(45deg); margin-block-start: -4px; transition: transform .2s ease;
}
.rt-faq details[open] summary::after { transform: rotate(-135deg); margin-block-start: 4px; }
.rt-faq details p { margin-block-end: 1.1rem; }

/* ---------- Hero: second way in ---------- */
.rt-cta-alt { display: inline-flex; align-items: center; min-height: 44px; margin-block-start: .35rem; font-weight: 700; color: var(--rt-ink); text-decoration: underline; text-underline-offset: 4px; }
.rt-cta-alt:hover { color: var(--rt-gold); }

.rt-about { padding-block: 2rem 2.5rem; font-size: .93rem; color: var(--rt-muted); }
.rt-about p { margin-block-end: .6rem; }
.rt-links a { display: inline-block; padding-block: .7rem; font-weight: 600; }

/* ---------- Phone sticky button ---------- */
.rt-sticky {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 9980;
  padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 241, 233, .96); border-block-start: 1px solid var(--rt-line);
  box-shadow: 0 -8px 24px rgba(47, 42, 77, .12);
}
.rt-sticky[hidden] { display: none; }
.rt-btn-sticky { width: 100%; min-height: 50px; box-shadow: none; }
.sqf-consent-open .rt-sticky { display: none; }
.rt-sticky-on .rt-about { padding-block-end: 6rem; }
@media (min-width: 761px) { .rt-sticky { display: none !important; } }
@media print { .rt-sticky, .rt-jump { display: none; } }

/* ---------- Wider screens ---------- */
@media (min-width: 600px) {
  .rt-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-videos { grid-auto-columns: minmax(170px, 30%); }
  .rt-cta .rt-btn { width: auto; }
}
@media (min-width: 900px) {
  .rt-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; }
  .rt-split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .rt-videos { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
  .rt-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
}
@media (prefers-reduced-motion: reduce) {
  .rt-btn, .rt-faq summary::after { transition: none; }
}

/* ============================================================
   The retreat card: Field Picks hub and the retreats category
   ============================================================ */
.fp-retreats { padding-block: clamp(2rem, 6vw, 3.25rem) 0; }
.fp-retreats-lead { max-width: 640px; color: #5d5772; margin: 0 0 1.25rem; line-height: 1.7; }
.fp-retreats-list { display: grid; gap: 1rem; }
.rt-in-cat { margin-block-end: 2rem; }
.rt-card {
  position: relative; display: grid; overflow: hidden;
  background: #fff; border: 1px solid rgba(58, 51, 80, .14); border-radius: 18px;
  box-shadow: 0 10px 28px rgba(47, 42, 77, .08);
  transition: box-shadow .2s ease, transform .2s ease;
}
.rt-card:hover { box-shadow: 0 16px 34px rgba(47, 42, 77, .14); transform: translateY(-2px); }
.rt-card:focus-within { outline: 3px solid #8A6A2F; outline-offset: 3px; }
.rt-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.rt-card-body { padding: 1.1rem 1.25rem 1.3rem; }
.rt-card-kicker { font-size: .85rem; font-weight: 600; color: #8A6A2F; margin: 0 0 .3rem; }
.rt-card-title { font-family: var(--font-editorial), 'Frank Ruhl Libre', serif; font-weight: 500; font-size: 1.6rem; line-height: 1.2; margin: 0 0 .35rem; }
.rt-card-title a { color: #2F2A4D; text-decoration: none; }
.rt-card-title a::after { content: ""; position: absolute; inset: 0; }
.rt-card-title a:focus-visible { outline: none; }
.rt-card-sub { color: #3a3350; margin: 0 0 .75rem; line-height: 1.55; }
.rt-card-facts { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .3rem; color: #3a3350; }
.rt-k { display: inline-block; min-width: 3.2em; font-size: .82rem; font-weight: 700; color: #5d5772; }
.rt-card-btn {
  display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1.3rem;
  border-radius: 999px; background: #2F2A4D; color: #fff; font-weight: 700;
}
@media (min-width: 760px) {
  .rt-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; max-width: 920px; }
  .rt-card-media img { height: 100%; aspect-ratio: auto; min-height: 280px; }
  .rt-card-body { padding: 1.6rem 1.8rem; }
}

/* ============================================================
   The closing section: the form, among fruit and vegetables
   ============================================================ */
.rt-lead-sec {
  position: relative; overflow: hidden; color: var(--rt-text);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 214, 102, .55) 0, transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(140, 200, 75, .45) 0, transparent 38%),
    radial-gradient(circle at 92% 12%, rgba(240, 140, 43, .28) 0, transparent 28%),
    linear-gradient(160deg, #fff7e6 0%, #f1f8e4 100%);
  padding-block: clamp(3rem, 9vw, 5.5rem);
}
.rt-lead-sec .wrap { text-align: start; }
.rt-lead-sec h2 { color: #1f4d2b; }
.rt-lead-sec p { color: var(--rt-text); }
.rt-lead-grid { position: relative; z-index: 1; display: grid; gap: 2rem; align-items: center; }
.rt-lead-kicker {
  display: inline-block; margin: 0 0 .8rem !important; padding: .35rem .9rem; border-radius: 999px;
  background: #fff; color: #9a4d00 !important; font-weight: 700; font-size: .9rem;
  box-shadow: 0 4px 14px rgba(240, 140, 43, .18);
}
.rt-lead-or { font-weight: 700; margin-block: 1.4rem .6rem !important; color: #1f4d2b !important; }
.rt-btn-wa-light { background: #1f7a4a; color: #fff !important; }
.rt-btn-wa-light:hover { background: #17633b; }

.rt-form-card {
  position: relative; background: #fff; border-radius: 26px; padding: 1.6rem 1.25rem 1.3rem;
  box-shadow: 0 24px 60px rgba(31, 77, 43, .16), 0 2px 0 rgba(31, 77, 43, .04);
  border: 2px solid #e6f0d6;
}
.rt-form-card::before {
  content: ""; position: absolute; inset-inline: 22px; inset-block-start: -2px; height: 6px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #8cc84b, #f2c94c, #f08c2b, #e5484d);
}
.rt-form-card h3 { font-family: var(--font-editorial), 'Frank Ruhl Libre', serif; font-weight: 500; font-size: 1.55rem; color: #1f4d2b; margin: .2rem 0 .25rem; }
.rt-form-sub { font-size: .92rem; color: var(--rt-muted) !important; margin: 0 0 1.1rem !important; }

.rt-form { display: grid; gap: .95rem; }
.rt-form[hidden] { display: none; }
.rt-field label { display: block; font-weight: 700; font-size: .98rem; color: #1f3a28; margin-block-end: .35rem; }
.rt-req { color: #c2410c; }
.rt-opt { font-weight: 400; color: var(--rt-muted); font-size: .88rem; }
.rt-field input, .rt-field textarea {
  display: block; width: 100%; box-sizing: border-box; min-height: 52px; padding: .7rem 1rem;
  border: 1.5px solid #c9d9b6; border-radius: 14px; background: #fbfdf7;
  font: inherit; font-size: 1.05rem; color: var(--rt-text); text-align: right;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.rt-field input[dir="ltr"] { text-align: right; }
.rt-field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.rt-field input::placeholder, .rt-field textarea::placeholder { color: #7b8571; }
.rt-field input:hover, .rt-field textarea:hover { border-color: #8cc84b; }
.rt-field input:focus, .rt-field textarea:focus {
  outline: none; border-color: #3f8a45; background: #fff; box-shadow: 0 0 0 4px rgba(140, 200, 75, .35);
}
.rt-field [aria-invalid="true"], .rt-check [aria-invalid="true"] { border-color: #b3261e; }
.rt-err { color: #b3261e !important; font-size: .88rem; font-weight: 600; margin: .35rem 0 0 !important; }
.rt-check { display: flex; gap: .7rem; align-items: flex-start; }
.rt-check input { flex: 0 0 auto; width: 24px; height: 24px; margin: .15rem 0 0; accent-color: #3f8a45; }
.rt-check label { font-size: .95rem; line-height: 1.55; cursor: pointer; padding-block: .1rem; }
.rt-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rt-submit {
  appearance: none; border: 0; cursor: pointer; min-height: 56px; border-radius: 999px; width: 100%;
  background: linear-gradient(135deg, #2f7d3b 0%, #1f5e2c 100%); color: #fff;
  font: inherit; font-weight: 700; font-size: 1.12rem;
  box-shadow: 0 12px 26px rgba(31, 94, 44, .3); transition: transform .15s ease, box-shadow .15s ease;
}
.rt-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(31, 94, 44, .36); }
.rt-submit:focus-visible { outline: 3px solid #f08c2b; outline-offset: 3px; }
.rt-submit.is-busy { opacity: .75; cursor: progress; }
.rt-submit.is-busy span::after { content: "…"; }
.rt-form-note { font-size: .85rem; color: var(--rt-muted) !important; text-align: center; margin: 0 !important; line-height: 1.55; }

.rt-form-msg {
  border-radius: 16px; padding: 1rem 1.1rem; margin-block-end: 1rem; line-height: 1.6;
  background: #e9f6dc; border: 1.5px solid #8cc84b; color: #1f3a28;
}
.rt-form-msg.is-bad { background: #fdecea; border-color: #e5a29b; }
.rt-form-msg:focus { outline: 3px solid #f08c2b; outline-offset: 2px; }
.rt-form-msg[hidden] { display: none; }

/* The fruit: decoration only, kept to the edges so it never sits under a field */
.rt-fruit { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rt-fruit .f { position: absolute; display: block; filter: drop-shadow(0 8px 14px rgba(60, 60, 20, .14)); }
.f-lemon   { width: 74px; inset-block-start: 18px;  inset-inline-end: -14px; transform: rotate(-12deg); }
.f-orange  { width: 62px; inset-block-end: 26px;    inset-inline-start: -10px; transform: rotate(18deg); }
.f-straw   { width: 46px; inset-block-start: 22px;  inset-inline-start: 18px; transform: rotate(14deg); }
.f-leaf    { width: 70px; inset-block-end: -10px;   inset-inline-end: 22%; transform: rotate(-30deg); opacity: .9; }
.f-carrot  { width: 44px; inset-block-start: 46%;   inset-inline-start: -8px; transform: rotate(-24deg); display: none !important; }
.f-avo     { width: 54px; inset-block-end: 18px;    inset-inline-end: 8px; transform: rotate(16deg); display: none !important; }
.f-berries { width: 52px; inset-block-start: 40%;   inset-inline-end: -6px; display: none !important; }
.f-lemon.f-2 { width: 52px; inset-block-start: auto; inset-block-end: 40%; inset-inline-end: auto; inset-inline-start: 46%; display: none; }

@media (min-width: 900px) {
  .rt-lead-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 4rem; }
  .rt-form-card { padding: 2rem 2rem 1.6rem; }
  .f-lemon   { width: 120px; inset-block-start: 40px; inset-inline-end: 3%; }
  .f-orange  { width: 96px;  inset-block-end: 40px;   inset-inline-start: 2%; }
  .f-straw   { width: 70px;  inset-block-start: 60px; inset-inline-start: 44%; }
  .f-leaf    { width: 110px; inset-block-end: -18px;  inset-inline-end: 36%; }
  .f-carrot  { display: block !important; width: 56px; inset-block-start: auto; inset-block-end: 18%; inset-inline-start: 1%; }
  .f-avo     { display: block !important; width: 78px; inset-block-end: 50px; inset-inline-end: 4%; }
  .f-berries { display: block !important; width: 64px; inset-block-start: 14%; inset-inline-end: 20%; }
}
@media (prefers-reduced-motion: reduce) { .rt-submit { transition: none; } }

/* ============================================================
   Hero: the venue, full width, the text over it (26.93.2)
   Phone: the photo is a band at the top that fades into the ink
   below, and the text sits on the ink. Wider: the photo fills the
   whole hero and a shade from the text side keeps it readable.
   ============================================================ */
.rt .rt-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 0 2.4rem; /* the photo starts right under the fixed header */
  background: #221c3a; color: #fff;
}
.rt-hero-bg { display: block; position: relative; margin-inline: 0; }
.rt-hero-bg img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.rt-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34, 28, 58, 0) 45%, rgba(34, 28, 58, .85) 85%, #221c3a 100%);
}
.rt .rt-hero-in { position: relative; z-index: 1; margin-block-start: -3.2rem; display: block; }
.rt .rt-hero-text { max-width: 640px; }
.rt .rt-eyebrow, .rt .rt-eyebrow a { color: #f3e2b8; }
.rt .rt-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.rt .rt-h1-sub { color: #f3e2b8; }
.rt .rt-hero .rt-lead { color: rgba(255, 255, 255, .9); }
.rt .rt-facts li { color: rgba(255, 255, 255, .92); }
.rt .rt-facts strong { color: #fff; }
.rt .rt-facts svg { color: #f3e2b8; }
.rt .rt-hero .rt-cta-note { color: rgba(255, 255, 255, .78); }
.rt .rt-hero .rt-cta-alt { color: #fff; }
.rt .rt-hero .rt-cta-alt:hover { color: #f3e2b8; }
.rt .rt-hero .rt-btn { box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.rt .rt-hero a:focus-visible { outline-color: #f3e2b8; }
.rt-hero-cap {
  position: absolute; z-index: 1; inset-block-start: 1.6rem; inset-inline-start: .8rem;
  margin: 0 !important; padding: .15rem .55rem; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: .75rem; line-height: 1.6;
}

@media (min-width: 761px) {
  .rt .rt-hero {
    min-height: min(78vh, 700px); display: flex; align-items: center;
    padding-block: calc(var(--header-h, 68px) + 3rem) 3.5rem;
  }
  .rt-hero-bg { position: absolute; inset: 0; z-index: -1; }
  .rt-hero-bg img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 30% 50%; }
  /* The shade starts on the text's side (right, in Hebrew) and clears toward the sign */
  .rt-hero-bg::after {
    background:
      linear-gradient(to left, rgba(28, 22, 48, .94) 0%, rgba(28, 22, 48, .84) 34%, rgba(28, 22, 48, .35) 62%, rgba(28, 22, 48, .05) 85%),
      linear-gradient(180deg, rgba(28, 22, 48, .45) 0%, rgba(28, 22, 48, 0) 30%);
  }
  .rt .rt-hero-in { margin-block-start: 0; width: 100%; }
  .rt .rt-hero-text { max-width: 600px; }
  .rt-hero-cap { inset-block-start: auto; inset-block-end: 1rem; inset-inline-start: auto; inset-inline-end: 1rem; }
}
/* Tablet widths: the sign sits under the text, so the shade covers the whole photo */
@media (min-width: 761px) and (max-width: 1099px) {
  .rt-hero-bg::after {
    background: linear-gradient(to left, rgba(28, 22, 48, .93) 0%, rgba(28, 22, 48, .82) 55%, rgba(28, 22, 48, .6) 100%);
  }
}

/* ============================================================
   Header, on the retreat page: two buttons, the way a sales page
   carries them (26.93.2)
   ============================================================ */
.site-header .rt-hdr { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.site-header .rt-hdr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; padding: 0 1.15rem; border-radius: 999px; white-space: nowrap;
  font-weight: 700; font-size: .95rem; line-height: 1; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.site-header .rt-hdr-wa { background: #1f7a4a; color: #fff; box-shadow: 0 6px 16px rgba(31, 122, 74, .3); }
.site-header .rt-hdr-wa:hover { background: #17633b; transform: translateY(-1px); }
.site-header .rt-hdr-form { background: #2F2A4D; color: #fff; }
.site-header .rt-hdr-form:hover { background: #3e3766; transform: translateY(-1px); }
.site-header .rt-hdr-btn:focus-visible { outline: 3px solid #b8892f; outline-offset: 2px; }
@media (max-width: 1000px) {
  /* Phone: WhatsApp only, as a round button; the form is one tap away below */
  .site-header .rt-hdr-form { display: none; }
  .site-header .rt-hdr-wa { width: 44px; padding: 0; }
  .site-header .rt-hdr-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ============================================================
   The hero collage: the hosts in front of אוהל יעל, and moments
   from a previous retreat pinned around them
   ============================================================ */
.rt-collage { position: absolute; z-index: 0; inset-inline: 0; inset-block-start: 0; aspect-ratio: 16 / 10; pointer-events: none; }
.rt-hosts-cut {
  position: absolute; z-index: 2; inset-block-end: 0; inset-inline-start: 50%; transform: translateX(50%);
  height: 94%; width: auto; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45));
}
.rt-pol {
  position: absolute; z-index: 1; display: block; width: 25vw; max-width: 190px; padding: 5px 5px 16px;
  background: #fffdf7; border-radius: 4px; box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.rt-pol img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.rt-p1 { inset-block-start: 9%; inset-inline-end: 4%; transform: rotate(-7deg); }
.rt-p2 { inset-block-start: 14%; inset-inline-start: 4%; transform: rotate(6deg); }
.rt-p3, .rt-p4 { display: none; }
.rt-hero-bg::after { z-index: 0; }
.rt .rt-hero-cap { position: static; display: inline-block; margin: 1.2rem 16px 0 !important; background: rgba(255, 255, 255, .1); }

@media (max-width: 760px) {
  /* the band and the collage share one box at the top */
  .rt-hero-bg img { aspect-ratio: 16 / 10; }
  .rt-hero-bg::after { background: linear-gradient(180deg, rgba(34, 28, 58, .25) 0%, rgba(34, 28, 58, .15) 55%, rgba(34, 28, 58, .9) 92%, #221c3a 100%); }
  .rt .rt-hero-in { margin-block-start: .4rem; }
}

@media (min-width: 761px) {
  .rt .rt-hero { min-height: min(84vh, 720px); }
  .rt-collage { inset-block: 0; inset-inline-start: auto; inset-inline-end: 0; width: 48%; aspect-ratio: auto; }
  .rt-hosts-cut { height: 86%; max-height: 600px; inset-inline-start: auto; inset-inline-end: 12%; transform: none; }
  .rt-pol { width: 15vw; max-width: 200px; padding: 7px 7px 22px; }
  .rt-p1 { inset-block-start: 15%; inset-inline-end: 52%; transform: rotate(-6deg); }
  .rt-p2 { inset-block-start: 11%; inset-inline-start: auto; inset-inline-end: 3%; transform: rotate(5deg); }
  .rt-p3 { display: block; inset-block-end: 9%; inset-inline-end: 58%; transform: rotate(4deg); }
  .rt-p4 { display: block; inset-block-start: 48%; inset-inline-end: 0; transform: rotate(-5deg); }
  /* the shade now darkens only the text side, so the collage stays bright */
  .rt-hero-bg::after {
    background:
      linear-gradient(to left, rgba(28, 22, 48, .95) 0%, rgba(28, 22, 48, .88) 40%, rgba(28, 22, 48, .5) 58%, rgba(28, 22, 48, .25) 100%);
  }
  .rt .rt-hero-in { position: relative; z-index: 3; }
  .rt .rt-hero-text { max-width: 52%; }
  .rt .rt-hero-cap { position: absolute; z-index: 3; inset-block-end: .8rem; inset-inline-start: 16px; margin: 0 !important; background: rgba(0, 0, 0, .4); }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .rt-hero-bg::after { background: linear-gradient(to left, rgba(28, 22, 48, .95) 0%, rgba(28, 22, 48, .9) 50%, rgba(28, 22, 48, .55) 70%, rgba(28, 22, 48, .4) 100%); }
  .rt-collage { width: 44%; }
  .rt-hosts-cut { height: 70%; inset-inline-end: 6%; }
  .rt-p3, .rt-p4 { display: none; }
  .rt-p1 { inset-block-start: 12%; inset-inline-end: 52%; }
  .rt .rt-hero-text { max-width: 56%; }
}
@media (min-width: 1400px) {
  .rt-collage { width: 50%; }
  .rt-hosts-cut { inset-inline-end: 16%; }
}
/* The cut-out's right side is where the original photo ended: fade it, never a hard edge */
.rt-hosts-cut {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 16%);
          mask-image: linear-gradient(to left, transparent 0%, #000 16%);
}
@media (min-width: 761px) {
  .rt .rt-hero-cap { inset-inline-end: auto; }
}

/* ---- After the retreat: the page says so, and takes no registrations ---- */
.rt-ended {
  border: 1px solid var(--rt-line); border-inline-start: 4px solid var(--rt-gold);
  background: rgba(255, 255, 255, .78); border-radius: 12px;
  padding: .95rem 1.15rem; max-width: 560px;
}
.rt-ended p { margin: 0; line-height: 1.6; color: var(--rt-text); }
.rt-ended .rt-ended-head { font-weight: 700; font-size: 1.12rem; color: var(--rt-ink); margin-block-end: .2rem; }
.rt-lead-solo { grid-template-columns: minmax(0, 1fr) !important; max-width: 760px; }
.rt-lead-solo .rt-btn { display: inline-flex; width: auto; margin-block-start: .4rem; }
.rt-card-ended {
  display: inline-block; font-size: .78rem; font-weight: 700; line-height: 1;
  color: #fff; background: #5d5772; border-radius: 999px; padding: .32rem .6rem; margin-inline-end: .35rem;
}
.rt-past-h { font-family: var(--font-editorial), 'Frank Ruhl Libre', serif; font-weight: 500; font-size: 1.7rem; color: #2F2A4D; margin: 0 0 .35rem; }
.rt-past-lead { color: #5d5772; margin: 0 0 1.25rem; line-height: 1.7; max-width: 640px; }
