/*
  YogaYatra stylesheet
  --------------------
  Order: tokens, reset, base typography, page layout, top menu, sidebar, cards and
  overviews, article pages, forms, lightbox, responsive (phone / tablet / desktop).

  Sizes are in em on a 62.5% body font (1em = 10px at the root); the two big containers
  set font-size 1.5em, so inside them 1em = 15px.
*/

/* ======================================================================
   1. Design tokens
   ====================================================================== */
:root {
  /* colours */
  --blue: #3f7ab0;            /* text, titles, menu items */
  --blue-light: #d3edfb;      /* content containers, sidebar menu */
  --blue-dropdown: #c6d5eb;   /* top menu drop-down */
  --blue-dropdown-arrow: #e3e9f3;
  --pink: #ddaacc;            /* second header word, footer accents */
  --pink-light: #f9eaf0;      /* cards, buttons */
  --pink-hover: #eeadb6;      /* active / hovered menu items */
  --link: #778aa5;
  --submit: #006699;
  --error: #c0392b;
  --shadow: 1px 1px 1px #646060;
  --border-soft: #cdcdcd;
  --schedule-frame: #fabfe2;
  --schedule-head: #8e65ab;
  --schedule-cell: #eff8fd;

  /* fonts */
  --font-body: "trebuchet MS", Arial, Helvetica, Verdana, sans-serif;
  --font-text: verdana, arial, "times new roman";
  --font-ui: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: lithospro-regular;

  /* shapes */
  --radius-box: 20px;   /* containers, cards */
  --radius-btn: 10px;   /* buttons */
  --radius-menu: 6px;   /* menus, small buttons */
  --radius-img: 5px;    /* photos */
}

@font-face {
  font-family: lithospro-black;
  src: url("../fonts/lithospro-black-webfont.woff") format("woff");
}

@font-face {
  font-family: lithospro-regular;
  src: url("../fonts/lithospro-regular-webfont.woff") format("woff");
}

/* ======================================================================
   2. Reset
   ====================================================================== */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr,
acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike,
strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label,
legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ======================================================================
   3. Base typography
   ====================================================================== */
body {
  font: 62.5% var(--font-body);
  padding: 10px;
  margin-top: 5px;
  max-width: 100%;
  overflow-x: hidden;
}

ol {
  padding-left: 1.25em;
  list-style: decimal;
}

