.verhalen__blokken__home {
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 2rem);
  overflow: hidden;
  margin: 3rem auto 0;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.verhalen__blokken__home figure {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 1.5;
  object-fit: cover;
  overflow: hidden;
}


.verhalen__blokken__home img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .verhalen__blokken__home img {
    object-fit: cover;
  }
}


.verhalen__blokken__home div {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
}

.verhalen__blokken__home .button {
  margin-top: 2rem;
  margin-bottom: 0;
  background-color: #170f3d;
  color: #fff;
  text-transform: uppercase;
}

.intro {
  max-width: calc(100% - 2rem);
  margin: 0px auto 0;
  padding: 1rem;
}

.intro .article-header__title {
  font-size: 26px;
  line-height: 31px;
  max-width: unset;
}

.vrije__blokken {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: min(1rem, 2rem);
  max-width: 100%;
  margin: 0 auto 0;
  padding: 2rem 1rem;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.vrije__blokken div {
  display: flex;
  flex: 1 2 300px;
  flex-direction: column;
  background-color: white;
  padding: 1rem;
  overflow: hidden;
  /*max-width: calc(100% - 1rem);
  margin: 0 auto;*/
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.vrije__blokken figure {
  margin: -1rem -1rem 1rem;
}

.vrije__blokken figure img {
  object-fit: cover;
  min-height: 230px;
  max-height: 230px;
}

/*
.vrije__blokken.oranje {
  background-image: url(../images/bg-bol-oranje.svg);
  background-repeat: no-repeat;
  background-position: 120% bottom;
}
*/

.vrije__blokken div p:not(.text-header) {
  margin: 0 0 1rem;
}

.vrije__blokken div:not(:has(figure)) p {
  margin: 0 0 1rem;
}

.vrije__blokken a {
  text-decoration: underline;
  font-weight: normal;
  display: block;
  width: 100%;
  margin: auto 0 ;
}

@media screen and (max-width: 768px) {
  .vrije__blokken a,
  .intro a:last-of-type {
    display: block;
    text-align: center;
    border: 1px solid currentColor;
    padding-block: 4px;
    padding-inline: 8px;
    text-decoration: none;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }

  .intro a:last-of-type {
    margin-top: 1rem;
  }

  .paars a {
    border: unset;
    text-align: unset;
    text-decoration: underline;
  }

}

.vrije__blokken h2,
.verhalen__blokken__home h2 {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roobert Webfont",Arial,Helvetica,sans-serif;
  text-rendering: optimizeLegibility;
  font-style: normal;
  font-size: 26px;
  font-weight: 700;
  line-height: 31px;
  margin-bottom: 15px;
}

.vrije__blokken div .kop {
  margin: -1rem -1rem 1rem;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vrije__blokken div + a {
  /* text-transform: uppercase; */
  font-weight: bold;
}

.kop img {
  width: 52px;
  height: auto;
  aspect-ratio: 1;
}

.text-header {
  font-family: "Roobert Webfont",Arial,Helvetica,sans-serif;
  text-rendering: optimizeLegibility;
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
  line-height: 31px;
}

.home-cta {
  margin-top: 0;
}

@media (max-width: 529px) {
  .home-cta .home-cta__cta {
    width: 100%;
    margin-left: 0;
    border-radius: 0px 0px 8px 8px;
  }

  .home-banner-photo-cta .banner-photo,
  .home-banner-photo-cta .banner-photo picture img {
    border-radius: 8px 8px 0px 0px;
  }
}

@media (max-width: 529px) {
  .home-banner-photo-cta .banner-photo picture img {
    height: 180px;
    object-position: unset;
  }
}

@media (min-width: 530px) and (max-width: 767px) {
  .home-cta .home-cta__cta {
    width: 100%;
    margin-left: 0;
    border-radius: 0px 0px 8px 8px;
  }

  .home-banner-photo-cta .banner-photo,
  .home-banner-photo-cta .banner-photo picture img {
    border-radius: 8px 8px 0px 0px;
  }
}

@media screen and (min-width: 768px) {
  .cta-photo {
    min-height: unset;
    top: unset;
    width: calc(50% - 26.66667px);
    bottom: -2rem;
    z-index: 101;
  }

  .intro {
    max-width: 72ch;
  }
}

@media screen and (min-width: 1220px) {
  .cta-photo {
    width: calc(33.33333% - 26.66667px);
  }
}

/*
@media (min-width: 1180px) and (max-width: 1363px) {
  :is(.verhalen__blokken__home, .vrije__blokken, .intro, .verhalen__blokken__home) {
    margin: 0 120px;
  }
}
*/


@media screen and (min-width: 1364px) {

  .banner-photo picture img {
    height: 400px;
    object-fit: cover;
  }

  .cta-photo {
    min-height: fit-content;
    max-height: 400px;
    position: absolute;
    right: 1rem;
    top: unset;
    bottom: -4rem;
    width: calc(33.33333% - 26.66667px);
    z-index: 101;
  }

  .intro {
    max-width: 1440px;
    margin: 120px auto 0;
    padding: 0 120px;
  }

  .intro p {
    max-width: 72ch;
  }

  .intro > p:last-of-type {
    margin-bottom: 1.5rem;
  }

  .intro a {
    text-decoration: underline;
  }
}

@media screen and (min-width: 768px) { /* DEZE SPLISTING IS NIEUW */

  .vrije__blokken {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: min(1rem, 2rem);
    max-width: 1440px;
    padding: 2rem 1rem;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }

  .vrije__blokken div {
    flex: 1 2 300px;
    flex-direction: column;
  }

  .verhalen__blokken__home {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1440px;
    max-height: 300px;
    overflow: hidden;
    margin: 3rem auto 0;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }

  .verhalen__blokken__home figure {
    position: relative;
    width: 300px;
    max-width: 300px;
    min-height: 100%;
    margin-left: -66px;
    aspect-ratio: 3 / 2;
    margin-right: 16px;
    object-fit: cover;
    clip-path: circle(60% at 40% 50%)
  }

  .verhalen__blokken__home img {
    position: absolute;
    /*top: -30px;*/
    right: -30px;
  }

  .verhalen__blokken__home div {
    display: flex;
    flex-direction: column;
    width: calc(100% - 316px);
    padding: 1rem 1rem 1rem 0;
  }

  .verhalen__blokken__home .button {
    align-self: flex-start;
    margin-top: auto;
  }

  /*
  :is(.verhalen__blokken__home, .vrije__blokken, .verhalen__blokken__home) {
    margin: 0 120px;
  }
  */

}



/* Kleur def */

.oranje {
  background-color: #FCE3E0;
}

div.blauw {
  background-color: #86AEED;
}

div.paars {
  background-color: #cbc5e5;
}

div.paars .kop {
  background-color: #a69dcd;
}

.vrije__blokken .richtext p.text-header,
.vrije__blokken .richtext h3.text-header {
  font-family: "Roobert Webfont",Arial,Helvetica,sans-serif;
  text-rendering: optimizeLegibility;
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
  line-height: 31px;
  margin-block-start: 0;
  margin-block-end: 1em;
}

.vrije__blokken .richtext ul {
  margin: 0;
  display: flex;
  flex-direction: column;
  list-style: none;
}

.vrije__blokken .richtext ul>li::before {
  content: "";
  padding-left: 0;
  vertical-align: top;
}

.vrije__blokken .richtext ul>li {
  display: inline-flex;
  list-style: none;
  padding-left: 0;
}

.vrije__blokken .richtext li:after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.35 16.38l1.3 1.24 6.62-6.87-6.65-6.4-1.24 1.3 5.35 5.15z'%3E%3C/path%3E%3C/svg%3E");
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-left: auto;
}

.home-generic {
  margin-block-end: 40px;
}

.home-generic + .article-link-list {
  margin-block-start: 3rem;
}

.home-generic + .article-searchbar {
  margin-top: 10px;
}


.theme-secondary .vrije__blokken,
.theme-blue .vrije__blokken,
.theme-primary .vrije__blokken,
.theme-orange .vrije__blokken {
  margin-block-start: 5rem;
}

.article-content + .home-generic .vrije__blokken,
.home-generic + .home-generic .vrije__blokken {
  margin-block-start: 3rem;
}

.skip-to-main {
  text-align: left;
}

.skip-to-main .link:active, .skip-to-main .link:focus {
  float: none;
  left: 1rem;
  margin-bottom:0;
  margin-top: 0;
  padding: 0.5em;
  position: absolute;
}

/* ------------------------------------------------------------------------
 * Donorgesprek 2024 Campagne Overrides
 * ------------------------------------------------------------------------
 */

@media (min-width: 1180px) {
  .theme-donorgesprek .article-header .article-header__title {
    font-size: 48px;
    line-height: 59px;
  }
}
@media (min-width: 800px) {
  .theme-donorgesprek .article-header .article-header__title {
    font-size: 36px;
    line-height: 59px;
  }
}


@media (min-width: 530px) and (max-width: 799px) {
  .theme-donorgesprek .article-header .article-header__header {
    width: 100%;
  }
}

@media (min-width: 800px) and (max-width: 1179px) {
  .theme-donorgesprek .article-header .article-header__header {
    width: 100%;
  }
}
@media (min-width: 1180px) and (max-width: 1479px) {
  .theme-donorgesprek .article-header .article-header__header {
      width: 100%;
  }
}

@media (min-width: 1220px) {
  .theme-donorgesprek .cta-photo {
      width: calc(50% - 26.66667px);
  }
}
@media (min-width: 768px) {
  .theme-donorgesprek .cta-photo {
      width: calc(50% - 26.66667px);
  }
}
@media (min-width: 0px) {
  .theme-donorgesprek .banner-photo picture img {
    max-height: auto;
    height: auto;
  }
}


.theme-donorgesprek .introduction-text {
  padding: 20px 30px;
  display: none;
}

.theme-donorgesprek .introduction-text.mobile-only {
  display: block;
}

@media screen and (min-width: 768px) {
  .theme-donorgesprek .introduction-text {
    padding: 20px;
    display: block;
  }
  .theme-donorgesprek .introduction-text.mobile-only {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .theme-donorgesprek .introduction-text {
    width: calc(50% - 26.66667px);
  }
}

.theme-donorgesprek .cta {
  background-color: #3cc1ce;
}

.theme-donorgesprek .cta .cta__title {
  font-size: 35px;
  line-height: 1.1em;
}

.theme-donorgesprek {
  .article-content + .home-generic .vrije__blokken,
  .home-generic + .home-generic .vrije__blokken,
  .article-iframe.article-content {
    margin-top: 0;
    margin-bottom: 0;
  }

  .article-iframe__iframe-container {
    margin: auto;
    overflow: hidden;
    /* padding-top: 56.25%; */
    padding: 0px;
    position: relative;
    width: 100%;
  }
}

.theme-donorgesprek .banner-photo picture + img {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 240px;
  max-width: 35%;
}

.theme-donorgesprek .banner-photo picture + img + img {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 240px;
  max-width: 35%;
}

.theme-donorgesprek .banner-photo .banner-caption {
  position: absolute;
  bottom: 0.5rem;
  left: 1.5rem;
  font-size: 18px;
  color: white;
  font-weight: 700;
  line-height: 1em;
  max-width: 100%;
}

.theme-donorgesprek .banner-photo .banner-caption span {
  font-size: 14px;
  font-style: italic;
}

@media screen and (min-width: 481px) {
  .theme-donorgesprek .banner-photo .banner-caption {
    font-size: 24px;
  }

  .theme-donorgesprek .banner-photo .banner-caption span {
    font-size: 18px;
  }
}

@media screen and (min-width: 768px) {
  .theme-donorgesprek .banner-photo .banner-caption {
    bottom: 2rem;
    font-size: 32px;
    max-width: 50%;
  }

  .theme-donorgesprek .banner-photo .banner-caption span {
    font-size: 24px;
  }
}

/* Make secondary CTA button use primary styles */
.theme-donorgesprek .button--secondary
{
  &,
  &:link,
  &:active,
  &:visited {
    text-transform: none;
    background-color: #170f3d;
    color: #fff;
  }

  &:hover {
    background-color: #ccc;
    color: #170f3d
  }

  .button__span {
    text-transform: none;
  }
}

.theme-donorgesprek .cta-photo {
  bottom: 2rem;
}

.theme-donorgesprek .article-accordeon .article-accordeon__question-aside,
.theme-donorgesprek .article-accordeon .article-accordeon__question-content {
  padding-top: 0;
  margin-left: 20px;
}

.vrije__blokken.vrije__blokken--video .richtext {
  position: relative;
}

.vrije__blokken.vrije__blokken--video .richtext h3.text-header {
  font-size: 16px;
  text-align: center;
  line-height: 20px;
  margin-block-end: 0;
}

.vrije__blokken.vrije__blokken--video a {
  text-decoration: none;
  border: 0;
}

.vrije__blokken.vrije__blokken--video a::after {
  content: '';
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.vrije__blokken.vrije__blokken--video figure {
  position: relative;
}

.vrije__blokken.vrije__blokken--video figure::after {
  background-color: rgba(23, 15, 61, .1);
  content: '';
  cursor: pointer;
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  text-decoration: none;
  top: 0;
  transition: opacity .35s cubic-bezier(.26,.88,.57,.9);
  width: 100%;
  z-index: 1;
}

.vrije__blokken.vrije__blokken--video figure::before {
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='65' height='65' viewBox='0 0 65 65'%3E%3Cpath fill='%23fff' d='M32.5 0a31.5 31.5 0 0 1 16.25 4.39 32.84 32.84 0 0 1 11.86 11.86A31.5 31.5 0 0 1 65 32.5a31.5 31.5 0 0 1-4.39 16.25 32.84 32.84 0 0 1-11.86 11.86A31.5 31.5 0 0 1 32.5 65a31.5 31.5 0 0 1-16.25-4.39A32.84 32.84 0 0 1 4.39 48.75 31.5 31.5 0 0 1 0 32.5a31.5 31.5 0 0 1 4.39-16.25A32.84 32.84 0 0 1 16.25 4.39 31.5 31.5 0 0 1 32.5 0zm15.2 35.65a2.99 2.99 0 0 0 1.57-2.76c0-1.22-.52-2.14-1.57-2.75L24.64 16.12a2.93 2.93 0 0 0-3.15 0 2.99 2.99 0 0 0-1.57 2.75v27.26c0 1.22.52 2.14 1.57 2.75 1.05.61 2.1.61 3.15 0L47.7 35.65z'/%3E%3C/svg%3E") 50% 50% no-repeat;
  background-size: 45px 45px;
  content: '';
  display: block;
  height: 100%;
  left: 0;
  opacity: .8;
  pointer-events: none;
  position: absolute;
  text-align: center;
  top: 0;
  transition: opacity .35s cubic-bezier(.26,.88,.57,.9);
  width: 100%;
  z-index: 2;
}

.vrije__blokken.vrije__blokken--video figure:hover::after {
  opacity: .5;
}

.vrije__blokken.vrije__blokken--video figure:hover::before {
  opacity: 1;
}

.vrije__blokken.vrije__blokken--video.clean figure img {
    border-radius: 8px;
}

.vrije__blokken.vrije__blokken--video.bg-orange {
  background-color: #FCE3E0;
}

dialog {
  padding: 0;
  margin; 0;
  border-radius: 8px;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.22);
}

dialog div.block-audio-video {
  max-width: none;
  /* margin:30px auto 30px auto; */
  margin: 0px;
}


/**
    align-self: center;
    margin: auto;
    flex: 1 2 300px;
    max-width: 50%;
}
*/

/* Change all FAQ button colors. See #17895 */
.scroll-down .button {
  color: #170f3d;
  background-color: #96c0e8;
}

/* -- exception for Over Ons, see #17895 */
/*
@media (min-width: 1364px) {
  .theme-orange .vrije__blokken {
    margin-block-start: 7rem;
  }
}
*/

/* Should've been in `cta.scss`, see #17895 */
.cta--blue--light {
  color: #170f3d;
  background-color: #96c0e8;

  .button--secondary:focus {
    outline: 2px dotted #170f3d;
  }
  .cta__text {
    > p,
    > h2,
    > h3 {
      color: #170f3d;
    }
  }
}

.article-header__readspeaker {
  margin-bottom: .5em;
}

#xp1 {
  margin-top: 1em;
  margin-bottom: .5em;
}
