/**
 * Theme Name: SLW25
 * Description: Blocksy Child theme
 * Author: helmixx.com
 * Template: blocksy
 * -text Domain: slw25
 * Version: 2025.07.08
 */


:root {
/* Primärfarben */
--SLW-c-blue: 33 58 143; /* hex #213a8f */
--SLW-blue: rgb(var(--SLW-c-blue) /1);
--SLW-c-blue-link: 0 105 180; /* hex #0069b4 */
--SLW-blue-link: rgb(var(--SLW-c-blue-link) /1);
--SLW-c-blue-link-hover: 0 139 197; /* hex #008bc5 */
--SLW-blue-link-hover: rgb(var(--SLW-c-blue-link-hover) /1);
/* Sekundärfarben */
--SLW-c-beige: 187 175 145; /* hex #bbaf91 */
--SLW-beige: rgb(var(--SLW-c-beige) /1);
--SLW-c-orange: 225 132 9; /* hex #e18409 */
--SLW-orange: rgb(var(--SLW-c-orange) /1);
--SLW-c-sand: 229 161 0; /* hex #e5a100 */
--SLW-sand: rgb(var(--SLW-c-sand) /1);
--SLW-c-yellow: 251 186 0; /* hex #fbba00 */
--SLW-yellow: rgb(var(--SLW-c-yellow) /1);
--SLW-c-red: 221 11 47; /* hex #dd0b2f */
--SLW-red: rgb(var(--SLW-c-red) /1);
--SLW-c-purple: 149 27 129; /* hex #951b81 */
--SLW-purple: rgb(var(--SLW-c-purple) /1);
--SLW-c-green: 0 141 88; /* hex #008d58 */
--SLW-green: rgb(var(--SLW-c-green) /1);
--SLW-c-green-hover: 21 154 52; /* hex #159a34 */
--SLW-green-hover: rgb(var(--SLW-c-green-hover) /1);
/* Spezielle Farben */
/* (Neutrale) Graustufen */
--SLW-c-black: 29 29 27; /* hex #1d1d1b */
--SLW-black: rgb(var(--SLW-c-black) /1);
--SLW-c-gray-toned: 68 79 80; /* hex #444f50 */
--SLW-gray-toned: rgb(var(--SLW-c-gray-toned) /1);
--SLW-c-gray-dark: 114 119 119; /* hex #727777 */
--SLW-gray-dark: rgb(var(--SLW-c-gray-dark) /1);
--SLW-c-gray-medium: 163 170 170; /* hex #a3aaaa */
--SLW-gray-medium: rgb(var(--SLW-c-gray-medium) /1);
--SLW-c-gray-light: 212 221 221; /* hex #d4dddd */
--SLW-gray-light: rgb(var(--SLW-c-gray-light) /1);
--SLW-c-gray-light-light: 234 239 235; /* hex #eaefeb */
--SLW-gray-light-light: rgb(var(--SLW-c-gray-light-light) /1);
--SLW-c-white-creme: 252 250 244; /* hex #fcfaf4 */
--SLW-white-creme: rgb(var(--SLW-c-white-creme) /1);
/* Assoziierte Farben */
--SLW-c-sand-active: 222 197 112; /* hex #dec570 */
--SLW-sand-active: rgb(var(--SLW-c-sand-active) /1);
--SLW-c-red-active: 242 42 49; /* hex #f22a31 */
--SLW-red-active: rgb(var(--SLW-c-red-active) /1);
--SLW-c-orange-active: 255 150 70; /* hex #ff9646 */
--SLW-orange-active: rgb(var(--SLW-c-orange-active) /1);
--SLW-c-green-active: 22 211 163; /* hex #16d3a3 */
--SLW-green-active: rgb(var(--SLW-c-green-active) /1);
--SLW-c-blue-active: 57 99 245; /* hex #3963f5 */
--SLW-blue-active: rgb(var(--SLW-c-blue-active) /1);
--SLW-c-blue-alternate: 45 79 194; /* hex #2d4fc2 */
--SLW-blue-alternate: rgb(var(--SLW-c-blue-alternate) /1);
--SLW-c-blue-link-dark: 17 123 199; /* hex #117bc7 */
--SLW-blue-link-dark: rgb(var(--SLW-c-blue-link-dark) /1);
/* Sonstige Farben */
--SLW-c-blue-night: 0 48 86; /* hex #003056 */
--SLW-blue-night: rgb(var(--SLW-c-blue-night) /1);
}