ul {
  padding-left: 1.25em;
  list-style: square;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
.anchor a {
  color: var(--blue);
  text-decoration: none;
}

a:focus {
  background-color: var(--pink-light);
  text-decoration: none;
}

p {
  margin: 0 0 1.6em 0;
  padding: 0;
}

form > p {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.5em;
  line-height: 125%;
  color: var(--blue);
  font-family: var(--font-text);
  margin-bottom: 10px;
  letter-spacing: .1em;
}

h2 {
  font-size: 1.3em;
  line-height: 125%;
  margin: 1.6em 0 10px 0;
  letter-spacing: .1em;
}

h3 {
  font-size: 1.1em;
  line-height: 125%;
  margin: 1.6em 0 10px 0;
  letter-spacing: .1em;
}

h4 {
  font-size: 1em;
  line-height: 125%;
  margin: 1.6em 0 10px 0;
  letter-spacing: .1em;
}

/* .nil = smaller heading variant used for titles inside containers */
h1.nil {
  font-size: 1.1em;
  font-family: var(--font-text);
  letter-spacing: .1em;
}

h2.nil {
  font-size: 1.1em;
  letter-spacing: .1em;
}

h3.nil {
  font-size: 0.8em;
  letter-spacing: .1em;
}

h4.nil {
  font-size: 0.7em;
  letter-spacing: .1em;
}

/* Every page has exactly one <h1> (SEO). Titles that used to be plain text or an <h3>
   keep that look; the sub-headings under an article (footers, forms, album) are <h2 class="nil">
   and keep the look of the <h1 class="nil"> they were. */
h1.plain {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  margin: 0;
}

h1.as-h3 {
  font-size: 1.1em;
  font-family: inherit;
  color: inherit;
  margin: 1.6em 0 10px 0;
}

h1.as-h3.nil {
  font-size: 0.8em;
}

.article-title h2.nil,
.article-title-testimonials h2.nil {
  margin-top: 0;
}

/* the testimonials page: the room its (now hidden) title line always took */
.testimonials-header {
  margin-bottom: 10px;
}

/* heading for search engines and screen readers only, no room on the page */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

ul + h1,
h1 + ul,
h2 + ul,
h3 + ul,
h4 + ul,
ul + p {
  margin: 1.6em 0 1.6em 0;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p {
  margin-top: 1em;
}

/* ======================================================================
   4. Page layout: header, containers, footer
   ====================================================================== */
/* only for a logged-in editor looking at offline content (views.preview_mode) */
.preview-banner {
  background: #fff3cd;
  color: #664d03;
  border-bottom: 1px solid #ffe69c;
  font-family: var(--font-text);
  font-size: 1.4em;
  padding: 8px 16px;
  text-align: center;
}

.preview-banner a {
  color: #664d03;
  margin-left: 8px;
}

/* tag on a card or article that is not online (only rendered in preview mode) */
.preview-tag {
  background: #fff3cd;
  color: #664d03;
  border-radius: 4px;
  font-size: 0.7em;
  font-weight: normal;
  padding: 1px 6px;
  vertical-align: middle;
}

.pageWrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
}

/* the two coloured words at the top of every page */
header ul {
  list-style: none;
  margin: 0;
}

header li {
  font-family: var(--font-display), verdana, arial, sans-serif;
  font-size: 7.5em;
  display: inline;
  letter-spacing: 1.4px;
  margin-right: 30px;
}

.blue {
  color: var(--blue);
}

.pink {
  color: var(--pink);
}

.logoWrapper {
  position: absolute;
  top: 7px;
  margin-left: 40px;
  z-index: -1;
}

.flowerWrapper {
  position: absolute;
  left: 5px;
  top: 1px;
  padding-right: 1px;
}

.my_1_Container {
  height: auto;
  margin: 0 auto;
}

/* content container of overview pages */
.my_2_Container {
  width: 100%;
  max-width: 825px;
  height: auto;
  border-radius: var(--radius-box);
  box-shadow: var(--shadow);
  background-color: var(--blue-light);
  font-size: 1.5em;
  font-family: var(--font-ui);
  padding-bottom: 5px;
  margin: 0 auto 20px auto;
}

/* content container of article pages */
.my_2_Container_artikel {
  float: left;
  width: 100%;
  max-width: 825px;
  min-height: 400px;
  border-radius: var(--radius-box);
  box-shadow: var(--shadow);
  background-color: var(--blue-light);
  font-size: 1.5em;
  font-family: var(--font-ui);
}

.columnWrapper {
  width: auto;
  margin-top: 3px;
  padding: 10px 15px 10px 15px;
}

/* masonry (card overviews, folder overviews, testimonials): three .mcol columns that the
   template fills by position modulo 3, so the page reads across rows like the live site.
   Phones: the columns dissolve and the cards stack in reading order (inline order: N).
   Tablets and desktops: the columns sit side by side (see the responsive section). */
.columnWrapper.masonry {
  display: flex;
  flex-direction: column;
}

.columnWrapper.masonry > .mcol {
  display: contents;
}

.columnWrapper.masonry > .button-regel {
  order: 9999;
  /* a full-width flex item: side margins would push it past the right edge, so inset the line with padding */
  margin: 5px 0;
  padding: 0 17px 10px 17px;
}

/* sidebar */
.my_3_Container {
  float: left;
  width: 275px;
  height: auto;
  margin-top: 70px;
}

footer {
  clear: both;
  float: left;
  font-size: 1.5em;
  padding: 5px 5px 5px 25px;
  margin-bottom: 30px;
}

footer a {
  color: var(--blue);
  line-height: 1.2em;
  font-family: var(--font-text);
}

footer .voorFooter-b a {
  text-decoration: underline;
}

/* the street address opens a route in Google Maps; it keeps the pink of the address line */
footer .voorFooter-r a {
  color: inherit;
  text-decoration: none;
}

footer .voorFooter-r a:hover {
  text-decoration: underline;
}

.voorFooter-b {
  color: var(--blue);
}

/* main links above the address line */
.footer-links {
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0;
}

.footer-links li {
  display: inline;
}

.footer-links li + li::before {
  content: " | ";
  color: var(--pink);
}

.footer-links a {
  font-weight: bold;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--pink-hover);
}

.voorFooter-r {
  color: var(--pink);
}

/* ======================================================================
   5. Top menu (#menu) with hover drop-down
   ====================================================================== */
#menu,
#menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu {
  width: auto;
  max-width: 1100px;
  margin: 5px 0 1px 10px;
}

#menu:before,
#menu:after {
  content: "";
  display: table;
}

#menu:after {
  clear: both;
}

#menu li {
  float: left;
  position: relative;
  text-align: center;
}

#menu a {
  float: left;
  padding: 12px 10px;
  color: var(--blue);
  font-weight: bold;
  font-size: 1.6em;
  font-family: var(--font-text);
  text-decoration: none;
}

