.wso-section-image-boxes .row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

.wso-section-image-boxes.wso-section-text .wso-section-wrapper .wso-wrap {
  --bs-gutter-y: 2rem;
}

@media only screen and (max-width: 1199px) and (min-width: 992px) {
  .wso-section-image-boxes .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }
}

@media only screen and (max-width: 991px) {
  .wso-section-image-boxes .row {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
  }
  .wso-section-image-boxes.wso-section-text .wso-section-wrapper .wso-wrap {
    --bs-gutter-y: 2rem;
  }
}

@media only screen and (max-width: 767px) {
  .wso-section-image-boxes.wso-section-text .wso-section-wrapper .wso-wrap {
    --bs-gutter-y: 2rem;
  }  
}



.wso-section-image-boxes .wso-wrap-content .wso-column:last-child,
.wso-section-image-boxes .wso-wrap-content .wso-column:last-child .wso-title:last-child {
  margin-bottom: 0 !important;
}

.wso-section-image-boxes:not(.wso-img-box-layout-default) .wso-img-box {
  height: auto;
  min-height: 0 !important;
}
.wso-section-image-boxes:not(.wso-img-box-layout-default) .wso-img-box .wso-image-frame {
  grid-template-areas: "image" "content";
  grid-template-rows: minmax(0, 1fr) auto;
}
.wso-section-image-boxes:not(.wso-img-box-layout-default) .wso-img-box .wso-image-wrapper {
  grid-area: image;
  place-self: stretch stretch;
}
.wso-section-image-boxes:not(.wso-img-box-layout-default) .wso-img-box .wp-caption-text:empty, .wso-section-image-boxes:not(.wso-img-box-layout-default) .wso-img-box .wp-caption-text:not(:has(*)) {
  display: none;
}

