/* --- Basis-Einstellunge und Variablen: Schriften, Farben, Abstände, Eck-Radien ------------------------------------------------------------------------------------ */
/* @font-face {
    font-family: "Centrale Sans";
    src: url("../fonts/CentraleSansLimeco-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Centrale Sans";
    src: url("../fonts/CentraleSansLimeco-Book.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Centrale Sans";
    src: url("../fonts/CentraleSansLimeco-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Centrale Sans";
    src: url("../fonts/CentraleSansLimeco-XBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
} */

@font-face {
    font-family: "Centrale Sans";
    src: url("../fonts/CentraleLimecoBook.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Centrale Sans";
    src: url("../fonts/CentraleLimecoBold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Centrale Sans";
    src: url("../fonts/CentraleLimecoXBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --- Variablen ------------------------------------------------------------------------- */

:root {
    /* Schriftfamilien ---*/
    --font-family--primary: "Centrale Sans", sans-serif;

    /* Schriftgrössen ---*/
    --font-size--xx-small: 0.9rem;
    --font-size--x-small: clamp(0.875rem, 0.8184rem + 0.283cqi, 1.0625rem);
    --font-size--small: clamp(1rem, 0.9245rem + 0.3774cqi, 1.25rem); /* Standard-Schriftgrösse ca. 19 px*/
    --font-size--medium: clamp(1.25rem, 1.2216rem + 0.1227vw, 1.375rem);
    --font-size--large: clamp(1.125rem, 1.0114rem + 0.5682cqi, 1.75rem);
    --font-size--x-large: clamp(1.3125rem, 1.0295rem + 1.4151cqi, 2.25rem);
    /* --font-size--xx-large: clamp(2.125rem, 1.9831rem + 0.6135vw, 2.75rem); */
    --font-size--xx-large: clamp(1.875rem, 1.5909rem + 1.4205cqi, 3.125rem);
    --font-size--xxx-large: clamp(2.8125rem, 2.4578rem + 1.5337vw, 4.375rem);
    --font-size--xxxx-large: clamp(3rem, 2.2075rem + 3.9623cqi, 5.625rem);
    --font-size--display-medium: clamp(4rem, 2.8302rem + 5.8491cqi, 7.875rem);
    --font-size--display-large: clamp(14rem, 18vw + 8.375rem, 21.875rem);

    /* --- Schriftbreiten --- */
    --font-weight--headline: 700;
    --font-weight--copy: 300;

    /* --- Farben --- */
    --color--primary-1: #1a171b;
    --color--primary-2: #007d82;
    --color--primary-3: #ffffff;
    --color--secondary-1: #a6dfe1;
    --color--secondary-2: #59b1b4;
    --color--secondary-3: #eaf0f2;
    --color--secondary-4: #99d1d3;
    --color--shadow-1: rgba(190, 182, 158, 0.42);

    /* --- Eck-Radien für Bilder, Kacheln, etc. ---*/
    --border-radius--small: 6px;
    --border-radius--medium: 3rem;

    /* --- Schatten für Cards und Boxen  */
    --shadow--primary: 0px 4px 32px 0px var(--color--shadow-1);

    /* --- Paddings Cards --- */

    /* Card: 'Überschrift, Bild(groß), Teaser'*/
    /* left / right */
    --padding-card-large-left-right: clamp(1rem, 0.3585rem + 3.2075cqi, 3.125rem);
    /* top */
    --padding-card-large-top: clamp(1.75rem, 1.033rem + 3.5849cqi, 4.125rem);
    /* bottom */
    --padding-card-large-bottom: clamp(1.375rem, 0.8467rem + 2.6415cqi, 3.125rem);

    /* Card: 'Überschrift, Bild(klein), Teaser'*/
    /* left / right */
    --padding-card-small-left-right: clamp(1rem, 0.3585rem + 3.2075cqi, 3.125rem);
    /* top */
    --padding-card-small-top: clamp(1.75rem, 1.3349rem + 2.0755cqi, 3.125rem);
    /* bottom */
    --padding-card-small-bottom: clamp(1.375rem, 1.0542rem + 1.6038cqi, 2.4375rem);

    /* Card: 'Überschrift, Teaser'*/
    /* left / right */
    --padding-card-header-teaser-left-right: clamp(1rem, 0.3585rem + 3.2075cqi, 3.125rem);
    /* top */
    --padding-card-header-teaser-top: clamp(1.75rem, 1.3349rem + 2.0755cqi, 3.125rem);
    /* bottom */
    --padding-card-header-teaser-bottom: clamp(1.375rem, 1.0542rem + 1.6038cqi, 2.4375rem);

    /* Card: 'Teaser'*/
    /* left / right */
    --padding-card-teaser-left-right: clamp(1rem, 0.0755rem + 4.6226cqi, 4.0625rem);
    /* top */
    --padding-card-teaser-top: clamp(1.75rem, 1.184rem + 2.8302cqi, 3.625rem);
    /* bottom */
    --padding-card-teaser-bottom: clamp(1.3125rem, 0.6144rem + 3.4906cqi, 3.625rem);
}
/*----------------------------------------------------------------------------------------------------------------------------------------*/

/* --- Basis-Einstellungen, -Abstände  ------------------------------------------------------------------------------------ */
html:not(.interface-interface-skeleton__html-container) {
    scrollbar-gutter: stable;
}

body {
    scroll-behavior: smooth;
    overflow-y: auto;
}

html,
body {
    height: 100%;
    margin: 0;
    width: 100%;
}

body .block-editor div.editor-visual-editor .block-editor-block-list__layout,
body {
    /* padding-left: 15px; 
    padding-right: 15px; */
    /* overflow-x: hidden; */
    font-family: var(--font-family--primary);
    background-color: #d2d9dc;
}

div.wp-site-blocks {
    /* max-width: calc(var(--wp--style--global--wide-size) + 5rem) !important; */
    max-width: 1600px !important;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--color--shadow-1);
    background-color: var(--color--secondary-3);
    box-shadow: 10px 10px 17px 0px rgba(0, 49, 51, 0.15);
    -webkit-box-shadow: 10px 10px 17px 0px rgba(0, 49, 51, 0.15);
    -moz-box-shadow: 10px 10px 17px 0px rgba(0, 49, 51, 0.15);
    overflow: clip;
}

section {
    padding-top: clamp(2rem, 4vw + 1rem, 5rem); /* Abstände zwischen den Haupt-Sections */
    padding-bottom: clamp(2rem, 4vw + 1rem, 5rem);
    /* padding-left: 2rem;
    padding-right: 2rem; */
    max-width: 100%;
}

section.is-style-group-bg-grey {
    padding-top: clamp(4rem, 8vw + 2rem, 10rem);
    padding-bottom: clamp(4rem, 8vw + 2rem, 10rem);
    margin-top: clamp(2rem, 4vw + 1rem, 5rem); /* Abstände zwischen den Haupt-Sections */
    margin-bottom: clamp(2rem, 4vw + 1rem, 5rem);
}

.entry-content {
    /* padding: clamp(2.5rem, 1.889rem + 1.954dvw, 4rem) 2.5rem; */
    /* overflow-x: hidden; */
}

.entry-content.wp-block-post-content:has(> .section-header-1) {
    padding-top: clamp(7.5rem, 7.6372vw + 3.7721rem, 9.5rem);
}

.entry-content.wp-block-post-content {
    /* padding-top: clamp(7rem, 15.2381vw + 1.2857rem, 15rem); */
    padding-top: clamp(9rem, 7.1887rem + 9.0566cqi, 15rem);
}

/* section.wp-block-group > div:not(.alignwide),
section.wp-block-group.alignfull > div:not(.alignwide) {
    padding: 0 2rem;
} */

section:last-of-type:not(.is-style-group-bg-grey, .report-limeco-retrospective-archive-year-section) {
    margin-bottom: clamp(2rem, 4vw + 1rem, 5rem);
}

section:last-of-type {
    margin-bottom: 0;
}

sup, sub {
    line-height: 0;
}

/* --- Bild-Basiseinstellungen ------------------------------------------------------------------------------------ */
img,
.wp-block-media-text__media img,
.wp-block-cover img,
.wp-block-cover span,
.wp-block-image img {
    border-radius: var(--border-radius--small);
}

.wp-block-image img {
    width: 100%;
    height: auto;
}

/* :where(figure) {
    margin: 0 0 0em;
  } */

figure.wp-block-image.size-large {
    margin-bottom: 0;
}

.wp-block-cover .wp-block-cover__background {
    background: linear-gradient(
        0deg,
        rgba(45, 52, 59, 0.8) 0%,
        rgba(63, 94, 125, 0.44) 44.71%,
        rgba(86, 146, 206, 0) 100%
    );
    opacity: 1 !important;
    background-color: transparent !important;
}

/* --- Video-Basiseinstellungen ------------------------------------------------------------------------------------ */

figure.wp-block-embed.is-type-video iframe {
    margin-left: 10%;
    width: 88.9%;
    border-radius: var(--border-radius--small);
}

figure.wp-block-embed.is-type-video figcaption.wp-element-caption {

    margin-left: 10%;
    width: 88.9%;
}

figure.wp-block-embed.is-type-video {
    margin-bottom: 0;
}

.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before {
    padding-top: 50%;
}

/* --- Standard-Paragraph ------------------------------------------------------------------------------------ */
.wp-block-group p {
    font-family: var(--font-family--primary);
    font-size: var(--font-size--small);
    /*font-weight: var(--font-weight--copy);*/
    line-height: 145%;
    margin: 0;
    /* margin-bottom: clamp(0.5rem, 2vw + 1rem, 1rem); */
    /* hyphens: auto; */
}

/* .is-layout-constrained > .alignwide {
    padding: 0 2rem;
} */

/* --- Standard-Links ------------------------------------------------------------------------------------ */
div.is-root-container a,
div.wp-site-blocks a {
    /*font-size: var(--font-size--x-small);*/
    transition: all 0.3s ease;
    color: var(--color--primary-2);
    /*text-decoration: underline;*/
}

div.wp-site-blocks p a,
div.wp-site-blocks p a:link,
div.wp-site-blocks p a:visited,
div.wp-site-blocks p.is-style-default a:visited,
div.wp-site-blocks p.is-style-default a {
    /*font-size: var(--font-size--small);*/
    /*font-weight: bold;*/
    text-decoration: underline;
    text-underline-offset: 4px; /* distanza dal testo */
    text-decoration-thickness: 1px; /* spessore */
}

div.wp-site-blocks p.is-style-default a:hover {
    color: var(--color--primary-1);
    /*transition: all 0.3s ease;*/
}

div.is-root-container a:link,
div.is-root-container a:visited,
div.wp-site-blocks a:link,
div.wp-site-blocks a:visited {
    color: var(--color--primary-1);
    color: var(--color--primary-2);
    text-decoration: none;
}

div.is-root-container a:hover,
div.is-root-container a:active,
div.wp-site-blocks a:hover,
div.wp-site-blocks a:active {
    color: var(--color--primary-2);
    color: var(--color--primary-1);
    transition: all 0.3s ease;
}

div.is-root-container a.wp-block-navigation-item__content span.wp-block-navigation-item__label,
div.wp-site-blocks a.wp-block-navigation-item__content span.wp-block-navigation-item__label {
    transition: color 0.3s ease;
}

/* Ersetze die bestehende Hover-Regel durch: */
div.is-root-container a.wp-block-navigation-item__content span.wp-block-navigation-item__label,
div.wp-site-blocks a.wp-block-navigation-item__content span.wp-block-navigation-item__label {
    position: relative;
    transition: color 0.3s ease;
}

div.is-root-container a.wp-block-navigation-item__content span.wp-block-navigation-item__label::after,
div.wp-site-blocks a.wp-block-navigation-item__content span.wp-block-navigation-item__label::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color--primary-2);
    transition: width 0.3s ease;
}

div.is-root-container a.wp-block-navigation-item__content:hover span.wp-block-navigation-item__label,
div.wp-site-blocks a.wp-block-navigation-item__content:hover span.wp-block-navigation-item__label {
    color: var(--color--primary-2);
}

div.is-root-container a.wp-block-navigation-item__content:hover span.wp-block-navigation-item__label::after,
div.wp-site-blocks a.wp-block-navigation-item__content:hover span.wp-block-navigation-item__label::after {
    width: 100%;
}

/* Footer Navigation Links - weiße Unterstreichung (nur erste 3 Spalten) */
footer
    .footer-nav-wrapper
    .wp-block-column:nth-child(-n + 3)
    a.wp-block-navigation-item__content
    span.wp-block-navigation-item__label {
    position: relative;
    transition: color 0.3s ease;
}

footer
    .footer-nav-wrapper
    .wp-block-column:nth-child(-n + 3)
    a.wp-block-navigation-item__content
    span.wp-block-navigation-item__label::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color--primary-3);
    transition: width 0.3s ease;
    opacity: 0.7;
}

