/* ==========================================================
   HOLY HEALING VALLEY - GUTENBERG BLOCKS MAIN STYLESHEET
   Datei: gutenberg-blocks.css
   ========================================================== */

/* ----------------------------------------------------------
   0. FONTS IMPORT
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Cinzel:300,400,500,700|Montserrat:300,400,500,700&display=swap');

/* ----------------------------------------------------------
   1. NAVIGATION & HEADER STYLES (Aus styleGruen.css & all.css)
   ---------------------------------------------------------- */
#header {
    height: 90px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
}

#header .headerWrap,
#header .headerWrap2 {
    width: 100%;
    position: fixed !important;
    left: 0 !important;
    top: 0;
    z-index: 99999;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease, left 0.6s ease;
}

/* Header Sticky Status */
#header .headerWrap.is-sticky,
#header .headerWrap2.is-sticky {
    background: #1A382A;
    border-bottom-color: rgba(0, 0, 0, 0) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

/* Logo */
.logo {
    display: block !important;
    float: left !important;
    margin: 0 0 0 40px !important;
    padding: 18px 0 !important;
    background: url('images/healing_valley_logo_gold.svg') left center no-repeat;
    width: 270px;
    transition: margin 0.3s ease, padding 0.3s ease !important;
}

#menu-primary-menu {
list-style: "";
height: 0px;
}

#header .is-sticky .logo {
    margin-top: 0 !important;
    padding: 18px 0 !important;
}

/* Hauptmenü Desktop */
.mainMenu {
    float: right;
    margin: 0 26px 0 0;
    transition: margin 0.3s ease;
}

#header .is-sticky .mainMenu {
    margin-top: 22px;
}

.mainMenu ul {
    list-style: none!important;
    margin: 0;
    padding: 0;
}

.mainMenu > ul > li {
    position: relative;
    float: left;
    padding-bottom: 36px;
    margin: 0 0 0 30px;
}

#header .is-sticky .mainMenu > ul > li {
    padding-bottom: 21px;
}

.mainMenu > ul > li:first-child {
    margin-left: 0;
}

.mainMenu > ul > li a, 
.mainMenu > ul > li a:visited {
    display: block;
    line-height: 16px;
    padding: 0 5px;
    white-space: nowrap;
    color: #fff;
    opacity: 0.8;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.mainMenu > ul > li.current-menu-item a, 
.mainMenu > ul > li a:hover {
    color: #fff;
    opacity: 1;
}

#header .is-sticky .mainMenu ul li a {
    color: #E0C47D;
    opacity: 1;
}

/* Submenu Dropdown */
.mainMenu ul li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 30px;
    padding: 10px 0;
    background: #333333;
    z-index: 99999;
}

#header .is-sticky .mainMenu ul li ul {
    top: 37px;
}

.mainMenu ul li:hover ul {
    display: block;
}

.mainMenu ul li ul li {
    position: relative;
    float: none;
    padding: 0;
    margin: 0;
}

.mainMenu ul li ul li a {
    line-height: 32px;
    padding: 0 40px 0 20px !important;
    color: #fff !important;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
}

.mainMenu ul li ul li a:hover {
    color: #E0C47D !important;
    background: rgba(0,0,0,0.2);
}

/* Mobile Bar Bottom (aus styleGruen.css) */
.navbar_mobile {
    display: none;
}

@media (max-width: 1024px) {
    #header .is-sticky .logo, 
    .logo {
        margin: 5px 0 0 20px !important;
        padding: 21px 0 !important;
        width: 220px;
        background-size: contain;
    }
}

