/*
Theme Name: DentalFix
Theme URI: https://dentalfix.ir/
Author: DentalFix
Author URI: https://dentalfix.ir/
Description: قالب اختصاصی و سبک دنتال‌فیکس برای سایت تعمیر، سرویس و نگهداری تجهیزات دندانپزشکی؛ فارسی و راست‌چین، با دکمه‌های تماس و واتس‌اپ، اسکیمای محلی و سازگار با Rank Math.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dentalfix
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, one-column
*/

/* ---------- متغیرها ---------- */
:root {
	--df-navy: #0B3D5B;
	--df-teal: #0E7C86;
	--df-teal-dark: #0A5F67;
	--df-accent: #F28C28;
	--df-wa: #25D366;
	--df-wa-dark: #1EBE5A;
	--df-bg: #FFFFFF;
	--df-bg-soft: #F3F7F9;
	--df-text: #1E2A32;
	--df-muted: #5B6B75;
	--df-border: #DCE5EA;
	--df-font: Vazirmatn, Tahoma, 'Segoe UI', sans-serif;
	--df-radius: 12px;
	--df-shadow: 0 2px 14px rgba(11, 61, 91, .08);
	--df-container: 1100px;
	--df-reading: 820px;
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--df-font);
	font-size: 17px;
	line-height: 1.9;
	color: var(--df-text);
	background: var(--df-bg);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--df-teal-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--df-navy); }
