/*
Theme Name: HV Actief
Description: Een bewerkbaar block theme voor Handbalvereniging Actief.
Version: 1.0.0
Text Domain: hv-actief-fse
*/

/* Designlaag voor de frontpage: alle inhoud blijft uit core-blokken bestaan. */
:root {
  --hv-red: #e30613;
  --hv-yellow: #ffb511;
  --hv-ink: #111827;
  --hv-muted: #64748b;
}

/* Let short pages fill the viewport, while long pages retain normal flow. */
.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.wp-site-blocks > main {
  flex: 1 0 auto;
  min-height: 60vh;
}

.wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: auto;
}

/* A consistent, high-contrast focus indicator for keyboard navigation. */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--hv-ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--hv-yellow);
}

.hv-header {
  position: relative;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
}

/* Keep the shared template-part header available while visitors scroll. */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
  margin-block-start: 0 !important;
}

/* Do not let the sticky header slide beneath WordPress' logged-in admin bar. */
.admin-bar .wp-site-blocks > header.wp-block-template-part {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: 46px;
  }
}

/* The first page section connects directly to the shared header. */
.wp-site-blocks > .wp-block-template-part + *,
.wp-site-blocks > header.wp-block-template-part + * {
  margin-block-start: 0 !important;
}

footer .wp-block-site-title {
  width: 96px;
  height: 74px;
  margin: 0 0 0.5rem;
  background: url("assets/images/hv-actief-logo.png") left center / 72px 72px
    no-repeat;
  font-size: 0 !important;
}

/* De eerste Cover op de pagina is de beeldhero. */
.wp-site-blocks > .wp-block-cover:first-of-type {
  min-height: 480px !important;
  isolation: isolate;
}

.wp-site-blocks > .wp-block-cover:first-of-type .wp-block-cover__background {
  background: linear-gradient(
    90deg,
    rgba(10, 15, 20, 0.78) 0%,
    rgba(10, 15, 20, 0.46) 46%,
    rgba(10, 15, 20, 0.1) 100%
  ) !important;
  opacity: 1;
}

.wp-site-blocks
  > .wp-block-cover:first-of-type
  .wp-block-cover__inner-container {
  max-width: 1280px;
  margin-inline: auto;
}

.wp-site-blocks > .wp-block-cover:first-of-type h1 {
  max-width: 590px;
  font-size: clamp(3.25rem, 5vw, 5rem) !important;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.wp-site-blocks > .wp-block-cover:first-of-type .wp-block-button__link,
.hv-header .wp-block-button__link {
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.wp-block-button__link:hover {
  transform: none;
  box-shadow: none;
}

/* Team archive and single-team templates. Cards stay deliberately flat. */
.hv-teams-archive {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
}

.hv-team-single {
  padding: 0;
}

.hv-teams-archive__intro {
  max-width: 680px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.hv-teams-archive__intro h1,
.hv-team-single > .wp-block-post-title {
  margin-bottom: 0.65rem;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  letter-spacing: -0.05em;
}

.hv-team-grid .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
}

.hv-team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0 0 1.35rem;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.hv-team-card .wp-block-post-featured-image {
  margin: 0 0 1.25rem;
}

.hv-team-card .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.hv-team-card > :not(.wp-block-post-featured-image) {
  margin-right: 1.25rem;
  margin-left: 1.25rem;
}

.hv-team-card .wp-block-post-title {
  margin-top: 0.45rem;
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hv-team-card .wp-block-post-excerpt {
  color: var(--hv-muted);
}

.hv-team-card .wp-block-read-more {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--hv-red);
  font-weight: 800;
}

.hv-team-hero {
  position: relative;
  width: 100%;
  max-width: none !important;
  min-height: clamp(280px, 30vw, 460px);
  overflow: hidden;
  background: var(--hv-ink);
}

/* Keep a deliberate, compact title banner when an editor has not yet chosen
   an uitgelichte afbeelding. A team photo turns this into the image hero. */
.hv-team-hero:not(:has(.wp-block-post-featured-image)) {
  min-height: 250px;
  background: linear-gradient(110deg, var(--hv-red), var(--hv-ink));
}

.hv-team-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.54), rgba(17, 24, 39, 0.16));
  content: "";
}

.hv-team-hero > .wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hv-team-hero > .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-team-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: inherit;
  width: min(1170px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
}

.hv-team-hero__content .wp-block-post-title {
  max-width: 900px;
  margin: 0.45rem 0 1.25rem;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  letter-spacing: -0.055em;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}

