/*
 Theme Name:   Logico Child
 Description:  Logico Child Theme
 Theme URI:	   https://demo.artureanec.com/themes/logico
 Author:       Artureanec
 Author URI:   https://demo.artureanec.com
 Template:     logico
 Version:      1.0.0
 License: GNU  General Public License version 3.0
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  logico-child
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Child theme style.css — very first line */
@import url("./fonts/fonts.css");


/********************************************
  Force custom fonts globally (Elementor-safe)
  Place in: child theme style.css
*********************************************/

/***** FORCE FAMILY EVERYWHERE (except icons) *****/
html, body {
  font-family: "Gilroy" !important;
 /* font-family: "Gilroy", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important; */
}

/* Catch-all override: all descendants, but skip icon-y things */
body :where(*) :not(i):not(svg):not([class*="icon"]):not(.icon):not(.fa):not([class*="fa-"]):not(.eicon) {
  font-family: inherit;
}

/* Headings (native + Elementor) */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
  font-family: "Gilroy Semibold" !important;
  /*font-family: "Gilroy" !important;*/
  font-weight: 700;
  line-height: 1.2;
}
.content-slider-item-heading,
.logico-title {
  font-family: "Gilroy Semibold" !important;
}

/* Elementor global variables (if your kit uses them) */
:root,
[class^="elementor-kit-"],
[class*=" elementor-kit-"] {
  --e-global-typography-primary-font-family: "Gilroy Semibold";
  --e-global-typography-secondary-font-family: "Gilroy Semibold";
  --e-global-typography-text-font-family: "Gilroy";
  --e-global-typography-accent-font-family: "Gilroy";
}

/* Common UI bits: navs, buttons, form controls */
button, input, select, textarea,
.menu, .menu * ,
a, .btn, [class*="button"], [class*="btn"] {
  font-family: "Gilroy";
}

/***** ARABIC / RTL SWITCH *****/
html[lang|="ar"] body,
[dir="rtl"] body,
.arabic, .rtl-ar {
  font-family: "TheSansArabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif !important;
  font-weight: 300;
}

html[lang|="ar"] .elementor-heading-title,
[dir="rtl"] .elementor-heading-title,
.arabic .elementor-heading-title,
.rtl-ar .elementor-heading-title {
  font-family: "Gilroy", "TheSansArabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif !important;
}

html[lang|="ar"] button, html[lang|="ar"] input, html[lang|="ar"] select, html[lang|="ar"] textarea,
html[lang|="ar"] .menu, html[lang|="ar"] .menu * ,
html[lang|="ar"] a, html[lang|="ar"] .btn, html[lang|="ar"] [class*="button"], html[lang|="ar"] [class*="btn"] {
  font-family: "Gilroy", "TheSansArabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif !important;
}

html[lang|="ar"] h1, html[lang|="ar"] h2, html[lang|="ar"] h3, html[lang|="ar"] h4, html[lang|="ar"] h5, html[lang|="ar"] h6,
html[lang|="ar"] .elementor-heading-title,
html[lang|="ar"] .elementor-widget-heading .elementor-heading-title {
  font-family: "Gilroy", "TheSansArabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif !important;
  font-weight: 700;
  line-height: 1.5;
}
html[lang|="ar"] .logico-title {
  font-family: "Gilroy", "TheSansArabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif !important;
}

/* Utility classes if you want manual control */
.font-gilroy { font-family: "Gilroy" !important; }
.font-arabic { font-family: "Gilroy", "TheSansArabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif !important; }



/* ====== CTX Added Customized Style ========== */
.page-loader-container {display:none !important; visibility:hidden !important;}

.main-menu .sub-menu a:hover, .main-menu .sub-menu .current_page_item a,
.main-menu > li ul.sub-menu > li > a:before {color: #9B2743 !important;}

.home header .elementor .e-parent > div > div > div.elementor-element.sticky-container-off.e-con.e-child,
header .header-main-page .logo-main > div > div.elementor-element.sticky-container-off.e-con.e-child {padding-top:0; padding-bottom:0;}

.home header .elementor .e-parent, header .header-main-page, 
.header-page-wrap > div > div > div.elementor-element.sticky-container-off.e-con.e-child {padding-top:20px; padding-bottom:20px;}

.inhead-caption .slider-footer {display: none;}
.inheader-default .h5-title h5 {
  color: #ffffff;
} 

.btn-line .logico-alter-button,
.btn-line .logico-alter-button:hover {
	border-bottom: 1px solid #00617F !important;
	padding-left: 0 !important;
}
.wp-block-post-content h5:not([class*=logico-title-h]), .wp-block-post-content .logico-title-h5, .logico-front-end h5:not([class*=logico-title-h]), .logico-front-end .logico-title-h5 {
	text-transform: math-auto;
}
.footer-scroll-top {background-color:#9B2743;}
.footer-scroll-top:before {color: #ffffff;}

/*CTX == Widget Timeline Modification ==*/
.logico-timeline-widget .timeline-item {
  text-align: center;
}

.logico-timeline-widget .timeline-image {
  margin-bottom: 20px;
}

.logico-timeline-widget .timeline-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