/* ========================================================================== */
/*                                  CHAOTIC 1                                 */
/* ========================================================================== */
@media only screen and (min-width: 992px) {
  .wso-img-box-layout-chaotic-1 .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }
  /* --------------------------------- desktop -------------------------------- */
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper {
    display: grid;
    place-items: stretch;
    grid-template-columns: minmax(0, 14.25fr) minmax(0, 8.5fr) minmax(0, 3fr) minmax(0, 5.75fr) minmax(0, 8.5fr) minmax(0, 3fr) minmax(0, 8.5fr) minmax(0, 8.75fr) minmax(0, 2.75fr) minmax(0, 3fr) minmax(0, 2.75fr) minmax(0, 3fr) minmax(0, 2.75fr) minmax(0, 8.5fr);
    grid-template-areas: "start    .        .        .        .        .        .        .        image-02 image-02 image-02  image-02 image-02  .        " ".        image-01 image-01 image-01 image-01 image-01 image-01 .        image-02 image-02 image-02  image-02 image-02  .        " ".        image-01 image-01 image-01 image-01 image-01 image-01 .        .        .        .         .        .         .        " ".        image-01 image-01 image-01 image-01 image-01 image-01 .        .        image-03 image-03  image-03 image-03  image-03 " ".        .        .        .        .        .        .        .        .        image-03 image-03  image-03 image-03  image-03 " "image-04 .        .        .        .        .        .        .        .        image-03 image-03  image-03 image-03  image-03 " "image-04 .        content  content  content  content  content  content  .        .        .         .        .         .        " "image-04 .        content  content  content  content  content  content  .        .        .         .        .         .        " ".        .        content  content  content  content  content  content  .        .        image-07s .        .         .        " ".        .        .        .        .        .        .        .        .        .        .         .        .         .        " ".        .        .        .        .        .        .        .        .        .        .         .        image-08s .        " "image-05 image-05 image-05 image-05 .        .        .        .        .        .        .         .        image-07e .        " "image-05 image-05 image-05 image-05 .        .        .        .        .        .        .         .        .         .        " "image-05 image-05 image-05 image-05 .        .        image-06 image-06 image-06 image-06 image-06  .        .         image-08e" "image-05 image-05 image-05 image-05 .        .        image-06 image-06 image-06 image-06 image-06  .        .         .        " ".        .        .        .        .        .        image-06 image-06 image-06 image-06 image-06  .        .         .        " ".        .        .        image-09 image-09 .        image-06 image-06 image-06 image-06 image-06  .        .         .        " ".        .        .        image-09 image-09 .        .        .        .        .        .         .        .         end      ";
    grid-auto-rows: minmax(0, min-content);
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-inner {
    display: contents;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-content .wso-column {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 !important;
    height: auto !important;
    padding: 0;
    grid-area: content;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner::after {
    content: "";
    grid-area: start/start/end/end;
    pointer-events: none;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box {
    width: 100%;
    margin: 0 !important;
    height: auto !important;
    padding: 0;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box .wso-image-wrapper {
    aspect-ratio: var(--image-aspect-ratio);
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(1) {
    grid-area: image-01;
    --image-aspect-ratio: 37.25/21.05;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(2) {
    grid-area: image-02;
    --image-aspect-ratio: 14.25/19;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3) {
    grid-area: image-03;
    --image-aspect-ratio: 20/11.3;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(4) {
    grid-area: image-04;
    --image-aspect-ratio: 14.25/19;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(5) {
    grid-area: image-05;
    --image-aspect-ratio: 31.5/23.6;
    --p-color-default: var(--color-headline-accent);
    --p-font-size: 1.2rem;
    --p-font-style: normal;
    --p-font-weight: 400;
    --p-line-height: 150%;
    --p-letter-spacing: 0.08rem;
    --p-text-transform: uppercase;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(6) {
    grid-area: image-06;
    --image-aspect-ratio: 25.75/34.35;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(7) {
    grid-area: image-07s/image-07s/image-07e/image-07e;
    --image-aspect-ratio: 1/1;
    z-index: 2;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(8) {
    grid-area: image-08s/image-08s/image-08e/image-08e;
    --image-aspect-ratio: 11.25/15;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(9) {
    grid-area: image-09;
    --image-aspect-ratio: 1/1;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(n+10) {
    width: calc(100% - 1rem) !important;
    margin: 1rem auto 0 auto !important;
    min-height: 20rem !important;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+10) {
    grid-column: 2/span 6;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+11) {
    grid-column: 5/span 8;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+12) {
    grid-column: 3/span 8;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box .wso-image-frame .wp-caption-text {
    grid-area: content;
    position: relative;
    inset: auto;
    place-self: end stretch;
  }
  @supports selector(div:has(div)) {
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper {
      /* ------------------------ better layout with :has() ----------------------- */
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper {
      grid-template-rows: var(--r01) var(--r02) var(--r03) var(--r04) var(--r05) var(--r06) var(--r07) var(--r08) var(--r09) var(--r10) var(--r11) var(--r12) var(--r13) var(--r14) var(--r15) var(--r16) var(--r17) var(--r18);
      --r01: minmax(0, 0);
      --r02: minmax(0, 0);
      --r03: minmax(0, 0);
      --r04: minmax(0, 0);
      --r05: minmax(0, 0);
      --r06: minmax(0, 0);
      --r07: minmax(1.15rem, auto);
      --r08: minmax(15rem, auto);
      --r09: minmax(0.2rem, auto);
      --r10: minmax(0, 0);
      --r11: minmax(0, 0);
      --r12: minmax(0, 0);
      --r13: minmax(0, 0);
      --r14: minmax(0, 0);
      --r15: minmax(0, 0);
      --r16: minmax(0, 0);
      --r17: minmax(0, 0);
      --r18: minmax(0, 0);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper:has(.wso-img-box:nth-child(1)) {
      --r01: minmax(4.4rem, auto);
      --r02: minmax(14.6rem, auto);
      --r03: minmax(4rem, auto);
      --r04: minmax(2.45rem, auto);
      --r06: minmax(3.85rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper:has(.wso-img-box:nth-child(3)) {
      --r05: minmax(6rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper:has(.wso-img-box:nth-child(5)) {
      --r11: minmax(2.4rem, auto);
      --r12: minmax(2rem, auto);
      --r13: minmax(4rem, auto);
      --r14: minmax(14.1rem, auto);
      --r15: minmax(14rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper:has(.wso-img-box:nth-child(6)) {
      --r16: minmax(5rem, auto);
      --r17: minmax(1.25rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper:has(.wso-img-box:nth-child(7)) {
      --r10: minmax(4.1rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper:has(.wso-img-box:nth-child(9)) {
      --r18: minmax(13rem, auto);
    }
  }
}
@media only screen and (max-width: 991px) {
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper {
    --bs-gutter-y: 4rem;
    /* --------------------------------- mobile --------------------------------- */
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner {
    display: flex;
    flex-wrap: wrap;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner {
    --bs-gutter-y: 4rem;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    place-self: stretch;
    height: auto !important;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column:nth-child(4), .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column:nth-child(9) {
    display: none;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column:nth-child(5) .wp-caption-text {
    margin-top: 3rem;
    --p-font-size: 1.8rem;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column:nth-child(7) {
    margin-right: calc(-1 * var(--bs-gutter-x)) !important;
    margin-bottom: -6.04rem !important;
    width: -moz-fit-content;
    width: fit-content;
    z-index: 2;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column:nth-child(7) .wso-image-wrapper {
    width: 12rem;
    height: 12rem;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column:nth-child(8) {
    margin-top: 0;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column .wso-image-wrapper {
    width: auto;
    height: auto;
    aspect-ratio: none;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column .wso-image-wrapper picture,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-1 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-column .wso-image-wrapper img {
    position: relative;
    inset: auto;
    aspect-ratio: none;
    width: 100%;
    height: auto;
  }
}
/* ========================================================================== */
/*                                  CHAOTIC 2                                 */
/* ========================================================================== */
@media only screen and (min-width: 992px) {
  .wso-img-box-layout-chaotic-2 .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }
  /* --------------------------------- desktop -------------------------------- */
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper {
    display: grid;
    place-items: stretch;
    grid-template-columns: minmax(0, 8.5fr) minmax(0, 11.5fr) minmax(0, 2.75fr) minmax(0, 11.5fr) minmax(0, 5.75fr) minmax(0, 3fr) minmax(0, 5.75fr) minmax(0, 25.75fr) minmax(0, 8.5fr);
    grid-template-areas: "start     .        image-01  image-01 image-01 . .        .        .       " "image-02s .        image-01  image-01 image-01 . title    title    .       " ".         .        .         .        .        . title    title    .       " ".         .        .         .        .        . .        .        .       " ".         .        image-02e .        .        . image-03 image-03 image-03" ".         .        .         .        .        . image-03 image-03 image-03" ".         content  content   content  .        . image-03 image-03 image-03" ".         buttons  buttons   buttons  .        . image-03 image-03 image-03" ".         .        .         .        .        . image-03 image-03 image-03" ".         image-04 image-04  image-04 .        . image-03 image-03 image-03" ".         image-04 image-04  image-04 .        . .        .        .       " ".         image-04 image-04  image-04 .        . .        image-05 .       " ".         .        .         .        .        . .        image-05 end     ";
    grid-auto-rows: minmax(0, min-content);
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-inner,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-column,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-column-attr {
    display: contents;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-headlines,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-text {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 !important;
    height: auto !important;
    padding: 0;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-headlines {
    grid-area: title;
    place-self: end start;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-text {
    grid-area: content;
    place-self: end start;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-buttons {
    grid-area: buttons;
    place-self: start start;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner::after {
    content: "";
    grid-area: start/start/end/end;
    pointer-events: none;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box {
    width: 100%;
    margin: 0 !important;
    height: auto !important;
    padding: 0;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box .wso-image-wrapper {
    aspect-ratio: var(--image-aspect-ratio);
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(1) {
    grid-area: image-01;
    --image-aspect-ratio: 1/1;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(2) {
    grid-area: image-02s/image-02s/image-02e/image-02e;
    --image-aspect-ratio: 2275/3030;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3) {
    grid-area: image-03;
    --image-aspect-ratio: 1/1;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(4) {
    grid-area: image-04;
    --image-aspect-ratio: 2575/3430;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(5) {
    grid-area: image-05;
    --image-aspect-ratio: 2575/3430;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(n+6) {
    width: calc(100% - 1rem) !important;
    margin: 1rem auto 0 auto !important;
    min-height: 20rem !important;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+7) {
    grid-column: 1/span 6;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+8) {
    grid-column: 3/span 6;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+9) {
    grid-column: 3/span 3;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box .wso-image-frame .wp-caption-text {
    grid-area: content;
    position: relative;
    inset: auto;
    place-self: end stretch;
  }
  @supports selector(div:has(div)) {
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper {
      /* ------------------------ better layout with :has() ----------------------- */
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper {
      grid-template-rows: var(--r01) var(--r02) var(--r03) var(--r04) var(--r05) var(--r06) var(--r07) var(--r08) var(--r09) var(--r10) var(--r11) var(--r12) var(--r13);
      --r01: minmax(0, 0);
      --r02: minmax(0, 0);
      --r03: minmax(0, 0);
      --r04: minmax(0, 0);
      --r05: minmax(0, 0);
      --r06: minmax(0, 0);
      --r07: minmax(0, 0);
      --r08: minmax(0, 0);
      --r09: minmax(0, 0);
      --r10: minmax(0, 0);
      --r11: minmax(0, 0);
      --r12: minmax(0, 0);
      --r13: minmax(0, 0);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(1)) {
      --r01: minmax(8rem, auto);
      --r02: minmax(12rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(2)) {
      --r03: minmax(1.8rem, auto);
      --r04: minmax(4rem, auto);
      --r05: minmax(17rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(3)) {
      --r06: minmax(8rem, auto);
      --r07: minmax(10.8rem, auto);
      --r08: minmax(0, auto);
      --r09: minmax(6rem, auto);
      --r10: minmax(2.7rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(4)) {
      --r11: minmax(5rem, auto);
      --r12: minmax(30.1rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(5)) {
      --r13: minmax(4.2rem, auto);
    }
  }
}
@media only screen and (max-width: 991px) {
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 {
    --bs-gutter-x: 0rem;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper {
    --bs-gutter-x: 0rem;
    display: grid;
    place-items: stretch;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 3.75fr) minmax(0, 0.75fr) minmax(0, 2.95fr) minmax(0, 2.3fr) minmax(0, 0.75fr) minmax(0, 3.75fr) minmax(0, 3fr) minmax(0, 0.75fr);
    grid-template-areas: "start     title     title     title     title     title     title     .         .         " ".         .         .         .         .         .         .         .         .         " ".         .         .         image-01s .         .         .         .         .         " ".         .         .         .         .         image-03s .         .         .         " "image-02  image-02  .         .         .         image-01e .         .         .         " "image-02  image-02  .         .         .         .         .         .         .         " ".         .         .         .         .         .         .         .         image-03e " ".         .         .         .         .         .         .         .         .         " ".         content   content   content   content   content   content   .         .         " ".         buttons   buttons   buttons   buttons   buttons   buttons   .         .         " ".         .         .         .         .         .         .         .         .         " ".         image-04  image-04  image-04  .         .         .         .         .         " ".         image-04  image-04  image-04  .         image-05  image-05  image-05  .         " ".         .         .         .         .         image-05  image-05  image-05  end       ";
    grid-auto-rows: minmax(0, min-content);
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-inner,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-column,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-column-attr {
    display: contents;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-headlines,
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-text {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 !important;
    height: auto !important;
    padding: 0;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-headlines {
    grid-area: title;
    place-self: end start;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-text {
    grid-area: content;
    place-self: end start;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-content .wso-buttons {
    grid-area: buttons;
    place-self: start start;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner::after {
    content: "";
    grid-area: start/start/end/end;
    pointer-events: none;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box {
    width: 100%;
    margin: 0 !important;
    height: auto !important;
    padding: 0;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box .wso-image-wrapper {
    aspect-ratio: var(--image-aspect-ratio);
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(1) {
    grid-area: image-01s/image-01s/image-01e/image-01e;
    --image-aspect-ratio: 6/8;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(2) {
    grid-area: image-02;
    --image-aspect-ratio: 450/595;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3) {
    grid-area: image-03s/image-03s/image-03e/image-03e;
    --image-aspect-ratio: 1/1;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(4) {
    grid-area: image-04;
    --image-aspect-ratio: 1/1;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(5) {
    grid-area: image-05;
    --image-aspect-ratio: 750/995;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(n+6) {
    width: calc(100% - 1rem) !important;
    margin: 1rem auto 0 auto !important;
    min-height: 20rem !important;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+7) {
    grid-column: 1/span 1;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+8) {
    grid-column: 3/span 1;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box:nth-child(3n+9) {
    grid-column: 3/span 1;
  }
  .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper .wso-wrap-image-boxes .wso-wrap-inner .wso-img-box .wso-image-frame .wp-caption-text {
    grid-area: content;
    position: relative;
    inset: auto;
    place-self: end stretch;
  }
  @supports selector(div:has(div)) {
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper {
      /* ------------------------ better layout with :has() ----------------------- */
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper {
      grid-template-rows: var(--r01) var(--r02) var(--r03) var(--r04) var(--r05) var(--r06) var(--r07) var(--r08) var(--r09) var(--r10) var(--r11) var(--r12) var(--r13) var(--r14);
      --r01: minmax(0, auto);
      --r02: minmax(0, 0);
      --r03: minmax(0, 0);
      --r04: minmax(0, 0);
      --r05: minmax(0, 0);
      --r06: minmax(0, 0);
      --r07: minmax(0, 0);
      --r08: minmax(0, 0);
      --r09: minmax(0, auto);
      --r10: minmax(0, auto);
      --r11: minmax(0, 0);
      --r12: minmax(0, 0);
      --r13: minmax(0, 0);
      --r14: minmax(0, 0);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(1)) {
      --r02: minmax(4rem, auto);
      --r03: minmax(6rem, auto);
      --r04: minmax(3.1rem, auto);
      --r05: minmax(6.9rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(2)) {
      --r06: minmax(5rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(3)) {
      --r07: minmax(1.5rem, auto);
      --r08: minmax(5rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(4)) {
      --r11: minmax(5rem, auto);
      --r12: minmax(4rem, auto);
      --r13: minmax(10.9rem, auto);
    }
    .site-content .wso-section-image-boxes.wso-img-box-layout-chaotic-2 .wso-section-wrapper:has(.wso-img-box:nth-child(5)) {
      --r14: minmax(9rem, auto);
    }
  }
}