/*

TABLE OF CONTENTS

- Heading
-

*/

/* Heading */
.wp-block-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}
.wp-block-heading img {
    max-width: 56px;
}
.wp-block-heading .icon_bg {
    background-color: #9BAB9A;
    padding: 8px;
    line-height: 0;
    border-radius: 8px;
}
.wp-block-heading .icon {
    color: #fff;
}

/* List */
.wp-block-list {
    list-style: none;
    padding: 0;
}
.wp-block-list > li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}
.wp-block-list > li::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background-color: #9BAB9A;
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
    transform: translateY(-50%);
}
.wp-block-list li a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}


/* Maps */
.wp-block-interactive-geo-maps-display-map {
    height: 100%;
    display: flex;
    align-items: stretch;
}
.map_wrapper {
    flex-wrap: nowrap !important;
    gap: 16px;
}
.map_wrapper > div {
    background-color: #f5f7f5 !important;
    border-radius: 24px;
    overflow: hidden;
}
.map_wrapper .igm_content_right_1_3 {
    position: relative;
    min-height: 400px;
}
.map_wrapper .igm_content_right_1_3::after {
    content: 'Hover über die Marker und entdecke spannende Orte';
    position: absolute;
    font-family: "Playfair Display", serif;
    top: 50%;
    transform: translateY(-50%);
    padding: 24px;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
}
.map_wrapper .igm_content_gutter {
    display: none;
}
.map_container {
    padding: 32px;
}
.igm-map-content {
    height: 100%;
    z-index: 2;
    position: relative;
}

/* Post Card */
.post-card {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.post-card-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;

}
.post-card-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(31, 34, 31, 0.08) 0%, rgba(31, 34, 31, 0.40) 80%, rgba(31, 34, 31, 0.64) 100%);
}
.post-card-bg > * {
    position: relative;
    z-index: 2;
}
.post-card-title {
    font-size: 35px;
    line-height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 16px;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-weight: 400;
}


/* Spacer */
/* Used important to override spacer setting in gutenberg */
.wp-block-spacer.is-style-spacer-s {
    height: 20px !important;
}
.wp-block-spacer.is-style-spacer-m {
    height: 40px !important;
}
.wp-block-spacer.is-style-spacer-l {
    height: 80px !important;
}
@media (min-width: 768px) {
    .wp-block-spacer.is-style-spacer-s {
        height: 40px !important;
    }
    .wp-block-spacer.is-style-spacer-m {
        height: 80px !important;
    }
    .wp-block-spacer.is-style-spacer-l {
        height: 160px !important;
    }
}


/* Logo Slider Style Gallery-Block */

.wp-block-gallery.is-style-logo-slider .wp-block-image {
    margin-bottom: 0 !important;
}
.wp-block-gallery.is-style-logo-slider {
    display: flex;
    position: relative;
    flex-direction: row;
    scroll-snap-type: x mandatory;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 40px !important;
    scrollbar-width: none;
}
.wp-block-gallery.is-style-logo-slider .wp-block-image {
    width: 100%;
    margin: 0 !important;
    flex: 0 0 185px;
    scroll-snap-align: start;
}
.wp-block-gallery.is-style-logo-slider .wp-block-image::-webkit-scrollbar { display: none; }


@media (min-width: 768px) {
    .wp-block-gallery.is-style-logo-slider {

    }
    .wp-block-gallery.is-style-logo-slider {
        justify-content: center;
        gap: 80px !important;
        align-items: center;
        margin: 0 !important;
        scroll-snap-type: initial;
        overflow-x: initial;
    }
    .wp-block-gallery.is-style-logo-slider .wp-block-image {
        flex: initial;
    }
}


