/* ============================================================
   AKE FINAL CSS CLEAN v7
   Complete replacement for current custom CSS.
   ============================================================ */


/* ============================================================
   1. Design Tokens
   ============================================================ */

:root {
    --ake-img-hero: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-hero-kloster-silhouette.png") !important;
    --ake-img-texture: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-page-texture-kloster-stone.png") !important;
    --ake-img-testimonials: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-testimonials-background.png") !important;
    --ake-img-cta: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-cta-background.png") !important;
    --ake-img-event-placeholder: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-event-card-placeholder.png") !important;

    --ake-green-950: #0d1512 !important;
    --ake-green-900: #101a16 !important;
    --ake-green-850: #17251f !important;
    --ake-green-800: #20342c !important;
    --ake-green-700: #2d4339 !important;
    --ake-green-600: #40574d !important;

    --ake-stone-000: #fffdf8 !important;
    --ake-stone-050: #f8f7f1 !important;
    --ake-stone-100: #f0efe7 !important;
    --ake-stone-150: #e8e7df !important;
    --ake-stone-200: #deded3 !important;

    --ake-paper: #ffffff !important;
    --ake-text: #15211b !important;
    --ake-copy: #344039 !important;
    --ake-muted: #515d56 !important;
    --ake-muted-dark: #39463f !important;

    --ake-line: rgba(17, 26, 22, 0.14) !important;
    --ake-line-strong: rgba(17, 26, 22, 0.24) !important;

    --ake-radius-sm: 14px !important;
    --ake-radius: 22px !important;
    --ake-radius-lg: 34px !important;

    --ake-shadow-soft: 0 10px 30px rgba(17, 26, 22, 0.08) !important;
    --ake-shadow: 0 24px 64px rgba(17, 26, 22, 0.16) !important;
    --ake-shadow-strong: 0 34px 90px rgba(17, 26, 22, 0.24) !important;

    --ake-container: 1380px !important;
}


/* ============================================================
   2. Global Base
   ============================================================ */

html,
body,
#wrapper,
#main {
    background: transparent !important;
}

html {
    scroll-behavior: smooth !important;
}

body {
    color: var(--ake-text) !important;
    font-size: 17px !important;
    line-height: 1.72 !important;
    letter-spacing: -0.005em !important;
    background:
            linear-gradient(rgba(248, 247, 241, 0.91), rgba(232, 231, 223, 0.965)),
            var(--ake-img-texture) center top / cover fixed no-repeat,
            linear-gradient(180deg, #faf9f3 0%, #efefe7 42%, #e3e6de 100%) !important;
}

#wrapper {
    overflow-x: clip !important;
}

#main {
    position: relative !important;
    z-index: 1 !important;
}


/* ============================================================
   3. Layout Width
   ============================================================ */

#main .fusion-fullwidth > .fusion-row,
#main .fusion-fullwidth > .fusion-builder-row,
#main .fusion-page-title-row,
.fusion-header .fusion-row,
.fusion-secondary-header .fusion-row,
.fusion-footer .fusion-row,
.fusion-footer-widget-area .fusion-row,
.fusion-footer-copyright-area .fusion-row {
    max-width: var(--ake-container) !important;
    width: calc(100% - 56px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#main .fusion-layout-column,
#main .fusion-column-wrapper {
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    #main .fusion-fullwidth > .fusion-row,
    #main .fusion-fullwidth > .fusion-builder-row,
    #main .fusion-page-title-row,
    .fusion-header .fusion-row,
    .fusion-secondary-header .fusion-row,
    .fusion-footer .fusion-row,
    .fusion-footer-widget-area .fusion-row,
    .fusion-footer-copyright-area .fusion-row {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }
}


/* ============================================================
   4. Typography
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6,
.fusion-title h1,
.fusion-title h2,
.fusion-title h3,
.fusion-post-content h2,
.fusion-events-meta h2,
.tribe-events h1,
.tribe-events h2,
.tribe-events h3 {
    color: var(--ake-green-950) !important;
    letter-spacing: -0.034em !important;
    line-height: 1.08 !important;
    font-weight: 750 !important;
}

h1,
.fusion-title h1 {
    font-size: clamp(2.5rem, 4.7vw, 5.25rem) !important;
}

h2,
.fusion-title h2 {
    font-size: clamp(2rem, 3vw, 3.1rem) !important;
}

h3,
.fusion-title h3 {
    font-size: clamp(1.35rem, 2vw, 1.95rem) !important;
}

p,
.fusion-text p,
.post-content p,
.tribe-common p {
    color: var(--ake-copy) !important;
    line-height: 1.74 !important;
}

a {
    text-underline-offset: 0.18em !important;
}


/* ============================================================
   5. Header / Top Header / Logo / Search / Main Menu
   ============================================================ */

.fusion-secondary-header {
    background:
            linear-gradient(180deg, rgba(248, 247, 241, 0.98), rgba(232, 231, 223, 0.98)) !important;
    border-bottom: 1px solid rgba(17, 26, 22, 0.10) !important;
    color: var(--ake-green-900) !important;
    min-height: 38px !important;
}

.fusion-secondary-header a,
.fusion-secondary-menu > ul > li > a {
    color: var(--ake-green-900) !important;
    background: transparent !important;
    font-weight: 750 !important;
    letter-spacing: 0.055em !important;
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
}

.fusion-secondary-header a:hover,
.fusion-secondary-menu > ul > li > a:hover {
    color: #ffffff !important;
    background: var(--ake-green-800) !important;
}

.fusion-header-wrapper,
.fusion-header {
    background: rgba(248, 247, 241, 0.975) !important;
    border-bottom: 1px solid rgba(17, 26, 22, 0.15) !important;
    box-shadow: 0 12px 34px rgba(17, 26, 22, 0.10) !important;
    overflow: visible !important;
}

.fusion-header {
    min-height: 108px !important;
}

.fusion-header .fusion-row {
    min-height: 108px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
}

/* Logo links */
.fusion-logo,
.fusion-logo a {
    overflow: visible !important;
}

.fusion-logo {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fusion-logo a {
    display: inline-flex !important;
    align-items: center !important;
}

.fusion-logo img {
    background: #ffffff !important;
    border: 1px solid rgba(17, 26, 22, 0.13) !important;
    border-radius: 15px !important;
    padding: 9px 13px !important;
    box-shadow: 0 10px 26px rgba(17, 26, 22, 0.12) !important;

    max-height: none !important;
    height: auto !important;
    width: auto !important;

    transform: scale(1.04) !important;
    transform-origin: left center !important;
    margin-right: 0 !important;
}

/* Suche rechts oben wie ursprünglich gedacht */
.fusion-header form[role="search"],
.fusion-header form.searchform,
.fusion-header .searchform,
.fusion-header .fusion-search-form,
.fusion-header .fusion-search-form-content,
.fusion-header .search-table {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 20 !important;
}

.fusion-header input[type="search"],
.fusion-header .s {
    width: 230px !important;
    min-width: 230px !important;
    height: 42px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(17, 26, 22, 0.16) !important;
    background: #ffffff !important;
    color: var(--ake-text) !important;
}

.fusion-header input[type="submit"],
.fusion-header button[type="submit"],
.fusion-header .fusion-search-submit {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: var(--ake-green-800) !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: 0 8px 22px rgba(17, 26, 22, 0.16) !important;
}

.fusion-header input[type="submit"]:hover,
.fusion-header button[type="submit"]:hover,
.fusion-header .fusion-search-submit:hover {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    background: var(--ake-green-600) !important;
    transform: none !important;
}

/* Lupe leicht nach links */
.fusion-header button[type="submit"]::before,
.fusion-header .fusion-search-submit::before {
    transform: translateX(-3px) !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Hauptmenü bleibt eigene Zeile/zentriert */
.fusion-main-menu {
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

.fusion-main-menu > ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

.fusion-main-menu > ul > li {
    overflow: visible !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.fusion-main-menu > ul > li > a {
    color: var(--ake-green-850) !important;
    background: transparent !important;

    height: 54px !important;
    min-height: 54px !important;
    line-height: 48px !important;

    padding: 3px 20px !important;
    margin: 0 3px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.055em !important;
    text-transform: uppercase !important;

    transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease !important;
}

.fusion-main-menu > ul > li > a:hover,
.fusion-main-menu > ul > li:hover > a,
.fusion-main-menu .current-menu-item > a,
.fusion-main-menu .current-menu-parent > a {
    background: var(--ake-green-800) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(17, 26, 22, 0.16) !important;
}

.fusion-main-menu .sub-menu {
    background: rgba(247, 247, 242, 0.985) !important;
    border: 1px solid var(--ake-line) !important;
    border-radius: 0 0 18px 18px !important;
    overflow: hidden !important;
    box-shadow: var(--ake-shadow) !important;
}

.fusion-main-menu .sub-menu li a {
    background: transparent !important;
    color: var(--ake-green-850) !important;
    padding: 12px 18px !important;
}

.fusion-main-menu .sub-menu li a:hover {
    background: var(--ake-green-800) !important;
    color: #ffffff !important;
}

/* Falls Avada zusätzlich noch den alten Menu-Search-Icon ausgibt */
.fusion-main-menu-search {
    display: none !important;
}

/* Spam-Menü optisch verstecken */
li.keys_words,
.keys_words,
a[href*="avanca.com"],
a[href*="rokytnice.com"],
a[href*="/klostershop"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ============================================================
   6. Hero / Slider
   ============================================================ */

#fusion-slider-29,
#fusion-slider-29 .tfs-slider,
#fusion-slider-29 .background,
#fusion-slider-29 .slides,
#fusion-slider-29 .slides li {
    min-height: clamp(520px, 66vh, 760px) !important;
    height: clamp(520px, 66vh, 760px) !important;
    background-color: var(--ake-green-900) !important;
}

#fusion-slider-29 .slide-id-1362 .background,
#fusion-slider-29 .slide-id-1365 .background,
#fusion-slider-29 .slide-id-1368 .background {
    background-image:
            linear-gradient(90deg, rgba(16, 26, 22, 0.82), rgba(31, 51, 43, 0.54) 46%, rgba(31, 51, 43, 0.18)),
            var(--ake-img-hero) !important;
}

#fusion-slider-29 .background {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

#fusion-slider-29 .background::before,
#fusion-slider-29 .background::after {
    display: none !important;
    content: none !important;
}

#fusion-slider-29 .slide-content-container {
    width: calc(100% - 72px) !important;
    max-width: var(--ake-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}

#fusion-slider-29 .slide-content,
#fusion-slider-29 .heading,
#fusion-slider-29 .caption {
    max-width: 820px !important;
}

#fusion-slider-29 .fusion-title-sc-wrapper,
#fusion-slider-29 .heading .fusion-title-sc-wrapper,
#fusion-slider-29 .caption .fusion-title-sc-wrapper {
    background: rgba(16, 26, 22, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.26) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

#fusion-slider-29 .heading .fusion-title-sc-wrapper {
    padding: 18px 24px 16px !important;
    border-radius: 24px 24px 10px 10px !important;
}

#fusion-slider-29 .caption .fusion-title-sc-wrapper {
    padding: 14px 24px 18px !important;
    border-radius: 10px 10px 24px 24px !important;
    margin-top: 8px !important;
}