#menu li:hover > a {
  color: var(--pink-hover);
  border-radius: var(--radius-menu);
}

#menu ul {
  margin: 20px 0 0 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 38px;
  left: 0;
  z-index: 1;
  background: var(--blue-dropdown);
  border-radius: 3px;
  transition: all .2s ease-in-out;
}

#menu li:hover > ul {
  opacity: 1;
  visibility: visible;
  margin: 0;
}

#menu ul li {
  float: none;
  display: block;
  border: 0;
}

#menu ul a {
  padding: 10px;
  display: block;
  white-space: nowrap;
  float: none;
  text-transform: none;
  text-align: left;
}

#menu ul a:hover {
  border-radius: var(--radius-menu);
}

#menu ul li:first-child > a {
  width: 180px;
  border-radius: var(--radius-menu);
  font-weight: bold;
  font-size: 1.1em;
}

/* little arrow on top of the drop-down */
#menu ul li:first-child > a:after {
  content: "";
  position: absolute;
  left: 40px;
  top: -6px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--blue-dropdown-arrow);
  border-radius: var(--radius-menu);
}

#menu ul li:last-child > a {
  border-radius: var(--radius-menu);
  font-weight: bold;
  font-size: 1.1em;
}

/* current page in the top menu (li.current is set by the template tag) */
#menu > li.current > a,
#menu ul li.current > a {
  color: var(--pink-hover);
}

/* phone-only: hamburger, and the services menu inside it */
.nav-toggle,
.nav-toggle-label,
.phone-services {
  display: none;
}

/* ======================================================================
   6. Sidebar: two buttons, services menu (.csm), newsletter button, social icons
   ====================================================================== */
.cards-sidebar-top {
  list-style: none;
  float: left;
}

ul.cards-sidebar-top {
  display: inline-block;
  margin-left: 12px;
  padding: 0;
}

.cards-sidebar-top ul {
  margin: 0;
  padding: 0;
}

.cards-sidebar-top li {
  float: left;
}

.cards-sidebar-top a {
  font-size: 1.3em;
  font-family: var(--font-display);
  font-weight: bold;
  display: block;
  min-height: 35px;
  width: 100px;
  margin: 23px 2px 1px 2px;
  padding: .5em 1em;
  text-decoration: none;
  text-align: center;
  color: var(--blue);
  background-color: var(--pink-light);
  border-radius: var(--radius-menu);
  box-shadow: var(--shadow);
  transition: background-color 0.2s, box-shadow 0.2s;
}

.cards-sidebar-top a:hover {
  background-color: var(--blue-light);
  text-decoration: none;
}

/* services menu */
.csm {
  list-style: none;
  overflow: auto;
  background-color: var(--blue-light);
  border-radius: var(--radius-menu);
  max-width: 27em;
  padding: 0;
  margin: 15px 0 0 0;
  float: left;
}

ul.csm {
  margin-left: 12px;
  width: 258.5px;
  box-shadow: var(--shadow);
  display: block;
  list-style: none;
  padding: 0;
  text-align: right;
}

/* a group with sub-pages is a <details>: the summary toggles it, the current one is rendered open */
.csm details > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.csm summary {
  display: block;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-text);
  font-size: 1.6em;
  font-weight: bold;
  color: var(--blue);
  margin-right: 12px;
  line-height: 1.5;
}

.csm summary::-webkit-details-marker {
  display: none;
}

/* small triangle before the group name: closed / open */
.csm summary::before {
  content: "\25B8";
  font-size: 0.7em;
  margin-right: 6px;
}

.csm details[open] > summary::before {
  content: "\25BE";
}

.csm summary:hover {
  text-decoration: none;
  color: var(--pink-hover);
}

.csm li:hover > a {
  color: var(--pink-hover);
  text-decoration: none;
}

.csm li.currentLink a {
  color: var(--pink-hover);
}

.csm li > a {
  list-style: none;
  font-family: var(--font-text);
  font-size: 1.6em;
  font-weight: bold;
  color: var(--blue);
  margin-right: 12px;
  display: block;
  line-height: 1.5;
}

.csm details > ul > li {
  list-style: none;
  font-family: var(--font-text);
  font-weight: bold;
  color: var(--blue);
  margin-right: 12px;
}

.csm details > ul > li > a {
  display: block;
  list-style: none;
  font-family: var(--font-text);
  font-size: 1.3em;
  font-weight: bold;
  color: var(--blue);
  margin-right: 12px;
  line-height: 1.5;
}

/* current section in the services menu (li.current is set by the template tag) */
.csm li.current > a,
.csm li.current > details > summary {
  color: var(--pink-hover);
}