footer
    .footer-nav-wrapper
    .wp-block-column:nth-child(-n + 3)
    a.wp-block-navigation-item__content:hover
    span.wp-block-navigation-item__label {
    color: var(--color--primary-3);
}

footer
    .footer-nav-wrapper
    .wp-block-column:nth-child(-n + 3)
    a.wp-block-navigation-item__content:hover
    span.wp-block-navigation-item__label::after {
    width: 100%;
}

/* Vierte Spalte - normale Links ohne Navigation-Unterstreichung */
footer .footer-nav-wrapper .wp-block-column:nth-child(4) a:not(.wp-block-navigation-item__content) {
    position: relative;
    transition: color 0.3s ease;
}

footer .footer-nav-wrapper .wp-block-column:nth-child(4) a:not(.wp-block-navigation-item__content)::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color--primary-3);
    transition: width 0.3s ease;
}

footer .footer-nav-wrapper .wp-block-column:nth-child(4) a:not(.wp-block-navigation-item__content):hover {
    color: var(--color--primary-3);
}

footer .footer-nav-wrapper .wp-block-column:nth-child(4) a:not(.wp-block-navigation-item__content):hover::after {
    width: 100%;
}

/* Aktive Navigation - nur erste 3 Spalten */
footer
    .footer-nav-wrapper
    .wp-block-column:nth-child(-n + 3)
    a.wp-block-navigation-item__content.current-menu-item
    span.wp-block-navigation-item__label {
    color: var(--color--primary-3);
}