@media (max-width: 480px) {
    .navbar_mobile {
        display: block;
        background-color: #E0C47D;
        overflow: hidden;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    .navbar_mobile a {
        float: left;
        width: 49.8%;
        display: block;
        color: #1A382A;
        text-align: center;
        padding: 20px 0;
        text-decoration: none;
        font-size: 15px;
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
    }

    .navbar_mobile a:first-child {
        border-right: 1px solid rgba(255, 255, 255, 0.5);
    }
}


/* ----------------------------------------------------------
   2. BASICS & LAYOUT CONTAINER (Gutenberg)
   ---------------------------------------------------------- */
body {
    font-family: 'Cinzel', sans-serif;
    background-color: #ffffff;
    color: #676767;
    margin: 0;
    padding: 0;
}

.site-main {
    position: relative;
    padding-top: 0px !important; /* Versatz unter den fixen Header */
    clear: both;
}

.block-page-top-bar {
    width: 100%;
    height: 95px;
    background-color: #1A382A;
    display: block;
}

.wp-block-group,
.wp-block-columns,
.wp-block-column,
.wp-block-cover,
.wp-block-media-text {
    position: relative !important;
    clear: both;
    box-sizing: border-box;
}

.wp-block-group:not(.alignfull),
.wp-block-columns:not(.alignfull),
p:not(.alignfull),
h1:not(.alignfull),
h2:not(.alignfull),
h3:not(.alignfull) {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}


/* ----------------------------------------------------------
   3. TYPOGRAFIE & BLÖCKE
   ---------------------------------------------------------- */
p,
.wp-block-paragraph {
    font-family: 'Cinzel', sans-serif !important;
    font-size: 16px !important;
    line-height: 30px !important;
    color: #676767;
    font-weight: 400 !important;
    margin-bottom: 22px !important;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    font-family: 'Cinzel', sans-serif !important;
    position: relative !important;
    top: auto !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

h1, h1.wp-block-heading {
    font-size: 48px !important;
    line-height: 50px !important;
    font-weight: 300 !important;
}

h2, h2.wp-block-heading {
    font-size: 38px !important;
    line-height: 1.4em !important;
    font-weight: 500 !important;
}

h3, h3.wp-block-heading {
    font-size: 28px !important;
    line-height: 1.5em !important;
    font-weight: 300 !important;
}

/* Manuell gewählte Farben im Editor respektieren */
[class*="has-text-color"] { color: inherit; }
[class*="has-background"] { padding: 30px; }


/* ----------------------------------------------------------
   4. BUTTONS & CTAS
   ---------------------------------------------------------- */
.wp-block-button .wp-block-button__link {
    display: inline-block !important;
    line-height: 46px !important;
    padding: 0 40px !important;
    background-color: #1A382A !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 23px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: #70d3bb !important;
    color: #1A382A;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    border: 2px solid #E0C47D !important;
    color: #E0C47D !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #1A382A !important;
    color: #ffffff !important;
}


/* ----------------------------------------------------------
   5. PULLQUOTES, ZITATE & LISTEN
   ---------------------------------------------------------- */
.wp-block-pullquote,
figure.wp-block-pullquote,
.wp-block-quote {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 40px auto !important;
    padding: 30px 20px !important;
    text-align: center !important;
    border-left: 3px solid #1A382A !important;
    box-sizing: border-box !important;
}

.wp-block-pullquote blockquote p,
.wp-block-quote p {
    font-family: 'Cinzel', sans-serif !important;
    font-size: 22px !important;
    line-height: 1.6em !important;
    font-weight: 400 !important;
    margin-bottom: 10px !important;
}

.wp-block-pullquote cite,
.wp-block-pullquote__citation,
.wp-block-quote cite {
    display: block !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
}

    
    /* ==========================================================
   SPRACH-SWITCHER / MULTI-LANG ICON FIX (Aus all.css)
   ========================================================== */

.language-icon > a {
    display: inline-block;
    width: 24px;
    height: 24px;
    
    /* Text unsichtbar machen */
    color: transparent !important;
    font-size: 0 !important;
    overflow: hidden;
    
    /* Hintergrund & Icon */
    background-color: #f5f5dc;    /* Klassisches Beige */
    background-image: url('images/globe-language.svg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px auto;
    
    /* Verschönerung & Positionierung */
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: -5px;
}

.language-icon {
    position: relative;
}

.language-icon > ul {
    width: 90px;
}

.language-icon ul.sub-menu,
.language-icon .sub-menu {
    right: 0 !important;
    left: auto !important;
}

/* Mobile Ansicht für den Sprach-Switcher */
@media only screen and (max-width: 1023px) {
    .mobileMenu ul li.language-icon a {
        display: block !important;
        width: 100% !important;
        height: 20px !important;
        line-height: 20px !important;
        padding: 10px 22px !important;
        background-position: 20px;
        background-color: #f5f5dc;
    }
    .language-icon > ul {
        width: 100%;
    }
}