
/*
 Theme Name:   Denticare Child
 Theme URI:    http://denticare.bold-themes.com
 Description:  Denticare child theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     denticare
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  denticare-child
*/


/* =========================================================
   شروع سفارشی‌سازی قالب
   ========================================================= */


/* ─────────────────────────────────────────────────────────
   1) تعریف فونت‌ها (ایران‌سنس + نسخه اعداد فارسی)
   ───────────────────────────────────────────────────────── */

/* ایران‌سنس معمولی */
@font-face{
  font-family: 'iransansweb';
  src:
    url('fonts/IRANSansWeb.woff2') format('woff2'),
    url('fonts/IRANSansWeb.woff')  format('woff'),
    url('fonts/IRANSansWeb.ttf')   format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ایران‌سنس با اعداد فارسی (FaNum) */
@font-face{
  font-family: 'iransanswebfa';
  src:
    url('fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
    url('fonts/IRANSansWeb(FaNum).woff')  format('woff'),
    url('fonts/IRANSansWeb(FaNum).ttf')   format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ─────────────────────────────────────────────────────────
   2) اعمال فونت پیش‌فرض سایت
   ───────────────────────────────────────────────────────── */
html, body {
  font-family: 'iransanswebfa', Tahoma, sans-serif;
}


/* ─────────────────────────────────────────────────────────
   3) اعمال فونت روی منو (رفع Roboto قالب مادر)
   ───────────────────────────────────────────────────────── */
.menuPort,
.menuPort * {
  font-family: 'iransanswebfa', Tahoma, sans-serif !important;
}

/* منوی موبایل هنگام باز شدن */
.btShowMenu .menuPort,
.btShowMenu .menuPort * {
  font-family: 'iransanswebfa', Tahoma, sans-serif !important;
}


/* ─────────────────────────────────────────────────────────
   4) ثابت نگه داشتن سایز متن بدنه در موبایل
   ───────────────────────────────────────────────────────── */
@media (max-width: 1199px){
  body{
    font-size: 15px !important;
  }
}
@media (max-width: 360px){
  body{
    font-size: 15px !important;
  }
}


/* ─────────────────────────────────────────────────────────
   5) کوچک کردن تیترهای داخل محتوای صفحات/نوشته‌ها
   (فقط داخل content، نه هدر صفحه)
   ───────────────────────────────────────────────────────── */
.btContent h1, .btContent h2, .btContent h3,
.entry-content h1, .entry-content h2, .entry-content h3 {
  font-weight: bold;
}

.btContent h1, .entry-content h1 { font-size: 25px; }
.btContent h2, .entry-content h2 { font-size: 20px; }
.btContent h3, .entry-content h3 { font-size: 17px; }


/* ─────────────────────────────────────────────────────────
   6) تنظیمات هدر عنوان صفحه (Page Headline) + وسط‌چین عمودی
   ───────────────────────────────────────────────────────── */
section.btPageHeadline.bt_bb_section{
  height: 150px !important;
  min-height: 150px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* لایه‌های داخلی را هم‌ارتفاع سکشن می‌کنیم تا وسط‌چین درست کار کند */
section.btPageHeadline.bt_bb_section > .bt_bb_port,
section.btPageHeadline.bt_bb_section .bt_bb_cell,
section.btPageHeadline.bt_bb_section .bt_bb_cell_inner,
section.btPageHeadline.bt_bb_section .bt_bb_row,
section.btPageHeadline.bt_bb_section .bt_bb_column,
section.btPageHeadline.bt_bb_section .bt_bb_column_content{
  height: 100% !important;
}

/* وسط‌چین کردن محتوای داخل ستون */
section.btPageHeadline.bt_bb_section .bt_bb_column_content{
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* حذف فاصله اضافه‌ی عنوان */
section.btPageHeadline.bt_bb_section .bt_bb_headline{
  margin: 0 !important;
}


/* ─────────────────────────────────────────────────────────
   7) تنظیم فونت و سایز «برادکرامب» داخل Page Headline
   ───────────────────────────────────────────────────────── */
section.btPageHeadline .btBreadCrumbs,
section.btPageHeadline .btBreadCrumbs a,
section.btPageHeadline .btBreadCrumbs span {
  font-family: 'iransanswebfa', Tahoma, sans-serif !important;
  font-size: 15px !important;   /* سایز برادکرامب */
  line-height: 1.4 !important;
}


/* ─────────────────────────────────────────────────────────
   8) تنظیم سایز عنوان صفحه (H1) داخل Page Headline
   ───────────────────────────────────────────────────────── */
section.btPageHeadline header.bt_bb_headline h1.bt_bb_headline_tag,
section.btPageHeadline header.bt_bb_headline h1.bt_bb_headline_tag span,
section.btPageHeadline header.bt_bb_headline .bt_bb_headline_content {
  font-size: 18px !important;   /* سایز عنوان صفحه */
  line-height: 1.4 !important;
}

/* عنوان بنر (Headline) داخل Page Headline - مستقل از تگ (h1/div/...) */
section.btPageHeadline .bt_bb_headline .bt_bb_headline_tag,
section.btPageHeadline .bt_bb_headline .bt_bb_headline_tag .bt_bb_headline_content,
section.btPageHeadline .bt_bb_headline .bt_bb_headline_content{
  font-size: 18px !important;   /* همون سایزی که می‌خوای */
  line-height: 1.4 !important;
}