footer
    .footer-nav-wrapper
    .wp-block-column:nth-child(-n + 3)
    a.wp-block-navigation-item__content.current-menu-item
    span.wp-block-navigation-item__label::after {
    width: 100% !important;
    background-color: var(--color--primary-3);
}

footer
    .footer-nav-wrapper
    .wp-block-column:nth-child(-n + 3)
    li.current-menu-item
    a.wp-block-navigation-item__content
    span.wp-block-navigation-item__label {
    color: var(--color--primary-3);
}

footer
    .footer-nav-wrapper
    .wp-block-column:nth-child(-n + 3)
    li.current-menu-item
    a.wp-block-navigation-item__content
    span.wp-block-navigation-item__label::after {
    width: 100% !important;
    background-color: var(--color--primary-3);
}

/* Fixe Unterstreichung für aktive Navigation */
div.is-root-container a.wp-block-navigation-item__content.current-menu-item span.wp-block-navigation-item__label,
div.wp-site-blocks a.wp-block-navigation-item__content.current-menu-item span.wp-block-navigation-item__label {
    color: var(--color--primary-2);
}

div.is-root-container a.wp-block-navigation-item__content.current-menu-item span.wp-block-navigation-item__label::after,
div.wp-site-blocks a.wp-block-navigation-item__content.current-menu-item span.wp-block-navigation-item__label::after {
    width: 100% !important;
    background-color: var(--color--primary-2);
}

/* Alternative: Falls die Klasse auf dem <li> Element ist */
div.is-root-container li.current-menu-item a.wp-block-navigation-item__content span.wp-block-navigation-item__label,
div.wp-site-blocks li.current-menu-item a.wp-block-navigation-item__content span.wp-block-navigation-item__label {
    color: var(--color--primary-2);
}

div.is-root-container
    li.current-menu-item
    a.wp-block-navigation-item__content
    span.wp-block-navigation-item__label::after,
div.wp-site-blocks
    li.current-menu-item
    a.wp-block-navigation-item__content
    span.wp-block-navigation-item__label::after {
    width: 100% !important;
    background-color: var(--color--primary-2);
}

/* --- Bulletpoint-Liste ------------------------------------------------------------------------------------ */
ul.wp-block-list {
    font-family: var(--font-family--primary);
    font-size: var(--font-size--small);
    /* hyphens: auto; */
    list-style: none; /* Entfernt die Standard-Bullets */
    padding: 0;
    margin: 0;
}

.wp-block-list li {
    position: relative;
    padding-left: 20px; /* Platz für den Bulletpoint (10px Abstand + Bulletgröße) */
    line-height: 120%;
    margin-bottom: 0.8rem; /* Abstand nach */
}

/* Bulletpoint */
.wp-block-list li::before {
    content: ""; /* Erzeugt ein eigenes Bullet-Element */
    position: absolute;
    left: 0; /* Positioniert das Bullet vor dem Text */
    top: 0.55em; /* Zentriert das Bullet optisch zur ersten Zeile */
    width: 0.6rem;
    height: 2px;
    background-color: var(--color--primary-1);
}

/* --- Headings H1-H5 ------------------------------------------------------------------------------------ */

h1.wp-block-heading,
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading,
h5.wp-block-heading {
    margin: 0;
    font-family: var(--font-family--primary);
    font-size: var(--font-size--xxx-large);
    line-height: normal;
}

