/*
Theme Name:     Pavilon paliativní a podpůrné péče
Theme URI:      https://4pnemjh.cz
Description:    Child theme for Divi – customized for Pavilon paliativní a podpůrné péče
Author:         David Klhufek
Author URI:     https://phirebase.com
Template:       Divi
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    pnemjh
*/

/* Menu CTA */
@media (min-width: 980px) {
    #top-menu .menu_cta {
        display: inline-block !important;
        margin-left: 0px !important; 
    }
    #top-menu .menu_cta a {
        background-color: #84143C !important; 
        color: #fff !important; 
        padding: 12px 15px !important; 
        font-weight: bold !important;
        text-transform: uppercase !important;
        border: 2px solid #84143C !important; 
        border-radius: 5px !important; 
        display: inline-block !important;
        transition: all 0.3s ease-in-out !important;
    }
    #top-menu .menu_cta a:hover {
        background-color: #84143C !important; 
        color: #fff !important; 
        text-decoration: none !important;
    }
    #top-menu .menu_cta a:before {
        content: none !important;
    }
}

/* Fix text colour in CTA button with fixed head */
.et-fixed-header #top-menu .menu_cta a {
    color: #fff !important; 
}
.et-fixed-header #top-menu .menu_cta a:hover {
    color: #fff !important; 
}
.page-id-41 .et-fixed-header #top-menu .menu_cta a {
    color: #fff!important;
}

/* Fix for CTA button for Mobile menu */
@media (max-width: 1159px) {
    #mobile_menu .menu_cta a, 
    .et_mobile_menu .menu_cta a, 
    #top-menu .menu_cta a {
        background-color: #84143C !important; 
        color: #ffffff !important; 
        border: 2px solid #84143C !important; 
    }

    #mobile_menu .menu_cta a:hover, 
    .et_mobile_menu .menu_cta a:hover, 
    #top-menu .menu_cta a:hover {
        background-color: #84143C !important; 
        color: #fff !important; 
    }
}

/* === Sociální ikony: zaoblený hexagon pomocí SVG masky === */
.et_pb_social_media_follow .et_pb_social_icon a {
    background-color: #ffffff !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    mask: url('/wp-content/themes/4pnemjh/img/hexagon-rounded.svg') center/contain no-repeat;
    -webkit-mask: url('/wp-content/themes/4pnemjh/img/hexagon-rounded.svg') center/contain no-repeat;
    border-radius: 0 !important;
    transition: background 0.3s ease;
}


/* === Scroll to Top Button === */
.et_pb_scroll_top.et-pb-icon {
    color: white;
    right: 30px;
    bottom: 30px;
    padding: 8px;
    border-radius: 30px;
    background: #84143C; 
    font-size: 32px;
    transition: all 0.1s ease-in-out;
}

.et_pb_scroll_top.et-pb-icon:hover {
    bottom: 32px;
    background: #84143C;
    transition: all 0.1s ease-in-out;
}

/* === Scroll Top Animations === */
.et_pb_scroll_top.et-visible {
    animation: fadeInBottom 1s cubic-bezier(0.50, 0, 0.16, 1);
}
.et_pb_scroll_top.et-hidden {
    opacity: 0;
    animation: fadeOutBottom 1s cubic-bezier(0.77, 0, 0.175, 1);
}

/* === Mobile Menu Styling === */
ul#mobile_menu.et_mobile_menu a,
ul#top-menu a {
    text-transform: uppercase;
}

/* === Image Titles Off === */
.mfp-title {
    display: none;
}

/* === Blog volné pozice footer === */
.pozice-footer .et_pb_post
 {
    margin-bottom: 0px; 
    word-wrap: break-word;
}
