/* ================================================================
   HOSTED EVENTS PAGE
   Reuses tokens already defined in styles.css / offerings.css:
   --forest, --forest-deep, --cream-soft, --ink, --accent-2, --serif
   ================================================================ */

/* ---------- Event Hero ---------- */
.event-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 560px);
  background: var(--forest-deep);
  color: var(--cream-soft);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.event-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.event-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.event-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,31,23,0.55), rgba(15,13,10,0.85));
  z-index: 1;
  pointer-events: none;
}
.event-hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.event-hero-panel {
  padding: clamp(28px, 5vw, 48px) 0 clamp(36px, 6vw, 56px);
}
.event-hero-panel .hero-eyebrow {
  color: #e9c483;
}
.event-hero-panel h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  margin: 10px 0 22px;
}
.event-hero-panel h1 em {
  font-style: italic;
  color: #e9c483;
}
.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: rgba(245,239,228,0.85);
  margin-bottom: 28px;
}
.event-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.event-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Four Pillars ---------- */
.pillars-block {
  background: var(--cream-soft);
  padding: 44px 0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.pillar {
  padding: 0 12px;
  border-left: 1px solid rgba(20,24,20,0.12);
}
.pillar:first-child { border-left: none; }
.pillar svg {
  color: var(--forest);
  margin-bottom: 10px;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.pillar p {
  font-size: 13px;
  color: rgba(20,24,20,0.62);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 780px) {
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .pillar { border-left: none; }
}

/* ---------- Details: PDF + sidebar ---------- */
.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}
.pdf-embed-wrap {
  border: 1px solid rgba(20,24,20,0.12);
  background: #f4f1ea;
}
.pdf-embed {
  width: 100%;
  height: clamp(480px, 1015px, 1015px);
  display: block;
  border: none;
}
.pdf-fallback {
  display: none;
  padding: 32px 20px;
  text-align: center;
}
.pdf-fallback p {
  font-family: var(--serif);
  font-style: italic;
  margin: 0 0 14px;
  color: rgba(20,24,20,0.7);
}
/* Shown automatically by browsers that can't render the <embed> */
.pdf-embed-wrap:has(embed:not([type])) .pdf-fallback { display: block; }

.event-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.info-card {
  background: var(--cream-soft);
  border: 1px solid rgba(20,24,20,0.1);
  border-top: 3px solid var(--forest);
  padding: 24px 26px;
}
.info-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 14px;
}
.info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(20,24,20,0.75);
  margin: 0 0 8px;
}
.info-card p:last-child { margin-bottom: 0; }
.info-card a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.info-card a:hover { color: var(--accent-2); }

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20,24,20,0.1);
  font-size: 14px;
  color: var(--ink);
}
.price-line span small {
  display: block;
  font-size: 12px;
  color: rgba(20,24,20,0.55);
  margin-top: 2px;
}
.price-line strong {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--forest);
  white-space: nowrap;
}
.price-note {
  font-size: 12px;
  font-style: italic;
  color: rgba(20,24,20,0.55);
  margin: 10px 0 4px;
}
.price-line-alt {
  border-bottom: none;
  border-top: 1px dashed rgba(20,24,20,0.25);
  margin-top: 6px;
  padding-top: 16px;
}

.info-card-rsvp {
  border-top-color: var(--accent-2);
}
.promo-note strong {
  color: var(--accent-2);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .event-layout { grid-template-columns: 1fr; }
}

/* ---------- Retreat Program schedule ---------- */
.schedule-block {
  background: var(--forest-deep);
  color: var(--cream-soft);
  padding-top: 60px;
  padding-bottom: 60px;
}
.schedule-block .eyebrow { color: #e9c483; }
.schedule-block .display { color: var(--cream-soft); }
.schedule-block .display em { color: #e9c483; font-style: italic; }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}
.schedule-day {
  border-top: 1px solid rgba(245,239,228,0.2);
  padding-top: 20px;
}
.schedule-day h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  color: #e9c483;
  margin: 0 0 16px;
}
.schedule-day ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.schedule-day li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245,239,228,0.85);
}
.schedule-day .time {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(245,239,228,0.55);
  white-space: nowrap;
}
@media (max-width: 880px) {
  .schedule-grid { grid-template-columns: 1fr; gap: 8px; }
  .schedule-day { padding: 22px 0; }
}

/* ---------- Amenity photos ---------- */
.amenities-block {
  background: var(--cream-soft);
  padding: 50px 0;
}
.amenity-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.amenity-strip figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.amenity-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.amenity-strip figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: rgba(18,31,23,0.65);
  color: var(--cream-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .amenity-strip { grid-template-columns: 1fr; }
}

/* ---- contact CTA ---- */
.contact-cta {
  background: var(--forest);
  color: var(--cream-soft);
  padding: clamp(16px, 8vw, 31px) 0;
  text-align: center;
}
.contact-cta .display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.05; margin: 0 0 18px;
  color: var(--cream-soft);
}
.contact-cta .display em { color: #e9c483; font-style: italic; }
.contact-cta p {
  font-family: var(--serif); font-style: italic;
  font-size: 20px; color: rgba(245,239,228,0.85);
  max-width: 56ch; margin: 0 auto 32px; line-height: 1.5;
}
.contact-actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.btn-primary, .btn-ghost {
  padding: 16px 28px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary {
  background: var(--cream-soft); color: var(--ink);
}
.btn-primary:hover { background: var(--accent-2); color: var(--cream-soft); }
.btn-ghost {
  border: 1px solid rgba(245,239,228,0.4);
  color: var(--cream-soft);
}
.btn-ghost:hover { border-color: #e9c483; color: #e9c483; }