/*!
Theme Name: Brandeniers starter
Theme URI: https://brandeniers.nl
Author: Brandeniers
Description: Een starter thama
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: brandeniers
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

html,
body,
div,
span,
applet,
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%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0px;
  background-color: #f3f2ee;
  color: #1c1c1c;
}

/* CSS Variables */
:root {
  --column-gap: 16px;
  --row-gap: 16px;
  --kleurstelling-zwart: #1c1c1c;
  --kleurstelling-rood: #c82a1d;
  --kleurstelling-licht: #f3f2ee;
  --kleurstelling-oranje: #c82a1d;
  --letter-spacing-tex: -0.05em;
  --letter-spacing-toledo: -0.05em;
}

@font-face {
  font-family: "Robuck Rounded";
  src: url("/wp-content/themes/brandeniers-theme-wp/font/RobuckRounded.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Royale Couture Sans";
  src: url("/wp-content/themes/brandeniers-theme-wp/font/RoyaleCouture-Sans.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Texgyreheros";
  src: url("/wp-content/themes/brandeniers-theme-wp/font/texgyreheros-bold.otf")
    format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  letter-spacing: var(--letter-spacing-tex);
}

@font-face {
  font-family: "Toledo Serial";
  src: url("/wp-content/themes/brandeniers-theme-wp/font/Toledo-Serial Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Layout Elements */
footer,
section {
  padding: 60px 0px;
  position: relative;
}

p {
  padding-bottom: 1em;
  font-family: "Toledo Serial";
  letter-spacing: -0.01em;
}

p:not(.has-background):last-of-type {
  padding-bottom: 0;
}

section > div {
  z-index: 2;
}

a {
  text-decoration: none;
}

p {
  font-size: 28px;
  line-height: 1.1;
}

h1 {
  font-family: "Toledo Serial";
  text-wrap: pretty;
  word-wrap: break-word;
  overflow-wrap: break-word;
  letter-spacing: var(--letter-spacing-toledo);
}
h2,
h3,
h4,
h5,
h6 {
  font-family: "Texgyreheros";
  text-wrap: pretty;
  word-wrap: break-word;
  letter-spacing: var(--letter-spacing-tex);
}

/* Base Typography (Desktop) */
h1 {
  font-size: 72px;
  font-weight: 100;
  text-transform: uppercase;
  padding-bottom: 27px;
  line-height: 0.9em;
}

h2 {
  font-size: 64px;
  text-transform: uppercase;
  line-height: 0.9em;
  letter-spacing: var(--letter-spacing-tex);
}

h3 {
  font-size: 27px;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-tex);
}

h4 {
  font-size: 16px;
  line-height: 1.2em;
  letter-spacing: var(--letter-spacing-tex);
}

/* Tablet (980px en kleiner) */
@media (max-width: 980px) {
  h1 {
    font-size: 56px;
    padding-bottom: 20px;
  }

  h2 {
    font-size: 48px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }

  p {
    font-size: 22px;
  }
}

/* Mobile (479px en kleiner) */
@media (max-width: 479px) {
  h1 {
    font-size: 36px;
    padding-bottom: 16px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 16px;
  }

  p {
    font-size: 18px;
    line-height: 1.3;
  }
}

/* Grid System */
.row {
  display: grid;
  position: relative;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--column-gap);
  width: 95%;
  margin: auto;
  max-width: 95%;
  row-gap: var(--row-gap);
}

@media all and (max-width: 980px) {
/*   .row {
    width: 80%;
  } */
}

@media (max-width: 767px) {
  .row {
    grid-template-columns: 1fr;
    column-gap: var(--column-gap);
    row-gap: var(--row-gap);
  }
}

/* Row Variations */
.row.fullwidth-row {
  max-width: 100%;
  width: 100%;
  gap: 0px;
}

.row--5-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  row-gap: var(--row-gap);
}

@media (min-width: 768px) and (max-width: 980px) {
  .row--5-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .row--5-cols {
    grid-template-columns: 1fr;
  }
}

/* Column System */
.column {
  grid-column: span 12;
  box-sizing: border-box;
  position: relative;
  min-width: 0;
}

.column img {
  max-width: 100%;
  display: block;
}

/* Full Width */
.column.column_1_1 {
  grid-column: span 12;
}

/* Halfs */
.column.column_1_2 {
  grid-column: span 6;
}

/* Thirds */
.column.column_1_3 {
  grid-column: span 4;
}

.column.column_2_3 {
  grid-column: span 8;
}

/* Quarters */
.column.column_1_4 {
  grid-column: span 3;
}

.column.column_3_4 {
  grid-column: span 9;
}

/* Fifths (approximated with whole numbers) */
.column.column_1_5 {
  grid-column: span 2; /* ~16.7% instead of 20% */
}

.column.column_2_5 {
  grid-column: span 5; /* ~41.7% instead of 40% */
}

.column.column_3_5 {
  grid-column: span 7; /* ~58.3% instead of 60% */
}

.column.column_4_5 {
  grid-column: span 10; /* ~83.3% instead of 80% */
}

/* Sixths */
.column.column_1_6 {
  grid-column: span 2;
}

.column.column_2_6 {
  grid-column: span 4;
}

.column.column_3_6 {
  grid-column: span 6;
}

.column.column_4_6 {
  grid-column: span 8;
}

.column.column_5_6 {
  grid-column: span 10;
}

/* Responsive Tablet (768px - 980px) */
/* @media (min-width: 768px) and (max-width: 980px) {
  .column.column_1_1,
  .column.column_5_6 {
    grid-column: span 12;
  }

  .column.column_1_4,
  .column.column_1_2,
  .column.column_1_6,
  .column.column_3_6 {
    grid-column: span 12;
  }

  .column.column_1_3,
  .column.column_1_5,
  .column.column_2_3,
  .column.column_2_5,
  .column.column_3_4,
  .column.column_3_5,
  .column.column_4_5,
  .column.column_2_6,
  .column.column_4_6 {
    grid-column: span 12;
  }
} */

/* Responsive Mobile (max-width: 767px) */
@media (max-width: 980px) {
  .image-text-section .image-column.order-2 {
    order: 1;
  }

  .image-text-section .text-column.order-2 {
    order: 2;
  }

  .column {
    grid-column: 1 / -1 !important;
  }
}

/* Special Columns */
.column.column-begrenst-links {
  grid-column: 2 / span 5;
  max-width: 773px;
  margin-left: 16vw;
}

@media all and (max-width: 980px) {
  .column.column-begrenst-links {
    margin-left: 10vw;
  }
}

@media all and (max-width: 767px) {
  .column.column-begrenst-links {
    margin-left: 10vw;
    margin-right: 10vw;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* Visual Helpers for Development */
.column {
  min-height: 100px;
}

/* Remove this in production */
/* .column:empty::before {
  content: "Column";
  color: #666;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  height: 100%;
  min-height: 200px;
} */

.section-button {
  display: flex;
}
.button-wrapper {
  margin-top: 27px;
  display: flex;
  justify-content: center;
  gap: var(--column-gap);
}

.btn {
  font-family: "Texgyreheros";
  font-size: 19px;
  /* text-transform: uppercase; */
  color: var(--kleurstelling-rood);
}

@media all and (max-width: 980px) {
  .btn {
    font-size: 16px;
  }
}

.btn-wit {
  color: white;
}

/* .btn-link:after,
.btn-primary:after,
.event-carousel-button:after,
.btn:after {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  top: 10px;
  position: relative;
}
 */
#gform_submit_button_1,
.btn-link,
.kleurstelling-bg-licht .btn,
.event-carousel-button,
.kleurstelling-bg-zwart .btn {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.kleurstelling-bg-rood .btn {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* Gravity Forms input tekst op zwarte achtergrond */
.kleurstelling-bg-zwart .gform_wrapper input[type="text"],
.kleurstelling-bg-zwart .gform_wrapper input[type="email"],
.kleurstelling-bg-zwart .gform_wrapper input[type="tel"],
.kleurstelling-bg-zwart .gform_wrapper input[type="url"],
.kleurstelling-bg-zwart .gform_wrapper input[type="number"],
.kleurstelling-bg-zwart .gform_wrapper input[type="password"],
.kleurstelling-bg-zwart .gform_wrapper input[type="date"],
.kleurstelling-bg-zwart .gform_wrapper textarea,
.kleurstelling-bg-zwart .gform_wrapper select {
	color: #fff;
	    font-family: "Texgyreheros";
}

.btn-wit:after {
  background-color: white;
}

/* Hero Section */
.hero-home {
  width: 100%;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}
.portfolio-image-two > .row,
.hero-home > .row {
  column-gap: var(--column-gap);
  row-gap: var(--row-gap);
}

.portfolio-image-two {
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 16px;
}

.portfolio-categories {
  text-align: center;
  text-decoration: underline;
  margin-bottom: 12px;
}

.portfolio-image-two .column,
.hero-home .column {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  background-size: cover;
}

.hero-home .hero-home-label {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-tex);
  padding: 13px;
  font-size: 16px;
  background: var(--kleurstelling-rood);
  text-align: right;
  line-height: 0.9em;
  font-family: "Royale Couture Sans";
  font-weight: bold;
}
@media all and (max-width: 980px) {
  div.slick-slide > div:nth-child(2) {
    display: none;
  }
  .hero-home .column.column_1_2 {
    width: 100% !important;
  }
}

/*----tekst - afbeeldign ---*/

.image-text-section.kleurstelling-bg-licht {
  background-color: var(--kleurstelling-licht);
  color: var(--kleurstelling-rood);
}

.image-text-section.kleurstelling-bg-licht a {
  color: var(--kleurstelling-rood);
}

.image-text-section.kleurstelling-bg-licht .btn.gevuld {
  color: var(--kleurstelling-licht);
  background-color: var(--kleurstelling-rood);
}

/*formulieren*/
.gform_fields {
  gap: 18px !important;
}

/* Input field styling */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--kleurstelling-rood) !important;
  background-color: transparent !important;
  font-family: "Texgyreheros", sans-serif;
  font-size: 16px;
  color: var(--kleurstelling-rood);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 0 !important;
  box-sizing: border-box;
  font-family: "Texgyreheros";
  letter-spacing: var(--letter-spacing-tex);
}

/* Placeholder styling */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  color: var(--kleurstelling-rood, #e31e24);
  opacity: 1;
  text-transform: uppercase;
  font-weight: bold;
  font-family: "Texgyreheros" !important;
  letter-spacing: var(--letter-spacing-tex);
}

.gform_button {
  background: transparent !important;
  font-family: "Texgyreheros" !important;
  font-size: 19px !important;
  color: var(--kleurstelling-rood) !important;
  box-shadow: none !important;
  letter-spacing: var(--letter-spacing-tex);
}

.gform-footer.gform_footer.top_label {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.contact-form-section__title {
  margin-bottom: 20px;
}

/* Invoervelden - border */
.contact-form-section--rood .gform_wrapper input[type="text"],
.contact-form-section--rood .gform_wrapper input[type="email"],
.contact-form-section--rood .gform_wrapper input[type="tel"],
.contact-form-section--rood .gform_wrapper input[type="url"],
.contact-form-section--rood .gform_wrapper input[type="number"],
.contact-form-section--rood .gform_wrapper textarea,
.contact-form-section--rood .gform_wrapper select {
border-color: #000!impotant;
    border: 1px solid #000!important;
    color: #fff;
}

/* .contact-form-section--rood .gform_wrapper input:focus,
.contact-form-section--rood .gform_wrapper textarea:focus,
.contact-form-section--rood .gform_wrapper select:focus {
    border-color: #000;
    outline: 2px solid #000;
    outline-offset: 1px;
} */

/* Placeholders */
.contact-form-section--rood .gform_wrapper input::placeholder,
.contact-form-section--rood .gform_wrapper textarea::placeholder {
    color: #000;
    opacity: 1;
}

.contact-form-section--rood .gform_wrapper input::-webkit-input-placeholder,
.contact-form-section--rood .gform_wrapper textarea::-webkit-input-placeholder {
    color: #000;
    opacity: 1;
}

.contact-form-section--rood .gform_wrapper input::-moz-placeholder,
.contact-form-section--rood .gform_wrapper textarea::-moz-placeholder {
    color: #000;
    opacity: 1;
}

/* Knop */
.contact-form-section--rood .gform_wrapper .gform_footer input[type="submit"],
.contact-form-section--rood .gform_wrapper .gform_button,
.contact-form-section--rood .gform_wrapper button[type="submit"] {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}

.contact-form-section--rood .gform_wrapper .gform_footer input[type="submit"]:hover,
.contact-form-section--rood .gform_wrapper .gform_button:hover,
.contact-form-section--rood .gform_wrapper button[type="submit"]:hover {
    background: #fff;
    border-color: #000;
    color: var(--kleurstelling-licht);
}

/* Validatie */
.contact-form-section--rood .gform_wrapper .gfield_error input,
.contact-form-section--rood .gform_wrapper .gfield_error textarea,
.contact-form-section--rood .gform_wrapper .gfield_error select {
    border-color: #000;
    border-width: 2px;
}

.contact-form-section--rood .gform_wrapper .validation_message,
.contact-form-section--rood .gform_wrapper .gfield_required {
    color: #000;
}


.contact-form-section--rood .gform_button {
    color: #000!IMPORTANT;
}

/*--gecentreerd tekst blok */

.kleurstelling-bg-zwart {
  background-color: var(--kleurstelling-zwart);
  color: var(--kleurstelling-rood);
}

.kleurstelling-bg-zwart a {
  color: var(--kleurstelling-rood);
}

.kleurstelling-bg-rood {
  background-color: var(--kleurstelling-rood);
  color: var(--kleurstelling-zwart);
}

.kleurstelling-bg-rood a {
  color: var(--kleurstelling-zwart);
}

.kleurstelling-bg-licht {
  background-color: var(--kleurstelling-licht);
  color: var(--kleurstelling-oranje);
}

.kleurstelling-bg-licht a {
  color: var(--kleurstelling-oranje);
}

.btn.gevuld {
  padding: 8px 12px;
  text-transform: uppercase;
}
.btn.gevuld:after {
  display: none;
}
.kleurstelling-bg-zwart .btn.gevuld {
  color: var(--kleurstelling-zwart);
  background-color: var(--kleurstelling-rood);
  text-transform: uppercase;
}
.kleurstelling-bg-rood .btn.gevuld {
  color: var(--kleurstelling-rood);
  background-color: var(--kleurstelling-zwart);
  text-transform: uppercase;
}
.kleurstelling-bg-licht .btn.gevuld {
  color: var(--kleurstelling-licht);
  background-color: var(--kleurstelling-oranje);
}

/* Padding classes for gecentreerd-tekst-blok */
.gecentreerd-tekst-blok.padding-compact {
}

.gecentreerd-tekst-blok.padding-groot {
  padding-top: 120px;
  padding-bottom: 120px;
}

.gecentreerd-tekst-blok .text-center {
  max-width: 920px;
  margin: auto;
  text-wrap-style: balance;
}

.gecentreerd-tekst-blok .button-wrapper {
  margin-top: 30px;
}

.gecentreerd-tekst-blok h2 {
  font-size: 34px;
}

/* Responsive adjustments if needed */
@media (max-width: 980px) {
  .gecentreerd-tekst-blok.padding-groot {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/*--image carousel----*/

.marquee-section {
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  overflow: hidden;
  position: relative;
}

.marquee-container {
  position: relative;
  /* height: 280px; */
  overflow: hidden; /* Add this to ensure clean edges */
}

.marquee-track {
  display: flex;
  width: fit-content;
  /* Animation will be added via JavaScript for proper calculation */
}

.marquee-image {
  flex-shrink: 0;
  width: 545px;
  height: 353px;
  margin: 0 8px;
  overflow: hidden;
}

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

/*----image text section volle breedte ---*/
.image-text-section {
  padding-top: 0px;
  padding-bottom: 0px;
}

.image-text-section .image-column.order-2 {
  order: 2;
}

.image-text-section img.section-image {
  object-fit: cover;
  aspect-ratio: 941 / 909;
  height: 100%;
  width: 100%;
}

.image-text-section .row {
  align-items: stretch;
}

.image-text-section p {
  font-family: "Texgyreheros";
  font-size: 16px;
  letter-spacing: var(--letter-spacing-tex);
}

.image-text-section .section-button {
  padding-bottom: 12px !important;
}
.image-text-section .text-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto 1fr auto auto; /* rij erbij */
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  height: 100%;
  padding: 2.5vw;
}
.image-text-section .text-content > h3:nth-child(1) {
  grid-area: 1 / 1 / 2 / 6;
}
.image-text-section .text-content > h2 {
  grid-area: 2 / 1 / 3 / 6;
}
.image-text-section .text-content > .section-subtitle-text {
  grid-area: 3 / 1 / 4 / 6;
  margin-top: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.5;
  opacity: 0.8;
}
.image-text-section .text-content > .section-icon {
  grid-area: 4 / 1 / 5 / 6;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-text-section .text-content > .section-text {
  grid-area: 5 / 1 / 6 / 6;
  align-content: flex-end;
}
.image-text-section .text-content > .section-button {
  grid-area: 6 / 1 / 7 / 6;
  display: flex;
  align-items: flex-start;
  padding: 27px 0 0;
}

p.section-subtitle-text {
	    font-family: "Toledo Serial";
}

/* Gallery Styles */
.gallery-title {
  text-align: center;
  font-family: "Toledo Serial";
  font-size: 68px;
  text-transform: uppercase;
  line-height: 1.2em;
  letter-spacing: var(--letter-spacing-toledo);
}

.image-text-section.has-gallery .image-column {
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #1c1c1c;
  /* Geen vaste verhouding: de kolom volgt de hoogte van het gallery-kaartje.
     De row staat op align-items: stretch, dus beide kolommen blijven gelijk. */
}

.gallery-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  gap: 30px;
  max-width: 80%;
  width: 100%;
  height: 100%;
  padding: 54px;
}

.gallery-image-container {
  width: 100%;
  flex: none; /* Niet meerekken: de verhouding bepaalt de hoogte */
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 20px;
  display: flex;
  flex-direction: column; /* Stack title, image, title vertically */
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-numbers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  right: 23px;
}

.gallery-number {
  background: transparent;
  border: none;
  font-family: "Texgyreheros", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.3s ease;
  text-align: left;
  transform: rotate(90deg);
  letter-spacing: var(--letter-spacing-tex);
}

.gallery-number:hover {
  color: var(--kleurstelling-rood);
}

.gallery-number.active {
  color: var(--kleurstelling-rood);
}

.gallery-slider {
  position: relative;
  flex: 1;
  overflow: hidden;
  background-color: var(--kleurstelling-rood);
  width: 100%;
}

.gallery-slide {
  position: absolute; /* Changed from relative */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
  /* De actieve slide staat in de flow en geeft de slider zijn hoogte;
     de inactieve blijven absoluut eroverheen liggen voor de fade */
  position: relative;
  height: auto;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-text-section + .afgelopen-events-grid {
  margin-top: var(--row-gap);
}

/* Responsive */
@media (max-width: 980px) {
  .gallery-wrapper {
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    padding: 30px 20px;
  }

  .image-text-section.has-gallery .image-column {
    overflow: hidden;
  }

  .gallery-numbers {
    position: static; /* Reset absolute positioning */
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
  }

  .gallery-number {
    transform: rotate(0deg); /* Verwijder rotatie op mobiel */
  }

  .gallery-slider {
    /* In de kolom-richting niet meerekken, maar de inhoud volgen */
    flex: none;
  }

  .gallery-title {
    font-size: clamp(28px, 11vw, 48px);
  }

  /* Section title fullwidth op mobiel */
  .image-text-section .text-content > h2 {
    grid-area: 2 / 1 / 3 / 6; /* Span alle 5 kolommen */
  }
}

/*---portfolio event scroll---*/

.portfolio-marquee-section {
  width: 100%;
  padding-top: 27px;
  padding-bottom: 27px;
  overflow: hidden;
  position: relative;
}

.portfolio-marquee-container {
  position: relative;
  height: auto;
  overflow: hidden;
}

.portfolio-marquee-track {
  display: flex;
  width: fit-content;
}

.portfolio-marquee-item {
  flex-shrink: 0;
  width: 545px;
  margin: 0 8px;
}

.portfolio-marquee-image {
  width: 100%;
  /* Vaste verhouding i.p.v. een vaste hoogte, zodat de kaart op elke
     itembreedte dezelfde vorm houdt (545 x 353 op desktop, 240 x 155 mobiel) */
  aspect-ratio: 545 / 353;
  height: auto;
  overflow: hidden;
}

.portfolio-marquee-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-marquee-button:hover {
  background-color: #555;
  color: white;
  text-decoration: none;
}

.portfolio-marquee-title {
  text-transform: uppercase;
  color: var(--kleurstelling-oranje);
  /* De titel is het element dat mag krimpen en afbreken */
  min-width: 0;
}

.portfolio-marquee-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* De knop houdt altijd zijn volle breedte, ongeacht de lengte van de titel */
.portfolio-marquee-content .event-carousel-button {
  flex: none;
  white-space: nowrap;
}

/* De JS van past-events-carousel.php meet deze breedte zelf op, dus dit
   getal is vrij te kiezen zonder de marquee-animatie te breken */
@media (max-width: 768px) {
  .portfolio-marquee-item {
    width: 240px;
  }

  /* Te weinig breedte voor titel en knop naast elkaar: knop eronder */
  .portfolio-marquee-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 60px;
  margin-top: 60px;
  justify-content: center;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn {
  background: transparent;
  border: 0px solid #000;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  color: var(--kleurstelling-oranje);
  text-decoration: underline;
  text-transform: uppercase;
  font-weight: bold;
}

.filter-btn:hover,
.filter-btn.active {
  background: transparent;

  text-decoration: none;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  font-size: 18px;
}

/*----past events----*/

.past-events-container {
  width: 95%;
  min-width: 95%;
}

.past-events-title {
  color: var(--kleurstelling-oranje);
  font-family: "Toledo Serial";
  letter-spacing: 0em;
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 60px;
  border-top: 1px solid var(--kleurstelling-oranje);
}

.event-row {
  border-bottom: 1px solid var(--kleurstelling-oranje);
}

.event-row td {
  padding: 12px 15px;
  vertical-align: middle;
}

.event-date {
  color: var(--kleurstelling-oranje);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  width: 150px;
  text-transform: uppercase;
}

.event-title {
  color: var(--kleurstelling-oranje);
  width: 40%;
  text-transform: uppercase;
}

.event-location {
  color: var(--kleurstelling-oranje);
  width: 30%;
  text-transform: uppercase;
}

.event-link {
  text-align: right;
  width: 120px;
}


.event-link a {
  color: var(--kleurstelling-oranje);
  text-decoration: underline;
  transition: opacity 0.3s ease;
  text-underline-offset: 4px;
}

.event-link a:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .events-table,
  .events-table tbody {
    display: block;
  }

  .events-table {
    margin-top: 30px;
  }

  /* Compacte rij zoals in het XD-ontwerp: titel links, link rechts */
  .event-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }

  /* Datum en opdrachtgever alleen op desktop */
  .event-date,
  .event-location {
    display: none;
  }

  .event-title {
    display: block;
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 12px 0;
  }

  .event-title h4 {
    font-size: 13px;
  }

  .event-link {
    display: block;
    flex: none;
    width: auto;
    padding: 12px 0;
    text-align: right;
    white-space: nowrap;
  }

  .event-link a {
    font-size: 12px;
    text-underline-offset: 4px;
  }
}

/*----afbeelding grid---*/
section.afbeelding-grid + section.afbeelding-grid {
  margin-top: 16px;
}

.afbeelding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--column-gap);
  margin: 0;
  padding: 0;
  width: 100%;
}

.afbeelding-grid__item {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

/* Weggefilterd door de categorieknoppen (zie event-grid.php) */
.afbeelding-grid__item.is-filtered-out {
  display: none;
}

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

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
  .afbeelding-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.afbeelding-grid__title h3,
.afbeelding-grid__title {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 27px;
}

.afbeelding-grid__title h3 {
  color: white;
  text-transform: uppercase;
  width: calc(100% - 130px);
}

.afbeelding-grid__item .btn {
  position: absolute;
  right: 0px;
  bottom: 0;
  padding: 27px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/*---headline----*/
.headline-carousel {
  padding-top: 0px;
  padding-bottom: 0px;
}
.headline-carousel-wrapper {
  background-color: var(--kleurstelling-rood);
  overflow: hidden;
  padding: 6px 0;
  position: relative;
  width: 100%;
}

.headline-carousel-inner {
  display: flex;
  width: fit-content;
  animation: scroll-left 20s linear infinite;
}

.headline-carousel-inner {
  display: flex;
  width: fit-content;
  animation: scroll-left 20s linear infinite;
}

.headline-track {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  counter-reset: headline-counter;
  margin-right: 20px;
}
.headline-item {
  font-size: 27px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  counter-increment: headline-counter;

  font-family: "Texgyreheros";
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-tex);
}

.headline-item span {
  color: #000;
  /* -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #1c1c1c; */
}

.headline-item span::before {
  content: "#" counter(headline-counter);
  margin-right: 2px;
  font-size: 10px;
  top: -12px;
  position: relative;
}

/* Separator between items */
span.bar {
  color: transparent;
  -webkit-text-stroke-width: 0px;
}

span.bar:before {
  display: none;
}

span.bar {
  content: "";
  background-image: url(/wp-content/uploads/2025/09/bar2-cropped.svg);
  width: 1.5em;
  height: 1.1em;
  display: inline-block;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: baseline;
  margin-left: 0.2em;
  top: 0em;
}
.kleurstelling-bg-licht span.bar {
  background-image: url(/wp-content/uploads/2025/10/bar-oranje2.png);
}
/* Pure CSS Animation - No jumps */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% / 11));
  }
}

