/* ==========================================================================
   1. FONT SIZES & RESPONSIVE VARIABLES (:root)
   ========================================================================== */
:root {
  /* Basis font-sizes (Mobile first) */
  --font-size-100: 1.00rem;
  --font-size-200: 1.20rem;
  --font-size-300: 1.40rem;
  --font-size-400: 1.60rem;
  --font-size-500: 1.80rem;
  --font-size-600: 2.20rem;
  --font-size-700: 2.30rem;
  --font-size-800: 2.45rem;
  --font-size-900: 2.70rem;
  --font-size-xl1: 2.85rem;
  --font-size-xl2: 3.00rem;

  /* Focus outline & selection colors */
  --color-selection: hsl(0, 0%, 100%);
  --background-color-selection: #B3006F;

  --gutter: 2rem;
}

/* @bp-xs (ca. 480px) */
@media screen and (min-width: 30em) {
  :root {
    --font-size-600: 2.25rem;
    --font-size-700: 2.35rem;
    --font-size-800: 2.53rem;
    --font-size-900: 2.82rem;
    --font-size-xl1: 3.08rem;
    --font-size-xl2: 3.60rem;

    --gutter: 4.0rem;
  }
}

/* @bp-sm (ca. 576px) */
@media screen and (min-width: 36em) {
  :root {
    --font-size-600: 2.30rem;
    --font-size-700: 2.40rem;
    --font-size-800: 2.61rem;
    --font-size-900: 2.94rem;
    --font-size-xl1: clamp(3.31rem, 2.77vw, 4.00rem);
    --font-size-xl2: clamp(4.20rem, 4.16vw, 6.00rem);
  }
  /* Fallback voor hele oude browsers die geen clamp() ondersteunen */
  @supports not (font-size: clamp(4.20rem, 4.16vw, 6.00rem)) {
    :root {
      --font-size-xl1: 3.31rem;
      --font-size-xl2: 4.20rem;
    }
  }
}

/* @bp-md (ca. 768px) */
@media screen and (min-width: 48em) {
  :root {
    --font-size-600: 2.35rem;
    --font-size-700: 2.45rem;
    --font-size-800: 2.69rem;
    --font-size-900: 3.06rem;
  }
  @supports not (font-size: clamp(4.20rem, 4.16vw, 6.00rem)) {
    :root {
      --font-size-xl1: 3.54rem;
      --font-size-xl2: 4.80rem;
    }
  }
}

/* @bp-lg (ca. 992px) */
@media screen and (min-width: 62em) {
  :root {
    --font-size-600: 2.40rem;
    --font-size-700: 2.50rem;
    --font-size-800: 2.77rem;
    --font-size-900: 3.18rem;
  }
  @supports not (font-size: clamp(4.20rem, 4.16vw, 6.00rem)) {
    :root {
      --font-size-xl1: 3.77rem;
      --font-size-xl2: 5.40rem;
    }
  }
}

/* @bp-xl (ca. 1200px) */
@media screen and (min-width: 75em) {
  :root {
    --font-size-800: 2.85rem;
    --font-size-900: 3.30rem;
    --font-size-xl1: 4.00rem;
    --font-size-xl2: 6.00rem;
  }
}


/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

::-moz-selection {
  color: var(--color-selection);
  background: var(--background-color-selection);
}

::selection {
  color: var(--color-selection);
  background: var(--background-color-selection);
}

*:where(:focus-visible) {
  outline-offset: 0.2rem;
  outline: 0.2rem solid #FFB000;
}

:where(body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd) {
  margin: 0;
}

:where(input, button, textarea, select) {
  font: inherit;
}

:where(ul[role='list']),
:where(ol[role='list']) {
  list-style: none;
}

:where(img, picture) {
  height: auto;
  display: block;
  max-width: 100%;
}

a:where(:not([class])) {
  text-decoration-skip-ink: auto;
}

html:focus-within {
  scroll-behavior: smooth;
}

:where(input, button, textarea, select):not([class]) {
  font: inherit;
}

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


/* ==========================================================================
   3. FONTS IMPORTS & DECLARATIONS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Solway:wght@300;400&display=swap');

/* @font-face {
    font-family: 'Dirty Headline';
    src: url('../fonts/DirtyHeadline.eot');
    src: url('../fonts/DirtyHeadline.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DirtyHeadline.woff2') format('woff2'),
        url('../fonts/DirtyHeadline.woff') format('woff'),
        url('../fonts/DirtyHeadline.ttf') format('truetype'),
        url('../fonts/DirtyHeadline.svg#DirtyHeadline') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */

