@font-face {
  font-family: 'Expletus Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/expletus-sans_latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Expletus Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/expletus-sans_latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/open-sans_vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/open-sans_latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/open-sans_latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/bebas-neue_latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-ink);
  background: var(--color-paper);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
}

a:hover,
a:focus-visible {
  color: var(--color-accent-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* ---- Header: logo, black wordmark box, menu on the right (as on proyoga.nl) ---- */
.site-header {
  position: relative;
  padding: 18px 0 14px;
  background: linear-gradient(to bottom, #8c8c8c 0, #d8d8d8 4px, #ffffff 14px) no-repeat top / 100% 14px;
}

.site-header::after {
  content: "";
  display: block;
  height: 5px;
  margin-top: 14px;
  background: repeating-linear-gradient(135deg, #cfcfcf 0 1px, #ffffff 1px 3px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-4) var(--space-4);
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.logo-link {
  flex: none;
  line-height: 0;
}

.logo {
  display: block;
  width: 144px;
  height: 144px;
  margin-top: -10px;
}

.brand {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  padding: 2px 12px 8px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
}

.brand:hover,
.brand:focus-visible {
  color: #ffffff;
}

.brand-name {
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.slogan {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.2;
}

.main-nav {
  flex: 1 1 auto;
  align-self: center;
  margin-left: auto;
}

/* last dropdown opens to the left so it stays inside the page */
.main-nav > ul > li:last-child > ul {
  left: auto;
  right: 0;
}

.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2px 26px;
}

.main-nav > ul > li > a {
  white-space: nowrap;
}

.main-nav li {
  position: relative;
}

.main-nav > ul > li > a {
  display: inline-block;
  padding: 3px 0;
  color: #111111;
  text-decoration: none;
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* the little box with an arrow behind items that have a dropdown */
.main-nav li.has-sub > a::after {
  content: "\25BE";
  display: inline-block;
  margin-left: 6px;
  width: 13px;
  height: 14px;
  border: 1px solid #dddddd;
  color: #999999;
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 13px;
  text-align: center;
  vertical-align: 2px;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--color-primary);
}

.main-nav li ul {
  display: none;
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  min-width: 17rem;
  max-height: 70vh;
  overflow-y: auto;
  margin: 0;
  padding: var(--space-2) 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.main-nav li.has-sub:hover > ul,
.main-nav li.has-sub:focus-within > ul {
  display: block;
}

.main-nav li ul a {
  display: block;
  padding: 5px var(--space-4);
  color: var(--color-ink);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.4;
}

.main-nav li ul a:hover,
.main-nav li ul a:focus-visible {
  background: var(--color-surface);
  color: var(--color-primary);
}

/* ---- Page: content + sidebar ---- */
.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  padding-top: var(--space-6);
  padding-bottom: var(--space-12);
}

@media (min-width: 900px) {
  .page:has(> .sidebar) {
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  }
}

main {
  min-width: 0;
  max-width: 46rem;
}

.crumbs {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: var(--space-4);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-line);
}

h2 {
  font-size: 1.25rem;
  margin: var(--space-8) 0 var(--space-2);
}

.subtitle,
.lead {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-top: 0;
}

.muted,
.small {
  color: var(--color-muted);
}

.small {
  font-size: 0.875rem;
}

ul.plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.plain li {
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--color-line);
}

ul.plain li:last-child {
  border-bottom: 0;
}

/* Taxonomy terms, as the Drupal term-reference lists */
.chip {
  display: inline-block;
  margin: 0 var(--space-1) var(--space-1) 0;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.8;
}

.chip:hover,
.chip:focus-visible {
  border-color: var(--color-accent);
}

/* ---- Sidebar ---- */
.sidebar {
  align-self: start;
  padding: var(--space-4);
  background: var(--color-surface);
  border-top: 3px solid var(--color-accent);
}

.sidebar h2 {
  margin-top: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar section + section {
  margin-top: var(--space-6);
}

.terms dl,
dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-2) var(--space-4);
  margin: 0;
}

.sidebar .terms dl {
  grid-template-columns: 1fr;
  gap: var(--space-1);
}

.terms dt,
dl.facts dt {
  font-weight: 600;
  font-size: 0.875rem;
}

.sidebar .terms dd {
  margin: 0 0 var(--space-3);
}

.terms dd,
dl.facts dd {
  margin: 0;
}

/* ---- Home ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-ink);
}

.card strong {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.125rem;
}

.card span {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.card:hover {
  background: var(--color-surface);
  color: var(--color-ink);
}

.hero,
.pose {
  display: block;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.credits {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
}

table {
  border-collapse: collapse;
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

td,
th {
  border: 1px solid var(--color-line);
  padding: var(--space-1) var(--space-2);
}

blockquote {
  margin: var(--space-4) 0;
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-accent);
  color: var(--color-muted);
}

/* ---- Footer: four columns with rules, as on proyoga.nl ---- */
.site-footer {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  max-width: var(--max-content-width);
  margin: 0 auto var(--space-6);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.footer-grid > section {
  padding: var(--space-6) var(--space-6) var(--space-4);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid > section + section {
    border-left: 1px solid var(--color-line);
  }
}

.footer-grid h2 {
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-line);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--color-ink);
}

.footer-grid .first-word {
  color: var(--color-primary);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  padding: var(--space-2) 0;
}

/* Cookie settings: a button (reopens Google's consent message) that looks like the footer links */
.linklike {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
}

.linklike:hover,
.linklike:focus-visible {
  color: var(--color-accent-text);
}

.footer-grid .center {
  text-align: center;
}

.footer-grid .center h2 {
  text-align: left;
}

.footer-grid img {
  display: block;
  margin: 0 auto var(--space-2);
}

.footer-grid .copy img {
  display: inline-block;
  margin: 0 var(--space-1) 0 0;
  vertical-align: middle;
}

.footer-grid p {
  margin: var(--space-2) 0;
  line-height: 1.8;
}

/* medium widths: smaller logo and wordmark so the whole header stays on one bar */
@media (min-width: 701px) and (max-width: 1100px) {
  .logo {
    width: 112px;
    height: 112px;
  }

  .brand-name {
    font-size: 2.75rem;
  }

  .main-nav > ul {
    gap: 2px 18px;
  }

  .main-nav > ul > li > a {
    font-size: 1.15rem;
  }
}

@media (max-width: 700px) {
  .main-nav > ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .main-nav {
    flex-basis: 100%;
    margin-top: 0;
  }


  .logo {
    width: 96px;
    height: 96px;
  }

  .footer-grid > section {
    padding: var(--space-4);
  }
}

/* Retreat search widget (/yogaretraites/), in the site's colours */
.retreat-widget {
  max-width: 26rem;
  margin: var(--space-6) 0;
  padding: var(--space-4);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.retreat-widget .retreat-brand {
  display: block;
  width: 145px;
  height: auto;
  margin: 0 0 var(--space-3) auto;
}

.retreat-widget h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.2rem;
}

.retreat-widget .retreat-legend {
  margin: 0 0 var(--space-4);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.retreat-widget fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.retreat-widget legend {
  padding: 0;
  margin-bottom: var(--space-2);
  font-size: 0.9rem;
}

.retreat-widget .retreat-fields {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.retreat-widget label span {
  display: block;
  margin-bottom: var(--space-1);
  font-size: 0.8rem;
  color: var(--color-muted);
}

.retreat-widget select {
  min-width: 4.5rem;
  height: 2.25rem;
  padding: 0 var(--space-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  color: var(--color-ink);
  font: inherit;
}

.retreat-widget button {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.retreat-widget button:hover,
.retreat-widget button:focus-visible {
  background: var(--color-primary-deep);
}
