/* Compatibility with the existing Teqtum theme family, including its child themes. */
/* Approved Proba Pro rollout. Preserve theme geometry, colors and icon fonts. */
:root { --ff: 'Proba Pro', 'Noto Sans Georgian', Arial, sans-serif; }
html, body { font-family: var(--ff); font-synthesis: none; }

/* Individual master and center pages focus on their own contact action.
   Keep site navigation, branding and privacy controls. */
:is(body.teqtum-master-page, body.teqtum-center-page) [is="desktop_navigate"] .bottom_header .header_rt_box,
:is(body.teqtum-master-page, body.teqtum-center-page) [is="footer"] .footer_top,
:is(body.teqtum-master-page, body.teqtum-center-page) [is="mobile_navigate"] .mobile_social,
:is(body.teqtum-master-page, body.teqtum-center-page) .hamburger_social,
:is(body.teqtum-master-page, body.teqtum-center-page) .chat_btn {
  display: none !important;
}

/* The additional entry link must not push long language menus outside the header. */
@media (min-width: 1180px) {
  body.teqtum-entry-navigation [is="desktop_navigate"] .top_header { height: auto; }
  body.teqtum-entry-navigation [is="desktop_navigate"] .top_header .header_box { height: auto; min-height: 48px; flex-wrap: wrap; gap: 0 20px; }
  body.teqtum-entry-navigation [is="desktop_navigate"] .top_header .header_box > div { min-width: 0; max-width: 100%; }
  body.teqtum-entry-navigation [is="desktop_navigate"] .top_header .header_box > div > div > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
  body.teqtum-entry-navigation [is="desktop_navigate"] .top_header .header_box > div > div > ul > li { margin-right: 0; }
}
body.page_private-customers [is="hero"] .swiper-slide.swiper-slide-3,
body.page_manufacturers [is="hero"] .swiper-slide.swiper-slide-3,
body.page_architects [is="hero"] .swiper-slide.swiper-slide-4,
body.page_manufacturers [is="hero"] .swiper-slide.swiper-slide-4 { font-family: var(--ff); }

/* Medium replaces the old semibold assignments. */
.form a,
label,
[is="desktop_navigate"] li.current_page_item a,
[is="footer"] li.current_page_item a,
[is="desktop_navigate"] .top_header ul > li.lang > a,
body:not(#bg_light) [is="desktop_navigate"] .top_header ul > li.lang > a,
[is="desktop_navigate"] li.lang ul li a,
[is="footer"] .footer_top ul li > span,
[is="footer"] .footer_bottom ul.search-box li > span,
.post-horizontal-excerpt strong,
.post-horizontal-excerpt h1,
.post-horizontal-excerpt h2,
.post-horizontal-excerpt h3,
.post-horizontal-excerpt h4,
.post-horizontal-excerpt h5,
.post-horizontal-excerpt h6,
[is="horizontal-posts"] .tabs_panel h1,
[is="horizontal-posts"] .tabs_panel h2,
[is="horizontal-posts"] .tabs_panel h3,
[is="horizontal-posts"] .tabs_panel h4,
[is="horizontal-posts"] .tabs_panel h5,
[is="horizontal-posts"] .tabs_panel h6,
[is="privacy_policy"] a,
[is="contact_page"] .offices_name,
[is="contact_page"] .offices_web_site,
[is="catalog"] .textures_param_column .textures_param_title { font-weight: 500; }
