/* =====================================================================
   The public website (site.php, includes/website.php), in the look of www.essence.nl.
   Plain CSS, no build step. Sizes and colours were measured on the current site:
   body Open Sans 16px/32px #707071, headings Fira Sans 34px/500 #202020, pill buttons #d24670, content 1185px wide.
   Contents: 1 fonts and basics · 2 header · 3 buttons · 4 blocks · 5 each kind of block · 6 blog post · 7 footer · 8 small screens
   ===================================================================== */

/* ---------- 1. Fonts and basics ---------- */
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-style: normal; font-display: swap;
  src: url("fonts/open-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-style: italic; font-display: swap;
  src: url("fonts/open-sans-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/fira-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/fira-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/fira-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --text: #707071;
  --ink: #202020;
  --ink-soft: #333;
  --nav: #6a6b6c;
  --raspberry: #d24670;
  --raspberry-dark: #b8375f;
  --purple: #673695;
  --tint: #f7f8f8;
  --line: #bdbdbd;
  --footer: #2b2b2b;
  --footer-bar: #222;
  --ok: #2f8f5b;
  --full: #9c2a52;
  --gold: #f6bb06;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Fira Sans", "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1185px;
  --gutter: 20px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 2; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--raspberry); }
a:hover { color: var(--raspberry-dark); }
p { margin: 0 0 16px; }
p, li, h1, h2, h3, h4 { overflow-wrap: break-word; }      /* a long address never pushes the page wider than the screen */
ul, ol { margin: 0 0 16px; padding-left: 24px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; color: var(--ink); margin: 0 0 24px; }
h2 { font-size: 34px; line-height: 1.4; }
h3 { font-size: 22px; line-height: 1.4; color: var(--ink-soft); }
strong { font-weight: 700; color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(900px, 100% - 2 * var(--gutter)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 6px 14px; border-radius: 6px; }
.skip-link:focus { top: 8px; }
.icon { display: block; }
.stars { color: var(--gold); letter-spacing: 2px; line-height: 1; }

/* A photo used as the background of a block: it fills the block and sits behind the text, under a dark veil. */
.bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; }

/* ---------- 2. Header ---------- */
.site-header { background: #fff; position: relative; z-index: 20; }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 96px; }
.site-logo { flex: none; display: block; }
.site-logo img { width: 154px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; }
.site-nav__link { display: block; padding: 10px 9px; color: var(--nav); font-size: 12px; font-weight: 500; line-height: 24px; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; }
.site-nav__link:hover, .site-nav__item.is-current > .site-nav__link { color: var(--raspberry); }
.has-sub > .site-nav__link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.site-nav__sub { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 8px 0; background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14); border-radius: 0 0 8px 8px; }
.site-nav__item:hover > .site-nav__sub, .site-nav__item:focus-within > .site-nav__sub { display: block; }
.site-nav__sub a { display: block; padding: 6px 18px; color: var(--nav); font-size: 12px; font-weight: 500; letter-spacing: 1px; line-height: 24px;
  text-transform: uppercase; text-decoration: none; }