#fusion-slider-29 .heading h1,
#fusion-slider-29 .heading h2,
#fusion-slider-29 .caption h2,
#fusion-slider-29 .caption h3,
#fusion-slider-29 .heading h2 *,
#fusion-slider-29 .caption h3 * {
    color: #ffffff !important;
    background: transparent !important;
}

#fusion-slider-29 .heading h2 {
    font-size: clamp(2.5rem, 5vw, 5.6rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.06em !important;
    text-shadow: none !important;
}

#fusion-slider-29 .caption h3 {
    font-size: clamp(1.15rem, 2vw, 1.85rem) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.02em !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: none !important;
}


/* ============================================================
   7. Buttons
   ============================================================ */

.fusion-button,
.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"],
.tribe-common .tribe-common-c-btn {
    background: var(--ake-green-800) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-radius: 999px !important;
    padding: 13px 24px !important;
    min-height: 46px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    box-shadow: 0 12px 30px rgba(17, 26, 22, 0.22) !important;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease !important;
}

.fusion-button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.tribe-common .tribe-common-c-btn:hover {
    background: var(--ake-green-600) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 44px rgba(17, 26, 22, 0.30) !important;
}

.fusion-button-wrapper {
    margin-right: 20px !important;
    margin-bottom: 16px !important;
}

.fusion-button-wrapper + .fusion-button-wrapper {
    margin-left: 10px !important;
}


/* ============================================================
   8. Sections / Rows
   ============================================================ */

#main .fusion-fullwidth {
    padding-top: clamp(62px, 7vw, 104px) !important;
    padding-bottom: clamp(62px, 7vw, 104px) !important;
    border-top: 1px solid rgba(17, 26, 22, 0.13) !important;
}

/* Garbage separator row */
.fusion-builder-row-6,
.fusion-builder-row-6 .fusion-separator,
.fusion-builder-row-6 .fusion-separator-border {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.fusion-builder-row-1 {
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.90), rgba(248, 247, 241, 0.97)),
            radial-gradient(circle at 12% 0%, rgba(32, 52, 44, 0.08), transparent 28rem) !important;
    border-top: 0 !important;
}

.fusion-builder-row-2 {
    background:
            linear-gradient(180deg, #dfe2d8 0%, #ecece4 100%) !important;
    border-top: 1px solid rgba(17, 26, 22, 0.24) !important;
    box-shadow:
            inset 0 28px 70px rgba(17, 26, 22, 0.08),
            inset 0 -1px 0 rgba(255, 255, 255, 0.72) !important;
}

.fusion-builder-row-3 {
    background:
            linear-gradient(90deg, rgba(17, 26, 22, 0.80), rgba(17, 26, 22, 0.56)),
            var(--ake-img-testimonials) center center / cover no-repeat !important;
    border-top: 0 !important;
    padding-top: clamp(110px, 10vw, 170px) !important;
    padding-bottom: clamp(110px, 10vw, 170px) !important;
}

.fusion-builder-row-4 {
    background:
            linear-gradient(90deg, rgba(17, 26, 22, 0.035), transparent 46%),
            rgba(248, 247, 241, 0.88) !important;
    border-top: 1px solid rgba(17, 26, 22, 0.12) !important;
    border-bottom: 1px solid rgba(17, 26, 22, 0.12) !important;
}

.fusion-builder-row-5 {
    position: relative !important;
    background:
            linear-gradient(rgba(255, 255, 255, 0.78), rgba(243, 241, 234, 0.94)),
            var(--ake-img-event-placeholder) center center / cover no-repeat !important;
}

.fusion-builder-row-7,
.fusion-builder-row-8,
.fusion-builder-row-9 {
    background:
            radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.10), transparent 30rem),
            linear-gradient(135deg, var(--ake-green-700), var(--ake-green-950)) !important;
}


/* ============================================================
   9. Homepage Events
   ============================================================ */

.fusion-events-shortcode,
.fusion-events-wrapper,
.fusion-events-posts {
    background: transparent !important;
    width: 100% !important;
    max-width: none !important;
}

.fusion-text-3 {
    margin-top: 66px !important;
    margin-bottom: 10px !important;
    padding-top: 18px !important;
}

.fusion-text-3 h2,
.fusion-text-3 h2 a {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.fusion-events-post {
    padding: 14px !important;
}

.fusion-events-post > .fusion-column-wrapper,
.fusion-events-post .fusion-column-wrapper {
    background: #ffffff !important;
    color: var(--ake-text) !important;
    border: 1px solid var(--ake-line) !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    box-shadow: var(--ake-shadow-soft) !important;
    transform: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
}

.fusion-events-post:hover > .fusion-column-wrapper,
.fusion-events-post:hover .fusion-column-wrapper {
    transform: translateY(-4px) !important;
    box-shadow: var(--ake-shadow) !important;
    border-color: rgba(31, 51, 43, 0.28) !important;
}

.fusion-events-thumbnail,
.fusion-events-thumbnail a {
    display: block !important;
    background: #dfe2da !important;
    overflow: hidden !important;
}

.fusion-events-thumbnail img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    filter: saturate(0.92) contrast(1.02) !important;
}

.fusion-events-content-wrapper,
.fusion-events-meta {
    background: #ffffff !important;
    color: var(--ake-text) !important;
}

.fusion-events-content-wrapper {
    padding: 22px 24px 26px !important;
}

.fusion-events-meta h2 {
    margin: 0 0 12px !important;
    font-size: clamp(1.10rem, 1.25vw, 1.38rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em !important;
    font-weight: 700 !important;
}

.fusion-events-meta h2 a {
    color: var(--ake-green-950) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.fusion-events-meta h2 a:hover {
    color: var(--ake-green-600) !important;
}

.fusion-events-meta h4 {
    color: var(--ake-muted) !important;
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    margin: 0 !important;
}


/* ============================================================
   10. Event Calendar Page
   ============================================================ */

.post-type-archive-tribe_events #main,
.tribe-events-page-template #main {
    background:
            linear-gradient(rgba(248, 247, 241, 0.90), rgba(232, 231, 223, 0.97)),
            var(--ake-img-texture) center top / cover fixed no-repeat !important;
}

/* No photo inside the calendar itself; keep it readable */
.post-type-archive-tribe_events #main::before,
.tribe-events-page-template #main::before {
    content: none !important;
    display: none !important;
}

.tribe-events .tribe-events-l-container,
#tribe-events-pg-template {
    max-width: 1280px !important;
    width: calc(100% - 48px) !important;
    margin: 44px auto 72px !important;
    padding: 36px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.965) !important;
    border: 1px solid rgba(17, 26, 22, 0.15) !important;
    border-radius: 34px !important;
    box-shadow: var(--ake-shadow) !important;
}