/* newsletter button */
.btn {
  position: relative;
  font-size: 1.3em;
  font-weight: bold;
  font-family: var(--font-display);
  display: inline-block;
  margin: 15px 10px;
  width: 95%;
  max-width: 21em;
  color: var(--blue);
  line-height: 3.65;
  text-align: right;
  background-color: var(--pink-light);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-btn);
  -webkit-user-select: none;
  user-select: none;
}

a.mybtn {
  display: block;
  color: var(--blue);
  height: 100%;
  padding-right: 10px;
  text-decoration: none;
}

/* social icons (sidebar on desktop, footer on phones) */
.fb-tw-li-btn {
  list-style: none;
  float: right;
}

.fb-tw-li-btn ul {
  margin: 0;
  padding: 0;
}

.fb-tw-li-btn li {
  float: left;
}

.fb-tw-li-btn a {
  display: block;
  text-decoration: none;
  color: var(--blue);
  border-radius: var(--radius-menu);
}

.fb-tw-li-btn a:hover {
  background-color: var(--pink-light);
}

.footer-social {
  display: none;
}

/* ======================================================================
   7. Cards and overview pages
   ====================================================================== */
.header-cards-row-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--blue);
  font-family: var(--font-text);
  margin-left: 12px;
}

.cards {
  padding: 10px;
  display: block;
  line-height: 20px;
  background-color: var(--pink-light);
  border-radius: var(--radius-box);
  margin: 7px;
  box-shadow: var(--shadow);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

/* card titles inherit the container font (Helvetica) */
.card-title {
  font-weight: bold;
  line-height: 130%;
  padding: 25px 10px 5px 10px;
  color: var(--blue);
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--pink-hover);
}

.empty-overview {
  margin: 12px;
  color: var(--blue);
}

.card-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  max-width: 100%;
  box-shadow: var(--shadow);
  border-radius: var(--radius-img);
  height: auto;
}

.card-text {
  font-size: 0.8em;
  font-family: var(--font-text);
  line-height: 130%;
  padding: 5px 10px 25px 10px;
  color: var(--blue);
  letter-spacing: 1px;
}

/* the whole card is the link: the "Read more" anchor is stretched over the card;
   links inside the text stay clickable because they sit above it */
.cards,
.row-cards {
  position: relative;
}

.card-text a {
  position: relative;
  z-index: 1;
}

.card-title a,
.card-image-link {
  position: relative;
  z-index: 1;
}

.card-text a.card-link {
  position: static;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cards:hover,
.row-cards:hover {
  box-shadow: 2px 2px 4px #646060;
}

.cards:hover .card-title,
.row-cards:hover .card-title {
  color: var(--pink-hover);
}

/* workshops / retreats: one wide card per row with the photo on the right */
.row-cards {
  padding: 10px;
  display: inline-block;
  line-height: 20px;
  background-color: var(--pink-light);
  border-radius: var(--radius-box);
  margin: 7px 7px 11px;
  box-shadow: var(--shadow);
}

.row-image {
  display: block;
  float: right;
  width: 222px;
  margin: 15px 15px 15px 10px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-img);
  height: auto;
  max-width: 100%;
}

/* photo book (gallery) overview */
.fotoboekregel {
  display: inline-block;
  width: 100%;
}

.fotoboek-image {
  position: relative;
  box-shadow: var(--shadow);
  border-radius: var(--radius-img);
  width: 80px;
  height: 80px;
  margin: 10px 10px 10px 0;
}

.card-title-fb {
  font-weight: bold;
  padding: 7px 10px 5px 3px;
  color: var(--blue);
}

.card-title-fb a:hover {
  font-weight: bold;
  color: var(--pink-hover);
  border-radius: var(--radius-btn);
  text-decoration: none;
}

.fb-more {
  padding-bottom: 80px;
  font-weight: bold;
}

.fb-more a:hover {
  color: var(--pink-hover);
  text-decoration: none;
}

.show-foto-albums {
  padding: 10px;
  line-height: 20px;
  border-radius: var(--radius-box);
}

.myalbum {
  width: 80px;
  height: 80px;
  margin: 10px 10px 10px 0;
  box-shadow: var(--shadow);
  border-radius: var(--radius-img);
}

/* closing line under overviews and articles (used to hold the share buttons) */
.button-regel {
  display: block;
  margin: 5px 17px;
  padding-bottom: 10px;
}

.line-separator {
  height: 1px;
  background: var(--blue);
  margin-top: 10px;
  margin-bottom: 10px;
}

.line-separator-narrow {
  height: 1px;
  background: var(--blue);
  width: 94%;
  margin: 10px 0 10px 28px;
}