/* Responsive */
@media (max-width: 768px) {
  .headline-item span {
    font-size: 18px;
  }

  .headline-item span::before {
    top: -4px;
  }

  .headline-track {
    gap: 30px;
  }

  .headline-item::after {
    margin-left: 30px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .headline-item span {
    font-size: 16px;
  }

  .headline-track {
    gap: 20px;
  }

  .headline-item::after {
    margin-left: 20px;
    font-size: 14px;
  }
}

/*---volle breedte afbeelding---*/

.volle-breedte-afbeelding {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0; /* Remove any bottom spacing */
}

.volle-breedte-afbeelding img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Optional: Add max-height if you want to control the height */
/* 
.volle-breedte-afbeelding img {
    max-height: 600px;
    object-fit: cover;
}
*/

/*----video section ----*/
.vimeo-video-section.no-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper .vimeo-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*---_FAQ-----*/

.kleurstelling-bg-licht .faq-item__question-text {
  color: var(--kleurstelling-oranje);
}

.kleurstelling-bg-licht .faq-item__icon {
  color: var(--kleurstelling-oranje);
}

.faq-section__title {
  margin-bottom: 40px;
  text-align: center;
}

.faq-section__items {
  margin: 0 auto;
}

/* De knop zit in een h3 (accordion-patroon van de WAI-ARIA APG). De
   h3-typografie mag daarbij niet doorwerken; de knop bepaalt de opmaak. */
.faq-item__heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.faq-item__question-text {
  color: var(--kleurstelling-oranje);
  text-transform: uppercase;
  font-family: "Texgyreheros";
  font-size: 16px;
  letter-spacing: var(--letter-spacing-tex);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-item__question:hover {
}

.faq-item__icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item__answer {
  overflow: hidden;
}

.faq-item__answer-content {
  padding: 0 20px 20px;
}

.faq-item__answer[hidden] {
  display: none;
}

/*----footer----*/

.site-footer {
  padding-bottom: 24px;
}


.footer-quote  h2 {
    color: var(--kleurstelling-rood);
    margin: auto;
    max-width: 700px;
    text-wrap-style: balance;
    text-align: center;
    margin-bottom: 60px;
    font-family: "Royale Couture Sans";
    letter-spacing: -2px;
    font-weight: bold;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;


  max-width: 95%;
  margin: 0 auto;
  gap: 40px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.btn-social {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--kleurstelling-rood);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-social:hover {
  opacity: .9;
}

.btn-social svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.btn-link {
  color: var(--kleurstelling-rood);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.3s ease;
}

.btn-link:hover {
  opacity: 0.7;
}

.footer-copyright {
  color: var(--kleurstelling-rood);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-quote h2 {
    margin-bottom: 20px;
  }

  .footer-content {
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    gap: 30px 12px;
  }

  .footer-social {
    order: 1;
    flex-basis: 100%;
    justify-content: center;
  }

  /* De twee links losmaken uit hun wrapper, zodat het copyright ertussen past */
  .footer-links {
    display: contents;
  }

  .footer-links .btn-link:first-child {
    order: 2;
  }

  .footer-copyright {
    order: 3;
  }

  .footer-links .btn-link:last-child {
    order: 4;
  }
}

@media (max-width: 500px) {
  .footer-content {
    gap: 30px 8px;
  }

  .btn-link,
  .footer-copyright {
    font-size: 11px;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }
}

@media (max-width: 369px) {
  .footer-content {
    gap: 30px 6px;
  }

  .btn-link,
  .footer-copyright {
    font-size: 9px;
  }
}

/* *,
*::before,
*::after {
  cursor: none !important;
}

.cursor {
  width: 40px;
  height: 40px;
  border: 2px solid var(--kleurstelling-licht);
  background-color: var(--kleurstelling-rood);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor.clicked {
  transform: translate(-50%, -50%) scale(0.8);
} */

/*----toegankelijkheid----*/

/* Visueel verbergen, wel leesbaar voor schermlezers (WordPress-standaard) */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* De skip-link moet juist zichtbaar worden zodra hij focus krijgt */
.skip-link:focus {
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  padding: 16px 24px;
  top: 8px;
  left: 8px;
  z-index: 100000;
  background: var(--kleurstelling-licht);
  color: var(--kleurstelling-rood);
  font-family: "Texgyreheros";
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Zichtbare focus voor toetsenbordnavigatie (WCAG 2.4.7). currentColor volgt
   de tekstkleur, zodat de omlijning zichtbaar blijft op de lichte, rode en
   donkere achtergronden die het thema door elkaar gebruikt. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* Respecteer de systeeminstelling voor verminderde beweging (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* De marquees stilzetten mag de inhoud niet onbereikbaar maken:
     daarom handmatig scrollbaar in plaats van afgekapt. */
  .marquee-track,
  .portfolio-marquee-track,
  .headline-track {
    animation: none !important;
    transform: none !important;
  }

  .marquee-container,
  .portfolio-marquee-container,
  .headline-carousel-wrapper {
    overflow-x: auto;
  }
}