.tribe-events,
.tribe-events-view,
.tribe-events-calendar-month,
.tribe-events-calendar-month__body,
.tribe-events-calendar-month__week,
.tribe-events .tribe-events-c-events-bar,
.tribe-events .tribe-events-header,
.tribe-events .tribe-events-c-top-bar {
    max-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.tribe-events-calendar-month,
.tribe-events-calendar-list,
.tribe-events-header,
.tribe-events-c-top-bar,
.tribe-events-c-events-bar {
    background: #ffffff !important;
}

.tribe-events .tribe-events-calendar-month__day {
    background: #ffffff !important;
}

.tribe-events .tribe-events-calendar-month__day-cell {
    padding: 8px 8px 10px !important;
}

.tribe-events .tribe-events-calendar-month__calendar-event {
    padding: 3px 4px !important;
    margin: 3px 0 !important;
    border-radius: 10px !important;
    background: rgba(32, 52, 44, 0.045) !important;
    border: 1px solid rgba(17, 26, 22, 0.08) !important;
}

.tribe-events .tribe-events-calendar-month__calendar-event-title,
.tribe-events .tribe-events-calendar-month__calendar-event-title-link,
.tribe-events .tribe-events-calendar-list__event-title,
.tribe-events .tribe-events-calendar-list__event-title-link,
.tribe-events .tribe-events-calendar-day__event-title,
.tribe-events .tribe-events-calendar-day__event-title-link {
    font-size: 11.5px !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: var(--ake-green-850) !important;
    text-decoration: none !important;
}

.tribe-events a:hover,
.tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover,
.tribe-events .tribe-events-calendar-list__event-title-link:hover,
.tribe-events .tribe-events-calendar-day__event-title-link:hover {
    color: var(--ake-green-600) !important;
}

/* Uhrzeiten minimal dunkler */
.tribe-events .tribe-events-calendar-month__calendar-event-datetime,
.tribe-events .tribe-events-calendar-list__event-datetime,
.tribe-events .tribe-event-date-start,
.tribe-events .tribe-event-time {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    color: var(--ake-muted-dark) !important;
    font-weight: 600 !important;
}

.tribe-events .tribe-events-calendar-month__header-column-title,
.tribe-events .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day-date-link {
    color: var(--ake-green-950) !important;
    font-weight: 700 !important;
}

.tribe-events .tribe-events-c-top-bar__datepicker-button {
    font-weight: 650 !important;
    color: var(--ake-green-950) !important;
}

/* Fix: doppelte Pfeile aus Theme-Pseudo-Icons entfernen */
.tribe-events .tribe-events-c-top-bar__nav-link::before,
.tribe-events .tribe-events-c-top-bar__nav-link::after,
.tribe-events .tribe-events-c-nav__prev::before,
.tribe-events .tribe-events-c-nav__prev::after,
.tribe-events .tribe-events-c-nav__next::before,
.tribe-events .tribe-events-c-nav__next::after,
.tribe-events .tribe-events-c-top-bar__datepicker-button::before,
.tribe-events .tribe-events-c-top-bar__datepicker-button::after {
    content: none !important;
    display: none !important;
}


/* ============================================================
   11. Testimonials
   ============================================================ */

.fusion-builder-row-3 .review,
.fusion-builder-row-3 .review.avatar-image,
.fusion-builder-row-3 .review.no-avatar,
.fusion-builder-row-3 .fusion-testimonials,
.fusion-builder-row-3 .reviews,
.fusion-builder-row-3 .testimonials-shortcode-blockquote {
    background: transparent !important;
    overflow: visible !important;
}

.fusion-builder-row-3 .testimonials-shortcode-blockquote {
    margin: 0 !important;
    padding: 0 !important;
}

.fusion-builder-row-3 .testimonials-shortcode-blockquote q,
.fusion-builder-row-3 blockquote q {
    display: block !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #233029 !important;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 34px 34px 0 0 !important;
    padding: clamp(28px, 4vw, 52px) !important;
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.28) !important;
}

.fusion-builder-row-3 .testimonials-shortcode-blockquote q p,
.fusion-builder-row-3 blockquote q p {
    color: #233029 !important;
    font-size: clamp(1.05rem, 1.3vw, 1.22rem) !important;
    line-height: 1.72 !important;
    margin-bottom: 0 !important;
}

.fusion-builder-row-3 .testimonial-thumbnail {
    display: block !important;
    margin: 0 auto 28px !important;
    text-align: center !important;
}

.fusion-builder-row-3 .testimonial-thumbnail img,
.fusion-builder-row-3 img.testimonial-image {
    width: 118px !important;
    height: 118px !important;
    max-width: 118px !important;
    max-height: 118px !important;
    object-fit: cover !important;
    border-radius: 999px !important;
    margin: 0 auto !important;
    display: block !important;
    box-shadow: 0 12px 28px rgba(17, 26, 22, 0.18) !important;
}

.fusion-builder-row-3 .author {
    background: var(--ake-green-900) !important;
    color: rgba(255, 255, 255, 0.94) !important;
    padding: 20px 30px 23px !important;
    margin: 0 !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    border-radius: 0 0 34px 34px !important;
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.28) !important;
}

.fusion-builder-row-3 .author,
.fusion-builder-row-3 .author *,
.fusion-builder-row-3 .company-name,
.fusion-builder-row-3 .company-name * {
    color: rgba(255, 255, 255, 0.94) !important;
}

.fusion-builder-row-3 .author::after,
.fusion-builder-row-3 .author:after {
    border-top-color: var(--ake-green-900) !important;
}

.fusion-builder-row-3 .testimonial-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 13px !important;
    margin-top: 34px !important;
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

.fusion-builder-row-3 .testimonial-pagination a,
#fusion-testimonials-1.testimonial-pagination a,
#fusion-testimonials-1 a {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.42) !important;
    border: 2px solid rgba(255, 255, 255, 0.96) !important;
    opacity: 1 !important;
    box-shadow:
            0 0 0 3px rgba(16, 26, 22, 0.22),
            0 6px 18px rgba(0, 0, 0, 0.28) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.fusion-builder-row-3 .testimonial-pagination a:hover,
.fusion-builder-row-3 .testimonial-pagination a.activeSlide,
#fusion-testimonials-1 a:hover,
#fusion-testimonials-1 a.activeSlide {
    background: #ffffff !important;
    border-color: #ffffff !important;
    transform: scale(1.14) !important;
}


/* ============================================================
   12. Über uns
   ============================================================ */

.fusion-builder-row-4 > .fusion-row,
.fusion-builder-row-4 > .fusion-builder-row {
    max-width: 1120px !important;
    width: calc(100% - 72px) !important;
}

.fusion-builder-row-4 .fusion-column-wrapper {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: clamp(42px, 5vw, 76px) 0 !important;
    overflow: visible !important;
}

.fusion-builder-row-4 .fusion-title {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    padding: 0 !important;
}

.fusion-builder-row-4 .fusion-title h1,
.fusion-builder-row-4 .fusion-title h2,
.fusion-builder-row-4 h2 {
    display: block !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
    margin: 0 0 28px !important;
    padding: 0 0 16px !important;
    border-bottom: 2px solid rgba(17, 26, 22, 0.18) !important;
}

.fusion-builder-row-4 .fusion-text,
.fusion-builder-row-4 .fusion-text p {
    text-align: left !important;
}

.fusion-builder-row-4 p {
    max-width: 980px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    color: #2f3b34 !important;
    font-size: 18px !important;
    line-height: 1.82 !important;
}

.fusion-builder-row-4 .fusion-text a {
    display: inline-block !important;
    margin-top: 16px !important;
    color: var(--ake-green-950) !important;
    font-weight: 850 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: rgba(17, 26, 22, 0.28) !important;
}


/* ============================================================
   13. Aktuelles
   ============================================================ */

.fusion-builder-row-5 h1,
.fusion-builder-row-5 h2,
.fusion-builder-row-5 h3,
.fusion-builder-row-5 .fusion-title h2 {
    color: var(--ake-green-950) !important;
    text-shadow: none !important;
}

.fusion-builder-row-5 .fusion-separator,
.fusion-builder-row-7 .fusion-separator {
    display: none !important;
}

.fusion-builder-row-5 .fusion-post-wrapper,
.fusion-builder-row-5 article,
.fusion-builder-row-5 .post {
    background: #ffffff !important;
    border: 1px solid rgba(17, 26, 22, 0.13) !important;
    border-radius: 32px !important;
    box-shadow: var(--ake-shadow-soft) !important;
    overflow: hidden !important;
}

.fusion-builder-row-5 .fusion-imageframe,
.fusion-builder-row-5 .fusion-imageframe a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    padding: 20px 20px 0 !important;
    box-sizing: border-box !important;
}

.fusion-builder-row-5 .fusion-imageframe img,
.fusion-builder-row-5 .fusion-post-wrapper img,
.fusion-builder-row-5 article img,
.fusion-builder-row-5 .post img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 22px !important;
    display: block !important;
    background: #f3f1ea !important;
}

.fusion-builder-row-5 .fusion-post-content,
.fusion-builder-row-5 .post-content {
    background: #ffffff !important;
    padding: 28px 32px 34px !important;
}