/* ======================================================================
   8. Article pages
   ====================================================================== */
/* Home › Section › Page, above the article title and on folder overviews */
.breadcrumb {
  font-family: var(--font-text);
  font-size: 0.8em;
  color: var(--blue);
  margin: 14px 30px 0 30px;
  break-inside: avoid;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--pink-hover);
}

.breadcrumb .sep {
  margin: 0 6px;
  color: var(--pink);
}

.breadcrumb .here {
  color: var(--link);
}

.my_2_Container .breadcrumb {
  margin: 8px 12px 6px 12px;
}

.article-title {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 130%;
  padding: 5px 10px 0 10px;
  color: var(--blue);
  font-family: var(--font-text);
  margin-top: 20px;
  margin-left: 20px;
}

.article-title-testimonials {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 130%;
  padding: 5px 10px 0 10px;
  color: var(--blue);
  font-family: var(--font-text);
  margin-top: 20px;
}

.article-title-fb {
  font-size: 1.5em;
  font-weight: bold;
  padding: 7px 10px 5px 3px;
  color: var(--blue);
  font-family: var(--font-text);
}

.article-text {
  font-size: 1.0em;
  font-family: var(--font-text);
  line-height: 130%;
  padding: 5px 10px;
  color: var(--blue);
  letter-spacing: 1px;
  margin-top: 20px;
  margin-left: 20px;
}

.article-text a {
  color: var(--link);
  text-decoration: underline;
}

/* embedded videos (YouTube iframes with width/height attributes in the text):
   never wider than the column, the height follows the 16:9 ratio */
.article-text iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* downloadable files (PDF) listed under the article text */
.attachments {
  margin: 10px 10px 10px 30px;
  padding: 0;
  list-style: none;
  font-family: var(--font-text);
  letter-spacing: 1px;
  line-height: 160%;
}

.attachments li::before {
  content: "\2913";                /* downwards arrow */
  color: var(--pink);
  margin-right: 8px;
}

.attachments a {
  color: var(--link);
  text-decoration: underline;
}

/* article photo, floated right of the text */
.myfloater {
  float: right;
  clear: right;
  width: 220px;
  margin: 20px 15px 20px 20px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-img);
  z-index: -1;
}

/* class schedule table (HTML inside the article text) */
table.schedule {
  width: 100%;
  table-layout: fixed;   /* five equal columns, as the old hand-written table had */
  margin-bottom: 20px;
  border-width: 3px;
  border-spacing: 3px;
  border-style: hidden;
  border-color: white;
  border-collapse: separate;
  background-color: var(--schedule-frame);
}

table.schedule th {
  height: 45px;
  border-width: 0;
  padding: 5px;
  border-style: inset;
  font: bold 14px/14px var(--font-text);
  letter-spacing: 1px;
  color: #fff;
  border-color: gray;
  background-color: var(--schedule-head);
  vertical-align: middle;
}

table.schedule td {
  height: 75px;
  border-width: 0;
  padding: 5px;
  border-style: inset;
  color: var(--blue);
  border-color: gray;
  background-color: var(--schedule-cell);
  vertical-align: middle;
  text-align: center;
}

table.schedule .time {
  color: var(--schedule-head);
  font-weight: bold;
}

table.schedule .slot + .slot {
  margin-top: 1.5em;
}

/* class types and levels above the timetable */
table.class-legend {
  width: 90%;
  margin-bottom: 1.5em;
}

table.class-legend td {
  padding: 1px;
}

/* thank-you / error page (titles inherit the container font) */
.thank-b {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--blue);
  margin: 70px 0 70px 12px;
}

.thank-p {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--pink);
  margin: 0 0 40px 12px;
}

/* ======================================================================
   9. Forms (sign-up / contact forms and the Mailchimp newsletter form)
   Markup: partials/forms/form.html. One .form-row per field holding the label
   and the field; two grid columns here, one column on phones (section 11).
   ====================================================================== */
.subform {
  margin: 10px 28px 15px 28px;
  font-family: var(--font-text);
  color: var(--blue);
}

/* the newsletter form sits inside .article-text, which already indents */
.article-text .subform {
  margin-left: 0;
  margin-right: 0;
}

.subform .form-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.subform .label {
  font-weight: bold;
  font-size: 0.95em;
  line-height: 1.3;
  text-align: right;
  padding-top: 7px;
}

.subform .field {
  min-width: 0;
}

.subform input:not([type="radio"]),
.subform textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 340px;
  padding: 6px 8px;
  font: inherit;
  font-size: 0.95em;
  color: #333;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
}

.subform input[type="date"] {
  max-width: 200px;
}