.hv-team-hero__rule {
  width: 70px !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-color: #fff !important;
  opacity: 0.8;
}

.hv-team-single__body {
  width: min(1170px, 100%);
  max-width: 1170px;
  box-sizing: border-box;
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.hv-team-single__body .wp-block-post-content {
  max-width: none;
}

.hv-team-content-grid {
  max-width: 1120px;
  margin-inline: auto;
  gap: clamp(2rem, 4vw, 4rem);
}

.hv-team-content-grid .wp-block-post-content > :first-child {
  margin-top: 0;
}

.hv-team-content-grid .wp-block-post-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
}

.hv-team-photo {
  position: relative;
  z-index: 0;
  aspect-ratio: 16 / 10;
  margin: 0 1.15rem 1.15rem 0;
  overflow: visible;
}

.hv-team-photo::after {
  position: absolute;
  z-index: 0;
  top: 1.15rem;
  right: -1.15rem;
  bottom: -1.15rem;
  left: 1.15rem;
  background: var(--hv-red);
  content: "";
}

.hv-team-photo img {
  display: block;
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.hv-team-details {
  max-width: 760px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid #e7ebf0;
  text-align: center;
}

.hv-team-details h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.hv-team-details__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.hv-team-details__item {
  min-width: 160px;
  padding: 0.8rem 1rem;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
}

.hv-team-details__item span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--hv-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hv-team-details__item strong {
  font-size: 0.95rem;
}

.hv-api-team-directory { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.hv-api-team-directory article { padding:1.4rem; border:1px solid #e7ebf0; border-radius:10px; background:#fff; }
.hv-api-team-directory h2 { margin:.3rem 0 .6rem; font-size:1.35rem; }
.hv-api-team-directory p { margin:.25rem 0; color:var(--hv-muted); }
.hv-api-team-directory__label { color:var(--hv-red) !important; font-size:.78rem; font-weight:800; letter-spacing:.08em; }
.hv-team-competition { max-width:1040px; margin:4rem auto 0; padding-top:2rem; border-top:1px solid #e7ebf0; }
.hv-team-competition h2 { font-size:2rem; }.hv-team-competition h3 { margin-top:2rem; font-size:1.15rem; }
.hv-team-competition ul { padding-left:1.2rem; }.hv-team-competition li { padding:.4rem 0; }
.hv-team-competition__matches { padding-left:0 !important; list-style:none; }
.hv-team-competition__matches li { display:grid; grid-template-columns:minmax(13rem, max-content) 1fr; column-gap:1.5rem; row-gap:.3rem; padding:1rem 0; border-bottom:1px solid #e7ebf0; }
.hv-team-competition__matches strong { grid-row:span 2; white-space:nowrap; }
.hv-team-competition__venue { color:var(--hv-muted); }
.hv-team-standing { overflow-x:auto; }.hv-team-standing table { width:100%; border-collapse:collapse; text-align:left; }
.hv-team-standing th,.hv-team-standing td { padding:.7rem; border-bottom:1px solid #e7ebf0; white-space:nowrap; }.hv-team-standing .is-own-team { background:#fff4f4; font-weight:800; }

@media (max-width: 600px) {
  .hv-team-competition__matches li { grid-template-columns:1fr; gap:.35rem; }
  .hv-team-competition__matches strong { grid-row:auto; }
}

/* Fixture calendar page. */
.hv-fixtures-page {
  width: min(1040px, 100%);
  box-sizing: border-box;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
}

.hv-fixtures-page__intro {
  max-width: 620px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hv-fixtures-page__eyebrow {
  margin-bottom: 0.5rem;
  color: var(--hv-red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hv-fixtures-page h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
}

.hv-fixtures-calendar {
  display: grid;
  gap: 0.8rem;
}

.hv-fixtures-calendar-section + .hv-fixtures-calendar-section {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.hv-fixtures-calendar-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.hv-fixtures-calendar__item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(180px, 0.6fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  background: #fff;
}

.hv-fixtures-calendar__item--result {
  background: #f8fafc;
}

.hv-fixtures-calendar__date {
  display: grid;
  place-items: center;
  padding: 0.65rem 0.4rem;
  border-radius: 7px;
  background: #f8fafc;
  line-height: 1.1;
}

.hv-fixtures-calendar__date span {
  color: var(--hv-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hv-fixtures-calendar__date strong {
  color: var(--hv-red);
  font-size: 1.7rem;
}

.hv-fixtures-calendar__teams,
.hv-fixtures-calendar__meta {
  display: grid;
  gap: 0.2rem;
}

.hv-fixtures-calendar__teams span,
.hv-fixtures-calendar__meta {
  color: var(--hv-muted);
}

.hv-fixtures-calendar__meta {
  justify-items: end;
  font-size: 0.9rem;
  text-align: right;
}

.hv-fixtures-calendar__score {
  color: var(--hv-ink);
  font-size: 1.15rem;
}

.hv-fixtures-calendar__empty {
  padding: 1.25rem;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
}

/* Training schedules are fed from the team records; contribution stays a core, editable table. */
.hv-training-page,
.hv-contribution-page {
  width: min(1040px, 100%);
  box-sizing: border-box;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
}

.hv-training-page > h1,
.hv-contribution-page > .wp-block-post-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
}

.hv-training-page > h1 + p,
.hv-contribution-page > .wp-block-post-title + .wp-block-post-content > :first-child {
  max-width: 640px;
  margin-top: 1rem;
  color: var(--hv-muted);
  font-size: 1.1rem;
}

.hv-training-schedule,
.hv-contribution-table {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.hv-training-schedule h2,
.hv-training-page > h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.hv-training-schedule__table-wrap,
.hv-contribution-table {
  overflow-x: auto;
}

.hv-training-schedule table,
.hv-contribution-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
}

.hv-training-schedule th,
.hv-training-schedule td,
.hv-contribution-table th,
.hv-contribution-table td {
  padding: 0.9rem 1.1rem;
  border: 1px solid #e7ebf0;
}

.hv-training-schedule th,
.hv-contribution-table th {
  background: #f8fafc;
  font-weight: 800;
}

.hv-training-schedule__slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hv-training-schedule__slots li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.hv-training-schedule__slots span {
  white-space: nowrap;
}

.hv-contribution-table figcaption {
  padding: 1rem 1.1rem;
  border: 1px solid #e7ebf0;
  border-top: 0;
  color: var(--hv-muted);
}

.hv-contact-page {
  padding: 0;
}

.hv-contact-page__content {
  width: min(1040px, 100%);
  box-sizing: border-box;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
}

.hv-contact-page__content > h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
}

.hv-contact-page__content > h1 + p {
  max-width: 640px;
  margin-top: 1rem;
  color: var(--hv-muted);
  font-size: 1.1rem;
}

.hv-contact-cards {
  margin-block: clamp(2.5rem, 5vw, 4rem);
  gap: 1rem;
}

.hv-contact-card {
  height: 100%;
  padding: 1.75rem;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  background: #fff;
}

.hv-contact-card::before {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--hv-red);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.hv-contact-cards > .wp-block-column:nth-child(1) .hv-contact-card::before {
  content: "✉";
}

.hv-contact-cards > .wp-block-column:nth-child(2) .hv-contact-card::before {
  content: "☎";
}

.hv-contact-cards > .wp-block-column:nth-child(3) .hv-contact-card::before {
  content: "⌖";
}

.hv-contact-card h2 {
  margin-top: 0;
  color: var(--hv-red);
  font-size: 1.15rem;
}

.hv-contact-card p {
  margin-bottom: 0;
}

.hv-contact-page__content > h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.hv-contact-map {
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
}

.hv-contact-map iframe {
  display: block;
  width: 100%;
  border: 0;
}

.hv-contact-location {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid #e9e6e4;
  background: var(--wp--preset--color--warm-wit);
}

.hv-contact-location__intro {
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}

.hv-contact-location__intro h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.hv-contact-location__intro p {
  margin-bottom: 1.5rem;
  color: var(--hv-muted);
}

.hv-contact-location .hv-contact-map {
  width: 100%;
  max-height: 360px;
  margin: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.hv-contact-location .hv-contact-map iframe {
  height: clamp(220px, 30vw, 360px) !important;
}

.hv-contact-form {
  margin-top: 2rem;
}

.hv-contact-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.hv-contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--hv-ink);
  font-weight: 700;
}

.hv-contact-form input,
.hv-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d9e0e9;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--hv-ink);
  font: inherit;
}

.hv-contact-form textarea {
  resize: vertical;
}

.hv-contact-form__field--full {
  grid-column: 1 / -1;
}

.hv-contact-form em {
  color: var(--hv-red);
  font-style: normal;
}

.hv-contact-form .wp-element-button {
  margin-top: 1.5rem;
  border-radius: 0;
  background: var(--hv-yellow);
  color: var(--hv-ink);
}

.hv-contact-form__message {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid #b9ddc6;
  border-radius: 4px;
  background: #edf9f0;
}

.hv-contact-form__message--error {
  border-color: #f2bbbb;
  background: #fff4f4;
}

.hv-contact-form__honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 640px) {
  .hv-contact-form__fields {
    grid-template-columns: 1fr;
  }

  .hv-contact-form__field--full {
    grid-column: auto;
  }

  .hv-contact-location .hv-contact-map iframe {
    height: 220px !important;
  }
}

/* Shared membership form, rendered directly above the footer on every page. */
.hv-membership-form {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
  background: linear-gradient(125deg, var(--hv-red), #b10b16);
  color: var(--hv-ink);
}

.hv-membership-form__inner {
  width: min(960px, 100%);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 12px;
  background: #fff;
}

.hv-membership-form__intro {
  max-width: 600px;
  margin-bottom: 2rem;
}

.hv-membership-form__eyebrow {
  margin-bottom: 0.5rem;
  color: var(--hv-red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hv-membership-form h2 {
  margin: 0;
  color: var(--hv-ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.hv-membership-form__intro p:last-child {
  margin-bottom: 0;
  color: var(--hv-muted);
}

.hv-membership-form__fields {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.hv-membership-form__field {
  display: grid;
  gap: 0.4rem;
  color: var(--hv-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.hv-membership-form__field em,
.hv-membership-form__consent em {
  color: var(--hv-red);
  text-decoration: none;
  font-style: normal;
}

.hv-membership-form__field input,
.hv-membership-form__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8dde5;
  border-radius: 6px;
  background: #fff;
  color: var(--hv-ink);
  font: inherit;
  font-weight: 400;
}

.hv-membership-form__field input {
  min-height: 44px;
  padding: 0.65rem 0.75rem;
}

.hv-membership-form__field textarea {
  padding: 0.75rem;
  resize: vertical;
}

.hv-membership-form__field input[type="file"] {
  padding: 0.45rem;
}

.hv-membership-form__field--full {
  grid-column: 1 / -1;
}

.hv-membership-form__field--first_name,
.hv-membership-form__field--initials,
.hv-membership-form__field--mobile,
.hv-membership-form__field--email,
.hv-membership-form__field--iban,
.hv-membership-form__field--account_holder {
  grid-column: span 3;
}

.hv-membership-form__field--last_name {
  grid-column: 1 / -1;
}

.hv-membership-form__field--address {
  grid-column: span 3;
}

.hv-membership-form__field--postal_code {
  grid-column: span 1;
}

.hv-membership-form__field--city {
  grid-column: span 2;
}

.hv-membership-form__field--birth_date,
.hv-membership-form__field--birth_place,
.hv-membership-form__field--gender {
  grid-column: span 2;
}

.hv-membership-form__field--gender {
  grid-template-columns: auto repeat(3, max-content);
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  border: 0;
}

.hv-membership-form__field--gender legend {
  padding: 0;
}

.hv-membership-form__field--gender label {
  font-weight: 400;
}

.hv-membership-form__field--gender input,
.hv-membership-form__consent input {
  width: auto;
  min-height: 0;
  accent-color: var(--hv-red);
}

.hv-membership-form__consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: 720px;
  margin: 1.5rem 0;
  color: var(--hv-muted);
  font-size: 0.9rem;
}

.hv-membership-form .wp-element-button {
  border: 1px solid var(--hv-red);
  background: var(--hv-red);
  color: #fff;
}

.hv-membership-form .wp-element-button:hover {
  border-color: #b10b16;
  background: #b10b16;
  color: #fff;
}

.hv-membership-form__message {
  padding: 0.9rem 1rem;
  margin: 0 0 1.5rem;
  border-left: 4px solid var(--hv-red);
  background: #fff4f4;
}

.hv-membership-form__message--error {
  border-left-color: var(--hv-yellow);
}

.hv-membership-form__information {
  display: grid;
  gap: 0.4rem;
  max-width: 820px;
  padding: 1.5rem 0 0 1.25rem;
  margin: 2.5rem 0 0;
  border-top: 1px solid #e7ebf0;
  color: var(--hv-muted);
  font-size: 0.82rem;
}

.hv-membership-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 780px) {
  .hv-team-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .hv-team-content-grid {
    gap: 2rem;
  }

  .hv-team-photo {
    max-width: 440px;
    margin-inline: auto;
  }

  .hv-api-team-directory { grid-template-columns:1fr; }

  .hv-membership-form__fields {
    grid-template-columns: 1fr;
  }

  .hv-membership-form__field--full {
    grid-column: auto;
  }

  .hv-membership-form__field--first_name,
  .hv-membership-form__field--initials,
  .hv-membership-form__field--last_name,
  .hv-membership-form__field--address,
  .hv-membership-form__field--postal_code,
  .hv-membership-form__field--city,
  .hv-membership-form__field--birth_date,
  .hv-membership-form__field--birth_place,
  .hv-membership-form__field--gender,
  .hv-membership-form__field--mobile,
  .hv-membership-form__field--email,
  .hv-membership-form__field--iban,
  .hv-membership-form__field--account_holder {
    grid-column: auto;
  }

  .hv-membership-form__field--gender {
    grid-template-columns: auto repeat(2, max-content);
  }

  .hv-fixtures-calendar__item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .hv-fixtures-calendar__meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
}

/* Wedstrijden: kalender-achtige kaarten met een duidelijk datumvlak. */
.hv-fixtures {
  position: relative;
  background: #fff;
}

.hv-fixtures > .wp-block-columns {
  align-items: stretch;
}

.hv-fixtures > .wp-block-columns > .wp-block-column > .wp-block-group {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 146px;
  height: 100%;
  border-color: #e7ebf0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.hv-fixtures > .wp-block-columns > .wp-block-column > .wp-block-group::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--hv-red);
  font-size: 1.35rem;
  font-weight: 800;
  transform: translateY(-50%);
  content: "→";
}

.hv-fixtures > .wp-block-columns > .wp-block-column > .wp-block-group:hover {
  border-color: #e7ebf0 !important;
}

.hv-fixtures
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group
  > .wp-block-columns {
  width: calc(100% - 24px);
  align-items: stretch;
}

.hv-fixtures
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group
  .wp-block-column:first-child {
  display: grid;
  place-items: center;
  min-width: 66px;
  border-radius: 6px;
  background: #f8fafc;
}

.hv-fixtures
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group
  .wp-block-column:first-child
  p {
  margin: 0;
  line-height: 1.15;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.hv-fixtures
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group
  .wp-block-column:first-child
  mark {
  font-size: 1.65rem;
  line-height: 1.05;
}

.hv-fixtures
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group
  .wp-block-column:last-child {
  padding-right: 1.8rem;
}

.hv-fixtures
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group
  .wp-block-column:last-child
  p {
  margin-block: 0 0.4rem;
}

.hv-fixtures
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group
  .wp-block-column:last-child
  p:last-child {
  font-size: 0.78rem !important;
  font-weight: 600;
  color: var(--hv-muted) !important;
}

/* Maak de tweede sectie beeldrijker, met een subtiele gele schuine hoek. */
#onze-club {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    105deg,
    #fff 0%,
    #fff 55%,
    #fff7df 55%,
    #fff7df 100%
  );
}

#onze-club::before {
  position: absolute;
  top: -9rem;
  left: 52%;
  width: 1.25rem;
  height: 150%;
  background: var(--hv-yellow);
  transform: rotate(-25deg);
  content: "";
  opacity: 0.92;
}

#onze-club > * {
  position: relative;
  z-index: 1;
}

#onze-club .wp-block-cover {
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.16);
}

/* Nieuws: een compacte beeldkaart met stabiele beeld- en tekstverhoudingen. */
main > .wp-block-group:last-child {
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  background: #fbfcfe;
}

main > .wp-block-group:last-child .wp-block-image {
  margin: 0;
  width: 100%;
}

main > .wp-block-group:last-child .wp-block-image img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

main > .wp-block-group:last-child .wp-block-column > .wp-block-group {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-color: #e7ebf0 !important;
  box-shadow: none;
}

main > .wp-block-group:last-child .wp-block-column > .wp-block-group::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: var(--hv-red);
  font-size: 1.25rem;
  font-weight: 800;
  content: "→";
}

main > .wp-block-group:last-child .wp-block-column > .wp-block-group h3 {
  min-height: 46px;
  margin: 16px 18px 8px !important;
  padding-right: 1rem;
  font-size: 1.05rem !important;
  line-height: 1.28;
}

main > .wp-block-group:last-child .wp-block-column > .wp-block-group p {
  margin-top: auto !important;
  padding-bottom: 12px;
  font-weight: 600;
}

main > .wp-block-group:last-child .wp-block-column > .wp-block-group:hover {
  transform: none;
  box-shadow: none;
}

/* Server-rendered (API-ready) wedstrijd- en nieuwssecties. */
.hv-api-section {
  padding: clamp(3rem, 6vw, 5rem) 5vw;
}

.hv-api-section__inner {
  max-width: 1170px;
  margin: 0 auto;
}

.hv-api-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hv-api-section__heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hv-api-section__heading > a,
.hv-api-section__cta a {
  color: var(--hv-red);
  font-weight: 800;
  text-decoration: none;
}

.hv-fixtures {
  background: #fff;
}

.hv-fixtures__grid,
.hv-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hv-fixtures__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
}

.hv-fixture-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 1rem;
  min-height: 132px;
  padding: 12px 48px 12px 12px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.hv-fixture-date {
  display: grid;
  place-content: center;
  min-width: 68px;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--hv-ink);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.hv-fixture-date strong {
  color: var(--hv-red);
  font-size: 1.7rem;
}

.hv-fixture-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  min-width: 0;
}

.hv-fixture-card__body strong {
  font-size: 0.95rem;
}

.hv-fixture-card__body small {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 0.35rem;
  color: var(--hv-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.hv-fixture-card__link {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--hv-red);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-50%);
}

.hv-api-section__cta {
  margin: 1.5rem 0 0;
  text-align: center;
}

.hv-api-section__cta a {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  color: var(--hv-ink);
}

.hv-news {
  background: #fbfcfe;
}

.hv-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.hv-news-card > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.hv-news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px;
}

.hv-news-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.28;
}