.fusion-builder-row-5 .fusion-post-content h2,
.fusion-builder-row-5 .fusion-post-content h2 a,
.fusion-builder-row-5 .post-content h2,
.fusion-builder-row-5 .post-content h2 a {
    color: var(--ake-green-950) !important;
    text-decoration: none !important;
}


/* ============================================================
   14. Unterstützen CTA
   ============================================================ */

.fusion-builder-row-7 .fusion-column-wrapper,
.fusion-builder-row-8 .fusion-column-wrapper,
.fusion-builder-row-9 .fusion-column-wrapper {
    background:
            linear-gradient(90deg, rgba(16, 26, 22, 0.84), rgba(16, 26, 22, 0.58)),
            var(--ake-img-cta) center center / cover no-repeat !important;
    color: #ffffff !important;
    border-radius: 38px !important;
    padding: clamp(54px, 7vw, 104px) !important;
    box-shadow: 0 30px 80px rgba(17, 26, 22, 0.24) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.fusion-builder-row-7 h1,
.fusion-builder-row-7 h2,
.fusion-builder-row-7 h3,
.fusion-builder-row-7 h4,
.fusion-builder-row-7 p,
.fusion-builder-row-7 span,
.fusion-builder-row-8 h1,
.fusion-builder-row-8 h2,
.fusion-builder-row-8 h3,
.fusion-builder-row-8 h4,
.fusion-builder-row-8 p,
.fusion-builder-row-8 span,
.fusion-builder-row-9 h1,
.fusion-builder-row-9 h2,
.fusion-builder-row-9 h3,
.fusion-builder-row-9 h4,
.fusion-builder-row-9 p,
.fusion-builder-row-9 span {
    color: #ffffff !important;
}

.fusion-builder-row-7 .fusion-button,
.fusion-builder-row-8 .fusion-button,
.fusion-builder-row-9 .fusion-button {
    background: #ffffff !important;
    color: var(--ake-green-950) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26) !important;
    margin-top: 36px !important;
    margin-bottom: 10px !important;
}

.fusion-builder-row-7 .fusion-button *,
.fusion-builder-row-8 .fusion-button *,
.fusion-builder-row-9 .fusion-button *,
.fusion-builder-row-7 .fusion-button .fusion-button-text,
.fusion-builder-row-8 .fusion-button .fusion-button-text,
.fusion-builder-row-9 .fusion-button .fusion-button-text {
    color: var(--ake-green-950) !important;
}

.fusion-builder-row-7 .fusion-button:hover,
.fusion-builder-row-8 .fusion-button:hover,
.fusion-builder-row-9 .fusion-button:hover {
    background: var(--ake-stone-100) !important;
    color: var(--ake-green-950) !important;
}


/* ============================================================
   15. General Cards / Forms
   ============================================================ */

.fusion-post-wrapper,
.fusion-blog-layout-grid .fusion-post-wrapper,
.type-tribe_events {
    background: #ffffff !important;
    border: 1px solid rgba(17, 26, 22, 0.13) !important;
    border-radius: 28px !important;
    box-shadow: var(--ake-shadow-soft) !important;
    overflow: hidden !important;
}

.fusion-post-content {
    background: #ffffff !important;
    padding: 26px 28px !important;
}

.fusion-post-content h2,
.fusion-post-content h2 a {
    color: var(--ake-green-950) !important;
    text-decoration: none !important;
}

.fusion-post-content h2 a:hover {
    color: var(--ake-green-600) !important;
}

input,
textarea,
select {
    background: #ffffff !important;
    color: var(--ake-text) !important;
    border: 1px solid var(--ake-line) !important;
    border-radius: var(--ake-radius-sm) !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--ake-green-600) !important;
    box-shadow: 0 0 0 4px rgba(32, 52, 44, 0.13) !important;
    outline: none !important;
}


/* ============================================================
   16. Footer / Subfooter
   ============================================================ */

#footer,
.fusion-footer,
.fusion-footer-widget-area,
.fusion-footer-copyright-area {
    background:
            radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.08), transparent 32rem),
            linear-gradient(180deg, var(--ake-green-850) 0%, var(--ake-green-950) 100%) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
}

#footer *,
.fusion-footer *,
.fusion-footer-widget-area *,
.fusion-footer-copyright-area * {
    border-color: rgba(255, 255, 255, 0.20) !important;
}

.fusion-footer h1,
.fusion-footer h2,
.fusion-footer h3,
.fusion-footer h4,
.fusion-footer h5,
.fusion-footer h6,
.fusion-footer-widget-area h4 {
    color: #ffffff !important;
    letter-spacing: 0.055em !important;
    text-transform: uppercase !important;
}

.fusion-footer p,
.fusion-footer li,
.fusion-footer-copyright-area,
.fusion-copyright-notice {
    color: rgba(255, 255, 255, 0.74) !important;
}

.fusion-footer a,
.fusion-footer-copyright-area a {
    color: rgba(255, 255, 255, 0.90) !important;
    text-decoration: none !important;
}

.fusion-footer a:hover,
.fusion-footer-copyright-area a:hover {
    color: #ffffff !important;
    opacity: 0.86 !important;
}


/* ============================================================
   17. Responsive
   ============================================================ */

@media (max-width: 1180px) {
    .fusion-logo img {
        transform: scale(1) !important;
    }

    .fusion-header input[type="search"],
    .fusion-header .s {
        width: 190px !important;
        min-width: 190px !important;
    }

    .fusion-main-menu > ul > li > a {
        font-size: 11px !important;
        padding-left: 13px !important;
        padding-right: 13px !important;
    }
}

@media (max-width: 900px) {
    body {
        background:
                linear-gradient(rgba(248, 247, 241, 0.94), rgba(232, 231, 223, 0.98)),
                var(--ake-img-texture) center top / cover scroll no-repeat,
                linear-gradient(180deg, #faf9f3 0%, #efefe7 42%, #e3e6de 100%) !important;
    }

    .fusion-header {
        min-height: 84px !important;
    }

    .fusion-header .fusion-row {
        min-height: 84px !important;
    }

    .fusion-logo img {
        transform: scale(1) !important;
        padding: 7px 10px !important;
    }

    .fusion-header form[role="search"],
    .fusion-header form.searchform,
    .fusion-header .searchform {
        position: static !important;
        transform: none !important;
        margin-left: auto !important;
    }

    .fusion-header input[type="search"],
    .fusion-header .s {
        width: 150px !important;
        min-width: 150px !important;
    }

    #fusion-slider-29,
    #fusion-slider-29 .tfs-slider,
    #fusion-slider-29 .background,
    #fusion-slider-29 .slides,
    #fusion-slider-29 .slides li {
        min-height: 470px !important;
        height: 470px !important;
    }

    #fusion-slider-29 .slide-content-container {
        width: calc(100% - 32px) !important;
    }

    #fusion-slider-29 .heading h2 {
        font-size: clamp(2rem, 10vw, 3.2rem) !important;
    }

    #main .fusion-fullwidth {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .fusion-builder-row-3 {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    .fusion-builder-row-3 .testimonials-shortcode-blockquote q {
        padding: 26px 22px !important;
    }

    .fusion-builder-row-3 .author {
        padding: 18px 22px 21px !important;
    }

    .fusion-builder-row-4 > .fusion-row,
    .fusion-builder-row-4 > .fusion-builder-row {
        width: calc(100% - 32px) !important;
    }

    .fusion-builder-row-4 p {
        font-size: 16.5px !important;
    }

    .fusion-builder-row-7 .fusion-column-wrapper,
    .fusion-builder-row-8 .fusion-column-wrapper,
    .fusion-builder-row-9 .fusion-column-wrapper {
        padding: 30px 22px !important;
        border-radius: 26px !important;
    }

    .fusion-button-wrapper {
        margin-right: 0 !important;
        margin-bottom: 13px !important;
    }

    .tribe-events .tribe-events-l-container,
    #tribe-events-pg-template {
        width: calc(100% - 24px) !important;
        padding: 22px !important;
        margin-top: 28px !important;
        margin-bottom: 48px !important;
        border-radius: 24px !important;
    }

    .tribe-events .tribe-events-calendar-month__calendar-event-title,
    .tribe-events .tribe-events-calendar-month__calendar-event-title-link {
        font-size: 10.8px !important;
    }
}

/* ============================================================
   AKE FINAL CORRECTION PATCH v7.1
   Add this at the very end of the current CSS.
   ============================================================ */


/* ============================================================
   1. Header: ursprüngliche Logik wiederherstellen
   Logo links, Suche rechts oben, Hauptmenü bleibt eigene Leiste
   ============================================================ */

.fusion-header-wrapper,
.fusion-header,
.fusion-header .fusion-row {
    overflow: visible !important;
}

.fusion-header {
    min-height: 108px !important;
}

.fusion-header .fusion-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 108px !important;
}

/* Logo links */
.fusion-logo {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: auto !important;
}

.fusion-logo a {
    display: inline-flex !important;
    align-items: center !important;
}