.subform input[type="number"] {
  max-width: 100px;
}

.subform textarea {
  resize: vertical;
}

.subform input:focus,
.subform textarea:focus {
  background-color: var(--pink-light);
  color: black;
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

/* radio buttons with their text as label */
.subform .radio-group {
  padding-top: 6px;
}

.subform .radio-label {
  display: block;
  font-size: 0.95em;
  margin-bottom: 4px;
  cursor: pointer;
}

.subform .radio-label input {
  margin: 0 6px 0 0;
  vertical-align: middle;
}

/* errors: a list above the fields for form-wide errors, a line under the field otherwise */
ul.form-errors {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  color: var(--error);
  font-size: 0.9em;
}

.subform .form-error {
  display: block;
  margin-top: 4px;
  color: var(--error);
  font-size: 0.85em;
}

.subform .has-error input,
.subform .has-error textarea {
  border-color: var(--error);
}

.subform .form-actions {
  margin-top: 5px;
}

.subform button[type="submit"] {
  grid-column: 2;
  justify-self: start;
  min-width: 120px;
  padding: 10px 25px;
  font: inherit;
  font-size: 1em;
  color: white;
  background: var(--submit);
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 4px white;
  cursor: pointer;
}

.subform button[type="submit"]:hover,
.subform button[type="submit"]:focus-visible {
  background: var(--blue);
}

/* the honeypot fields are moved off-screen (Mailchimp form and our own forms) */
.mc-honeypot,
.hp-field {
  position: absolute;
  left: -5000px;
}

/* ======================================================================
   10. Lightbox (a <dialog> created by javascripts/site.js for a.open-popup-link)
   ====================================================================== */
dialog.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;         /* the visible part on phones (Safari's toolbars are not counted) */
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
}

dialog.lightbox[open] {
  display: flex;
}

dialog.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

dialog.lightbox figure {
  margin: 0;
  text-align: center;
  outline: none;          /* it takes the focus when the dialog opens (no ring on the close button) */
  pointer-events: none;   /* clicks beside the photo reach the dialog and close it */
}

dialog.lightbox img {
  max-width: calc(100vw - 100px);
  max-height: calc(100vh - 80px);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

dialog.lightbox figcaption {
  margin-top: 8px;
  color: #ccc;
  font: 13px/1.4 var(--font-ui);
}

dialog.lightbox button {
  position: absolute;
  padding: 0;
  background: none;
  border: none;
  color: white;
  font-family: var(--font-ui);
  line-height: 1;
  opacity: 0.75;
  cursor: pointer;
}

dialog.lightbox button:hover,
dialog.lightbox button:focus-visible {
  opacity: 1;
}

dialog.lightbox .lightbox-close {
  top: 8px;
  right: 14px;
  font-size: 40px;
}

dialog.lightbox .lightbox-prev,
dialog.lightbox .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  padding: 20px 10px;
  font-size: 60px;
}

.lightbox-prev {
  left: 8px;
}

.lightbox-next {
  right: 8px;
}

.lightbox-counter {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ccc;
  font: 12px var(--font-ui);
}

/* ======================================================================
   11. Responsive
   ====================================================================== */

