/* Landing pages for Sacred Ceremonies, Retreats and Energy Healing. They reuse the Return to Self layout
   (return-to-self/rts.css) and the main site's styles.css; only what is specific to these pages is here.
   Each page sets --op-photo (the offering's own photograph, the one revealed behind its door). */

/* HERO: the offering's photograph behind the title, fading softly into the night sky */
.op-page .rts-hero::before{
  background:linear-gradient(rgba(4,8,28,0.42), rgba(4,8,28,0.42)), var(--op-hero, var(--op-photo)) center var(--op-hero-pos, 45%) / cover no-repeat;
}
.op-page .rts-hero{ padding-top:130px; padding-bottom:140px; }
.op-page .rts-hero h1{ font-size:clamp(2.2rem, 6vw, 4rem); }

/* FINAL CALL: the same photograph again, faded behind the button */
.op-page .rts-join::before{
  background:var(--op-photo) center 40% / cover no-repeat;
  opacity:0.5;
}

/* Introduction + options sit on paper */
.op-intro{ padding-bottom:40px; }
.op-options{ padding-top:20px; padding-bottom:90px; }
.op-opts{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:22px; max-width:820px; margin:0 auto; }
.op-opt{ text-align:center; padding:34px 26px 32px; }
.op-opt h3{ font-size:1.4rem; margin-bottom:6px; }
.op-price{ margin:6px 0 16px !important; display:flex; flex-direction:column; align-items:center; gap:2px; }
.op-price .serif{ font-size:clamp(2.4rem, 5vw, 3.1rem); line-height:1.1; color:var(--gold); font-weight:600; }
.op-price small{ font-size:0.74rem; letter-spacing:0.14em; text-transform:uppercase; color:#6b7188; }

/* HOW: steps beside a framed photograph, on one continuous night sky */
.op-how.starfield-group{
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(29,74,143,0.34), transparent 72%),
    url("/assets/star-pattern-2.svg");
  background-repeat:no-repeat, repeat; background-size:100% 100%, 340px 340px;
  padding-bottom:100px;
}
.op-how-grid{ max-width:760px; margin:10px auto 0; }
.op-steps{ list-style:none; margin:0; padding:0; }
.op-steps li{ display:grid; grid-template-columns:44px 1fr; gap:14px; padding:20px 0; border-top:1px solid rgba(201,162,74,0.35); }
.op-steps li:last-child{ border-bottom:1px solid rgba(201,162,74,0.35); }
.op-steps h3{ font-size:1.18rem; font-weight:500; margin:0 0 5px; color:var(--cream); line-height:1.3; }
.op-steps p{ margin:0; font-size:0.95rem; line-height:1.6; color:rgba(247,244,236,0.74); }
/* PREPARATION */
.op-prep{ padding-top:84px; padding-bottom:84px; }
.op-prep-list{ list-style:none; margin:30px 0 0; padding:0; display:flex; flex-direction:column; gap:14px; }
.op-prep-list li{ position:relative; padding:0 0 0 30px; font-size:1.04rem; line-height:1.7; color:#3a3f3c; }
.op-prep-list li::before{ content:"✦"; position:absolute; left:0; top:3px; color:var(--gold); font-size:0.8rem; }
[dir="rtl"] .op-prep-list li{ padding:0 30px 0 0; }
[dir="rtl"] .op-prep-list li::before{ left:auto; right:0; }
.op-link{ color:var(--royal); font-weight:600; letter-spacing:0.04em; text-decoration:none; border-bottom:1px solid var(--gold); padding-bottom:2px; }
.op-link:hover{ color:var(--royal-deep); }

@media (max-width:860px){
  .op-opts{ grid-template-columns:1fr; }
  .op-page .rts-hero{ padding-top:92px; padding-bottom:86px; }
}
html[lang="fa"] .op-price small{ letter-spacing:0; }
html[lang="ru"] .op-steps h3{ font-weight:700; }
html[lang="fa"] .op-steps h3{ line-height:1.6; }

/* The main page's hero-to-sky melt must not touch these pages: their heroes end solid */
.op-page .hero{ -webkit-mask-image:none; mask-image:none; }

/* Sacred Ceremonies "The way in": six steps kept compact on phones */
@media (max-width:600px){
  .op-page[data-meta="cer"] .op-steps li{ padding:14px 0; gap:10px; grid-template-columns:34px 1fr; }
  .op-page[data-meta="cer"] .op-steps h3{ font-size:1.1rem; margin-bottom:3px; }
  .op-page[data-meta="cer"] .op-steps p{ font-size:.92rem; line-height:1.55; }
}

/* RETREATS: the two kinds of retreat reuse the "What membership opens" arches (styles.css .mg-opens) as they are;
   only the night-sky backdrop and the two-column layout are set here. */
.op-types.starfield-group{
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(29,74,143,0.30), transparent 72%),
    url("/assets/star-pattern-2.svg");
  background-repeat:no-repeat, repeat; background-size:100% 100%, 340px 340px;
  padding-top:56px; padding-bottom:30px;
}
.op-types .op-types-grid{ margin:26px auto 0; grid-auto-rows:1fr; }
.op-types .mg-opens li[data-href=""]{ cursor:pointer; }
.op-types .mg-opens li[data-href]:not([data-href=""]){ cursor:pointer; }
@media (min-width:761px){ .op-types .op-types-grid{ grid-template-columns:repeat(2, minmax(0, 290px)); justify-content:center; gap:26px; } }
@media (max-width:760px){ .op-types .op-types-grid{ max-width:340px; } }

/* RETREATS (phones): the longer tagline wraps into two centred lines so it stays clear of the music button */
@media (max-width:600px){ .op-page[data-meta="ret"] .rts-hero-tags{ max-width:270px; margin-left:auto; margin-right:auto; } }