.fusion-logo img {
    background: #ffffff !important;
    border: 1px solid rgba(17, 26, 22, 0.13) !important;
    border-radius: 15px !important;
    padding: 9px 13px !important;
    box-shadow: 0 10px 26px rgba(17, 26, 22, 0.12) !important;
    transform: scale(1.04) !important;
    transform-origin: left center !important;
    margin-right: 0 !important;
}

/* Suche wieder anzeigen, falls vorher versteckt */
.fusion-main-menu-search {
    display: flex !important;
}

/* Suchformular rechts oben platzieren */
.fusion-header form[role="search"],
.fusion-header form.searchform,
.fusion-header .searchform,
.fusion-header .fusion-search-form,
.fusion-header .fusion-search-form-content,
.fusion-header .search-table {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 40 !important;
}

/* Suchfeld */
.fusion-header input[type="search"],
.fusion-header .s {
    width: 230px !important;
    min-width: 230px !important;
    height: 42px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(17, 26, 22, 0.16) !important;
    background: #ffffff !important;
    color: var(--ake-text) !important;
}

/* Suchbutton */
.fusion-header input[type="submit"],
.fusion-header button[type="submit"],
.fusion-header .fusion-search-submit {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: var(--ake-green-800) !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: 0 8px 22px rgba(17, 26, 22, 0.16) !important;
}

.fusion-header input[type="submit"]:hover,
.fusion-header button[type="submit"]:hover,
.fusion-header .fusion-search-submit:hover {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    background: var(--ake-green-600) !important;
    transform: none !important;
}

/* Lupe minimal nach links */
.fusion-header button[type="submit"]::before,
.fusion-header .fusion-search-submit::before,
.fusion-main-menu-search a::before,
.fusion-main-menu-icon::before {
    transform: translateX(-3px) !important;
}

/* Menü-Search-Icon nicht als zweites Suchsystem in der Menuleiste erzwingen */
.fusion-main-menu .fusion-main-menu-search {
    display: none !important;
}


/* ============================================================
   2. Hauptmenü-Pills: mehr Innenabstand
   ============================================================ */

.fusion-main-menu > ul > li > a {
    min-height: 54px !important;
    height: 54px !important;
    line-height: 48px !important;
    padding: 3px 20px !important;
    margin: 0 3px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
}


/* ============================================================
   3. Button-Abstand: Mehr Erfahren / Rückblick Jubiläum
   ============================================================ */

/* Der rechte Leitgedanke-Block ist in row-1; Buttons sind vertikal gestapelt */
.fusion-builder-row-1 .fusion-button-wrapper {
    display: block !important;
    margin: 0 0 16px 0 !important;
}

.fusion-builder-row-1 .fusion-button-wrapper + .fusion-button-wrapper {
    margin-top: 14px !important;
}

.fusion-builder-row-1 .fusion-button {
    display: inline-flex !important;
    margin-bottom: 0 !important;
}

/* Fallback, falls Avada die Buttons ohne wrapper ausgibt */
.fusion-builder-row-1 .fusion-button + .fusion-button {
    margin-top: 14px !important;
}


/* ============================================================
   4. Hero-Slider: Backend-Bilder respektieren
   Nur Spiritualität & Gesellschaft bekommt das neue Hero-Bild
   ============================================================ */

/* Neue Hero-Dateien, die du bitte erzeugst/hochlädst */
:root {
    --ake-img-hero-meditation: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-hero-meditation-achtsamkeit.png") !important;
    --ake-img-hero-fuehrung: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-hero-fuehrung-werte.png") !important;
}

/* Meditation & Achtsamkeit */
#fusion-slider-29 .slide-id-1362 .background {
    background-image:
            linear-gradient(90deg, rgba(16, 26, 22, 0.78), rgba(31, 51, 43, 0.48) 46%, rgba(31, 51, 43, 0.16)),
            var(--ake-img-hero-meditation) !important;
}

/* Führung & Werte */
#fusion-slider-29 .slide-id-1365 .background {
    background-image:
            linear-gradient(90deg, rgba(16, 26, 22, 0.78), rgba(31, 51, 43, 0.48) 46%, rgba(31, 51, 43, 0.16)),
            var(--ake-img-hero-fuehrung) !important;
}

/* Spiritualität & Gesellschaft: nutzt dein vorhandenes Hero-Bild */
#fusion-slider-29 .slide-id-1368 .background {
    background-image:
            linear-gradient(90deg, rgba(16, 26, 22, 0.78), rgba(31, 51, 43, 0.48) 46%, rgba(31, 51, 43, 0.16)),
            var(--ake-img-hero) !important;
}


/* ============================================================
   5. Kalenderseite: klarere Abgrenzung zum Seitenhintergrund
   ============================================================ */

.post-type-archive-tribe_events body,
.post-type-archive-tribe_events #main,
.tribe-events-page-template #main {
    background:
            linear-gradient(rgba(238, 239, 232, 0.90), rgba(222, 222, 211, 0.96)),
            var(--ake-img-texture) center top / cover fixed no-repeat !important;
}

/* Keine Eventgrafik im Kalender, nur ruhige Steintextur */
.post-type-archive-tribe_events #main::before,
.tribe-events-page-template #main::before {
    content: none !important;
    display: none !important;
}

/* Kalender-Card stärker vom Hintergrund trennen */
.tribe-events .tribe-events-l-container,
#tribe-events-pg-template {
    max-width: 1280px !important;
    width: calc(100% - 48px) !important;
    margin: 52px auto 80px !important;
    padding: 38px !important;
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(250, 250, 246, 0.985)) !important;
    border: 1px solid rgba(17, 26, 22, 0.18) !important;
    border-radius: 34px !important;
    box-shadow:
            0 34px 90px rgba(17, 26, 22, 0.20),
            0 0 0 1px rgba(255, 255, 255, 0.62) inset !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Kalenderseite nicht am Seitenrand kleben lassen */
.post-type-archive-tribe_events #main,
.tribe-events-page-template #main {
    padding-top: 24px !important;
    padding-bottom: 64px !important;
}

/* Kalender-Kopf dezent als eigene Fläche */
.tribe-events .tribe-events-c-events-bar,
.tribe-events .tribe-events-header,
.tribe-events .tribe-events-c-top-bar {
    background: #ffffff !important;
    border-color: rgba(17, 26, 22, 0.12) !important;
    box-sizing: border-box !important;
}

/* Uhrzeiten minimal dunkler */
.tribe-events .tribe-events-calendar-month__calendar-event-datetime,
.tribe-events .tribe-events-calendar-list__event-datetime,
.tribe-events .tribe-event-date-start,
.tribe-events .tribe-event-time {
    color: #39463f !important;
    font-weight: 650 !important;
}


/* ============================================================
   6. Kalender: doppelte Pfeile entfernen
   ============================================================ */

/* Häufige Ursache: echter SVG-Pfeil + Theme/Iconfont-Pseudo gleichzeitig */
.tribe-events .tribe-events-c-top-bar__nav-link,
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next {
    font-size: 0 !important;
}

/* Echten SVG-Pfeil sichtbar lassen */
.tribe-events .tribe-events-c-top-bar__nav-link svg,
.tribe-events .tribe-events-c-nav__prev svg,
.tribe-events .tribe-events-c-nav__next svg,
.tribe-events .tribe-common-c-svgicon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
}

/* Theme-Pseudo-Pfeile ausblenden */
.tribe-events .tribe-events-c-top-bar__nav-link::before,
.tribe-events .tribe-events-c-top-bar__nav-link::after,
.tribe-events .tribe-events-c-nav__prev::before,
.tribe-events .tribe-events-c-nav__prev::after,
.tribe-events .tribe-events-c-nav__next::before,
.tribe-events .tribe-events-c-nav__next::after {
    content: none !important;
    display: none !important;
}


/* ============================================================
   7. Footer auf Startseite und Eventseite gleich behandeln
   ============================================================ */

#footer,
.fusion-footer,
.fusion-footer-widget-area,
.fusion-footer-copyright-area,
body.home #footer,
body.home .fusion-footer,
body.home .fusion-footer-widget-area,
body.home .fusion-footer-copyright-area,
.post-type-archive-tribe_events #footer,
.post-type-archive-tribe_events .fusion-footer,
.post-type-archive-tribe_events .fusion-footer-widget-area,
.post-type-archive-tribe_events .fusion-footer-copyright-area {
    background:
            radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.08), transparent 32rem),
            linear-gradient(180deg, var(--ake-green-850) 0%, var(--ake-green-950) 100%) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
}

#footer *,
.fusion-footer *,
.fusion-footer-widget-area *,
.fusion-footer-copyright-area * {
    border-color: rgba(255, 255, 255, 0.20) !important;
}

.fusion-footer h1,
.fusion-footer h2,
.fusion-footer h3,
.fusion-footer h4,
.fusion-footer h5,
.fusion-footer h6,
.fusion-footer-widget-area h4,
.fusion-footer-widget-area .widget-title {
    color: #ffffff !important;
    letter-spacing: 0.055em !important;
    text-transform: uppercase !important;
}