/* ---- phones ---- */
@media (max-width: 767px) {
  /* everything is em-based on a 10px body; 12.8px on phones makes article text 14px and card text 15px */
  body {
    font-size: 80%;
  }

  .line-separator-narrow {
    width: auto;
    margin-left: 14px;
    margin-right: 14px;
  }

  /* HTML tables inside article text (class schedule) scroll sideways instead of widening the page */
  .article-text table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .columnWrapper {
    padding: 5px;
  }

  .my_2_Container {
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    padding: 5px;
    box-sizing: border-box;
    font-size: 1.3em;
  }

  .my_3_Container {
    width: 100%;
    float: none;
    margin: 20px auto;
  }

  .cards {
    margin: 10px;
    max-width: 100%;
    width: auto;
    padding: 15px;
  }

  .card-title {
    font-size: 1.1em;
    padding: 15px 10px 10px 10px;
  }

  .card-image {
    width: 90%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 15px auto;
  }

  .card-text {
    font-size: 0.9em;
    padding: 10px;
  }

  header li {
    font-size: 2.2em;
    letter-spacing: 0.5px;
    margin-right: 12px;
  }

  /* hamburger: three bars in the top right corner; the checkbox toggles the top menu */
  .nav-toggle-label {
    display: block;
    position: absolute;
    top: 12px;
    right: 14px;
    width: 44px;
    height: 40px;
    margin: 0;
    padding: 6px 8px;
    box-sizing: border-box;
    background-color: var(--blue-light);
    border-radius: var(--radius-menu);
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 2;
  }

  .nav-toggle-label span {
    display: block;
    height: 4px;
    margin: 4px 0;
    background-color: var(--blue);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  /* open: the bars form a cross */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  #menu {
    display: none;
    width: auto;
    margin: 0 10px 12px 10px;
    background-color: var(--blue-light);
    border-radius: var(--radius-menu);
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ #menu {
    display: block;
  }

  #menu li,
  #menu ul li {
    float: none;
    display: block;
    text-align: left;
  }

  #menu ul,
  #menu li:hover > ul {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    margin: 0;
    background: none;
    box-shadow: none;
    transition: none;
  }

  #menu a,
  #menu ul a,
  #menu ul li:first-child > a,
  #menu ul li:last-child > a {
    float: none;
    display: block;
    width: auto;
    padding: 10px 14px;
    font-size: 1.1em;
    text-align: left;
    white-space: normal;
    border-top: 1px solid #fff;
  }

  #menu > li:first-child > a {
    border-top: none;
  }

  #menu ul a,
  #menu ul li:first-child > a,
  #menu ul li:last-child > a {
    padding-left: 34px;
    font-size: 1em;
    font-weight: normal;
  }

  #menu ul li:first-child > a:after {
    content: none;
  }

  /* order: menu, sidebar, content */
  .my_1_Container {
    display: flex;
    flex-direction: column;
  }

  #menu-wrap {
    order: -2;
  }

  .my_3_Container {
    order: -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 10px;
    margin: 8px auto 12px auto;
    text-align: center;
  }

  .cards-sidebar-top,
  ul.cards-sidebar-top {
    float: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .cards-sidebar-top a {
    margin: 4px 2px;
    font-size: 1em;   /* keep the two buttons at 13px so they still fit beside the logo */
  }

  /* workshops / retreats: the photo sits above the text instead of floating beside it */
  .row-image {
    float: none;
    margin: 10px auto 15px auto;
  }

  /* the services menu and the newsletter button move from the sidebar into the hamburger */
  .my_3_Container .csm,
  .my_3_Container .btn {
    display: none;
  }

  .nav-toggle:checked ~ .phone-services {
    display: block;
  }

  .phone-services {
    margin: 0 10px 12px 10px;
    background-color: var(--blue-light);
    border-radius: var(--radius-menu);
    box-shadow: var(--shadow);
  }

  .phone-services-title {
    padding: 10px 14px 6px 14px;
    font-family: verdana, arial, sans-serif;
    font-size: 1em;
    color: var(--link);
  }

  .phone-services .csm,
  .phone-services ul.csm {
    float: none;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    box-shadow: none;
    background: none;
    border-radius: 0;
    overflow: visible;
  }

  .phone-services .csm summary,
  .phone-services .csm li > a {
    display: block;
    margin: 0;
    padding: 10px 14px;
    font-size: 1.1em;
    line-height: normal;
    border-top: 1px solid #fff;
  }

  .phone-services .csm details > ul > li {
    margin: 0;
  }

  .phone-services .csm details > ul > li > a {
    margin: 0;
    padding: 8px 14px 8px 34px;
    font-size: 1em;
    font-weight: normal;
    line-height: normal;
    border-top: 1px solid #fff;
  }

  .phone-newsletter {
    display: block;
    padding: 10px 14px 12px 14px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--blue);
    text-decoration: none;
    border-top: 1px solid #fff;
  }

  .breadcrumb {
    margin: 10px 14px 0 14px;
  }

  /* social icons move from the sidebar to the footer */
  .my_3_Container .fb-tw-li-btn {
    display: none;
  }

  .footer-social {
    display: block;
  }

  .footer-social .fb-tw-li-btn {
    float: none;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 6px 0;
    padding: 0;
  }

  footer {
    float: none;
    width: 100%;
    padding: 6px 10px 16px 10px;
    box-sizing: border-box;
    font-size: 1.1em;
    text-align: center;
  }

  /* the hamburger sits on the header line; the logo moves next to the two buttons */
  .pageWrapper {
    position: relative;
  }

  header {
    min-height: 62px;
    padding-right: 70px;
    box-sizing: border-box;
  }

  .logoWrapper {
    position: static;
    margin: 0;
    z-index: auto;   /* flex items honour z-index: with the desktop -1 the logo sat behind its parent and could not be tapped */
  }

  .logoWrapper a {
    display: inline-block;   /* the tap target is the whole logo, not one text line */
  }

  .logoWrapper img {
    width: 72px;
    height: 72px;
    display: block;
  }

  .my_2_Container_artikel {
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 0 auto 20px auto;
    padding: 5px;
    box-sizing: border-box;
    font-size: 1.1em;
    border-radius: 10px;
  }

  .myfloater {
    float: none;
    clear: both;
    display: block;
    width: 70%;
    max-width: 280px;
    margin: 15px auto;
  }

  /* forms: label above the field, full-width fields */
  .subform {
    margin: 10px 14px 15px 14px;
  }

  .subform .form-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }

  .subform .label {
    text-align: left;
    padding-top: 0;
  }

  .subform input:not([type="radio"]),
  .subform textarea {
    max-width: 100%;
  }

  .subform button[type="submit"] {
    grid-column: 1;
  }

  /* lightbox: photo uses the whole width; previous / counter / next in their own bar under
     the photo, above the browser toolbar (dvh + safe area), so the buttons never overlap the
     photo and always have room. Swiping the photo also goes to the previous / next one. */
  dialog.lightbox {
    box-sizing: border-box;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  dialog.lightbox img {
    max-width: 100vw;
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px - env(safe-area-inset-bottom));
  }

  dialog.lightbox .lightbox-close {
    top: calc(4px + env(safe-area-inset-top));
    right: 12px;
    padding: 4px 12px;
  }

  dialog.lightbox .lightbox-prev,
  dialog.lightbox .lightbox-next {
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: none;
    padding: 0 26px 6px 26px;
    font-size: 44px;
    height: 48px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    opacity: 1;
  }

  dialog.lightbox .lightbox-prev {
    left: 16px;
  }

  dialog.lightbox .lightbox-next {
    right: 16px;
  }

  .lightbox-counter {
    bottom: calc(29px + env(safe-area-inset-bottom));
    font-size: 14px;
  }
}