:focus-visible { outline: 3px solid var(--df-navy); outline-offset: 2px; }
.df-footer :focus-visible { outline-color: #fff; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; color: var(--df-navy); font-weight: 700; line-height: 1.45; }
h1 { font-size: 30px; margin-top: 0; }
h2 { font-size: 24px; margin-top: 1.6em; }
h3 { font-size: 19px; margin-top: 1.3em; }
h4 { font-size: 17px; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.4em; padding-inline-start: 1.6em; }
li { margin-bottom: .4em; }
hr { margin: 2em 0; border: 0; border-top: 1px solid var(--df-border); }
button, input, select, textarea { font: inherit; color: inherit; }
.df-container { max-width: var(--df-container); margin-inline: auto; padding-inline: 16px; }
.df-reading { max-width: var(--df-reading); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; white-space: nowrap; }
.df-skip { position: absolute; top: -200px; right: 16px; z-index: 1000; padding: 8px 14px; background: var(--df-navy); color: #fff; border-radius: 0 0 8px 8px; text-decoration: none; }
.df-skip:focus { top: 0; }

/* ---------- هدر چسبان ---------- */
.df-header { position: sticky; top: 0; z-index: 100; background: var(--df-bg); box-shadow: 0 1px 0 var(--df-border), 0 4px 18px rgba(11, 61, 91, .07); }
.admin-bar .df-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .df-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .df-header { top: 0; } }
.df-header__inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.df-brand { flex: 0 0 auto; }
.df-brand__link { display: inline-flex; flex-direction: column; line-height: 1.25; text-decoration: none; }
.df-brand__name { font-size: 22px; font-weight: 800; color: var(--df-navy); }
.df-brand__tagline { font-size: 12px; font-weight: 500; color: var(--df-muted); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 52px; width: auto; }
.df-nav { display: flex; flex: 1 1 auto; justify-content: center; }
.df-nav ul { list-style: none; margin: 0; padding: 0; }
.df-nav li { margin: 0; }
.df-nav__list { display: flex; align-items: center; gap: 2px; }
.df-nav__list > li { position: relative; }
.df-nav__list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--df-navy); font-weight: 500; text-decoration: none; white-space: nowrap; }
.df-nav__list a:hover,
.df-nav__list .current-menu-item > a,
.df-nav__list .current-menu-ancestor > a,
.df-nav__list .current_page_item > a,
.df-nav__list .current_page_ancestor > a { background: var(--df-bg-soft); color: var(--df-teal-dark); }
.df-nav__list .menu-item-has-children > a::after,
.df-nav__list .page_item_has_children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-start: 6px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-3px) rotate(-45deg); }
.df-nav__list .sub-menu,
.df-nav__list .children { position: absolute; top: 100%; inset-inline-start: 0; z-index: 50; display: none; min-width: 240px; padding: 6px; background: #fff; border: 1px solid var(--df-border); border-radius: 10px; box-shadow: var(--df-shadow); }
.df-nav__list li:hover > .sub-menu,
.df-nav__list li:focus-within > .sub-menu,
.df-nav__list li:hover > .children,
.df-nav__list li:focus-within > .children { display: block; }
.df-nav__list .sub-menu a,
.df-nav__list .children a { padding: 8px 10px; font-size: 15px; font-weight: 400; white-space: normal; }
.df-header__cta { flex: 0 0 auto; margin-inline-start: auto; }
.df-menu-toggle { display: none; align-items: center; gap: 8px; padding: 8px 12px; background: var(--df-bg-soft); border: 1px solid var(--df-border); border-radius: 10px; color: var(--df-navy); font-weight: 600; cursor: pointer; }
.df-menu-toggle__bars { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 20px; height: 16px; }
.df-menu-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.df-menu-toggle[aria-expanded="true"] .df-menu-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.df-menu-toggle[aria-expanded="true"] .df-menu-toggle__bars i:nth-child(2) { opacity: 0; }
.df-menu-toggle[aria-expanded="true"] .df-menu-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- دکمه‌ها ---------- */
.df-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 2px solid transparent; border-radius: 999px; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.df-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(11, 61, 91, .14); }
.df-btn .df-ic { width: 20px; height: 20px; flex: none; }
.df-btn--tel { background: var(--df-teal); color: #fff; }
.df-btn--tel:hover, .df-btn--tel:focus-visible { background: var(--df-teal-dark); color: #fff; }
.df-btn--wa { background: var(--df-wa); color: var(--df-navy); }
.df-btn--wa:hover, .df-btn--wa:focus-visible { background: var(--df-wa-dark); color: var(--df-navy); }
.df-btn--primary { background: var(--df-navy); color: #fff; border-radius: 10px; }
.df-btn--primary:hover { background: var(--df-teal-dark); color: #fff; }
.df-btn--outline { background: transparent; border-color: var(--df-navy); border-radius: 10px; color: var(--df-navy); }
.df-btn--outline:hover { background: var(--df-navy); color: #fff; }
.df-contact-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.df-contact-buttons--header .df-btn { padding: 8px 14px; font-size: 15px; }

/* ---------- محتوا ---------- */
.df-main { padding: 28px 0 56px; }
.df-page__title, .df-article__title { margin-bottom: .5em; }
.df-content > :first-child { margin-top: 0; }
.df-content h1 { margin-bottom: .5em; }
.df-content h2 { padding-bottom: .3em; }
.df-content h2::after { content: ''; display: block; width: 44px; height: 4px; margin-top: .45em; border-radius: 2px; background: var(--df-accent); }
.df-content section { margin: 0 0 1.2em; }
.df-content .df-cta { margin: 2em 0; }
/* عکس‌های واقعی کار (figure.df-figure) و گالری (div.df-gallery) */
.df-content .df-figure { max-width: 400px; margin: 1.6em auto; text-align: center; }
.df-content .df-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; margin-inline: auto; box-shadow: var(--df-shadow); }
.df-content .df-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 1.6em 0; }
.df-content .df-gallery .df-figure { max-width: none; margin: 0; }
.df-content .df-gallery figcaption { font-size: .82em; line-height: 1.6; }
.df-content p.df-lead, .df-content .df-lead { font-size: 1.15em; line-height: 1.85; color: var(--df-navy); }
.df-content li::marker { color: var(--df-teal); font-weight: 700; }
.df-content img { border-radius: var(--df-radius); }
.df-content figure { margin: 1.6em 0; }
.df-content figcaption, .wp-caption-text { margin-top: .4em; font-size: .9em; color: var(--df-muted); text-align: center; }
.df-content blockquote { margin: 1.5em 0; padding: .6em 1.2em; background: var(--df-bg-soft); border-inline-start: 4px solid var(--df-accent); border-radius: 8px; }
.df-content blockquote > :last-child { margin-bottom: 0; }
.df-content p:empty { display: none; }
.df-content code, .df-content pre { font-family: Consolas, Menlo, monospace; font-size: .9em; direction: ltr; text-align: left; }
.df-content pre { padding: 1em; background: var(--df-bg-soft); border-radius: 8px; overflow-x: auto; }

/* کارت تماس داخل متن (section.df-cta) و CTA خود قالب */
.df-cta { margin: 2em 0; padding: 22px 24px; background: var(--df-bg-soft); border-inline-start: 5px solid var(--df-accent); border-radius: var(--df-radius); }
.df-cta p { margin: 0 0 .9em; }
.df-cta > :last-child { margin-bottom: 0; }
.df-cta a[href^="tel:"], .df-cta a[href*="wa.me"] { display: inline-flex; align-items: center; gap: 7px; margin: 3px 2px; padding: 7px 15px; border-radius: 999px; font-weight: 700; line-height: 1.5; text-decoration: none; vertical-align: middle; transition: background-color .15s ease, transform .15s ease; }
.df-cta a[href^="tel:"]::before, .df-cta a[href*="wa.me"]::before { content: ''; flex: none; width: 18px; height: 18px; background-repeat: no-repeat; background-size: contain; }
.df-cta a[href^="tel:"] { background: var(--df-teal); color: #fff; }
.df-cta a[href^="tel:"]:hover { background: var(--df-teal-dark); color: #fff; transform: translateY(-1px); }
.df-cta a[href^="tel:"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E"); }
.df-cta a[href*="wa.me"] { background: var(--df-wa); color: var(--df-navy); }
.df-cta a[href*="wa.me"]:hover { background: var(--df-wa-dark); color: var(--df-navy); transform: translateY(-1px); }
.df-cta a[href*="wa.me"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230B3D5B' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E"); }
/* دکمه‌های خود قالب (.df-btn با SVG درون‌خطی) داخل CTA: آیکون و اندازهٔ لینک‌های متنی روی‌شان اعمال نشود (وگرنه آیکون دوبار می‌افتد) */
.df-cta a.df-btn::before { content: none; }
.df-cta a.df-btn { margin: 0; padding: 10px 18px; gap: 8px; line-height: 1.4; }
.df-cta--theme { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.df-cta--theme .df-cta__text { flex: 1 1 300px; }
.df-cta--theme h2 { margin: 0 0 .3em; padding: 0; font-size: 21px; }
.df-cta--theme h2::after { display: none; }
.df-cta--theme p { margin: 0; color: var(--df-muted); }

/* پرسش‌های پرتکرار (section.df-faq): h3 = سؤال به‌شکل کارت با «+»؛ با JS آکاردئون می‌شود، بدون JS همه‌چیز باز و خوانا می‌ماند */
.df-faq h3 { position: relative; margin: 12px 0 0; padding: 12px 16px; padding-inline-end: 46px; background: var(--df-bg-soft); border: 1px solid var(--df-border); border-radius: 10px; font-size: 17px; line-height: 1.6; }
.df-faq h3::after { content: '+'; position: absolute; top: 50%; inset-inline-end: 14px; transform: translateY(-50%); font-size: 26px; font-weight: 400; line-height: 1; color: var(--df-teal); }
.df-faq > p { margin: 0 0 6px; padding: 10px 16px 0; }
.df-faq h3.df-faq__q { padding: 0; }
.df-faq h3.df-faq__q::after { display: none; }
.df-faq__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 16px; background: none; border: 0; border-radius: 10px; font: inherit; font-weight: 700; color: var(--df-navy); text-align: start; cursor: pointer; }
.df-faq__btn:hover, .df-faq__btn[aria-expanded="true"] { color: var(--df-teal-dark); }
.df-faq__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; background: #fff; border: 1px solid var(--df-border); border-radius: 50%; color: var(--df-teal); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.df-faq__icon::before { content: '+'; }
.df-faq__btn[aria-expanded="true"] .df-faq__icon { transform: rotate(45deg); }
.df-faq__a { margin-bottom: 6px; padding: 10px 16px 2px; }
.df-faq__a[hidden] { display: none; }
.df-faq__a > :last-child { margin-bottom: .6em; }

/* لینک‌های مرتبط (section.df-related): گرید کارت */
.df-related ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.df-related li { margin: 0; }
.df-related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--df-border); border-radius: 10px; box-shadow: var(--df-shadow); color: var(--df-navy); font-weight: 600; line-height: 1.6; text-decoration: none; transition: border-color .15s ease, transform .15s ease, color .15s ease; }
.df-related a::after { content: '←'; flex: none; color: var(--df-accent); font-weight: 400; }
.df-related a:hover { border-color: var(--df-teal); color: var(--df-teal-dark); transform: translateY(-2px); }

/* جدول: بدون JS خود جدول اسکرول افقی می‌گیرد؛ با JS در div.df-table پیچیده می‌شود */
.df-content table { display: block; width: 100%; margin: 0 0 1.5em; border-collapse: collapse; font-size: .95em; line-height: 1.7; overflow-x: auto; }
.df-table { margin: 0 0 1.5em; border: 1px solid var(--df-border); border-radius: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.df-table > table { display: table; margin: 0; overflow: visible; }
.df-content th, .df-content td { padding: 10px 12px; border-bottom: 1px solid var(--df-border); text-align: start; vertical-align: top; }
.df-content th { background: var(--df-bg-soft); color: var(--df-navy); font-weight: 700; white-space: nowrap; }
.df-content thead th { border-bottom: 2px solid var(--df-border); }
.df-content tbody tr:nth-child(even) td { background: #F8FAFB; }
.df-content tbody tr:last-child td { border-bottom: 0; }

/* ---------- بردکرامب ---------- */
.df-crumbs { margin: 0 0 18px; font-size: 14px; color: var(--df-muted); }
.df-crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0; padding: 0; list-style: none; }
.df-crumbs li { margin: 0; }
.df-crumbs li + li::before { content: '›'; margin-inline-end: 8px; color: var(--df-muted); }
.df-crumbs a { color: var(--df-teal-dark); text-decoration: none; }
.df-crumbs a:hover { text-decoration: underline; }
.df-crumbs [aria-current="page"] { color: var(--df-text); }
.rank-math-breadcrumb { font-size: 14px; color: var(--df-muted); }
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb .separator { margin: 0 6px; }
.rank-math-breadcrumb a { color: var(--df-teal-dark); text-decoration: none; }
.rank-math-breadcrumb a:hover { text-decoration: underline; }

/* ---------- کارت نوشته‌ها (بلاگ، آرشیو، جست‌وجو، مرتبط) ---------- */
.df-archive__header { margin-bottom: 8px; }
.df-archive__desc { color: var(--df-muted); }
.df-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin: 20px 0; }
.df-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--df-border); border-radius: var(--df-radius); box-shadow: var(--df-shadow); overflow: hidden; }
.df-card__media { display: block; }
.df-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.df-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.df-card__title { margin: 0; font-size: 19px; line-height: 1.5; }
.df-card__title a { color: var(--df-navy); text-decoration: none; }
.df-card__title a:hover { color: var(--df-teal-dark); }
.df-card__meta { margin: 0; font-size: 13px; color: var(--df-muted); }
.df-card__excerpt { margin: 0; font-size: 15px; }
.df-card__more { align-self: flex-start; margin-top: auto; padding-top: 6px; color: var(--df-teal-dark); font-weight: 600; text-decoration: none; }
.df-card__more:hover { text-decoration: underline; }
.df-empty { padding: 24px; background: var(--df-bg-soft); border-radius: var(--df-radius); }

/* ---------- نوشتهٔ تکی ---------- */
.df-article__header { margin-bottom: 20px; }
.df-article__meta { margin: 0; font-size: 14px; color: var(--df-muted); }
.df-article__meta a { color: var(--df-teal-dark); text-decoration: none; }
.df-article__thumb { margin: 0 0 24px; }
.df-article__thumb img { display: block; width: 100%; height: auto; border-radius: var(--df-radius); }
.df-related-posts { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--df-border); }
.df-section-title { margin-top: 0; padding-bottom: .3em; font-size: 22px; }
.df-section-title::after { content: ''; display: block; width: 44px; height: 4px; margin-top: .45em; border-radius: 2px; background: var(--df-accent); }

/* ---------- صفحه‌بندی ---------- */
.pagination { margin: 32px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-block; min-width: 40px; padding: 6px 12px; border: 1px solid var(--df-border); border-radius: 8px; color: var(--df-navy); text-align: center; text-decoration: none; }
.pagination a.page-numbers:hover { border-color: var(--df-teal); color: var(--df-teal-dark); }
.pagination .page-numbers.current { background: var(--df-navy); border-color: var(--df-navy); color: #fff; }
.pagination .page-numbers.dots { border-color: transparent; }

/* ---------- جست‌وجو و ۴۰۴ ---------- */
.df-search { display: flex; gap: 8px; max-width: 540px; margin: 16px 0; }
.df-search__input { flex: 1 1 auto; min-width: 0; padding: 10px 14px; background: #fff; border: 1px solid var(--df-border); border-radius: 10px; font-size: 16px; }
.df-search__input:focus { outline: none; border-color: var(--df-teal); box-shadow: 0 0 0 3px rgba(14, 124, 134, .2); }
.df-search .df-btn { flex: none; }
.df-404 { padding: 32px 0 8px; text-align: center; }
.df-404__code { margin: 0 0 8px; font-size: 76px; font-weight: 800; line-height: 1; color: var(--df-teal); }
.df-404 .df-search { margin: 20px auto; }
.df-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 0; }

/* ---------- فوتر ---------- */
.df-footer { margin-top: 48px; background: var(--df-navy); color: #DCE5EA; font-size: 15px; line-height: 1.8; }
.df-footer a { color: #fff; text-decoration: none; }
.df-footer a:hover { color: #FFD3A6; text-decoration: underline; }
.df-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-top: 44px; padding-bottom: 28px; }
.df-footer h2 { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid rgba(255, 255, 255, .14); font-size: 17px; color: #fff; }
.df-footer ul { margin: 0; padding: 0; list-style: none; }
.df-footer li { margin: 0 0 8px; }
.df-footer p { margin: 0 0 12px; }
.df-footer__brand { margin: 0 0 2px; font-size: 22px; font-weight: 800; color: #fff; }
.df-footer__tagline { color: #BFE3E7; font-weight: 500; }
.df-nap li { display: flex; gap: 6px; align-items: baseline; }
.df-nap__label { flex: none; color: #B9C8D2; }
.df-footer__bar { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #B9C8D2; }
.df-footer__bar .df-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.df-footer__bar p { margin: 0; }
.df-footer__enamad:empty { display: none; }

/* ---------- نوار تماس ثابت موبایل ---------- */
.df-mobilebar { display: none; position: fixed; right: 0; bottom: 0; left: 0; z-index: 90; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--df-border); box-shadow: 0 -4px 16px rgba(11, 61, 91, .08); }
.df-mobilebar .df-contact-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.df-mobilebar .df-btn { width: 100%; padding: 11px 10px; border-radius: 10px; font-size: 16px; }

/* ---------- کلاس‌های استاندارد وردپرس ---------- */
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 899.98px) {
	body { padding-bottom: 78px; font-size: 16px; }
	h1 { font-size: 26px; }
	h2 { font-size: 21px; }
	h3 { font-size: 18px; }
	.df-main { padding: 20px 0 40px; }
	.df-header__inner { flex-wrap: wrap; gap: 8px; min-height: 60px; padding-top: 6px; padding-bottom: 6px; }
	.df-menu-toggle { display: inline-flex; margin-inline-start: auto; }
	.df-header__cta { display: none; }
	.df-nav { display: none; flex-basis: 100%; order: 10; }
	.df-nav.is-open { display: block; max-height: calc(100vh - 80px); overflow-y: auto; }
	.df-nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 10px; border-top: 1px solid var(--df-border); }
	.df-nav__list a { padding: 10px 12px; white-space: normal; }
	.df-nav__list .sub-menu, .df-nav__list .children { display: block; position: static; min-width: 0; padding: 0; padding-inline-start: 16px; border: 0; box-shadow: none; }
	.df-nav__list .menu-item-has-children > a::after, .df-nav__list .page_item_has_children > a::after { display: none; }
	.df-mobilebar { display: block; }
	.df-cta { padding: 18px 16px; }
	.df-faq__btn { padding: 11px 14px; }
	.df-table > table { min-width: 620px; }
	.df-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.df-footer__bar .df-container { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
	.df-brand__name { font-size: 19px; }
	.df-brand__tagline { font-size: 11px; }
	.df-menu-toggle__text { display: none; }
	.df-cta--theme .df-contact-buttons { width: 100%; }
	.df-cta--theme .df-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
}
@media print {
	.df-header, .df-footer, .df-mobilebar, .df-crumbs, .df-skip, .df-cta--theme { display: none !important; }
	body { padding: 0; font-size: 12pt; }
	.df-faq__a[hidden] { display: block; }
}