.fusion-footer p,
.fusion-footer li,
.fusion-footer span,
.fusion-footer-copyright-area,
.fusion-copyright-notice {
    color: rgba(255, 255, 255, 0.74) !important;
}

.fusion-footer a,
.fusion-footer-copyright-area a {
    color: rgba(255, 255, 255, 0.90) !important;
    text-decoration: none !important;
}

.fusion-footer a:hover,
.fusion-footer-copyright-area a:hover {
    color: #ffffff !important;
    opacity: 0.86 !important;
}

/* ============================================================
   AKE BUGFIX PATCH: Search + Leitgedanke Buttons + Slider Images
   Add at the very end of current CSS.
   ============================================================ */


/* ------------------------------------------------------------
   1. Header-Suche wieder sichtbar machen
   Logo links, Suche rechts oben
   ------------------------------------------------------------ */

/* Falls frühere Patches die Suche versteckt haben */
.fusion-main-menu-search,
.fusion-header .fusion-search-form,
.fusion-header .searchform,
.fusion-header form.searchform,
.fusion-header form[role="search"],
.fusion-header .search-table,
.fusion-header .fusion-search-form-content {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Header-Zeile als Anker für absolute Suche */
.fusion-header,
.fusion-header .fusion-row {
    overflow: visible !important;
}

.fusion-header .fusion-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Logo links belassen */
.fusion-logo {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: flex-start !important;
}

.fusion-logo img {
    transform: scale(1.04) !important;
    transform-origin: left center !important;
}

/* Echtes Suchformular rechts oben */
.fusion-header form[role="search"],
.fusion-header form.searchform,
.fusion-header .searchform,
.fusion-header .fusion-search-form,
.fusion-header .fusion-search-form-content,
.fusion-header .search-table {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 50 !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* Suchfeld */
.fusion-header input[type="search"],
.fusion-header .s,
.fusion-header .search-field {
    display: block !important;
    width: 230px !important;
    min-width: 230px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(17, 26, 22, 0.16) !important;
    background: #ffffff !important;
    color: var(--ake-text) !important;
}

/* Suchbutton */
.fusion-header input[type="submit"],
.fusion-header button[type="submit"],
.fusion-header .fusion-search-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;

    padding: 0 !important;
    margin: 0 0 0 6px !important;
    border-radius: 999px !important;

    background: var(--ake-green-800) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(17, 26, 22, 0.16) !important;
    transform: none !important;
}

.fusion-header input[type="submit"]:hover,
.fusion-header button[type="submit"]:hover,
.fusion-header .fusion-search-submit:hover {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;

    background: var(--ake-green-600) !important;
    color: #ffffff !important;
    transform: none !important;
}

/* Lupe leicht nach links */
.fusion-header button[type="submit"]::before,
.fusion-header .fusion-search-submit::before,
.fusion-main-menu-search a::before,
.fusion-main-menu-icon::before {
    transform: translateX(-3px) !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Falls Avada nur den Menü-Suchtrigger rendert: nicht verstecken */
.fusion-main-menu .fusion-main-menu-search {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* ------------------------------------------------------------
   2. Abstand zwischen "Mehr Erfahren" und "Rückblick Jubiläum"
   Deine HTML-Struktur: .fusion-text-1 + div + div
   ------------------------------------------------------------ */

.fusion-text-1 + div {
    margin-top: 24px !important;
}

.fusion-text-1 + div + div {
    margin-top: 16px !important;
}

/* Die beiden Buttons selbst sauber als Block behandeln */
.fusion-text-1 + div .fusion-button,
.fusion-text-1 + div + div .fusion-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
}

/* Falls die Buttons volle Breite behalten sollen */
.fusion-text-1 + div,
.fusion-text-1 + div + div {
    display: block !important;
    width: 100% !important;
}


/* ------------------------------------------------------------
   3. Sliderbilder: Backend respektieren, nur Spiritualität ersetzen
   ------------------------------------------------------------ */

/* Meditation & Achtsamkeit: nutzt neues Bild, sobald hochgeladen */
:root {
    --ake-img-hero-meditation: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-hero-meditation-achtsamkeit.png") !important;
    --ake-img-hero-fuehrung: url("https://kloster-academie.de/wp-content/themes/Avada-Child-Theme/img/ake-hero-fuehrung-werte.png") !important;
}

/* Meditation & Achtsamkeit */
#fusion-slider-29 .slide-id-1362 .background {
    background-image:
            linear-gradient(90deg, rgba(16, 26, 22, 0.76), rgba(31, 51, 43, 0.48) 46%, rgba(31, 51, 43, 0.14)),
            var(--ake-img-hero-meditation) !important;
}

/* Führung & Werte */
#fusion-slider-29 .slide-id-1365 .background {
    background-image:
            linear-gradient(90deg, rgba(16, 26, 22, 0.76), rgba(31, 51, 43, 0.48) 46%, rgba(31, 51, 43, 0.14)),
            var(--ake-img-hero-fuehrung) !important;
}

/* Spiritualität & Gesellschaft */
#fusion-slider-29 .slide-id-1368 .background {
    background-image:
            linear-gradient(90deg, rgba(16, 26, 22, 0.78), rgba(31, 51, 43, 0.50) 46%, rgba(31, 51, 43, 0.16)),
            var(--ake-img-hero) !important;
}

/* Falls du wieder Backend-Bilder für 1362/1365 nutzen willst:
   Diese beiden Regeln oben für slide-id-1362 und slide-id-1365 löschen. */



/* ============================================================
   AKE FINAL HEADER SEARCH FIX
   Suche ab 1024px sichtbar halten
   ============================================================ */


/* ------------------------------------------------------------
   Desktop / Tablet Landscape: Suche sichtbar ab 1024px
   ------------------------------------------------------------ */

