/*
Theme Name: Thrive Theme Child
Theme URI: https://perfectpcb.de
Description: Child theme for Thrive Theme
Author: Your Name
Template: thrive-theme
Version: 1.0
Text Domain: thrive-theme-child
*/

.tcb-carousel-container p:has(a:empty),
p:empty {
    display: none !important;
}
/* Global Button Start */
.tcb-button-link br {
    display: none;
}
/* Global Button End */


/* Post Article Start */
.tcb-post-list .type-post .thrv-content-box:nth-child(2) {
    aspect-ratio: 1 / 0.7;
}
.tcb-post-list .type-post .thrv-content-box:last-child {
    flex: 1;
}
.tcb-post-list .type-post > br ,
.tcb-post-list .type-post p:empty {
	display: none;
}

.tcb-post-content:empty {
    display: none;
}
.tcb-post-content:has(> .tve_flt.tcb-style-wrap) {
    padding-block: 0 !important;
}
.sidebar-section {
    height: max-content;
}

div.tcb-style-wrap h2 {
        padding-bottom: 16px;
}

.single-post .tar-main-content h2 {
    font-size: 32px;
}
.post-views.load-static {
    display: none;
}
.tcb-style-wrap p:last-child {
    padding-bottom: 0 !important;
}

.tcb-icon-close-offscreen {
opacity: 0;
transition: 0.3s;
left: calc(100% - 90px);
}
.tve-fullscreen-menu .tcb-icon-close-offscreen {
opacity: 1;
left: calc(100% - 8px) !important;
}
.thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-right .tve-m-trigger .tcb-icon-close, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-right .tve-m-trigger .tcb-icon-close-offscreen, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-left .tve-m-trigger .tcb-icon-close, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-left .tve-m-trigger .tcb-icon-close-offscreen, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-fullscreen .tve-m-trigger .tcb-icon-close, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-fullscreen .tve-m-trigger .tcb-icon-close-offscreen {
left: calc(100% - 8px) !important;
    background: #fff;
    transition: 0.3s;
    top: 9px;
}
@media (max-width: 1023px) {
.tcb-logo.thrv_wrapper {
    position: relative;
    z-index: 801;
}
}
@media (max-width: 767px) {
.single-post .tar-main-content h2 {
    font-size: 28px;
}
.thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-right .tve-m-trigger .tcb-icon-close, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-right .tve-m-trigger .tcb-icon-close-offscreen, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-left .tve-m-trigger .tcb-icon-close, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-left .tve-m-trigger .tcb-icon-close-offscreen, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-fullscreen .tve-m-trigger .tcb-icon-close, .thrv_widget_menu.thrv_wrapper[class*="tve-custom-menu-switch-icon-"].tve-mobile-side-fullscreen .tve-m-trigger .tcb-icon-close-offscreen {
    top: 3px;
}
.tcb-post-list .type-post .thrv-content-box:nth-child(2) {
    aspect-ratio: 1 / 0.4;
}
}
@media (max-width: 575px) {
    .tcb-post-list .type-post .thrv-content-box:nth-child(2) {
        aspect-ratio: 1 / 0.7;
    }
}

.cta-contact-form #tve-lg-error-container {
    position: relative;
    top: unset !important;
    left: unset;
    bottom: unset;
}
.cta-contact-form .thrv_lead_generation_container {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}
.cta-contact-form #tve-lg-error-container .tve-lg-err-close {
    margin: -8px 0px 0px;
}