/* Swipe Style Gallery-Block */
.wp-block-gallery.is-style-swipe {
    display: block;
    overflow: hidden;
}
.wp-block-gallery.is-style-swipe .flickity-viewport {
    margin-bottom: 50px;
}
.wp-block-gallery.is-style-swipe .wp-block-image {
    position: relative;
    left: auto;
    width: auto !important;
    flex: 0 0 auto;
    margin-right: 24px !important;
    border-radius: 16px;
    overflow: hidden;
}
.wp-block-gallery.is-style-swipe .wp-block-image img {
    display: block;
    width: auto !important;
    height: 300px !important;
    flex: auto !important;
}
.wp-block-gallery.is-style-swipe .flickity-prev-next-button {
    position: absolute;
    bottom: 0;
    top: initial;
    right: 0;
    left: initial;
    transform: none;
    background-color: #2F332E;
    color: #fff;
    rotate: 180deg;
    width: 32px;
    height: 32px;
}
.wp-block-gallery.is-style-swipe .flickity-prev-next-button.previous {
    right: 40px;
}
.wp-block-gallery.is-style-swipe .flickity-page-dots {
    bottom: 13px;
    width: calc(100% - 96px);
    display: flex;
    justify-content: space-between;
}
.wp-block-gallery.is-style-swipe .flickity-page-dots .dot {
    height: 4px;
    width: 100%;
    margin: 0;
    border-radius: 0;
    background-color: #E1E6E1;
    opacity: 1;
}
.wp-block-gallery.is-style-swipe .flickity-page-dots .dot.is-selected {
    background-color: #2F332E;
}
@media (min-width: 768px) {
    .wp-block-gallery.is-style-swipe .wp-block-image img {
        height: 500px !important;
    }
}


/* Media & Text */
.wp-block-media-text__media .icon {
    width: 40px;
    height: 40px;
}


/* Card Style für Group Block */
.wp-block-group.is-style-card {
    border-radius: 24px;
    padding: 24px;
}
@media (min-width: 768px) {
    .wp-block-group.is-style-card {
        padding: 64px;
    }
}


/* Table */
.tablepress.klimatabelle >:where(thead,tfoot) > tr > * {
    background-color: #FFF;
}
.tablepress.klimatabelle thead th {
    background-color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    height: 64px;
    border-bottom: 1px solid #EBEEEB;
}
.tablepress.klimatabelle tbody td {
    background-color: #FFF;
    padding: 20px 0;
    line-height: 24px;
    border: 0;
    border-bottom: 1px solid #EBEEEB;
}
.tablepress.klimatabelle thead th:nth-child(odd),
.tablepress.klimatabelle tbody td:nth-child(odd) {
    background-color: #F8FAF8;
}
.tablepress.klimatabelle thead tr td {
    border: 0;
    border-right: 1px solid #EBEEEB;
    border-bottom: 1px solid #EBEEEB;
}
.tablepress.klimatabelle tbody tr td:first-child {
    text-align: right;
    padding: 20px 16px;
    font-size: 18px;
    border-right: 1px solid #EBEEEB;
    background-color: #FFF;
    word-break: keep-all;
}
.tablepress.klimatabelle .plus {
    background-color: #9BAB9A;
    font-size: 0;
    height: 24px;
}
.tablepress.klimatabelle .minus {
    background-color: transparent;
    font-size: 0;
    height: 24px;
}
.tablepress.klimatabelle .neutral {
    background-color: #C4CEC4;
    font-size: 0;
    height: 24px;
}
.tablepress-table-description {
    text-align: right;
    line-height: 24px;
}
.tablepress-table-description strong {
    margin-bottom: 4px;
    display: inline-block;
}
.tablepress-table-description span:not(:first-child) {
    margin-left: 16px;
}
.tablepress-table-description .plus,
.tablepress-table-description .neutral,
.tablepress-table-description .minus {
    display: inline-block;
}
.tablepress-table-description .plus:before,
.tablepress-table-description .neutral:before,
.tablepress-table-description .minus:before {
    content: "";
    height: 24px;
    width: 24px;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.tablepress-table-description .plus:before {
    background-color: #9BAB9A;
}
.tablepress-table-description .neutral:before {
    background-color: #C4CEC4;
}
.tablepress-table-description .minus:before {
    background-color: #FFF;
    border: 2px solid #EBEEEB;
}