@media (min-width: 1024px) {

    .fusion-header,
    .fusion-header .fusion-row,
    .fusion-header-wrapper {
        overflow: visible !important;
    }

    .fusion-header .fusion-row {
        position: relative !important;
        min-height: 108px !important;
    }

    /* Alle möglichen Avada-Suchcontainer wieder sichtbar machen */
    .fusion-header .searchform,
    .fusion-header form.searchform,
    .fusion-header form[role="search"],
    .fusion-header .fusion-search-form,
    .fusion-header .fusion-search-form-content,
    .fusion-header .search-table,
    .fusion-header .fusion-search-field,
    .fusion-header .fusion-search-submit {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Suchformular rechts oben platzieren */
    .fusion-header .searchform,
    .fusion-header form.searchform,
    .fusion-header form[role="search"],
    .fusion-header .fusion-search-form,
    .fusion-header .fusion-search-form-content,
    .fusion-header .search-table {
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 80 !important;
        margin: 0 !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Falls Avada table-cell nutzt */
    .fusion-header .search-table,
    .fusion-header .search-field,
    .fusion-header .search-button {
        float: none !important;
        clear: none !important;
    }

    /* Suchfeld */
    .fusion-header input[type="search"],
    .fusion-header .s,
    .fusion-header .search-field input,
    .fusion-header .searchform .s {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 230px !important;
        min-width: 230px !important;
        max-width: 230px !important;

        height: 42px !important;
        min-height: 42px !important;

        padding: 0 14px !important;
        border-radius: 14px !important;
        border: 1px solid rgba(17, 26, 22, 0.16) !important;
        background: #ffffff !important;
        color: var(--ake-text) !important;
        box-sizing: border-box !important;
    }

    /* Suchbutton */
    .fusion-header input[type="submit"],
    .fusion-header button[type="submit"],
    .fusion-header .fusion-search-submit,
    .fusion-header .searchsubmit {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;

        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;

        padding: 0 !important;
        margin: 0 0 0 6px !important;

        border-radius: 999px !important;
        border: 0 !important;

        background: var(--ake-green-800) !important;
        color: #ffffff !important;
        box-shadow: 0 8px 22px rgba(17, 26, 22, 0.16) !important;

        transform: none !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
    }

    .fusion-header input[type="submit"]:hover,
    .fusion-header button[type="submit"]:hover,
    .fusion-header .fusion-search-submit:hover,
    .fusion-header .searchsubmit:hover {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;

        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;

        background: var(--ake-green-600) !important;
        color: #ffffff !important;
        transform: none !important;
    }

    /* Lupe optisch minimal nach links */
    .fusion-header button[type="submit"]::before,
    .fusion-header .fusion-search-submit::before,
    .fusion-header .searchsubmit::before {
        transform: translateX(-3px) !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    /* Desktop-Menü-Suchtrigger nicht als Ersatz/zweite Suche verwenden */
    .fusion-main-menu .fusion-main-menu-search {
        display: none !important;
    }
}


/* ------------------------------------------------------------
   Zwischen 1024px und 1180px: Suchfeld etwas schmaler,
   damit Logo + Suche nicht kollidieren
   ------------------------------------------------------------ */

@media (min-width: 1024px) and (max-width: 1180px) {

    .fusion-header input[type="search"],
    .fusion-header .s,
    .fusion-header .search-field input,
    .fusion-header .searchform .s {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
    }

    .fusion-logo img {
        transform: scale(0.96) !important;
    }
}


/* ------------------------------------------------------------
   Unter 1024px: Header-Suche nicht erzwingen.
   Sonst kollidiert sie mit Mobile Header / Burger.
   ------------------------------------------------------------ */

@media (max-width: 1023px) {

    .fusion-header .searchform,
    .fusion-header form.searchform,
    .fusion-header form[role="search"],
    .fusion-header .fusion-search-form,
    .fusion-header .fusion-search-form-content,
    .fusion-header .search-table {
        position: static !important;
        transform: none !important;
        max-width: 100% !important;
    }
}

/* ============================================================
   AKE Search Visual Polish
   Suchfeld sauber als eine Einheit darstellen
   ============================================================ */

@media (min-width: 1024px) {

    .fusion-header form[role="search"],
    .fusion-header form.searchform,
    .fusion-header .searchform,
    .fusion-header .fusion-search-form,
    .fusion-header .fusion-search-form-content,
    .fusion-header .search-table {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    /* Avada Tabellen-/Wrapper-Struktur neutralisieren */
    .fusion-header .search-table,
    .fusion-header .search-field,
    .fusion-header .search-button,
    .fusion-header .search-field input,
    .fusion-header .search-button input {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .fusion-header .search-field {
        display: block !important;
        overflow: visible !important;
    }

    /* Nur das echte Input bekommt die sichtbare weiße Fläche */
    .fusion-header input[type="search"],
    .fusion-header .s,
    .fusion-header .search-field input,
    .fusion-header .searchform .s {
        width: 230px !important;
        min-width: 230px !important;
        max-width: 230px !important;

        height: 44px !important;
        min-height: 44px !important;

        padding: 0 18px !important;
        margin: 0 !important;

        background: #ffffff !important;
        color: var(--ake-text) !important;

        border: 1px solid rgba(17, 26, 22, 0.14) !important;
        border-right: 0 !important;

        border-radius: 16px 0 0 16px !important;
        box-shadow: 0 8px 22px rgba(17, 26, 22, 0.06) !important;

        box-sizing: border-box !important;
        outline: none !important;
    }

    .fusion-header input[type="search"]:focus,
    .fusion-header .s:focus,
    .fusion-header .search-field input:focus {
        border-color: rgba(17, 26, 22, 0.22) !important;
        box-shadow: 0 0 0 4px rgba(32, 52, 44, 0.10) !important;
    }

    /* Grüner Button direkt anschließend */
    .fusion-header input[type="submit"],
    .fusion-header button[type="submit"],
    .fusion-header .fusion-search-submit,
    .fusion-header .searchsubmit {
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;

        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;

        padding: 0 !important;
        margin: 0 !important;

        border: 0 !important;
        border-radius: 999px !important;

        background: var(--ake-green-800) !important;
        color: #ffffff !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        transform: translateX(-6px) !important;
        box-shadow: 0 10px 24px rgba(17, 26, 22, 0.22) !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }

    .fusion-header input[type="submit"]:hover,
    .fusion-header button[type="submit"]:hover,
    .fusion-header .fusion-search-submit:hover,
    .fusion-header .searchsubmit:hover {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;

        background: var(--ake-green-600) !important;
        transform: translateX(-6px) !important;
        box-shadow: 0 12px 28px rgba(17, 26, 22, 0.26) !important;
    }

    /* Lupe optisch mittig im Kreis */
    .fusion-header button[type="submit"]::before,
    .fusion-header .fusion-search-submit::before,
    .fusion-header .searchsubmit::before {
        transform: translateX(0) !important;
        margin: 0 !important;
        line-height: 1 !important;
        font-size: 16px !important;
        width: 16px !important;
        height: 16px !important;
        text-align: center !important;
    }
}

@media (min-width: 1024px) and (max-width: 1180px) {
    .fusion-header input[type="search"],
    .fusion-header .s,
    .fusion-header .search-field input,
    .fusion-header .searchform .s {
        width: 185px !important;
        min-width: 185px !important;
        max-width: 185px !important;
    }
}

/* ============================================================
   AKE Subpage Content Surface v3
   Gleicher getönter Hintergrund wie Kalender,
   aber nur eine Content-Card.
   Eventkalender bleibt unberührt.
   ============================================================ */


/* ------------------------------------------------------------
   1. Normale Inhaltsseiten: Main bekommt den getönten Background
   ------------------------------------------------------------ */

body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #main.clearfix,
body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #main {
    background:
            linear-gradient(rgba(238, 239, 232, 0.90), rgba(222, 222, 211, 0.96)),
            var(--ake-img-texture) center top / cover fixed no-repeat !important;

    padding-top: clamp(52px, 6vw, 88px) !important;
    padding-bottom: clamp(68px, 7vw, 116px) !important;
}


/* ------------------------------------------------------------
   2. Äußerer Avada-Wrapper ist nur Breiten-Container
   Keine Card auf .fusion-row, sonst doppelte Rahmen.
   ------------------------------------------------------------ */

body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #main > .fusion-row {
    max-width: 1120px !important;
    width: calc(100% - 56px) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}


/* ------------------------------------------------------------
   3. Nur #content ist die eigentliche Inhaltsfläche
   ------------------------------------------------------------ */

body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;

    background:
            linear-gradient(180deg, rgba(255,255,255,0.985), rgba(250,250,246,0.985)) !important;

    border: 1px solid rgba(17, 26, 22, 0.15) !important;
    border-radius: 28px !important;

    box-shadow:
            0 28px 76px rgba(17, 26, 22, 0.14),
            0 0 0 1px rgba(255,255,255,0.62) inset !important;

    padding: clamp(42px, 5vw, 72px) !important;
    box-sizing: border-box !important;
}


/* ------------------------------------------------------------
   4. Innere Avada-Wrapper neutral halten
   ------------------------------------------------------------ */

body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content .post-content,
body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content .fusion-fullwidth,
body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content .fusion-builder-row,
body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content .fusion-row {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* ------------------------------------------------------------
   5. Typografie für Impressum / Datenschutz / einfache Seiten
   ------------------------------------------------------------ */

body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content h1,
body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content h2,
body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content h3 {
    color: var(--ake-green-950) !important;
    margin-top: 0 !important;
    margin-bottom: 0.75em !important;
}

body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content p,
body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content li {
    color: var(--ake-copy) !important;
    font-size: 17px !important;
    line-height: 1.78 !important;
}

body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content a {
    color: var(--ake-green-850) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(17, 26, 22, 0.28) !important;
}

body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content a:hover {
    color: var(--ake-green-600) !important;
}


/* ------------------------------------------------------------
   6. Eventkalender explizit unberührt lassen
   ------------------------------------------------------------ */

body.post-type-archive-tribe_events #main,
body.tribe-events-page-template #main {
    background:
            linear-gradient(rgba(238, 239, 232, 0.90), rgba(222, 222, 211, 0.96)),
            var(--ake-img-texture) center top / cover fixed no-repeat !important;
}

body.post-type-archive-tribe_events #main > .fusion-row,
body.tribe-events-page-template #main > .fusion-row,
body.post-type-archive-tribe_events #content,
body.tribe-events-page-template #content {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}


/* ------------------------------------------------------------
   7. Mobile
   ------------------------------------------------------------ */

@media (max-width: 900px) {
    body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #main.clearfix,
    body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #main {
        background:
                linear-gradient(rgba(238, 239, 232, 0.92), rgba(222, 222, 211, 0.98)),
                var(--ake-img-texture) center top / cover scroll no-repeat !important;

        padding-top: 32px !important;
        padding-bottom: 56px !important;
    }

    body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #main > .fusion-row {
        width: calc(100% - 28px) !important;
    }

    body:not(.home):not(.post-type-archive-tribe_events):not(.tribe-events-page-template) #content {
        border-radius: 22px !important;
        padding: 28px 22px !important;
    }
}



/* ============================================================
   AKE 100%-Template Unterseiten Patch v2
   Scope: /ueber-uns/ und Personen-Unterseiten
   Nicht für Startseite, Eventkalender, Impressum-Card.
   ============================================================ */


/* ------------------------------------------------------------
   0. Startseite: versehentliche "Über uns"-Pill zurücknehmen
   ------------------------------------------------------------ */

body.home .fusion-text-7,
body.home .fusion-text-7 h1,
body.home .fusion-text-7 h2,
body.home .fusion-text-7 h3,
body.home .fusion-text-7 a {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: var(--ake-green-950) !important;
    text-shadow: none !important;
}

body.home .fusion-text-7 h2,
body.home .fusion-text-7 h2 a {
    text-align: center !important;
    color: var(--ake-green-950) !important;
}


/* ------------------------------------------------------------
   1. 100%-Template-Seiten aus Subpage-Card-Logik herausnehmen
   ------------------------------------------------------------ */

html.avada-is-100-percent-template body:not(.home) #main.width-100,
html.avada-is-100-percent-template body:not(.home) #main.width-100.clearfix {
    background:
            linear-gradient(rgba(238,239,232,0.90), rgba(222,222,211,0.96)),
            var(--ake-img-texture) center top / cover fixed no-repeat !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 > .fusion-row,
