/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.elementor-icon-wrapper {
    display: flex;
}

/* Current banner selection; dimensions and colors remain in Elementor controls. */
[data-jbx-slider][aria-current="true"] .elementor-button-text {
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}
.hdr-btn .elementor-button-icon{
    background: #fff;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-content: center;
}
.hdr-btn:hover  .elementor-button-icon{
    background: #C5141C;
}
.hdr-btn:hover svg path{
    stroke: #fff !important;
}
/* Keep outline arrows unfilled when Elementor changes the SVG hover fill. */
.hdr-btn .elementor-button-icon svg path {
    fill: none;
}
.hdr-btn .elementor-button-content-wrapper{
	align-items: center;
}

/* Contrast states for native buttons that reuse the header's icon treatment. */
.jbx-action-btn .elementor-button,
.jbx-action-btn .elementor-button-icon,
.jbx-action-btn .elementor-button-icon svg path {
    transition: color .2s ease, background-color .2s ease, stroke .2s ease;
}
.jbx-action-btn:hover .elementor-button-icon svg path,
.jbx-action-btn:focus-within .elementor-button-icon svg path,
.jbx-white-btn .elementor-button-icon svg path { stroke: #FFFFFF; }
.jbx-white-btn .elementor-button-icon { background: #C5141C; }
.jbx-white-btn:hover .elementor-button-icon,
.jbx-white-btn:focus-within .elementor-button-icon { background: #FFFFFF; }
.jbx-white-btn:hover .elementor-button-icon svg path,
.jbx-white-btn:focus-within .elementor-button-icon svg path { stroke: #C5141C !important; }

/* Card backgrounds stay native; descendants follow the whole-card hover state. */
.jbx-type-card .jbx-type-icon svg rect { fill: #231F20; }
.jbx-type-card .jbx-type-icon svg path { fill: none; stroke: #FFFFFF; }
.elementor .elementor-element.jbx-type-card:hover .elementor-heading-title,
.elementor .elementor-element.jbx-type-card:hover .elementor-widget-text-editor { color: #FFFFFF; }
.jbx-type-card:hover .jbx-type-icon svg rect { fill: #FFFFFF; }
.jbx-type-card:hover .jbx-type-icon svg path { stroke: #231F20; }

/* Crop inactive previews without stretching photos; dimensions and radius stay native. */
/* Figma outline follows the native Icon widget colors without a solid fill. */
.jbx-project-arrow .elementor-icon svg path { fill: none; stroke: currentColor; }

#jbx-projects .swiper-slide > .e-con { clip-path: inset(0 round var(--border-radius)); transition: clip-path .6s ease; }
#jbx-projects .swiper-slide:not(.swiper-slide-active) > .e-con { clip-path: inset(9.43396% 0 round var(--border-radius)); }
#jbx-projects .swiper-slide-active > .jbx-project-preview-crop { background-size: cover; }
#jbx-projects .swiper-slide:not(.swiper-slide-active) .elementor-widget { opacity: 0; }
#jbx-projects .swiper-slide:not(.swiper-slide-active) > .e-con > .e-con { opacity: 0; }
#jbx-projects .swiper-slide:not(.swiper-slide-active) > .e-con::before { opacity: 0; }

/* Descendant contrast follows the native container hover background. */
#jbx-services .jbx-service-card .elementor-heading-title,
#jbx-services .jbx-service-card .elementor-widget-text-editor,
#jbx-services .jbx-service-card .elementor-icon,
#jbx-services .jbx-service-card .elementor-icon svg path { transition: color .2s ease, background-color .2s ease, stroke .2s ease; }
#jbx-services .jbx-service-card:hover .elementor-heading-title,
#jbx-services .jbx-service-card:focus-within .elementor-heading-title { color: #231F20; }
#jbx-services .jbx-service-card:hover .elementor-widget-text-editor,
#jbx-services .jbx-service-card:focus-within .elementor-widget-text-editor { color: #727272; }
#jbx-services .jbx-service-card:focus-within { background-color: #FFFFFF; }
#jbx-services .jbx-service-arrow .elementor-icon svg path { fill: none; stroke: #231F20; }
#jbx-services .jbx-service-card:hover .jbx-service-arrow .elementor-icon,
#jbx-services .jbx-service-card:focus-within .jbx-service-arrow .elementor-icon { background-color: #C5141C; }
#jbx-services .jbx-service-card:hover .jbx-service-arrow svg path,
#jbx-services .jbx-service-card:focus-within .jbx-service-arrow svg path { stroke: #FFFFFF; }

/* Preserve native heading typography on the linked footer phone number. */
.elementor-element-f5edc6d9 .elementor-heading-title a { font: inherit; }

/* Button icon boxes and icon gaps lack native responsive sizing controls. */
@media (max-width: 1024px) {
    .hdr-btn .elementor-button-icon { width: 36px; height: 36px; }
    .elementor .elementor-element.elementor-widget-button.hdr-btn .elementor-button .elementor-button-content-wrapper { gap: 12px; }
}
@media (max-width: 767px) {
    .hdr-btn .elementor-button-icon { width: 32px; height: 32px; }
    .elementor .elementor-element.elementor-widget-button.hdr-btn .elementor-button .elementor-button-content-wrapper { gap: 10px; }
}

/* Requested page scaling for intermediate desktop widths. */
@media only screen and (min-width: 1601px) and (max-width: 1799px) {
    html { zoom: 0.85; }
}
@media only screen and (min-width: 1441px) and (max-width: 1600px) {
    html { zoom: 0.8; }
}
@media only screen and (min-width: 1367px) and (max-width: 1440px) {
    html { zoom: 0.78;zoom: 78%;zoom: 78%; }
}
@media only screen and (min-width: 1201px) and (max-width: 1366px) {
    html { zoom: 0.75; }
}

/* Completed gallery pagination must remove the entire button widget and its spacing. */
#jbx-portfolio-load-more[hidden] { display: none !important; }