.post-type-page h1.wp-block-heading.is-style-default,
.page-template-default h1.wp-block-heading.is-style-default,
.post-type-post h1.wp-block-heading.is-style-default,
.post-type-retrospectives h1.wp-block-heading.is-style-default,
.single-retrospectives h1.wp-block-heading.is-style-default,
.single-post h1.wp-block-heading.is-style-default {
    color: var(--color--primary-1);
    font-weight: 800;
}

h2.wp-block-heading {
    font-size: var(--font-size--xx-large);
    margin-bottom: clamp(1.5rem, 0.8585rem + 3.2075cqi, 3.625rem);
    /* line-height: 0.75; */
}
h3.wp-block-heading {
    font-size: var(--font-size--x-large);
    margin-bottom: clamp(0.75rem, 1vw + 1rem, 3rem);
    line-height: 115%;
}
h4.wp-block-heading {
    font-size: var(--font-size--large);
    line-height: 115%;
}
h5.wp-block-heading {
    font-size: var(--font-size--medium);
    line-height: 115%;
}

:where(.wp-block-heading:not(.section-card-employees h3)) {
    white-space: normal;
    /* Automatische Silbentrennung aktivieren – für verschiedene Browser */
    /* -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; */

    /* Trennungsgrenzen festlegen: 
     Erlaubt wird nur eine Trennung, wenn mindestens 4 Zeichen vor und 4 Zeichen nach der Trennstelle stehen 
     und das Wort insgesamt mindestens 8 Zeichen hat. */
    -webkit-hyphenate-limit-chars: 8 4 4;
    -moz-hyphenate-limit-chars: 8 4 4;
    -ms-hyphenate-limit-chars: 8 4 4;
    hyphenate-limit-chars: 8 4 4;
    /* Fallback: Falls Hyphenation nicht unterstützt wird, 
     sollen lange Wörter umgebrochen werden */
    /* overflow-wrap: break-word;
    word-wrap: break-word; */
}

/* --- Paragraphs, Summary ------------------------------------------------------------------------------------ */

p {
    line-height: 145%;
    letter-spacing: 0.01em;
}

/* p:not(.wp-block-group:has(a.cta) > p),
summary, */
.report-limeco-post-teaser .headline-small {
    line-height: 130%;
}

.block-editor-block-list__block.header-1 .wp-block-cover__inner-container > div > .block-editor-block-list__block > p {
    line-height: 100% !important;
    color: white !important;
}

block-editor-block-list__block.header-1
    .wp-block-cover__inner-container
    > div
    > .block-editor-block-list__block
    > p
    > a:link,
block-editor-block-list__block.header-1
    .wp-block-cover__inner-container
    > div
    > .block-editor-block-list__block
    > p
    > a:visited,
block-editor-block-list__block.header-1
    .wp-block-cover__inner-container
    > div
    > .block-editor-block-list__block
    > p
    > a:hover,
block-editor-block-list__block.header-1
    .wp-block-cover__inner-container
    > div
    > .block-editor-block-list__block
    > p
    > a:active,
block-editor-block-list__block.header-1
    .wp-block-cover__inner-container
    > div
    > .block-editor-block-list__block
    > p
    > a {
    color: white !important;
}

/* --- Standard centered Items ---------------------------------------------------------------------------------------------- */

.card:has(.has-text-align-center) .wp-block-buttons.is-layout-flex {
    justify-content: center;
}

.card:has(.has-text-align-center) .wp-block-buttons .wp-block-button__link {
    margin-top: 2rem;
}

.wp-block-group.text-wide-centered {
    width: 75%;
    margin-bottom: 5rem;
}

/* --- 404 ---------------------------------------------------------------------------------------------- */

section.error .wp-block-buttons > .wp-block-button {
    margin: 0;
}

.wp-site-blocks:has(.error) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wp-site-blocks > .error {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: start;
}

/* --- Form ---------------------------------------------------------------------------------------------- */

.section-form-contact .wp-block-group.is-layout-grid .quform {
    grid-column: 2 / span 10;
}

.section-form-contact .quform form {
    margin-left: auto;
    margin-right: auto;
}

/* --- Highlight Span für benutzerdefinierten Text-Highlighter im Block-Editor --- */
span.highlight {
    background-color: var(--color--secondary-3);
    color: var(--color--primary-3);
    padding: 0.15rem 0.3rem;
    border-radius: var(--border-radius--small);
    font-weight: 500;
}

/* Alternative Highlight-Styles für verschiedene Zwecke */
span.highlight.highlight-yellow {
    background-color: #ffeb3b;
    color: #333;
}

span.highlight.highlight-green {
    background-color: #4caf50;
    color: white;
}

/* --- Datei-Block ------------------------------------------------------------------------------------ */
.wp-block-column:has(.wp-block-file) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.wp-block-file__content-wrapper,
.wp-block-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1rem;
    border-radius: var(--border-radius--small);
    background-color: var(--color--primary-3);
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

.wp-block-file__content-wrapper {
    background-color: transparent;
    padding: 0;
}

footer .wp-block-file {
    background-color: transparent;
    width: auto;
    height: auto;
    margin-bottom: 0;
}

section.wp-block-group:has(.wp-block-file) > div.wp-block-columns {
    width: 90%;
    gap: 1.25rem;
}

/* --- Bilder Block ------------------------------------------------------------------------------------ */
section.wp-block-group:has(> .wp-block-group:only-child > .wp-block-image:only-child) {
    padding: 0;
}

.block-editor-block-list__block .wp-block-image,
.wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem;
    flex-direction: column;
    padding-left: 10%;
    margin-top: 2.5rem;
    width: 90%;
    max-width: unset !important;
}

.block-editor-block-list__block .wp-block-image {
    width: unset;
}

.block-editor-block-list__block .wp-block-image figcaption {
    min-width: unset !important;
    width: 100%;
}

figcaption.wp-element-caption {
    font-size: var(--font-size--x-small);
    line-height: 1.5em;
}

section.img-2columns > div {
    margin-bottom: 0;
}

section.img-2columns {
    padding: 0;
}

/* --- table indentation ------------------------------------------------------------------------------------ */
.indent {
    margin-left: 2rem;
    display: block;
}