html.avada-is-100-percent-template body:not(.home) #main.width-100 #content {
    max-width: none !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}


/* ------------------------------------------------------------
   2. Unterseiten-Hero / Slider-Title reparieren
   Wichtig: nicht #fusion-slider-29 auf der Startseite anfassen
   ------------------------------------------------------------ */

html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29),
html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .slides,
html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .slides li,
html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .background {
    min-height: clamp(300px, 34vw, 460px) !important;
    height: clamp(300px, 34vw, 460px) !important;
}

html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .background {
    background-size: cover !important;
    background-position: center center !important;
    position: relative !important;
}

html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .background::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
            linear-gradient(90deg, rgba(16,26,22,0.70), rgba(16,26,22,0.46) 48%, rgba(16,26,22,0.18)),
            linear-gradient(180deg, rgba(16,26,22,0.18), rgba(16,26,22,0.34)) !important;
    z-index: 1 !important;
}

html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .slide-content-container,
html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .slide-content,
html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .heading {
    position: relative !important;
    z-index: 3 !important;
}

html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .heading .fusion-title-sc-wrapper {
    background: rgba(16,26,22,0.62) !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    border-radius: 24px !important;
    padding: clamp(18px, 3vw, 34px) clamp(26px, 5vw, 62px) !important;
    box-shadow: 0 22px 60px rgba(0,0,0,0.30) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .heading h1,
html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .heading h2,
html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .heading h1 *,
html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .heading h2 * {
    color: #ffffff !important;
    text-shadow: 0 6px 28px rgba(0,0,0,0.62) !important;
}


/* ------------------------------------------------------------
   3. "Unser Dank..." nur auf 100%-Template-Unterseiten
   Nicht auf Startseite .fusion-text-7 anwenden.
   ------------------------------------------------------------ */

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7 {
    background: rgba(16,26,22,0.60) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 22px !important;
    padding: clamp(22px, 4vw, 42px) !important;
    box-shadow: 0 20px 54px rgba(0,0,0,0.24) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7 h1,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7 h2,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7 h3,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7 h4,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7 p,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7 b,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-text-7 strong {
    color: #ffffff !important;
    text-shadow: 0 4px 22px rgba(0,0,0,0.45) !important;
}


/* ------------------------------------------------------------
   4. Person Cards auf /ueber-uns/: gleiche Höhe + dunkler Text
   ------------------------------------------------------------ */

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row:has(.fusion-person) {
    align-items: stretch !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row:has(.fusion-person) .fusion-layout-column {
    display: flex !important;
    margin-bottom: 34px !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row:has(.fusion-person) .fusion-column-wrapper {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person {
    flex: 1 1 auto !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;

    background: #ffffff !important;
    border: 1px solid rgba(17,26,22,0.13) !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 42px rgba(17,26,22,0.10) !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-shortcode-image-wrapper,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-image-container {
    width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    background: #e8e7df !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-img,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-desc {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;

    background: #ffffff !important;
    padding: 26px 26px 30px !important;
    margin-top: 0 !important;
}

/* Keine weiße Schrift auf hellem Hintergrund */
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-desc,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-desc *,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-author,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-author *,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-name,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-title,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-content,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-content * {
    color: var(--ake-text) !important;
    text-shadow: none !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-name {
    display: block !important;
    color: var(--ake-green-950) !important;
    font-weight: 850 !important;
    letter-spacing: 0.025em !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-title {
    display: block !important;
    color: var(--ake-muted-dark) !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}

/* "Mehr Informationen" / "Zur Person"-Button */
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person + div {
    margin-top: 14px !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person + div .fusion-button {
    width: 100% !important;
    background: var(--ake-green-800) !important;
    border-color: var(--ake-green-800) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    box-shadow: 0 10px 26px rgba(17,26,22,0.16) !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person + div .fusion-button *,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person + div .fusion-button .fusion-button-text {
    color: #ffffff !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person + div .fusion-button:hover {
    background: var(--ake-green-600) !important;
    border-color: var(--ake-green-600) !important;
}


/* ------------------------------------------------------------
   5. Person-Einzelseiten: Sidebar/Contentboxen lesbar machen
   Beispiel: Interviews-Box auf /marcus-luebbering/
   ------------------------------------------------------------ */

html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background {
    border-radius: 24px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow: 0 18px 48px rgba(17,26,22,0.16) !important;
    overflow: hidden !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper[style*="background-color:#231800"],
html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper[style*="background-color: #231800"] {
    background:
            radial-gradient(circle at 10% 0%, rgba(255,255,255,0.08), transparent 24rem),
            linear-gradient(135deg, var(--ake-green-800), var(--ake-green-950)) !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background .content-box-heading,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background .heading h1,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background .heading h2,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background .heading h3,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background .content-container,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background .content-container *,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background p {
    color: rgba(255,255,255,0.92) !important;
    text-shadow: none !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background .content-container {
    padding-top: 10px !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .content-box-wrapper.content-wrapper-background .content-container p {
    line-height: 1.68 !important;
}


/* ------------------------------------------------------------
   6. CTA auf 100%-Template-Unterseiten:
   konkreter row-10-Fix für /ueber-uns/
   ------------------------------------------------------------ */

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) {
    background:
            radial-gradient(circle at 10% 0%, rgba(255,255,255,0.10), transparent 30rem),
            linear-gradient(135deg, var(--ake-green-700), var(--ake-green-950)) !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    border-bottom: 1px solid rgba(255,255,255,0.14) !important;
    padding-top: clamp(72px, 7vw, 112px) !important;
    padding-bottom: clamp(72px, 7vw, 112px) !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 .fusion-column-wrapper,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) .fusion-column-wrapper {
    background:
            linear-gradient(90deg, rgba(16,26,22,0.84), rgba(16,26,22,0.58)),
            var(--ake-img-cta) center center / cover no-repeat !important;
    color: #ffffff !important;
    border-radius: 38px !important;
    padding: clamp(44px, 6vw, 84px) !important;
    box-shadow:
            0 34px 90px rgba(17,26,22,0.28),
            0 0 0 1px rgba(255,255,255,0.14) inset !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 h1,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 h2,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 h3,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 p,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 span,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) h1,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) h2,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) h3,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) p,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) span {
    color: #ffffff !important;
    text-shadow: none !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 .fusion-button,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) .fusion-button {
    background: #ffffff !important;
    color: var(--ake-green-950) !important;
    border: 1px solid rgba(255,255,255,0.78) !important;
    border-radius: 999px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.26) !important;
    margin-top: 28px !important;
}

html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 .fusion-button *,
html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) .fusion-button * {
    color: var(--ake-green-950) !important;
}


/* ------------------------------------------------------------
   7. Footer etwas heller / weniger schwarz
   ------------------------------------------------------------ */

#footer,
.fusion-footer,
.fusion-footer-widget-area,
.fusion-footer-copyright-area {
    background:
            radial-gradient(circle at 12% 0%, rgba(255,255,255,0.11), transparent 34rem),
            linear-gradient(180deg, #243a31 0%, #172820 100%) !important;
    color: rgba(255,255,255,0.82) !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
}

#footer *,
.fusion-footer *,
.fusion-footer-widget-area *,
.fusion-footer-copyright-area * {
    border-color: rgba(255,255,255,0.24) !important;
}

.fusion-footer h1,
.fusion-footer h2,
.fusion-footer h3,
.fusion-footer h4,
.fusion-footer h5,
.fusion-footer h6,
.fusion-footer-widget-area h4,
.fusion-footer-widget-area .widget-title {
    color: #ffffff !important;
    letter-spacing: 0.055em !important;
    text-transform: uppercase !important;
}

.fusion-footer p,
.fusion-footer li,
.fusion-footer span,
.fusion-footer-copyright-area,
.fusion-copyright-notice {
    color: rgba(255,255,255,0.78) !important;
}

.fusion-footer a,
.fusion-footer-copyright-area a {
    color: rgba(255,255,255,0.92) !important;
    text-decoration: none !important;
}

.fusion-footer a:hover,
.fusion-footer-copyright-area a:hover {
    color: #ffffff !important;
    opacity: 0.88 !important;
}


/* ------------------------------------------------------------
   8. Mobile
   ------------------------------------------------------------ */

@media (max-width: 900px) {
    html.avada-is-100-percent-template body:not(.home) .tfs-slider:not(#fusion-slider-29) .heading .fusion-title-sc-wrapper {
        padding: 20px 24px !important;
        border-radius: 20px !important;
    }

    html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-person .person-desc {
        padding: 22px !important;
    }

    html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row:has(.fusion-person) .fusion-layout-column {
        margin-bottom: 24px !important;
    }

    html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-builder-row-10 .fusion-column-wrapper,
    html.avada-is-100-percent-template body:not(.home) #main.width-100 .fusion-fullwidth:has(a[href*="/mitglied-werden/"]) .fusion-column-wrapper {
        padding: 30px 22px !important;
        border-radius: 26px !important;
    }
}

.fusion-separator-border.sep-double{
    display: none!important;
}