/*
Theme Name: generatepress Child
Theme URI:  https://www.wpserveur.net
Author:     WPServeur
Author URI: https://www.wpserveur.net
Template:   generatepress
Version:    1.3.5
License:    GNU General Public License v2 or later
*/

.kub-hidden-scripts {
    display: none !important;
}

.kub-header-wrapper > .e-con-inner > .elementor-element:last-child > .e-con-inner > .elementor-element:last-child {
    width: auto;
    margin-left: auto;
}

.kub-lang-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 9999;
}

.kub-lang-wrapper svg {
    width: 18px;
    height: 18px;
}

.kub-lang-wrapper svg path {
    fill: #ffd800;
}

.kub-lang-switcher {
    position: relative;
}

.kub-lang-switcher span {
    color: #fff;
    font-family: "Mulish-SemiBold-500", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
}

.kub-lang-switcher:hover .kub-lang-switcher-popup {
    max-height: 1000px;
}

.kub-lang-switcher-popup {
    position: absolute;
    top: 100%;
    right: -5px;
    max-height: 0;
    background: #0c256f;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.kub-lang-switcher-popup a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    padding: 5px;
    display: inline-block;
    font-family: "Mulish-SemiBold-500", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
}

.kub-lang-switcher-popup a:hover {
    color: #fff;
    text-decoration: underline;
}

.single.single-post .kub-post-sidebar > div {
    position: sticky !important;
    top: 150px !important;
}

.single.single-post .kub-post-sidebar > div:nth-child(2) {
    display: none !important;
}



.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img,
.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail.elementor-fit-height img {
    position: static !important;
    transform: none !important;
    height: 285px !important;
    object-fit: contain !important;
    width: 100% !important;
}

.elementor-posts-container .elementor-post__thumbnail {
    padding-bottom: 0 !important;
}

.kub-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.kub-breadcrumbs {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .kub-header-wrapper > .e-con-inner > .elementor-element:last-child > .e-con-inner > .elementor-element:last-child {
        width: 60px;
    }

    .kub-header-wrapper > .e-con-inner > .elementor-element:last-child > .e-con-inner {
        flex-wrap: nowrap !important;
    }

    .single.single-post .kub-post-sidebar > div {
        position: static !important;
        visibility: visible !important;
    }

    .kub-post-wrapper > .e-con-inner {
        flex-direction: column-reverse !important;
    }
}