/** XX Basics **/

main {
    background-color: white;
    background: -webkit-linear-gradient(-37deg, rgba(242, 242, 242, 1) 3%, rgba(252, 252, 252, 1) 97%);
    background: -o-linear-gradient(-37deg, rgba(242, 242, 242, 1) 3%, rgba(252, 252, 252, 1) 97%);
    background: -moz-linear-gradient(-37deg, rgba(242, 242, 242, 1) 3%, rgba(252, 252, 252, 1) 97%);
    background: linear-gradient(-37deg, rgba(242, 242, 242, 1) 3%, rgba(252, 252, 252, 1) 97%);
}

.entry-content > section {
    position: relative;
    padding-top: var(--theme-content-vertical-spacing) !important;
    padding-bottom: var(--theme-content-vertical-spacing) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.entry-content > section:nth-of-type(odd) {
    background-color: rgba(128, 128, 128, .02);
}

.entry-content > section:nth-of-type(even) {
    background-color: rgba(255, 255, 255, .3);
}

.alignnarrow,
.entry-content > section .alignnarrow,
.entry-content > section .wp-block-group.alignnarrow {
    width: var(--theme-block-width);
    max-width: var(--theme-narrow-container-max-width) !important;
    margin-left: auto;
    margin-right: auto;
}

li a:empty,
p:empty,
span.ct-module-title {
    display: none !important;
}

p,
a,
td {
    hyphens: auto;
}

.padded *,
figure.wp-block-pullquote blockquote p,
a.wp-block-button__link  {
    hyphens: none !important;
}

p.highlight {
    background-color: rgba(250, 235, 0, .7) !important;
    color: #252525;
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 3px 10px !important;
}

sup {
    margin-left: 3px;
}


/** XX Lists **/

:root {
    --listIndent: 20px !important;
    --theme-list-indent: 20px !important;
}

/*** XX Pullquote **/

figure.wp-block-pullquote {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-width: 0 !important;
    padding-top: var(--theme-content-vertical-spacing) !important;
    padding-bottom: var(--theme-content-vertical-spacing) !important;
}

figure.wp-block-pullquote.has-text-align-center {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 90px !important;
    padding-right: 90px !important;
}

figure.wp-block-pullquote blockquote {
    border: 0 !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: fit-content !important;
    hyphens: none !important;}

figure.wp-block-pullquote blockquote:before {
    transform: rotate(180deg);
}

/** XX Mobile **/

@media only screen and (max-width: 767px) {
    span.mobile.break {
        display: table-column !important;
        color: rgba(0, 0, 0, 0) !important;
    }
}


/** SLW Stuff **/

.ct-posts-shortcode .entries section {
    padding: 0 !important;
}


/*a.ct-media-container::after,
a.ct-media-container.boundless-image::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33, 58, 143, 0.5);  halbtransparentes Blau 
  pointer-events: none;
}*/

article.member a.ct-media-container.boundless-image::after {
  content: none !important;
}

.ct-related-posts {
    margin-bottom: var(--theme-content-vertical-spacing) !important;
}

.single-member details.wp-block-details strong {
    display: inline-flex;
}


@media (max-width: 781px) {

    /* Nur den inneren zweispaltigen Content-Block ansprechen */
    .swiper-slide .wp-block-columns {
        display: flex;
        flex-direction: column;
    }

    /* Text immer zuerst */
    .swiper-slide .wp-block-column:not(:has(.wp-block-image)) {
        order: 1;
    }

    /* Bild immer danach */
    .swiper-slide .wp-block-column:has(.wp-block-image) {
        order: 2;
    }
}

/*
.swiper-slide

figure.wp-block-image.skip-lazy

.wp-block-group.is-vertical.is-layout-flex.wp-container-core-group-is-layout-6a20f8b0.wp-block-group-is-layout-flex

*/