/*
Theme Name: The Retreat Visit
Description: A standalone WordPress theme with a sponsored visit landing page template.
Version: 1.1.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: retreat-visit
*/
:root{--forest:#172b23;--ink:#1c3027;--lime:#d7f287;--cream:#f6f5ed;--measure:1200px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.55 system-ui,sans-serif}
a{color:inherit}
a:focus-visible,summary:focus-visible{outline:3px solid #548340;outline-offset:4px}
h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.05;margin:0 0 .45em;letter-spacing:-.035em}
h2{font-size:clamp(2.4rem,5vw,4.4rem)}
h3{font-size:1.75rem}
p{margin:0 0 1em}
.er-wrap{width:min(var(--measure),90%);margin-inline:auto}
.er-header,.er-footer,.er-stats{background:var(--forest);color:white}
.er-nav,.er-footer .er-wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:80px}
.er-nav nav{display:flex;gap:clamp(.7rem,2.4vw,2rem);align-items:center;font-size:.88rem}
.er-nav a,.er-footer a{text-decoration:none}
.er-brand{font:1.25rem Georgia,serif;padding:10px 0 10px 8px}
.er-brand img{display:block;max-width:130px;max-height:64px;width:auto;height:auto}
.er-call{border:1px solid #a5b0a7;padding:.55rem .85rem;border-radius:3px}
.er-hero{background:#344739 var(--hero-image,none) center/cover no-repeat;color:white}
.er-hero-overlay{background:linear-gradient(90deg,rgba(12,26,20,.78),rgba(12,26,20,.32))}
.er-hero .er-wrap{min-height:690px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,435px);gap:5%;align-items:center;padding-block:80px}
.er-kicker{display:block;margin-bottom:1.15rem;letter-spacing:.17em;font-size:.75rem;font-weight:750;text-transform:uppercase}
.er-hero .er-kicker,.er-stats strong{color:var(--lime)}
.er-hero h1{font-size:clamp(3.7rem,8.2vw,7.25rem);line-height:.92;margin-bottom:.28em;letter-spacing:-.06em}
.er-intro p{max-width:29rem;font-size:1.19rem}
.er-video-jump{display:inline-flex;gap:.65rem;align-items:center;text-decoration:none;font-size:clamp(1.25rem,2vw,1.5rem);line-height:1.3;font-weight:700;margin-top:.5rem}
.er-video-jump .er-play{flex:none;font-size:1rem}
.er-play{display:inline-grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:2.3rem;height:2.3rem}
.er-form{background:#fff;color:var(--ink);border-radius:5px;padding:clamp(1.35rem,3vw,2.25rem);box-shadow:0 15px 40px #101b1733}
.er-form h2{font-size:clamp(2rem,3.2vw,2.8rem)}
.er-form p{font-size:.96rem}
.er-form small{display:block;margin-top:1rem;font-size:.77rem}
.er-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.er-form select,.er-form textarea{max-width:100%}
.er-button,.er-form input[type=submit],.er-form button[type=submit]{display:inline-block;background:var(--lime);color:#18291d;border:0;border-radius:3px;padding:.8rem 1.1rem;font:700 1rem/1.4 system-ui;text-align:center;text-decoration:none;cursor:pointer}
.er-form .er-button{width:100%}
.er-stats .er-wrap{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding-block:1.35rem}
.er-stats span{padding:.2rem .6rem;font-size:.83rem}
.er-stats span+span{border-left:1px solid #84998b66}
.er-stats strong{display:block;font:2.25rem/1.1 Georgia,serif;margin-bottom:.35rem}
.er-section{padding-block:clamp(3.5rem,8vw,7rem)}
.er-cards,.er-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem}
.er-card{overflow:hidden;background:white;border-radius:5px}
.er-card img,.er-photo-placeholder{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.er-photo-placeholder{background:linear-gradient(145deg,#273e31,#788465)}
.er-card div{padding:1.5rem}
.er-card p,.er-steps p{margin:0}
.er-feature{background:#e6e9dc}
.er-split{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(1.5rem,5vw,5rem);align-items:center}
.er-video{position:relative;display:grid;place-items:center;aspect-ratio:16/9;background:var(--forest);color:white;overflow:hidden;border-radius:5px;text-decoration:none}
.er-video img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.7}
.er-video .er-play{z-index:1;width:3.75rem;height:3.75rem;background:#172b23b3}
.er-steps{padding-left:1.5rem;margin-bottom:2rem}
.er-steps li{padding:.5rem}
.er-steps li::marker{font-weight:700}
.er-faq details{border-bottom:1px solid #aeb8aa;padding:1rem 0}
.er-faq summary{cursor:pointer;font-weight:650}
.er-faq details p{margin:.7rem 0 0}
.er-footer{padding-block:1.1rem;font-size:.88rem}
.er-content{max-width:760px;min-height:60vh}
.er-content img{max-width:100%;height:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;margin:0;padding:.75rem;top:0;left:0;background:white;color:var(--ink);z-index:1000}
@media(max-width:760px){
.er-hero .er-wrap,.er-cards,.er-steps,.er-split{grid-template-columns:1fr}
.er-hero .er-wrap{gap:2rem;padding-block:3rem}
.er-hero-overlay{background:#13251db3}
.er-nav,.er-footer .er-wrap{flex-wrap:wrap;padding-block:.8rem}
.er-nav nav{flex-wrap:wrap}
.er-stats strong{font-size:1.75rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.er-brand img.custom-logo {
  width: 150px;
  height: auto;
  max-width: 100%;
  max-height: none;
}
.er-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.er-form form label {
  display: block;
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.er-form form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #bfc6ba;
  border-radius: 3px;
  background: #fafbf8;
  color: var(--ink);
  font: inherit;
}
.er-form form :is(button[type="submit"], input[type="submit"], .wp-block-jetpack-button button) {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 3px;
  background: var(--lime);
  color: var(--forest);
  font: 700 16px/1.4 system-ui, sans-serif;
}
.er-form form :is(.wp-block-jetpack-button, .wp-block-button) {
  width: 100%;
}
@media (max-width: 760px) {
  .er-brand img.custom-logo {
    width: 120px;
  }
}
