/*
 Theme Name:   Fabric Child Theme
 Theme URI:    http://fabric.axiomthemes.com/
 Description:  Fabric Child Theme
 Author:       AxiomThemes
 Author URI:   http:///axiomthemes.com/
 Template:     fabric
 Version:      1.0
 Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
 Text Domain:  fabric
*/


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

/* Hide the sidebar only on the video FAQ page */
body.page-id-28703 .sidebar,
body.page-id-28703 .sidebar_inner {
    display: none !important;
}

body.page-id-28703 .content_wrap > .content {
    width: 100% !important;
}

/* Approved standalone Video FAQs typography */
body.page-id-28703 #video-faqs h2 {
    font-size: 40px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

body.page-id-28703 #video-faqs h3 {
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

body.page-id-28703 #video-faqs h4 {
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    min-height: 72px !important;
    margin-top: 12px !important;
}

/* Keep video-card titles compact and readable on the FAQ pages */
body.page-id-17952 .elementor-element-77a2174 h4,
body.page-id-17952 .elementor-element-a7775d2 h4,
body.page-id-28703 .elementor-element-77a2174 h4,
body.page-id-28703 .elementor-element-a7775d2 h4 {
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    min-height: 72px !important;
    margin-top: 12px !important;
}

body.page-id-17952 .elementor-element-77a2174 h4,
body.page-id-28703 .elementor-element-77a2174 h4 {
    min-height: 96px !important;
}
p,.sc_services_item_subtitle a{
	font-family: "Libre Baskerville", Sans-serif;
}
h4 a,
h6 a,
.elementor-18023 .elementor-element.elementor-element-700c72a0 > .elementor-container,
.sc_services_item_button.sc_item_button,
h3.elementor-flip-box__layer__title,
.elementor-tab-title{
	font-family: "BaskervilleNo2", Sans-serif;
}
#mega-menu-wrap-menu_main #mega-menu-menu_main li > a, .elementor-flip-box__layer__description,
ul li,span.meta-nav{
    font-family: "Libre Baskerville", Sans-serif !important;
}
#mega-menu-wrap-menu_main #mega-menu-menu_main > li > a {
    font-family: "BaskervilleNo2", Sans-serif !important;
	text-transform: uppercase !important;
}
h1 em {
    font-family: "BaskervilleNo2", Sans-serif !important;
    font-style: normal;
	text-transform:uppercase;
}
h2.sc_item_title .sc_item_title_text,
h3.sc_item_title .sc_item_title_text,
h4.sc_item_title .sc_item_title_text,
h4.elementor-heading-title{
	font-family: "BaskervilleNo2", Sans-serif !important;
}
h1,h2,h3,h4,h5,h6,
.sc_item_subtitle,.sc_button_title,
h2 a,h3 a,h4 a,h5 a,h6 a
{
	font-family: "BaskervilleNo2", Sans-serif !important;
}
.sc_services_fashion.color_style_link2 .sc_services_item.with_image:hover .sc_services_item_content:before {
    background: #282828!important;
}
.points .elementor-widget-container ul li {
    padding: 8px 0;
    border-bottom: 1px solid #282828;
}
h1,h2,h3,h4,h5,h6{
	text-transform:uppercase;
	font-weight:400!important;
}
.single-cpt_portfolio .sc_testimonials_item.sc_item_container.post_container{
	border-radius:25px
}
.post_content.post_content_single.entry-content p {
    color: #282828;
    font-weight: 400;
}
.nav-links-single .nav-links .post-title{
	display: none;
}
.nav-links-single .nav-links .nav-previous,
.nav-links-single .nav-links .nav-next{
	width: auto;
}
.nav-links-single .nav-links .nav-arrow-label{
	color:#282828!important;
}
.horizontal-masonry-loop {
  width: 100%;
  overflow: hidden;
}

.horizontal-masonry-loop .gallery {
  display: flex;
  width: max-content;
  will-change: transform;
}

.masonry-track {
  display: flex;
}

.masonry-column {
  display: flex;
  flex-direction: column;
  gap: 0;              /* removes spacing bug */
}

.masonry-column img {
  display: block;      /* removes inline gaps */
  width: 100%;
  height: auto;
}

/* ===============================
   HORIZONTAL TAB DROPDOWN MENU
================================ */

/* Remove mega background */
.tmx-mega-menu {
  background: transparent;
  box-shadow: none;
  width: auto;
  left: 0;
}

/* Stack tabs top → content bottom */
.tmx-mega-menu {
  display: none;
  flex-direction: column;
}

.tmx-has-mega:hover > .tmx-mega-menu {
  display: flex;
}

/* Horizontal tabs */
.tmx-mega-tabs {
  display: flex;
  gap: 24px;
  background: transparent;
  border: none;
  padding: 12px 0;
}

/* Tab item */
.tmx-mega-tab {
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

/* Hover indicator only */
.tmx-mega-tab:hover,
.tmx-mega-tab.tmx-active {
  background: rgba(255,255,255,0.08);
}

/* Hide content container initially */
.tmx-mega-contents {
  position: relative;
  padding: 0;
  background: transparent;
}

/* All dropdowns hidden */
.tmx-mega-content {
  display: none;
  margin-top: 12px;
}

/* Dropdown styling */
.tmx-mega-content .tmx-sub-links {
  background: #fff;
  padding: 0px;
  min-width: 280px;
}

/* Dropdown links */
.tmx-sub-links a {
  display: block;
  padding: 5px 0;
}

.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(8) {
    background: #282828 !important;
}
.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(8) h2 {
    color: #fff !important;
}
.page-id-22366.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(8) h2 {
    color: #282828 !important;
}
.page-id-22366.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(8) {
    background: transparent!important;
}
.page-id-22366.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(9) {
    background: #282828 !important;;
}
.page-id-22366.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(9) h2 {
    color: #fff !important;
}
.page-id-22366.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(9) h2 {
    color: #fff !important;
}


.page-id-22018.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(8) h2 {
    color: #282828 !important;
}
.page-id-22018.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(8) {
    background: transparent!important;
}
.page-id-22018.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(9) {
    background: #282828 !important;;
}
.page-id-22018.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(9) h2 {
    color: #fff !important;
}
.page-id-22018.page-cat-manufacturing-capabilities .elementor-section.elementor-section-stretched:nth-of-type(9) h2 {
    color: #fff !important;
}
/* Keep all video grids visible and readable on mobile */
@media (max-width: 768px) {
  [style*="grid-template-columns:repeat(5"] ,
  [style*="grid-template-columns:repeat(4"] ,
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  [style*="grid-template-columns:repeat(5"] iframe {
    height: 220px !important;
  }

  [style*="grid-template-columns:repeat(4"] iframe {
    height: 260px !important;
  }

  [style*="grid-template-columns:repeat(3"] iframe {
    height: 280px !important;
  }
  h1, h2, h3, h4, h5, h6, p {
    word-break: normal!important;
    overflow-wrap: break-word!important;
    hyphens: none!important;
  }
	h2.sc_item_title .sc_item_title_text,
h3.sc_item_title .sc_item_title_text,
h4.sc_item_title .sc_item_title_text,
	h4.elementor-heading-title{
		line-height:45px
	}
}

