@font-face {
  font-family: 'naskh';
  font-style: normal;
  font-weight: normal;
  src: local(''),
    url('/wp-content/plugins/adbeislami-custom/font/NotoNaskhArabic-Regular.woff2')
      format('woff2'),
    url('/wp-content/plugins/adbeislami-custom/font/NotoNaskhArabic-Regular.woff')
      format('woff');
}

@font-face {
  font-family: 'nastaliq';
  font-style: normal;
  font-weight: normal;
  src: local(''),
    url('/wp-content/plugins/adbeislami-custom/font/Mehr-Nastaliq-Web-2.woff')
      format('woff'),
    url('/wp-content/plugins/adbeislami-custom/font/Mehr-Nastaliq-Web-2.ttf')
      format('ttf');
}

:root {
  --wp--style--global--content-size: 1200px;
}
:root,
body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button {
  font-family: var(--wp--preset--font-family--primary);
}
.urdu-font {
  direction: rtl;
  font-family: var(--wp--preset--font-family--secondary);
}
.direction-rtl {
  direction: rtl !important;
}
.has-secondary-font-family {
  font-size: 1.2em;
}

.product-name-secondary.wb-secondLang {
	font-size: 20px;
}

.book-terms-author {
	font-size: 14px;
}

/* Product second title settings */
.product-name-secondary.wb-secondLang {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: 18px;
  direction: rtl;
  text-align: right;
}

.summary.entry-summary {
  display: flex;
  flex-direction: column;
}
.summary.entry-summary .product-name-secondary.wb-secondLang {
  order: -1;
  font-size: 1.7rem;
}
.summary.entry-summary .woocommerce-breadcrumb {
  order: -1;
}
.summary.entry-summary .single-product-category {
  order: -1;
}
.summary.entry-summary .product_title.entry-title {
  order: -1;
}

/* footer styles */

.ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row,
.site-primary-footer-inner-wrap .widget {
  margin: 0;
  padding: 0;
}

/* responsive settings for blocks */

@media only screen and (max-width: 920px) {
  #home-3-ctas.wp-block-group-is-layout-grid  {
    grid-template-columns: 1fr;
  }
  #home-3-ctas.wp-block-group-is-layout-grid > * {
    grid-area: span 1;
  }
  #home-3-ctas.wp-block-group-is-layout-grid .has-secondary-font-family {
	  margin-bottom: 90px !important;
  }
  #home-features.wp-block-group-is-layout-grid {
    grid-template-columns: 1fr;
  }


  #abd-footer-features.abd-footer-features .is-layout-grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  #abd-footer-features.abd-footer-features .is-layout-grid > p {
    text-align: center;
  }
  
  #abd-footer-section.abd-footer-section .is-layout-grid {
    grid-template-columns: 1fr;
	justify-content: center;
  }

  #abd-footer-section.abd-footer-section h2,
  #abd-footer-section.abd-footer-section h3,
  #abd-footer-section.abd-footer-section h4,
  #abd-footer-section.abd-footer-section p,
  #abd-footer-section.abd-footer-section ul {
    text-align: center !important;
    justify-content: center !important;
  }
}
