/**
 * Components: one block per section paragraph.
 */

/* Section heading */
.hb-kop {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Key figures */
.hb-cijfers {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  margin: 0;
}

.hb-cijfers__item {
  min-width: 140px;
}

.hb-cijfers__cijfer {
  font-family: var(--hb-display);
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

.hb-cijfers__label {
  margin: 6px 0 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--hb-muted);
}

/* Hero */
.hb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.hb-hero__text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: clamp(48px, 7vw, 104px) clamp(16px, 5vw, 72px);
  overflow: hidden;
}

.hb-hero__text > :not(.hb-hero__tiger) {
  position: relative;
}

.hb-hero__tiger {
  position: absolute;
  top: 50%;
  right: -90px;
  width: 560px;
  height: 560px;
  max-width: none;
  transform: translateY(-50%);
  pointer-events: none;
}

.hb-hero__title {
  font-size: clamp(52px, 7.4vw, 108px);
}

.hb-hero__intro {
  margin: 0;
  max-width: 520px;
  font-size: 19px;
  color: var(--hb-paper-2);
}

.hb-hero__cijfers {
  padding-top: 28px;
  border-top: 1px solid var(--hb-line);
}

.hb-hero__beeld {
  position: relative;
  min-height: 640px;
  background: #1e1c1a;
}

.hb-hero__beeld img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-hero__label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 14px 20px;
  background: var(--hb-ink);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-muted);
}

@media (max-width: 860px) {
  .hb-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hb-hero__beeld {
    min-height: 360px;
  }

  .hb-hero__tiger {
    width: 420px;
    height: 420px;
    right: -140px;
  }
}

/* Page header */
.hb-paginakop {
  position: relative;
  overflow: hidden;
}

.hb-paginakop__tiger {
  position: absolute;
  top: -60px;
  left: -140px;
  width: 620px;
  height: 620px;
  max-width: none;
  pointer-events: none;
}

.hb-paginakop__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-top: 96px;
  padding-bottom: 88px;
}

.hb-paginakop__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hb-paginakop__grid.has-tiger {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.hb-paginakop__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hb-paginakop__text .hb-lead {
  color: var(--hb-paper-2);
}

.hb-paginakop__disc {
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.hb-paginakop__cijfers {
  padding-top: 24px;
  border-top: 2px solid var(--hb-paper);
}

.hb-paginakop__cijfers .hb-cijfers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hb-paginakop__cijfers .hb-cijfers__cijfer {
  font-size: 56px;
}

@media (max-width: 860px) {
  .hb-paginakop__grid.has-tiger {
    grid-template-columns: minmax(0, 1fr);
  }

  .hb-paginakop__disc {
    max-width: 260px;
    justify-self: start;
  }
}

/* Cards */
.hb-kaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.hb-kaart {
  display: flex;
  flex-direction: column;
  background: var(--hb-ink-2);
  color: var(--hb-paper);
  text-decoration: none;
}

.hb-section--licht .hb-kaart {
  background: var(--hb-white);
  color: var(--hb-ink);
}

.hb-kaart__beeld img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.hb-kaart__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
}

.hb-kaart__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hb-muted);
}