/* --- table cell superscript ------------------------------------------------------------------------------------ */
.footnote-super {
    font-size: 0.75em;
    vertical-align: super;
    line-height: 0;
}

/* --- wpdatatables ------------------------------------------------------------------------------------ */
.wp-block-wpdatatables-wpdatatables-gutenberg-block {
    margin-top: 2rem;
}

.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable {
    font-size: var(--font-size--medium);
    letter-spacing: 1.25%;
}

/* .wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable{
    margin-left: 0 !important;
} */

.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable {
    width: 100% !important;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell,
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell:first-child,
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell:last-child,
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr
    th.wpdt-cell {
    /* background-color: unset; */
    border: none;
    /* text-align: left !important; */
    padding: 1rem 0 !important;
    padding-right: 2rem !important;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr:hover {
    background-color: #cce5e6;
    color: var(--color--primary-1) !important;
    transition: background-color 0.2s ease !important;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr:has(.wpdt-empty-cell.wpdt-merged-cell):hover {
    background-color: unset !important;
    transition: background-color 0.2s ease !important;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell {
    transition: background-color 0.2s ease !important;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr {
    border-bottom: 1px solid #cecece;
}

.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th {
    font-weight: 700;
}

.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll {
    overflow: visible;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tr
    .wpdt-cell {
    background-color: transparent;
}


.wpDataTable th:not(.accordion-wrapper th) {
    /*background-color: rgba(0, 125,130,.2) !important;*/
    /*background-color: var(--color--primary-2) !important;*/
    /*color: white;*/
    /*color: var(--color--primary-2);*/
    border: none !important;
    background-color: unset !important;
}

.wpDataTable td:not(.accordion-wrapper td) {
    border: none !important;
    /*background-color: rgba(0, 125,130,.0000001) !important;*/
    background-color: unset !important;
}

.wpDataTable tr:not(.accordion-wrapper tr):not(thead tr):hover {
    background-color: #cce5e6;
    color: var(--color--primary-1) !important;
    transition: background-color 0.2s ease !important;
}

.wpDataTable thead tr:not(.accordion-wrapper tr) {
    border-bottom: 1px solid #cecece;
}
/* Container für Pseudo-Elemente vorbereiten */
/* section details .accordion-wrapper {
  overflow: visible !important;
  margin: 0 -2rem; 
  padding: 0 2rem; 
} */
/* Nur Container auf overflow: visible setzen */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable {
    overflow: visible !important;
}

/* Position relative für Pseudo-Elemente auf td-Elementen */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell:first-child,
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell:last-child {
    position: relative;
}

/* Pseudo-Element VOR dem ersten td (links) - nur bei Hover */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr:hover
    td.wpdt-cell:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: -2.5rem;
    bottom: 0;
    width: 2.5rem;
    background-color: #cce5e6;
    z-index: 1;
    transition: background-color 0.2s ease;
}

/* Pseudo-Elemente IMMER erstellen (auch ohne Hover) */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: -2.5rem;
    bottom: 0;
    width: 2.5rem;
    background-color: transparent; /* Transparent im Grundzustand */
    opacity: 0; /* Unsichtbar im Grundzustand */
    z-index: 1;
    transition: background-color 0.2s ease; /* Transition definieren */
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell:last-child::after {
    content: "";
    position: absolute;
    top: 0;
    right: -2.5rem;
    bottom: 0;
    width: 2.5rem;
    background-color: transparent; /* Transparent im Grundzustand */
    opacity: 0; /* Unsichtbar im Grundzustand */
    z-index: 1;
    transition: background-color 0.2s ease; /* Transition definieren */
}

/* Bei Hover: Pseudo-Elemente SICHTBAR machen */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr:hover
    td.wpdt-cell:first-child::before {
    background-color: #cce5e6; /* Farbe bei Hover */
    opacity: 1; /* Sichtbar bei Hover */
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr:hover
    td.wpdt-cell:last-child::after {
    background-color: #cce5e6; /* Farbe bei Hover */
    opacity: 1; /* Sichtbar bei Hover */
}

/* Dasselbe für Header-Zellen */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr
    th.wpdt-cell:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: -2rem;
    bottom: 0;
    width: 2rem;
    background-color: transparent;
    opacity: 0;
    z-index: 1;
    transition: background-color 0.3s ease;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr
    th.wpdt-cell:last-child::after {
    content: "";
    position: absolute;
    top: 0;
    right: -2rem;
    bottom: 0;
    width: 2rem;
    background-color: transparent;
    opacity: 0;
    z-index: 1;
    transition: background-color 0.3s ease;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr:hover
    th.wpdt-cell:first-child::before {
    background-color: #cce5e6;
    opacity: 1;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr:hover
    th.wpdt-cell:last-child::after {
    background-color: #cce5e6;
    opacity: 1;
}

/* Auch die Basis-Zellen bekommen Transitions */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell {
    transition: background-color 0.3s ease !important;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr
    th.wpdt-cell {
    transition: background-color 0.3s ease !important;
}
/* Header-Zellen ebenfalls */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr
    th.wpdt-cell:first-child,
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr
    th.wpdt-cell:last-child {
    position: relative;
}

/* Header Pseudo-Elemente bei Hover */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    thead
    tr:hover
    th.wpdt-cell:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: -2rem;
    bottom: 0;
    width: 2rem;
    background-color: #cce5e6;
    z-index: 1;
    transition: background-color 0.2s ease;
}

/* Leere Zellen: Pseudo-Elemente deaktivieren */
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr:has(.wpdt-empty-cell.wpdt-merged-cell):hover
    td.wpdt-cell:first-child::before,
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr:has(.wpdt-empty-cell.wpdt-merged-cell):hover
    td.wpdt-cell:last-child::after {
    display: none;
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell {
    overflow: visible !important;
}

/* .first-wpdt-bc-FFC107 {
    border-top: 2px solid var(--color--primary-1);
    margin-top: 1rem;
} */

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tbody
    tr
    td.wpdt-cell.wpdt-bc-FFC107 {
    background-color: unset !important;
    font-size: var(--font-size--x-small);
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table[data-responsive="1"]
    tbody
    [data-cell-id="A1"],
section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table[data-responsive="1"]
    tbody
    [data-cell-id="A2"] {
    background-color: var(--color--primary-3);
}

section
    details
    .accordion-wrapper
    .wp-block-wpdatatables-wpdatatables-gutenberg-block
    .wpDataTableContainerSimpleTable
    table
    tr:has(.wpdt-cell .indent)
    .wpdt-cell {
    padding: 0.4rem 2rem 0.4rem 0 !important;
}

@media screen and (max-width: 960px) {
    section
        details
        .accordion-wrapper
        .wp-block-wpdatatables-wpdatatables-gutenberg-block
        .wpDataTableContainerSimpleTable
        table
        tbody
        tr
        td.wpdt-cell {
        font-size: var(--font-size--small);
    }
    section
        details
        .accordion-wrapper
        .wp-block-wpdatatables-wpdatatables-gutenberg-block
        .wpDataTableContainerSimpleTable
        table
        thead
        tr
        th.wpdt-cell {
        font-size: var(--font-size--small);
    }
}
/* --- Zitat ------------------------------------------------------------------------------------ */
figure.wp-block-pullquote {
    padding: 0;
    padding-left: 10%;
    padding-right: 35%;
    margin: 1.5rem 0;
}

figure.wp-block-pullquote:after,
figure.wp-block-pullquote:before {
    content: "";
    display: block;
    border: 2px solid var(--color--secondary-4);
    width: 40%;
}

figure.wp-block-pullquote blockquote {
    display: flex;
    flex-direction: column;
    gap: 1.375rem;
    padding: 1.5rem 0px 1.5rem 3.75rem;
}

figure.wp-block-pullquote blockquote p {
    color: #007d82;

    font-family: var(--font-family--primary);
    font-size: var(--font-size--large);
    font-style: normal;
    font-weight: 800;
    line-height: 1.35em;
    color: var(--color--primary-2);
    text-align: left;
}

figure.wp-block-pullquote blockquote cite {
    color: var(--color--primary-1);
    font-family: var(--font-family--primary);
    font-size: var(--font-size--small);
    font-style: normal;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}

section.wp-block-group:has(> .wp-block-group:only-child > .wp-block-pullquote:only-child) {
    padding: 0;
}

/* ---- Beiträge --------------------------------------------------------------------------------------- */

.post-type-page p.is-style-paragraph-large,
.page-template-default p.is-style-paragraph-large,
.post-type-post p.is-style-paragraph-large,
.post-type-retrospectives p.is-style-paragraph-large,
.single-retrospectives p.is-style-paragraph-large,
.single-post p.is-style-paragraph-large,
.post-type-post p.is-style-paragraph-large,
.single-post p.is-style-default:has(+ p),
.single-retrospectives p.is-style-default:has(+ p),
.post-type-post p.is-style-default:has(+ p),
.post-type-retrospectives p.is-style-default:has(+ p) {
    /*padding-bottom: clamp(0.75rem, 4vw + 1rem, 1rem);*/
}

.post-type-page p.is-style-default,
.page-template-default p.is-style-default,
.post-type-post p.is-style-default,
.post-type-retrospectives p.is-style-default,
.single-retrospectives p.is-style-default,
.single-post p.is-style-default,
.post-type-post p.is-style-default {
    padding-bottom: clamp(2rem, 4vw + 1rem, 2rem);
}

.post-type-page .wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image,
.page-template-default .wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image,
.post-type-post .wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image,
.post-type-retrospectives .wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image,
.single-retrospectives .wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image,
.single-post .wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image,
.post-type-post .wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image {
    margin-bottom: clamp(2rem, 4vw + 1rem, 3rem);
    margin-top: 0;
}

.post-type-page > .wp-block-group p:last-child,
.page-template-default > .wp-block-group p:last-child,
.post-type-post > .wp-block-group p:last-child,
.post-type-retrospectives > .wp-block-group p:last-child,
.single-retrospectives > .wp-block-group p:last-child,
.single-post section > .wp-block-group p:last-child,
.post-type-post section > .wp-block-group p:last-child {
    padding-bottom: 0;
}

.post-type-page figure.wp-block-embed.is-type-video,
.page-template-default figure.wp-block-embed.is-type-video,
.post-type-post figure.wp-block-embed.is-type-video,
.post-type-retrospectives figure.wp-block-embed.is-type-video,
.single-retrospectives figure.wp-block-embed.is-type-video,
.single-post figure.wp-block-embed.is-type-video,
.post-type-post figure.wp-block-embed.is-type-video {
    margin-bottom: clamp(2rem, 4vw + 1rem, 3rem);
}

.post-type-page .text-centered .wp-block-group.is-vertical.is-layout-flex,
.page-template-default .text-centered .wp-block-group.is-vertical.is-layout-flex,
.post-type-post .text-centered .wp-block-group.is-vertical.is-layout-flex,
.post-type-retrospectives .text-centered .wp-block-group.is-vertical.is-layout-flex,
.single-retrospectives .text-centered .wp-block-group.is-vertical.is-layout-flex,
.single-post .text-centered .wp-block-group.is-vertical.is-layout-flex,
.post-type-post .text-centered .wp-block-group.is-vertical.is-layout-flex {
    gap: 0;
}

.blog section,
.post-type-page section,
.page-template-default section,
.post-type-post section,
.post-type-retrospectives section,
.single-retrospectives section,
.single-post section,
.post-type-post section {
    padding-top: clamp(2rem, 4vw + 1rem, 3rem);
    padding-bottom: clamp(2rem, 4vw + 1rem, 3rem);
}

.blog section.wp-block-group:has(> .entry-content) {
    padding-top: 0;
    padding-bottom: 0;
}

.post-type-page section.img-2columns,
.page-template-default section.img-2columns,
.post-type-post section.img-2columns,
.post-type-retrospectives section.img-2columns,
.single-retrospectives section.img-2columns,
.single-post section.img-2columns,
.post-type-post section.img-2columns {
    padding-top: 0;
    padding-bottom: 0;
}

.post-type-page .wp-block-image :where(figcaption),
.page-template-default .wp-block-image :where(figcaption),
.post-type-post .wp-block-image :where(figcaption),
.post-type-retrospectives .wp-block-image :where(figcaption),
.single-retrospectives .wp-block-image :where(figcaption),
.single-post .wp-block-image :where(figcaption),
.post-type-post .wp-block-image :where(figcaption) {
    margin-bottom: 0;
}

.post-type-page .entry-content > .header-2,
.page-template-default .entry-content > .header-2,
.post-type-post .entry-content > .header-2,
.post-type-retrospectives .entry-content > .header-2,
.single-retrospectives .entry-content > .header-2,
.single-post .entry-content > .header-2,
.post-type-post .entry-content > .header-2 {
    padding: 0;
}

.post-type-page h1.wp-block-heading,
.page-template-default h1.wp-block-heading,
.post-type-post h1.wp-block-heading,
.post-type-retrospectives h1.wp-block-heading,
.single-retrospectives h1.wp-block-heading,
.single-post h1.wp-block-heading.is-style-default,
.post-type-post h1.wp-block-heading.is-style-default {
    font-size: var(--font-size--xx-large);
    width: 70%;
}

.post-type-page .wp-block-post-content section.header-2 .wp-block-group,
.page-template-default .wp-block-post-content section.header-2 .wp-block-group,
.post-type-post .wp-block-post-content section.header-2 .wp-block-group,
.post-type-retrospectives .wp-block-post-content section.header-2 .wp-block-group .wp-block-image,
.single-retrospectives .wp-block-post-content section.header-2 .wp-block-group .wp-block-image,
.single-post .wp-block-post-content section.header-2 .wp-block-group .wp-block-image,
.post-type-post .wp-block-post-content section.header-2 .wp-block-group .wp-block-image {
    margin-bottom: 0;
}

.post-type-page .text-centered .wp-block-group h2,
.post-type-page .text-centered .wp-block-group p,
.page-template-default .text-centered .wp-block-group h2,
.page-template-default .text-centered .wp-block-group p,
.post-type-post .text-centered .wp-block-group h2,
.post-type-retrospectives .text-centered .wp-block-group h2,
.post-type-post .text-centered .wp-block-group p,
.post-type-retrospectives .text-centered .wp-block-group p,
.single-retrospectives .text-centered .wp-block-group p,
.single-retrospectives .text-centered .wp-block-group h2,
.single-post .text-centered .wp-block-group h2,
.single-post .text-centered .wp-block-group p,
.post-type-post .text-centered .wp-block-group p,
.single-retrospectives .text-centered .wp-block-group ul,
.single-post .text-centered .wp-block-group ul,
.post-type-post .text-centered .wp-block-group ul,
.post-type-retrospectives .text-centered .wp-block-group ul {
    padding-left: 10%;
    padding-right: 20%;
}

.post-type-page .text-centered .wp-block-group details h2,
.post-type-page .text-centered .wp-block-group details p,
.page-template-default .text-centered .wp-block-group details h2,
.page-template-default .text-centered .wp-block-group details p,
.post-type-post .text-centered .wp-block-group details h2,
.post-type-retrospectives .text-centered .wp-block-group details h2,
.post-type-post .text-centered .wp-block-group details p,
.post-type-retrospectives .text-centered .wp-block-group details p,
.single-retrospectives .text-centered .wp-block-group details p,
.single-retrospectives .text-centered .wp-block-group details h2,
.single-post .text-centered .wp-block-group details p,
.single-post .text-centered .wp-block-group details h2,
.post-type-post .text-centered .wp-block-group details p {
    padding: 0;
}

.post-type-page section details:last-of-type,
.page-template-default section details:last-of-type,
.single-retrospectives section details:last-of-type,
.single-post section details:last-of-type,
.post-type-post section details:last-of-type {
    margin-bottom: clamp(2rem, 4vw + 1rem, 3rem);
}

.post-type-page section.details:first-of-type,
.page-template-default section.details:first-of-type,
.post-type-post section.details:first-of-type,
.post-type-retrospectives section.details:first-of-type,
.single-retrospectives section details:first-of-type,
.single-post section details:first-of-type,
.post-type-post section details:first-of-type {
    /*border-top: 1px solid #cecece;*/
    /*margin-top: clamp(2rem, 4vw + 1rem, 3rem);*/
}

figure.wp-block-embed.is-type-video + details.wp-block-details {
    margin-top: 0.5rem;
}

.post-type-page .text-centered .wp-block-buttons,
.page-template-default .text-centered .wp-block-buttons,
.post-type-post .text-centered .wp-block-buttons,
.post-type-retrospectives .text-centered .wp-block-buttons,
.single-retrospectives .text-centered .wp-block-buttons,
.single-post .text-centered .wp-block-buttons,
.post-type-post .text-centered .wp-block-buttons {
    padding-left: 10%;
    margin-top: clamp(2rem, 4vw + 1rem, 3rem);
}

.scientific-unit sub,
.scientific-unit sup {
    font-size: 0.75em;
    line-height: 0.1 !important;
    position: relative;
}

/* ---- Media Queries --------------------------------------------------------------------------------------- */

@media (max-width: 1406px) {
    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        max-width: calc(100dvw - 3rem) !important;
    }
}

@media (max-width: 1024px) {
    section
        details
        .accordion-wrapper
        .wp-block-wpdatatables-wpdatatables-gutenberg-block
        .wpDataTableContainerSimpleTable {
        overflow-x: scroll !important;
    }

    section
        details
        .accordion-wrapper
        .wp-block-wpdatatables-wpdatatables-gutenberg-block
        .wpDataTableContainerSimpleTable
        table
        tbody
        tr
        td.wpdt-cell:last-child::after,
    section
        details
        .accordion-wrapper
        .wp-block-wpdatatables-wpdatatables-gutenberg-block
        .wpDataTableContainerSimpleTable
        table
        tbody
        tr
        td.wpdt-cell:first-child::before,
    section
        details
        .accordion-wrapper
        .wp-block-wpdatatables-wpdatatables-gutenberg-block
        .wpDataTableContainerSimpleTable
        table
        tbody
        tr:hover
        td.wpdt-cell:first-child::before,
    section
        details
        .accordion-wrapper
        .wp-block-wpdatatables-wpdatatables-gutenberg-block
        .wpDataTableContainerSimpleTable
        table
        tbody
        tr
        td.wpdt-cell:last-child::after {
        content: none;
    }
}

@media (max-width: 960px) {
    .wp-block-group.text-wide-centered {
        width: 80%;
        padding: 4%;
        box-sizing: unset;
    }

    section:not(.alignwide .alignfull) > div:has(.alignfull),
    section.alignfull > div.alignwide {
        padding: 0 !important;
    }

    /* .is-layout-constrained > .alignwide {
        padding: 0rem !important;
    } */

    section.wp-block-group > div:not(.alignwide),
    section.wp-block-group.alignfull > div:not(.alignwide) {
        padding: 0;
    }

    h1.wp-block-heading,
    h2.wp-block-heading,
    h3.wp-block-heading,
    h4.wp-block-heading,
    h5.wp-block-heading {
        margin: 0;
        font-family: var(--font-family--primary);
        font-size: var(--font-size--xxx-large);
        line-height: normal;
        letter-spacing: -0.01rem;
    }

    h2.wp-block-heading {
        font-size: var(--font-size--x-large);
        margin-bottom: clamp(0.75rem, 1vw + 1rem, 3rem);
    }
    h3.wp-block-heading {
        font-size: var(--font-size--large);
        margin-bottom: clamp(0.75rem, 1vw + 1rem, 3rem);
        line-height: 115%;
    }
    h4.wp-block-heading {
        font-size: var(--font-size--medium);
        line-height: 115%;
    }
    h5.wp-block-heading {
        font-size: var(--font-size--small);
        line-height: 115%;
    }

    .quform-responsive-elements-phone-landscape .quform-element-submit button {
        margin: 0;
        width: fit-content;
    }
}

@media (max-width: 781px) {
    figure.wp-block-pullquote blockquote {
        padding: 1.5rem 0px;
    }

    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        max-width: calc(100dvw - 2rem) !important;
    }

    .page-template-default h1.wp-block-heading.is-style-default,
    .single-retrospectives h1.wp-block-heading.is-style-default,
    .single-post h1.wp-block-heading.is-style-default {
        font-size: var(--font-size--xx-large);
        width: 80%;
    }
}

@media (max-width: 650px) {
    figure.wp-block-pullquote {
        padding-right: 30%;
    }
}

@media (max-width: 641px) {
    section.wp-block-group:has(.wp-block-file) > div.wp-block-columns {
        gap: 0rem;
    }

    .wp-block-column:has(.wp-block-file) {
        margin-top: 1.25rem;
    }
}

@media (max-width: 500px) {
    .block-editor-block-list__block .wp-block-image,
    .wp-block-post-content section:not(.img-2columns) .wp-block-group .wp-block-image,
    figure.wp-block-embed.is-type-video iframe,
    figure.wp-block-pullquote,
    section.text-centered .wp-block-group:has(> .wp-block-file),
    .page-template-default .text-centered .wp-block-buttons,
    .single-retrospectives .text-centered .wp-block-buttons,
    .single-post .text-centered .wp-block-buttons {
        width: 100%;
        padding-left: 0;
        margin-left: 0;
    }

    figure.wp-block-pullquote blockquote {
        padding: 1rem 0px;
    }

    figure.wp-block-pullquote {
        padding-right: 0;
    }

    figure.wp-block-pullquote:after,
    figure.wp-block-pullquote:before {
        width: 100%;
    }

    .wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before {
        padding-top: 55%;
    }

    /* section.section-header-1 div.wp-block-columns {
        flex-direction: column;
    } */

    .page-template-default h1.wp-block-heading.is-style-default,
    .single-retrospectives h1.wp-block-heading.is-style-default,
    .single-post h1.wp-block-heading.is-style-default {
        font-size: var(--font-size--xx-large);
        width: 100%;
    }

    .page-template-default .text-centered .wp-block-group p,
    .single-retrospectives .text-centered .wp-block-group p,
    .single-post .text-centered .wp-block-group p,
    .post-type-post .text-centered .wp-block-group p {
        padding-left: 0;
        padding-right: 0;
    }

    .page-template-default .text-centered .wp-block-group h2,
    .page-template-default .text-centered .wp-block-group p,
    .post-type-post .text-centered .wp-block-group h2,
    .post-type-retrospectives .text-centered .wp-block-group h2,
    .post-type-post .text-centered .wp-block-group p,
    .post-type-retrospectives .text-centered .wp-block-group p,
    .single-retrospectives .text-centered .wp-block-group p,
    .single-retrospectives .text-centered .wp-block-group h2,
    .single-post .text-centered .wp-block-group h2,
    .single-post .text-centered .wp-block-group p,
    .post-type-post .text-centered .wp-block-group p {
        padding-left: 0%;
        padding-right: 0%;
        text-align: left;
    }

    .page-template-default section.details:first-of-type,
    .post-type-post section.details:first-of-type,
    .post-type-retrospectives section.details:first-of-type,
    .single-retrospectives section details:first-of-type,
    .single-post section details:first-of-type,
    .post-type-post section details:first-of-type {
        margin-top: 2.5rem;
    }

    section.wp-block-group:has(.wp-block-file) > div.wp-block-columns {
        gap: 0rem;
    }

    .wp-block-column:has(.wp-block-file) {
        margin-top: 1.25rem;
    }
}

@media (max-width: 400px) {
    .wp-block-group.text-wide-centered {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 2rem;
    }

    .section-form-contact .wp-block-group.is-layout-grid .quform {
        grid-column: 1 / span 12;
    }
}