.site-nav__sub a:hover, .site-nav__sub a[aria-current] { color: var(--raspberry); }
.site-nav__item .btn { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; padding: 0; border: 2px solid var(--raspberry); border-radius: 50%;
  background: #fff; color: var(--raspberry); align-items: center; justify-content: center; cursor: pointer; }
.site-social { display: flex; align-items: center; gap: 16px; list-style: none; margin: 0; padding: 0; flex: none; }
.site-social__link { display: block; color: var(--purple); }
.site-social__link:hover { color: var(--raspberry); }
.site-social__link--whatsapp { color: #25d366; }

/* ---------- 3. Buttons ---------- */
.btn { display: inline-block; padding: 12px 40px; border: 2px solid var(--raspberry); border-radius: 99px; background: var(--raspberry); color: #fff;
  font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 24px; text-align: center; text-decoration: none; text-transform: uppercase;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--raspberry-dark); border-color: var(--raspberry-dark); color: #fff; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; font-weight: 400; }
.btn--outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--small { padding: 4px 16px; font-size: 12px; letter-spacing: 1px; }
.btn--tiny { padding: 3px 16px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.btn--block { display: block; width: 100%; padding-inline: 16px; font-size: 14px; letter-spacing: 1px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- 4. Blocks ---------- */
.block { position: relative; padding: 80px 0; }
.block > .wrap { position: relative; z-index: 2; }
.block h2 { text-transform: uppercase; }
.block--tint { background: var(--tint); }
.block--dark { background: #111; color: #fff; }
.block--dark::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .35); }
.block--dark h2, .block--dark h3, .block--dark strong { color: #fff; }

/* ---------- 5. Each kind of block ---------- */

/* hero: the opening photo of the home page */
.hero { position: relative; aspect-ratio: 1920 / 889; min-height: 460px; max-height: 760px; width: 100%; overflow: hidden; background: #1c241a; color: #fff; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .15)); z-index: 1; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero__content { position: relative; z-index: 2; padding-bottom: 40px; }
.hero__kicker { margin: 0 0 6px; font-size: 22px; font-weight: 500; letter-spacing: 1px; line-height: 1.5; }
.hero__title { max-width: 980px; margin: 0 0 28px; color: #fff; font-family: var(--font-head); font-size: 60px; font-weight: 600; line-height: 1.2; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 20px; }
.hero__video { position: absolute; right: 24px; bottom: 28px; z-index: 3; width: min(416px, 36vw); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 56px; z-index: 3; display: flex; justify-content: center; gap: 16px; }
.hero__dots[hidden] { display: none; }
.hero__dot { width: 13px; height: 13px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.hero__dot.is-active { background: #cfcfcf; border-color: #cfcfcf; }

/* title: the dark band with the page title */
.title-band { position: relative; display: flex; align-items: center; min-height: 152px; padding: 40px 0; background: #1b2a1d; text-align: center; overflow: hidden; }
.title-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .2); }
.title-band__in { position: relative; z-index: 2; }
.title-band h1 { margin: 0; color: #fff; font-size: 34px; line-height: 1.3; text-transform: uppercase; }

/* intro: centred lines on soft grey */
.intro { text-align: center; }
.intro h2 { margin-bottom: 30px; }
.intro p:last-child { margin-bottom: 0; }

/* split: a picture next to text */
.split__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--image-right .split__image { order: 2; }
.split--top .split__in { align-items: start; }      /* with lines that open and close, the picture stays at the top */
.split__image img { width: 100%; border-radius: var(--radius); }
.split__text > .btn { margin-top: 16px; }
.split__text li { margin-bottom: 14px; line-height: 1.75; }
.split + .split { padding-top: 0; }

/* accordion: lines that open and close (used in split and faq) */
.accordion { margin: 8px 0 16px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 8px 44px 8px 0; color: #000; font-size: 19px; font-weight: 600; line-height: 38px; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -7px; border: solid #000;
  border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.accordion details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion__body { padding: 4px 0 12px; font-size: 14px; line-height: 2; }
.accordion__body li { margin-bottom: 6px; }
.accordion--wide summary { color: var(--ink-soft); font-size: 18px; font-weight: 700; line-height: 36px; padding-left: 4px; }
.accordion--wide .accordion__body { padding-left: 4px; }

/* cards: pictures with a name, on a dark photo */
.cards { text-align: center; }
.cards__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; list-style: none; margin: 0 0 36px; padding: 0; }
.cards__card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: var(--radius); }
.cards__card a { color: inherit; text-decoration: none; }
.cards__label { display: block; margin-top: 10px; font-size: 18px; }

/* steps: the days of a retreat */
.steps { text-align: center; }
.steps__intro { max-width: 1060px; margin: 0 auto 32px; }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; margin: 0; padding: 0; }
.steps__badge { display: flex; align-items: center; justify-content: center; width: 108px; height: 108px; margin: 0 auto 20px; border-radius: 50%; background: var(--purple);
  color: #fff; font-family: var(--font-head); font-size: 27px; font-weight: 500; line-height: 1; text-transform: uppercase; }
.steps__step h3 { margin-bottom: 8px; }
.steps__schedule { margin: 20px 0 0; padding: 0 0 0 30px; list-style: none; text-align: left; }
.steps__schedule li { position: relative; padding-left: 22px; }
.steps__schedule li::before { content: ""; position: absolute; left: 0; top: 12px; border: 4px solid transparent; border-left: 6px solid var(--ink-soft); }
.steps--dark { padding: 60px 0 70px; }
.steps--dark::after { background: rgba(0, 0, 0, .55); }
.steps--dark .steps__badge { width: 68px; height: 68px; margin-bottom: 10px; font-size: 20px; }
.steps--dark h3 { font-size: 20px; }
.steps--dark p { font-size: 15px; }

/* band: a short call to action on a dark photo */
.band { padding: 70px 0; text-align: center; }
.band::after { background: rgba(0, 0, 0, .55); }
.band h2 { margin-bottom: 4px; }
.band p { font-size: 18px; }

/* dates: the retreats that can be booked */
.dates { padding: 0 0 70px; }
.dates__bg { height: 300px; bottom: auto; }
.dates::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 300px; z-index: 1; background: rgba(0, 0, 0, .45); }
.dates__in { padding-top: 64px; }
.dates h2 { margin-bottom: 26px; color: #fff; text-align: center; }
.dates__card { padding: 10px 24px 16px; background: #fff; border-radius: 6px; font-family: var(--font-head); line-height: 1.4; }
.dates__empty { margin: 24px 8px; }
.dates__table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.dates__table th { padding: 14px 12px; color: var(--ink); font-size: 15px; font-weight: 600; text-align: left; }
.dates__table td { padding: 15px 12px; background: #f3f5f3; color: var(--ink); font-size: 15px; }
.dates__table td:first-child { border-radius: 8px 0 0 8px; }
.dates__table td:last-child { border-radius: 0 8px 8px 0; }
.dates__period { white-space: nowrap; }
.dates__status { white-space: nowrap; }
.dates__dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--ok); vertical-align: middle; }
.dates__row--full .dates__dot { background: var(--full); }
.dates__row--full td { color: var(--text); }
.dates__action { text-align: right; white-space: nowrap; }

/* reviews: what participants wrote */
.reviews { padding: 70px 0; }
.reviews h2 { margin-bottom: 30px; text-align: center; }
.reviews__in { display: flex; gap: 36px; align-items: center; }
.reviews__summary { flex: none; width: 200px; text-align: center; line-height: 1.5; }
.reviews__summary .stars { display: block; margin: 4px 0 8px; font-size: 34px; }
.reviews__verdict { margin: 0; color: var(--ink); font-size: 20px; font-weight: 700; }
.reviews__count { margin: 0; color: var(--ink); font-size: 14px; }
.reviews__source { margin: 6px 0 0; font-size: 14px; }
.reviews__list { flex: 1; min-width: 0; display: flex; gap: 16px; list-style: none; margin: 0; padding: 4px 4px 14px; overflow-x: auto; scroll-snap-type: x mandatory; }
.reviews__card { flex: none; width: calc((100% - 32px) / 3); min-width: 250px; padding: 18px 18px 14px; background: #fff; border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08); scroll-snap-align: start; line-height: 1.5; }
.reviews__who { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; margin-bottom: 10px; }
.reviews__initial { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--purple); color: #fff; font-weight: 600; }
.reviews__name { color: var(--ink); font-size: 14px; font-weight: 700; }
.reviews__on { color: var(--text); font-size: 12px; }
.reviews__card .stars { font-size: 18px; }
.reviews__text { margin: 10px 0 0; color: var(--ink); font-size: 14px; }
.reviews__text.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.reviews__more { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* quotes: what participants wrote themselves, in a row to scroll through */
.quotes h2 { text-align: center; }
.quotes__list { width: 100%; }
.quotes__text { margin: 0; font-style: italic; }
.quotes__name { margin: 12px 0 0; color: var(--ink); font-size: 14px; font-weight: 700; }

/* faq */
.faq h2 { text-align: center; }

/* video: a play button, heading and text on a dark photo */
.video { display: flex; align-items: center; min-height: 545px; padding: 60px 0; }
.video::after { background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%); }
.video .wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.video > .bg { object-position: right center; }
.video__text { width: 50%; max-width: 590px; }
.video__play { display: inline-block; margin-bottom: 8px; }
.video__play .icon { width: 52px; height: 52px; }
.video__text p { color: #d2d2d2; }

/* books */
.books h2, .books__intro, .books__more { text-align: center; }
.books__intro { max-width: 1100px; margin: 0 auto 28px; }
.books__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0 0 40px; padding: 0; }
.books__book img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.books__title { margin: 14px 0 0; color: #000; font-size: 18px; line-height: 25px; }
.books__author { margin: 2px 0 0; font-size: 14px; }

/* text: a heading and running text */
.text--center { text-align: center; }
.text--center .prose ul, .text--center .prose ol { display: inline-block; text-align: left; }
.text .prose > :last-child { margin-bottom: 0; }
.text + .text { padding-top: 0; }
.text__buttons { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 0; }
.text--center .text__buttons, .columns .text__buttons, .media .text__buttons { justify-content: center; }

/* columns: pieces of text next to each other */
.columns h2, .columns__intro { text-align: center; }
.columns__intro { max-width: 1000px; margin: 0 auto 32px; }
.columns__list { display: grid; gap: 34px; }
.columns__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.columns__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.columns__column img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; margin-bottom: 18px; border-radius: var(--radius); }
.columns__column h3 { margin-bottom: 12px; font-size: 20px; text-transform: uppercase; }
.columns__column li { margin-bottom: 10px; line-height: 1.75; }
.columns__column > :last-child { margin-bottom: 0; }

/* media: books, articles, videos, podcasts */
.media h2, .media__intro { text-align: center; }
.media__intro { max-width: 1000px; margin: 0 auto 28px; }
.media__list { display: grid; gap: 28px 20px; list-style: none; margin: 0; padding: 0; }
.media__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media__item img { width: 100%; }
.media--portrait .media__item img { aspect-ratio: 2 / 3; object-fit: cover; }
.media--wide .media__item img { aspect-ratio: 16 / 9; object-fit: cover; }
.media__item a { color: inherit; text-decoration: none; }
.media__item a:hover .media__title { color: var(--raspberry); }
.media__title { display: block; margin-top: 14px; color: #000; font-size: 18px; line-height: 25px; }
.media__subtitle { display: block; margin-top: 2px; font-size: 14px; line-height: 1.6; }
.media + .media { padding-top: 0; }

/* team: the people of Essence */
.team h2, .team__intro { text-align: center; }
.team__intro { max-width: 1000px; margin: 0 auto 36px; }
.team__list { display: grid; gap: 40px 24px; list-style: none; margin: 0; padding: 0; text-align: center; }
.team__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team__list--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.team__person img { width: auto; max-width: min(100%, 305px); margin: 0 auto 16px; border-radius: var(--radius); }
.team__name { margin: 0 0 4px; font-size: 20px; text-transform: capitalize; }
.team__role, .team__email { margin: 0 0 6px; font-size: 14px; line-height: 1.6; }
.team__more { margin-top: 12px; }
.team__more summary { list-style: none; cursor: pointer; }
.team__more summary::-webkit-details-marker { display: none; }
.team__about { margin-top: 14px; padding: 16px 18px; background: #fff; border-radius: 8px; color: var(--text); font-size: 14px; line-height: 1.75; text-align: left; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.team__about > :last-child { margin-bottom: 0; }
.team__about li { margin-bottom: 6px; }
.team:not(.block--dark) + .team:not(.block--dark) { padding-top: 0; }

/* contact and forms */
.contact__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.contact__images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.contact__images img { width: 100%; border-radius: var(--radius); }
.form__field { margin: 0 0 16px; }
.form__field label { display: block; margin-bottom: 4px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.6; }
.form input, .form textarea, .form select { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  color: var(--ink); font: inherit; line-height: 1.5; }
.form__note { margin: 12px 0 0; font-size: 13px; }
.form__problem { display: block; margin-top: 4px; color: #b3261e; font-size: 13px; line-height: 1.5; }
.form [aria-invalid="true"] { border-color: #b3261e; }
.form__error { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid #b3261e; background: #fdf1f0; color: #7a1a14; font-size: 15px; line-height: 1.5; }
.form__done { padding: 18px 20px; border-left: 3px solid var(--purple); background: #f5f1fa; color: var(--ink); }
.form__done p { margin: 0; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form, .form__done, #form-newsletter { scroll-margin-top: 90px; }      /* after sending, the page opens at the form: keep its heading in view */

/* ---------- 6. Blog post ---------- */
.title-band--post { padding: 26px 0 30px; }
.title-band--post h1 { text-transform: none; padding-bottom: 20px; }
.post-meta { display: flex; align-items: center; gap: 44px; color: #fff; font-size: 14px; line-height: 1.9; text-align: left; }
.post-meta p { margin: 0; }
.post-meta__photo { flex: none; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; }

.post { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; padding: 50px 0 80px; }
.post__image { margin-bottom: 14px; }
.post__image img { width: 100%; }
.post__share { display: flex; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.post__share-link { display: block; padding: 0 14px; border-radius: 99px; color: #fff; font-size: 12px; line-height: 26px; text-decoration: none; }
.post__share-link:hover { color: #fff; opacity: .88; }
.post__share-link--share { background: #3b5998; }
.post__share-link--tweet { background: #55acee; }
.post__share-link--pin { background: #cb2027; }

.toc { margin: 0 0 30px; padding: 18px 26px 12px; background: #eff0f1; line-height: 1.9; }
.toc summary { color: var(--ink); font-size: 17px; font-weight: 700; cursor: pointer; }
.toc__list { list-style: none; margin: 8px 0 0; padding: 0; }
.toc__item { font-size: 15px; }
.toc__number { color: var(--raspberry); font-size: 13px; }
.toc__item a { color: var(--ink-soft); text-decoration: none; }
.toc__item a:hover { color: var(--raspberry); text-decoration: underline; }

.prose p { margin: 0 0 24px; }
.prose h2 { margin: 12px 0 24px; color: var(--text); scroll-margin-top: 20px; }
.prose h3 { margin: 0 0 20px; font-family: var(--font-body); font-size: 18px; font-weight: 700; color: var(--ink-soft); scroll-margin-top: 20px; }
.prose li { margin-bottom: 16px; }
.prose li > ul, .prose li > ol { margin-top: 12px; }
.prose a { text-decoration: underline; }
.table-scroll { margin: 0 0 30px; overflow-x: auto; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; }
.prose th { padding: 10px 20px; background: var(--purple); color: #fff; font-weight: 700; text-align: center; }
.prose td { padding: 10px 20px; vertical-align: middle; }
.prose td p { margin: 0; }
.prose tr:nth-child(odd) td { background: #ededed; }

.post-author { display: flex; gap: 20px; align-items: stretch; margin: 40px 0 30px; }
.post-author__photo { position: relative; flex: none; width: 270px; background: #222; }
.post-author__photo img { width: 100%; height: 100%; min-height: 170px; max-height: 190px; object-fit: cover; object-position: center 20%; }
.post-author__name { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 30px 10px 8px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .75));
  color: #fff; font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: 1px; text-align: center; }
.post-author__title { margin: 0 0 12px; color: var(--ink); font-weight: 700; }
.post-author__text p:last-child { margin: 0; line-height: 1.75; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; }
.post-nav__link { display: inline-flex; align-items: center; gap: 14px; padding: 6px 20px; font-size: 14px; letter-spacing: 1.5px; text-decoration: none; }
.post-nav__link .icon { width: 16px; height: 16px; }
.post-nav__link--prev { background: #d8e0ea; color: var(--ink-soft); }
.post-nav__link--next { margin-left: auto; background: var(--purple); color: #fff; }
.post-nav__link:hover { color: #fff; background: var(--raspberry); }

.post__side { font-size: 14px; line-height: 1.75; }
.side-search { display: flex; margin-bottom: 26px; }
.side-search input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #e3e3e3; border-right: 0; background: #f7f7f7; color: var(--ink); font: inherit; font-size: 13px; }
.side-search button { flex: none; width: 42px; height: 40px; padding: 0; border: 0; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.side-search button .icon { width: 18px; height: 18px; }
.side-box { margin-bottom: 26px; padding: 20px 18px 22px; background: #f8e9ee; }
.side-box__title { margin: 0 0 6px; color: var(--ink); font-family: var(--font-head); font-size: 19px; font-weight: 500; }
.side-box input { display: block; width: 100%; height: 40px; margin-bottom: 12px; padding: 0 12px; border: 1px solid #e3cdd5; background: #fff; font: inherit; }
.side-box__note { margin: 10px 0 0; font-size: 12px; }
.side-box .form__error { margin-bottom: 12px; font-size: 13px; }
.side-box .form__trap input { height: 1px; }
.side-title { margin: 34px 0 16px; font-size: 19px; line-height: 1.4; text-transform: capitalize; }
.side-posts { list-style: none; margin: 0; padding: 0; }
.side-posts li { margin-bottom: 18px; }
.side-posts a { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; color: var(--ink-soft); }
.side-posts img { width: 110px; height: 90px; object-fit: cover; }
.side-categories { list-style: none; margin: 0; padding: 0 0 0 16px; }
.side-categories li { margin-bottom: 8px; }
.side-categories a { color: var(--ink-soft); }
.search-results { list-style: none; margin: 20px 0 0; padding: 0; }
.search-results li { padding: 10px 0; border-bottom: 1px solid #e6e6e6; }
.search-results span { display: block; font-size: 13px; }

/* a list of posts: the blog, a category, the author */
.post-card { margin-bottom: 44px; padding-bottom: 32px; border-bottom: 1px solid #e6e6e6; }
.post-card__image { display: block; margin-bottom: 20px; }
.post-card__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__title { margin-bottom: 12px; font-size: 26px; line-height: 1.35; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--raspberry); }
.post-card p { margin: 0; }
.post-author--top { margin-bottom: 40px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; font-size: 14px; }
.pager__where { margin: 0; }
.pager__links { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pager__links a { display: block; padding: 4px 16px; background: #d8e0ea; color: var(--ink-soft); letter-spacing: 1px; text-decoration: none; }
.pager__links a:hover { background: var(--raspberry); color: #fff; }

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--footer); color: #e7e7e7; font-size: 14px; line-height: 30px; }
.site-footer__in { display: grid; grid-template-columns: 330px 1fr; gap: 70px; padding: 44px 0 36px; }
.site-footer__about img { margin-bottom: 14px; }
.site-footer__about p { margin: 0; }
.site-footer__title { margin: 14px 0 12px; color: #fff; font-size: 15px; }
.site-footer__columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.site-footer__columns ul { list-style: none; margin: 0; padding: 0 0 0 10px; }
.site-footer__columns a { color: #fff; line-height: 28px; text-decoration: none; }
.site-footer__columns a:hover { text-decoration: underline; }
.site-footer__bar { background: var(--footer-bar); }
.site-footer__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.site-footer__bar p { margin: 0; color: #999; font-size: 12px; line-height: 1.7; }
.site-social--footer .site-social__link { color: #fff; }
.site-social--footer .icon { width: 18px; height: 18px; }

/* ---------- 8. Small screens ---------- */
@media (max-width: 1080px) {
  .site-header__in { flex-wrap: wrap; min-height: 76px; padding: 10px 0; gap: 16px; }
  .nav-toggle { display: flex; order: 2; }
  .site-social { order: 3; }
  .site-nav { order: 4; flex-basis: 100%; margin: 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { display: block; padding: 6px 0 14px; border-top: 1px solid #eee; }
  .site-nav__link { padding: 8px 4px; font-size: 13px; }
  .site-nav__sub { display: block; position: static; padding: 0 0 6px 18px; box-shadow: none; }
  .site-nav__sub a { padding: 4px 4px; }
  .site-nav__item .btn { margin: 10px 0 0; }
  .hero__title { font-size: 44px; }
}
@media (max-width: 900px) {
  .block { padding: 56px 0; }
  h2 { font-size: 28px; }
  .split__in { grid-template-columns: 1fr; gap: 28px; }
  .split--image-right .split__image { order: 0; }
  .steps__list { grid-template-columns: 1fr; gap: 44px; }
  .steps__schedule { max-width: 420px; margin-inline: auto; padding-left: 0; }
  .books__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns__list--3, .columns__list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media__list--3, .media__list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team__list--4, .team__list--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__in { grid-template-columns: 1fr; gap: 36px; }
  .post { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 30px; }
  .reviews__in { flex-direction: column; gap: 20px; }
  .reviews__list { width: 100%; }
  .reviews__card { width: 78%; }
  .site-footer__in { grid-template-columns: 1fr; gap: 20px; }
  .video { min-height: 420px; }
  .video::after { background: rgba(0, 0, 0, .6); }
  .video__text { width: auto; }
  .dates__in { padding-top: 44px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { aspect-ratio: auto; min-height: 600px; max-height: none; }
  .hero__content { padding-bottom: 150px; }
  .hero__kicker { font-size: 16px; }
  .hero__title { font-size: 32px; margin-bottom: 20px; }
  .hero__buttons { gap: 12px; }
  .hero__buttons .btn { padding: 10px 26px; font-size: 14px; }
  .hero__video { left: 50%; right: auto; bottom: 64px; width: 260px; margin-left: -130px; }
  .hero__dots { bottom: 26px; }
  .title-band h1 { font-size: 28px; }
  .title-band--post h1 { font-size: 26px; }
  .post-meta { gap: 18px; font-size: 13px; }
  .post-meta__photo { width: 76px; height: 76px; }
  .cards__list { grid-template-columns: 1fr; }
  .columns__list--2, .columns__list--3, .columns__list--4 { grid-template-columns: 1fr; }
  .team__list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .text__buttons .btn { padding-inline: 24px; }
  .band p { font-size: 16px; }
  .site-footer__columns { grid-template-columns: 1fr 1fr; }
  .post-author { flex-direction: column; }
  .post-author__photo { width: 100%; }
  .site-footer__bar-in { flex-direction: column; text-align: center; }

  /* the retreat dates become one card per retreat */
  .dates__card { padding: 12px; }
  .dates__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dates__table, .dates__table tbody, .dates__table tr, .dates__table td { display: block; width: 100%; }
  .dates__table tr { margin: 0 0 10px; padding: 10px 14px; background: #f3f5f3; border-radius: 10px; }
  .dates__table td { padding: 3px 0; background: transparent; }
  .dates__table td:first-child, .dates__table td:last-child { border-radius: 0; }
  .dates__table td[data-label]::before { content: attr(data-label) ": "; color: var(--text); }
  .dates__table td.dates__period::before, .dates__table td.dates__status::before { content: none; }
  .dates__period { font-size: 16px; font-weight: 600; }
  .dates__action { padding-top: 8px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
}