.hv-news-card time {
  margin-top: auto;
  padding-top: 0.8rem;
  color: var(--hv-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hv-news-card__body > a {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: var(--hv-red);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 781px) {
  .wp-site-blocks > .wp-block-cover:first-of-type {
    min-height: 500px !important;
  }

  .wp-site-blocks > .wp-block-cover:first-of-type h1 {
    font-size: clamp(2.9rem, 14vw, 4rem) !important;
  }

  #onze-club {
    background: #fff;
  }

  #onze-club::before {
    display: none;
  }

  .hv-fixtures > .wp-block-columns > .wp-block-column > .wp-block-group {
    min-height: 132px;
  }

  main > .wp-block-group:last-child {
    padding-inline: 1.25rem;
  }

  .hv-fixtures__grid,
  .hv-news__grid {
    grid-template-columns: 1fr;
  }

  .hv-api-section__heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/*
 * Editor-safe template structure
 *
 * These rules style the canonical core-block markup in templates/index.html
 * and parts/*.html. No visual styling depends on hand-written block wrappers.
 */
.wp-site-blocks > .wp-block-template-part + .hv-hero {
  margin-block-start: 0 !important;
}

.hv-header {
  margin-block-start: 0 !important;
  border-bottom: 1px solid #e9e6e4;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.hv-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  min-height: 76px;
}

.hv-header__brand {
  flex: 0 0 auto;
  gap: 0.7rem;
}

.hv-header__logo {
  width: 54px;
  margin: 0;
}

.hv-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hv-header__identity {
  min-width: 0;
}

.hv-header .hv-header__title {
  margin: 0;
  color: var(--hv-red);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hv-header .hv-header__title a {
  color: inherit;
  text-decoration: none;
}

.hv-header__subtitle {
  margin: 0.2rem 0 0;
  color: var(--hv-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hv-header__navigation {
  flex: 1 1 auto;
  gap: 0.35rem clamp(0.4rem, 1.1vw, 1rem);
}

.hv-header__navigation p {
  margin: 0;
}

.hv-header__navigation a,
.hv-header__menu summary {
  display: block;
  padding: 0.5rem 0.35rem;
  color: var(--hv-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.hv-header__menu {
  position: relative;
}

.hv-header__menu summary {
  cursor: pointer;
  list-style: none;
}

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

.hv-header__menu summary::after {
  display: inline-block;
  margin-left: 0.35rem;
  content: "⌄";
  transition: transform 0.2s ease;
}

.hv-header__menu[open] summary::after,
.hv-header__menu:focus-within summary::after {
  transform: rotate(180deg);
}

.hv-header__menu-panel {
  position: absolute;
  z-index: 110;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 0.35rem;
  margin: 0 !important;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  background: #fff;
}

.hv-header__menu-panel p {
  margin: 0;
}

.hv-header__menu-panel a {
  display: block;
  padding: 0.6rem 0.7rem;
}

.hv-header__menu:not([open]) > .hv-header__menu-panel {
  display: none;
}

.hv-header__menu:focus-within > .hv-header__menu-panel {
  display: block;
}

@media (hover: hover) {
  .hv-header__menu:hover > .hv-header__menu-panel {
    display: block;
  }

  .hv-header__menu:hover summary::after {
    transform: rotate(180deg);
  }
}

.hv-header__navigation a:hover,
.hv-header__navigation a[aria-current="page"],
.hv-header__menu summary:hover,
.hv-header__menu:focus-within summary {
  color: var(--hv-red);
}

.hv-header__cta {
  flex: 0 0 auto;
  margin: 0;
}

.hv-header__cta .wp-block-button__link {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
}

.hv-hero {
  min-height: 540px;
  margin-block-start: 0 !important;
  padding: clamp(4rem, 8vw, 7rem) 5vw;
  background:
    linear-gradient(90deg, rgba(10, 15, 20, 0.8) 0%, rgba(10, 15, 20, 0.46) 48%, rgba(10, 15, 20, 0.08) 100%),
    url("https://www.hvactief-paterswolde.nl/wp-content/uploads/2021/05/WhatsApp-Image-2021-05-27-at-15.50.26-1.jpeg")
      center / cover no-repeat;
}

.hv-hero__inner {
  width: min(600px, 100%);
  margin-left: max(0px, calc((100vw - 1340px) / 2));
}

.hv-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 5vw, 5.25rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hv-hero h1 span,
.hv-club h2 span {
  color: var(--hv-red);
}

.hv-hero p {
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
}

.hv-hero .wp-block-buttons {
  margin-top: 1.5rem;
}

.hv-main {
  margin-block-start: 0 !important;
}

.hv-club {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) max(5vw, calc((100vw - 1170px) / 2));
  background:
    linear-gradient(105deg, #fff 0%, #fff 53%, rgba(255, 247, 223, 0.85) 53%, rgba(255, 247, 223, 0.85) 100%),
    #fff;
}

.hv-club > p:first-child {
  margin: 0 0 0.5rem;
  color: var(--hv-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hv-club h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.hv-club > p:not(:first-child) {
  max-width: 650px;
}

.hv-club > .wp-block-columns {
  max-width: 700px;
  margin-top: 2.25rem;
}

.hv-club > .wp-block-columns p {
  color: var(--hv-ink);
}

.hv-news-fallback {
  padding: clamp(3rem, 6vw, 5rem) max(5vw, calc((100vw - 1170px) / 2));
  background: #fbfcfe;
}

.hv-footer {
  margin-block-start: 0 !important;
  padding: clamp(3rem, 5vw, 4.5rem) max(5vw, calc((100vw - 1170px) / 2)) 1.5rem;
  border-top: 1px solid #e9e6e4;
  background: #fff;
}

.hv-footer__grid {
  align-items: start;
  max-width: 1170px;
  margin: 0 auto;
  gap: clamp(2rem, 5vw, 5rem);
}

.hv-footer__grid > .wp-block-column:first-child {
  flex-basis: 36%;
}

.hv-footer__brand {
  min-height: 68px;
  padding: 0 0 0 82px;
  margin: 0;
  background: url("assets/images/hv-actief-logo.png") left top / 66px 66px
    no-repeat;
  color: var(--hv-red);
  font-weight: 800;
  line-height: 1.1;
}

.hv-footer h3 {
  margin: 0 0 0.8rem;
  color: var(--hv-ink);
  font-size: 1rem;
}

.hv-footer__grid > .wp-block-column > p,
.hv-footer a {
  color: var(--hv-muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

.hv-footer__tagline {
  margin: 0.9rem 0 0;
  color: var(--hv-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.hv-footer a {
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
  transition: text-decoration-color 0.2s ease;
}

.hv-footer a:hover {
  color: var(--hv-red);
  text-decoration-color: currentcolor;
}

.hv-footer > .wp-block-separator {
  width: min(1170px, 100%);
  margin: clamp(2rem, 4vw, 3.5rem) auto 1.25rem;
  border-color: #e9e6e4;
}

.hv-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1170px;
  margin: 0 auto;
}

.hv-footer__bottom p {
  margin: 0;
  color: var(--hv-muted);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .hv-header__inner {
    gap: 0.75rem;
    padding-block: 0.5rem;
  }

  .hv-header__navigation {
    order: 3;
    flex-basis: 100%;
  }

  .hv-hero__inner {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .hv-header__inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hv-header__navigation {
    gap: 0.5rem 1rem;
    justify-content: flex-start;
  }

  .hv-header__menu-panel {
    left: 0;
  }

  .hv-header__cta {
    display: none;
  }

  .hv-hero {
    min-height: 500px;
  }

  .hv-footer__grid > .wp-block-column:first-child {
    flex-basis: auto;
  }

  .hv-footer__bottom {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Section entrance animations: enabled only after the script has loaded. */
html.hv-motion-ready .hv-motion-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.58s ease,
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--hv-motion-delay, 0ms);
  will-change: opacity, transform;
}

html.hv-motion-ready .hv-reveal-section.is-visible .hv-motion-item {
  opacity: 1;
  transform: translateY(0);
}

.hv-news-card {
  transition: none;
}

.hv-news-card:hover {
  border-color: #e7ebf0;
  box-shadow: none;
  transform: none;
}

.hv-news__empty {
  margin: 0;
  color: var(--hv-muted);
}

.hv-news-archive,
.hv-news-single {
  width: min(1040px, 100%);
  box-sizing: border-box;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
}

.hv-news-archive > h1,
.hv-news-single > .wp-block-post-title {
  margin-top: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
}

.hv-news-archive .wp-block-post-template {
  gap: 1.25rem;
}

.hv-news-archive__card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  background: #fff;
}

.hv-news-archive__card > :not(.wp-block-post-featured-image) {
  margin-right: 1.25rem;
  margin-left: 1.25rem;
}

.hv-news-archive__card .wp-block-post-featured-image {
  margin: 0 0 1.25rem;
}

.hv-news-archive__card .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hv-news-archive__card .wp-block-post-date {
  color: var(--hv-muted);
  font-size: 0.85rem;
}

.hv-news-archive__card .wp-block-post-title {
  font-size: 1.35rem;
}

.hv-news-single > .wp-block-post-date {
  color: var(--hv-muted);
}

.hv-news-single > .wp-block-post-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.hv-sponsors {
  padding: clamp(3.5rem, 7vw, 6rem) max(5vw, calc((100vw - 1170px) / 2));
  background: #fff;
  text-align: center;
}

.hv-sponsors__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--hv-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hv-sponsors h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.hv-sponsors__logos {
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  gap: clamp(1rem, 3vw, 2rem);
}

.hv-sponsors__logos > .wp-block-column {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 1.25rem;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
}

.hv-sponsors__logos .wp-block-image {
  width: 100%;
  margin: 0;
}

.hv-sponsors__logos img {
  display: block;
  width: 100%;
  max-width: 190px;
  max-height: 84px;
  margin: auto;
  object-fit: contain;
}

/* One consistent page-heading treatment across pages and archives. */
.hv-page-title {
  max-width: 900px;
  margin: 0 !important;
  color: inherit;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  letter-spacing: -0.05em;
  line-height: 1.05;
  text-align: left;
}

.hv-page-title + p {
  max-width: 640px;
  margin-top: 1rem;
  text-align: left;
}

/* Club page: every item remains an ordinary, editable core block. */
.hv-club-page__intro,
.hv-club-page__board,
.hv-club-page__information {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.hv-club-page__intro {
  background: var(--wp--preset--color--warm-wit);
}

.hv-club-page__intro .wp-block-group,
.hv-club-page__board .wp-block-group {
  max-width: 760px;
}

.hv-eyebrow,
.hv-board-card__role {
  color: var(--hv-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hv-eyebrow {
  margin: 0 0 0.65rem;
}

.hv-club-page__intro h1,
.hv-club-page__board h2,
.hv-club-page__information h2 {
  margin-top: 0;
  letter-spacing: -0.045em;
}

.hv-club-page__intro h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
}

.hv-club-page__board {
  background: #fff;
}

.hv-club-page__board > .wp-block-group {
  max-width: 1340px;
}

.hv-board-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  gap: 1.25rem;
}

.hv-board-card {
  height: 100%;
  overflow: hidden;
  padding: 0 1.25rem 1.5rem;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  background: #fff;
}

.hv-board-card__image {
  margin: 0 -1.25rem 1.25rem;
}

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

.hv-board-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.hv-board-card__role {
  margin: 0.35rem 0 0.9rem;
}

.hv-board-card p:last-child {
  margin-bottom: 0;
  color: var(--hv-muted);
}

.hv-club-page__information {
  border-top: 1px solid #e9e6e4;
  background: var(--wp--preset--color--warm-wit);
}

.hv-club-page__information .wp-block-columns {
  gap: clamp(2rem, 7vw, 7rem);
}

@media (max-width: 640px) {
  .hv-sponsors__logos > .wp-block-column {
    min-height: 100px;
  }

  .hv-board-grid {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