@font-face {
    font-family: 'Homemade Apple';
    src: url('../fonts/HomemadeApple-Regular.eot');
    src: url('../fonts/HomemadeApple-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/HomemadeApple-Regular.woff2') format('woff2'),
        url('../fonts/HomemadeApple-Regular.woff') format('woff'),
        url('../fonts/HomemadeApple-Regular.ttf') format('truetype'),
        url('../fonts/HomemadeApple-Regular.svg#HomemadeApple-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-style: normal;
  font-weight: normal;
  text-transform: none;
  line-height: 1.00;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-rendering: auto;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp, .fa-solid, .fab, .far, .fas, .icon {
  line-height: 2.10;
}

h1, .h1 { font-size: var(--font-size-xl2); }
h2, .h2 { font-size: var(--font-size-900); }
h3, .h3 { font-size: var(--font-size-900); }
h4, .h4 { font-size: var(--font-size-800); }
h5, .h5 { font-size: var(--font-size-700); }
h6, .h6 { font-size: var(--font-size-600); }

html {
  overflow-y: auto;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-scrolling: touch;
  -webkit-overflow-scrolling: touch;

  font-size: 62.5%;
  text-rendering: optimizeSpeed;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #061A18;
}

@media screen and (min-width: 119em) {
  html { font-size: 68.75%; }
}

@media screen and (min-width: 159em) {
  html { font-size: 81.25%; }
}

body {
  height: 100%;
  display: flex;
  font-weight: 300;
  min-height: 100vh;
  min-height: 100dvh;
  flex-flow: column nowrap;
  font-smoothing: auto;
  color: hsl(0, 0%, 100%);
  font-size: var(--font-size-400);
  line-height: 2.10;
  letter-spacing: 0.015rem;
}

/* Anchors (Native CSS nesting toegepast) */
a:where(:not([class])),
a:where(.a-text) {
  letter-spacing: inherit;
  color: hsl(0, 0%, 100%);
  text-decoration: none;
  transition: color 250ms ease;

  &:is(:hover, :focus-visible) {
    color: #FA009B;
    text-decoration: underline;
  }
}

strong, b {
  font-weight: 700;
}

.otgs-development-site-front-end {
  display: none !important;
}

/* start new styling */
.section {
  width: 100%;
  margin: 0 auto;
  max-width: var(--max-width-section, 100%);
  padding: 0 var(--gutter);
}

.container {
  width: 100%;
  margin: 0 auto;
  padding:  revert;
  max-width: 128.0rem;;
}

.header {
    background-image: url(/assets/images/Tot-volgend-jaar.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 16vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;

    @media screen and (min-width: 48em) {
        align-items: center;
    }
}

.header::before {
    inset: 0;
    opacity: 1;
    z-index: 1;
    opacity: .8;
    content: '';
    display: block;
    position: absolute;
    background: linear-gradient(0deg, #184A32 0%, #0A1C14 100%);
    mix-blend-mode: multiply;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 32rem;
    z-index: 1;
    margin: 0 auto;
    
    @media screen and (min-width: 48em) {
        margin: 0 0 0 0;
    }
}

.header-logo img {
    /*aspect-ratio: 1 / 1;*/
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

.footer {
    display: flex;
    flex-flow: wrap row;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    gap: 3rem;
}

.bg-green {
    background-color: #112E21; 
    border-top: 1px solid rgba(250, 0, 155, 0.15);
}

.main-content {
  padding-block: var(--gutter);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
  align-items: start;
  font-family: "Solway", "Lucida Bright", Georgia, serif;
}

@media screen and (min-width: 48em) {
  .intro-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.lead {
  margin-block: 2rem;
}

.more-text {
  display: none;
  margin-bottom: 2rem;
}

.more-text p {
  margin-bottom: 1.5rem;
}

.read-more-wrapper {
  position: relative;
  width: 100%;
}

.more-text {
  display: block;
  max-height: 9rem;
  overflow: hidden;
  transition: max-height 400ms ease-in-out;
  margin-bottom: 0;
}

.more-text p {
  margin-bottom: 1.5rem;
}

.btn-read-more-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12rem;
  background: linear-gradient(to bottom, rgba(2, 15, 76, 0) 0%, #061A18 85%);
  border: none;
  color: #bbf7d0;
  font-weight: 700;
  letter-spacing: 0.15rem;
  font-size: var(--font-size-500);
  cursor: pointer;
  
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  gap: 0.8rem;
  transition: color 250ms ease;
}

.btn-read-more-fade .arrow {
  font-size: var(--font-size-200);
  margin-bottom: 0.2rem;
  transition: transform 300ms ease;
}

.btn-read-more-fade:hover {
  color: #ffffff;
}

.read-more-wrapper.is-expanded .more-text {
  max-height: 100rem;
}

.read-more-wrapper.is-expanded .btn-read-more-fade {
  position: relative;
  height: auto;
  background: transparent;
  padding-block: 2rem 0;
}

.read-more-wrapper.is-expanded .btn-read-more-fade .arrow {
  transform: rotate(180deg);
}

.donation-widget-block {
  margin-top: 2.5rem;
}

.donor-list-widget-block {
  width: 100%;
}

.donor-list-widget-block,
.donor-list-widget-block *,
.donor-list-widget-here,
.donor-list-widget-here *,
[class*="donation-list-widget"],
[class*="donation-list-widget"] * {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

.widget-shell {
  width: 100%;
}

.widget-shell > div {
  width: 100%;
}

.media-stack {
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
}

.video-container {
    width: 100%;
    border-radius: 0.8rem;
    overflow: hidden;
    z-index: 20;
    margin-top: -60%;
    position: relative;
}

.video-container video {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .video-container {
        position: relative;
        top: auto;
        margin-top: 0;
    }
}

.volume-control-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.volume-control-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.label {
    color: #bbf7d0;
}