/* ---- tablets ---- */
@media (min-width: 768px) and (max-width: 1024px) {
  .columnWrapper {
    padding: 10px;
  }

  /* card overviews only; rows (workshops, gallery, albums) stay one column wide */
  .columnWrapper.masonry {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 10px;
  }

  .columnWrapper.masonry > .mcol {
    display: block;
    flex: 1 1 0;
    min-width: 0;
  }

  .columnWrapper.masonry > .header-cards-row-title,
  .columnWrapper.masonry > .breadcrumb,
  .columnWrapper.masonry > .fotoboekregel,
  .columnWrapper.masonry > .button-regel,
  .columnWrapper.masonry > .empty-overview {
    flex: 0 0 100%;
    box-sizing: border-box;
  }

  .my_2_Container {
    width: 95%;
    float: none;
    margin: 0 auto 20px auto;
  }

  .my_3_Container {
    width: 95%;
    float: none;
    margin: 20px auto;
  }

  header li {
    font-size: 4em;
    margin-right: 20px;
  }

  /* top menu as one wrapping row, sub-items inline */
  #menu {
    width: auto;
    margin: 5px 0 1px 0;
    text-align: center;
  }

  #menu li,
  #menu ul,
  #menu ul li,
  #menu ul ul,
  #menu li:hover > ul {
    display: contents;
    visibility: visible;
    opacity: 1;
  }

  #menu a,
  #menu ul a,
  #menu ul li:first-child > a,
  #menu ul li:last-child > a {
    float: none;
    display: inline-block;
    width: auto;
    padding: 10px 8px;
    font-size: 1.3em;
    text-align: center;
    white-space: normal;
  }

  #menu ul li:first-child > a:after {
    content: none;
  }

  .logoWrapper {
    position: static;
    margin: 10px auto;
    text-align: center;
    z-index: auto;
  }

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

  .my_2_Container_artikel {
    width: 95%;
    max-width: 95%;
    float: none;
    margin: 0 auto 20px auto;
  }
}

/* ---- desktop ---- */
@media (min-width: 1025px) {
  .columnWrapper.masonry {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 10px;
  }

  .columnWrapper.masonry > .mcol {
    display: block;
    flex: 1 1 0;
    min-width: 0;
  }

  .columnWrapper.masonry > .header-cards-row-title,
  .columnWrapper.masonry > .breadcrumb,
  .columnWrapper.masonry > .fotoboekregel,
  .columnWrapper.masonry > .button-regel,
  .columnWrapper.masonry > .empty-overview {
    flex: 0 0 100%;
    box-sizing: border-box;
  }

  .my_2_Container {
    width: 825px;
    max-width: 825px;
    float: left;
    margin: 0 0 20px 0;
  }

  .my_3_Container {
    width: 275px;
    float: left;
    margin-top: 70px;
  }

  #menu {
    width: 1100px;
  }

  .my_2_Container_artikel {
    width: 825px;
    float: left;
  }
}