.hb-kaart__titel {
  margin: 0;
  font-family: var(--hb-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.hb-kaart__tekst {
  margin: 0;
  color: var(--hb-paper-2);
}

.hb-section--licht .hb-kaart__tekst {
  color: var(--hb-muted-dark);
}

.hb-kaart__link {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-red);
}

a.hb-kaart:hover .hb-kaart__titel,
a.hb-kaart:focus-visible .hb-kaart__titel {
  color: var(--hb-red);
}

/* Schedule */
.hb-rooster__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.hb-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hb-filter[hidden] {
  display: none;
}

.hb-filter__btn {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--hb-ink);
  background: transparent;
  color: var(--hb-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.hb-filter__btn[aria-pressed="true"] {
  background: var(--hb-ink);
  color: var(--hb-white);
}

.hb-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.hb-dag {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 120px;
  padding: 20px 18px 22px;
  border-top: 4px solid var(--hb-ink);
  background: var(--hb-white);
}

.hb-dag__naam {
  margin: 0;
  font-family: var(--hb-display);
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
}

.hb-dag__leeg {
  margin: 0;
  font-size: 14px;
  color: #6e6860;
}

.hb-les {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid #e6e1d7;
}

.hb-les[hidden] {
  display: none;
}

.hb-les__tijd {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hb-les__label {
  font-size: 14px;
  line-height: 1.4;
  color: #3a3732;
}

.hb-les__gordels {
  display: flex;
  gap: 3px;
  margin-top: 2px;
}

.hb-gordel {
  flex: 1;
  height: 8px;
}

.hb-gordel--wit { background: #fff; box-shadow: inset 0 0 0 1px #cfc8bc; }
.hb-gordel--geel { background: #f2c230; }
.hb-gordel--oranje { background: #e8771e; }
.hb-gordel--groen { background: #2e8b4e; }
.hb-gordel--blauw { background: #2b5fb4; }
.hb-gordel--paars { background: #6b3fa0; }
.hb-gordel--bruin { background: #6b4226; }
.hb-gordel--zwart { background: #111010; }

.hb-voetnoot {
  margin: 0;
  font-size: 15px;
  color: var(--hb-muted-dark);
}

/* Photo strip */
.hb-fotostrook img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 560px);
  object-fit: cover;
}

/* Contact */
.hb-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
}

.hb-adres {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: start;
  padding: 36px;
  background: var(--hb-ink);
  color: var(--hb-paper);
}

.hb-adres__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.hb-adres__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hb-muted);
}

.hb-adres__adres {
  margin-top: 6px;
  font-family: var(--hb-display);
  font-size: 32px;
  font-style: normal;
  line-height: 1.1;
  text-transform: uppercase;
}

.hb-adres__tiger {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
}

.hb-adres__lijst {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--hb-line);
  list-style: none;
  font-size: 16px;
}

.hb-adres__lijst li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hb-icon {
  flex: 0 0 auto;
}

@media (max-width: 860px) {
  .hb-contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hb-adres {
    padding: 28px 24px;
  }
}

/* Instagram */
.hb-insta {
  border-top: 1px solid var(--hb-line);
}

.hb-insta__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.hb-insta__account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hb-insta__avatar img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.hb-insta__naam {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hb-insta__naam span {
  font-size: 14px;
  color: var(--hb-muted);
}

/* Text with image */
.hb-tb__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.hb-tb--links .hb-tb__beeld {
  order: -1;
}

.hb-tb--onder .hb-tb__grid {
  grid-template-columns: minmax(0, 1fr);
}

.hb-tb__beeld img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hb-tb__beeld img + img {
  margin-top: 12px;
}

.hb-tb__rij {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 56px;
}

.hb-tb__rij--1 { grid-template-columns: minmax(0, 1fr); }
.hb-tb__rij--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hb-tb__rij--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hb-tb__rij img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hb-tb--onder .hb-tb__tekst {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px 56px;
  align-items: start;
}

.hb-tb--onder .hb-tb__tekst > .hb-kop {
  grid-row: span 2;
}

.hb-section--zwart .hb-prose {
  color: var(--hb-paper-2);
}

.hb-section--licht .hb-prose {
  color: #3a3732;
}

@media (max-width: 860px) {
  .hb-tb__grid,
  .hb-tb--onder .hb-tb__tekst {
    grid-template-columns: minmax(0, 1fr);
  }

  .hb-tb--links .hb-tb__beeld {
    order: 0;
  }

  .hb-tb__rij,
  .hb-tb__rij--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Instructors */
.hb-lead-lesgever {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: center;
}

.hb-lead-lesgever__foto img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hb-lead-lesgever .hb-lead {
  color: var(--hb-paper-2);
}

.hb-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-team figure {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.hb-team__foto img,
.hb-team__foto--leeg {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--hb-paper-2);
}

.hb-team__naam {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--hb-ink);
  font-family: var(--hb-display);
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hb-team__graad {
  font-family: var(--hb-body);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: none;
  color: var(--hb-muted-dark);
}

@media (max-width: 860px) {
  .hb-lead-lesgever {
    grid-template-columns: minmax(0, 1fr);
  }

  .hb-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-team__naam {
    flex-direction: column;
    font-size: 22px;
  }
}

/* Call to action band */
.hb-oproep {
  padding-top: 72px;
  padding-bottom: 72px;
}

.hb-oproep__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.hb-oproep .hb-h2 {
  max-width: 760px;
  font-size: clamp(36px, 4.5vw, 60px);
}

/* Cookie banner (eu_cookie_compliance) in the site colours */
#sliding-popup {
  background: var(--hb-ink-2) !important;
  border-top: 2px solid var(--hb-red);
}

#sliding-popup .eu-cookie-compliance-message h2,
#sliding-popup .eu-cookie-compliance-message p {
  color: var(--hb-paper);
  font-family: var(--hb-body);
}

#sliding-popup .agree-button,
#sliding-popup .decline-button,
#sliding-popup .find-more-button {
  border: 0;
  border-radius: 0;
  background: var(--hb-red);
  box-shadow: none;
  color: var(--hb-white);
  font-family: var(--hb-body);
  font-weight: 700;
  text-shadow: none;
}

/* Forms (login, password reset, webforms) */
.hb-main form {
  max-width: 560px;
}

.hb-main .form-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 20px;
}

.hb-main label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hb-main input[type="text"],
.hb-main input[type="email"],
.hb-main input[type="password"],
.hb-main input[type="tel"],
.hb-main input[type="search"],
.hb-main textarea,
.hb-main select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--hb-line);
  border-radius: 0;
  background: var(--hb-ink-2);
  color: var(--hb-paper);
  font: inherit;
}

.hb-main input:focus,
.hb-main textarea:focus,
.hb-main select:focus {
  border-color: var(--hb-red);
  outline: 2px solid var(--hb-red);
  outline-offset: 0;
}

.hb-main .description {
  font-size: 14px;
  color: var(--hb-muted);
}

.hb-main input[type="submit"],
.hb-main button.button {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  background: var(--hb-red);
  color: var(--hb-white);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.hb-main input[type="submit"]:hover,
.hb-main button.button:hover {
  background: var(--hb-red-dark);
}

.hb-section--licht input[type="text"],
.hb-section--licht input[type="email"],
.hb-section--licht textarea {
  background: var(--hb-white);
  color: var(--hb-ink);
}
