@font-face {
  font-family: "PAENHUYS Display";
  src:
    url("../fonts/PAENHUYS_Display_Regular_1.1.woff2") format("woff2"),
    url("../fonts/PAENHUYS_Display_Regular_1.1.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-family-display: "PAENHUYS Display", "Space Grotesk", sans-serif;
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}

img {
  width: 100%;
}
body {
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 6rem;
}

.site-title {
  flex: 0 0 auto;
  font-weight: bold;
  font-size: 3rem;

}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
a.contact {
  color: currentColor;
  text-decoration: underline;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 6rem;
}

.logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.menu {
  display: flex;
}
.menu a {
  padding: 1rem;
  display: block;
}
.menu a[aria-current] {
  text-decoration: underline;
}

.social {
  display: flex;
  padding: 0 .5rem;
}
.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 3rem;
  margin-bottom: 3rem;
  line-height: 2.5em;  
  font-size: 1.90rem;
}
.text h2,
.h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 2.5rem;  
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

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

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
  font-size: 1.5rem;
  font-family: var(--font-family-display);
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}


@media screen and (max-width: 700px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 0;
  }

  .menu-toggle {
    display: inline-block;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    padding: 0.35rem 0.65rem;
    font: inherit;
    cursor: pointer;
  }

  .main-navigation {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2rem;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .main-navigation li {
    width: 100%;
    background-color: 1px solid currentColor;
  }

  .main-navigation a {
    width: 100%;
    padding: 0.8rem 0;
  }
}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}


.note-excerpt-title {
  font-weight: 600;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

.note-title {
  font-weight: 600;
  text-align: left;
  font-size: 2rem;
  margin-top: 1.5rem;
}

time.note-excerpt-date {
  color: var(--color-text-grey);
  text-align: center;
}

.activity-meta {
  text-align: center;
}

.activity-details {
  font-family: var(--font-family-sans);
}

.example-name, .home-grid-date {
 background-color: #000;
 padding: 10px;
}

.home-section-more {
  font-family: var(--font-family-sans);
}

/* GALM: cursuslijst in drie kolommen */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  align-items: stretch;
  margin-top: 3rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.course-card:nth-child(3n + 1) .course-card__image {
  /* -webkit-mask-image: url('/assets/icons/ph2.png');
  mask-image: url('/assets/icons/ph2.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;*/
  margin-bottom: 1rem;
  background: var(--color-bg-light, #eee);
}

.course-card:nth-child(3n + 2) .course-card__image {
  /* -webkit-mask-image: url('/assets/icons/ph.png');
  mask-image: url('/assets/icons/ph.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden; */
  margin-bottom: 1rem;
  background: var(--color-bg-light, #eee);
}

.course-card:nth-child(3n + 3) .course-card__image {
  /* -webkit-mask-image: url('/assets/icons/ph3.png');
  mask-image: url('/assets/icons/ph3.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden; */
  margin-bottom: 1rem;
  background: var(--color-bg-light, #eee);
}

.course-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.booking-course__cover {
  -webkit-mask-image: url('/assets/icons/ph.png');
  mask-image: url('/assets/icons/ph.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #ea5b29;
}

.course-card__meta {
  margin: 0 0 .75rem;
  color: var(--color-text-light, #666);
  font-size: .875rem;
  text-align: center;
}

.course-card h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;
}

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

.course-card h2 a:hover,
.course-card h2 a:focus-visible {
  text-decoration: underline;
}

.course-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.course-card__status {
  font-size: .875rem;
}

.course-card__status[data-status="open"]::before {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  margin-right: .4rem;
  border-radius: 50%;
  background: #4f8f4f;
  content: "";
  vertical-align: middle;
}

.course-card__footer > a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* Tablet */
@media (max-width: 900px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* Mobiel */
@media (max-width: 600px) {
  .course-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
  }

  .course-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* PAENHUYS Display voor alle publieke titels */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.site-title,
.logo,
.note-excerpt-title,
.course-card h2 {
  font-family: var(--font-family-display);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
}
