/* ==========================================================
   قالب مای - استایل هدر/فوتر پویا، صفحه‌های داخلی و ریسپانسیو
   رنگ‌ها و سبک از صفحه اصلی گرفته شده:
   --Primary: #037eae  |  --Seconary: #384358
   ========================================================== */

:root {
    --mae-ink: #303030;
    --mae-text: #404040;
    --mae-muted: #727272;
    --mae-line: #ececec;
    --mae-soft: #f5f5f5;
    --mae-gradient: linear-gradient(45deg, #d9eeff, transparent, #ffede7);
    --mae-shadow: 0px 0px 30px 0 rgb(205 205 205 / 37%);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--Primary);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1280px;
}

/* ---------- لینک «رفتن به محتوا» ---------- */

.mm-skip {
    position: fixed;
    top: -60px;
    right: 16px;
    z-index: 100000;
    padding: 10px 18px;
    border-radius: 0 0 12px 12px;
    background: var(--Primary);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: top .2s;
}

.mm-skip:focus {
    top: 0;
}

/* ==========================================================
   هدر: فهرست پویا، زیرمنو و کشوی موبایل
   ========================================================== */

.mm-logo {
    display: inline-flex;
    align-items: center;
}

.mm-logo img {
    display: block;
    height: auto;
    max-width: 120px;
}

.mm-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

.mm-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-menu li {
    position: relative;
}

.mm-menu > li > a {
    display: inline-block;
    padding: 18px 0;
}

.mm-menu .current-menu-item > a,
.mm-menu .current-menu-ancestor > a,
.mm-menu .current_page_item > a {
    color: var(--Primary);
    font-weight: 700;
}

.mm-menu .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}

.mm-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: -14px;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--mae-line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
}

.mm-menu li:hover > .sub-menu,
.mm-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mm-menu .sub-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
}

.mm-menu .sub-menu a:hover {
    background: var(--mae-soft);
}

.mm-drawer {
    display: none;
}

/* ==========================================================
   فوتر
   ========================================================== */

.footer-menu ul li a {
    transition: color .2s;
}

.footer-menu ul li a:hover {
    color: var(--Primary);
}

.footer-info ul li a {
    color: inherit;
    text-decoration: none;
}

.footer-info ul li a:hover {
    color: var(--Primary);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mae-soft);
    color: var(--Seconary);
    transition: background .2s, color .2s;
}

.footer-social a:hover {
    background: var(--Primary);
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--mae-line);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--mae-muted);
}

/* ==========================================================
   صفحه اصلی: جزئیات بخش وبلاگ (مقاله‌های واقعی)
   ========================================================== */

.blog-img {
    display: block;
}

.blog-img-placeholder {
    display: block;
    width: 620px;
    max-width: 100%;
    height: 620px;
    border-radius: 25px;
    background: var(--mae-gradient), #eaf3f8;
}

.blog-desc h2 a,
.blog-desc h3 a {
    color: inherit;
    text-decoration: none;
}

a.blog-box {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: background-color .2s;
}

a.blog-box:hover {
    background-color: #eaf3f8;
}

/* ==========================================================
   پس‌زمینه‌ی تزئینی در صفحه‌های داخلی
   ========================================================== */

body.mae-inner {
    position: relative;
}

body.mae-inner .mm-bg {
    min-height: 0;
    height: 100%;
}

/* ==========================================================
   سربرگ صفحه‌های داخلی
   ========================================================== */

.mae-main {
    display: block;
    padding-top: 0;
}

.page-hero {
    padding: 100px 0 20px;
}

.page-hero-inner {
    padding: 44px 56px 50px;
    border-radius: 25px;
    background: var(--mae-gradient);
    box-shadow: var(--mae-shadow);
}

.page-hero h1 {
    margin: 14px 0 12px;
    font-size: 38px;
    font-weight: bold;
    line-height: 1.4;
    color: var(--mae-ink);
}

.page-hero p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.9;
    color: #5d5d5d;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: var(--mae-muted);
}

.breadcrumb a {
    color: var(--Primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    margin: 0 9px;
    font-style: normal;
    opacity: .5;
}

/* ---------- بخش‌های عمومی ---------- */

.sec {
    padding: 40px 0;
}

.sec-soft {
    padding: 56px 0;
    background: var(--mae-soft);
}

.sec-title {
    margin-bottom: 28px;
    font-size: 24px;
    font-weight: bold;
    color: var(--Seconary);
}

/* ---------- آیکن دایره‌ای ---------- */

.svc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--Primary);
    box-shadow: 0 4px 16px rgba(3, 126, 174, .15);
}

/* ---------- کارت خدمات ---------- */

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 30px;
    border-radius: 20px;
    background: var(--mae-gradient);
    box-shadow: var(--mae-shadow);
    transition: transform .3s ease;
}

.svc-card:hover {
    transform: translateY(-6px);
}

.svc-card .svc-icon {
    margin-bottom: 20px;
}

.svc-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: bold;
    line-height: 1.6;
    color: var(--mae-ink);
}

.svc-card p {
    flex: 1;
    font-size: 15px;
    line-height: 2;
}

.svc-link {
    margin-top: 18px;
    font-weight: bold;
    color: var(--Primary);
    text-decoration: none;
}

.svc-link:hover {
    text-decoration: underline;
}

/* ---------- زبان‌ها ---------- */

.lang-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lang-chips li {
    padding: 12px 30px;
    border: 1px solid #dfe5ea;
    border-radius: 999px;
    background: #fff;
    font-weight: bold;
    color: var(--Seconary);
}

/* ---------- مراحل ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.steps li {
    padding: 26px 24px;
    border: 1px solid var(--mae-line);
    border-radius: 18px;
    background: #fff;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--Primary);
    font-weight: bold;
    color: #fff;
}

.steps h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: bold;
    color: var(--mae-ink);
}

.steps p {
    font-size: 15px;
    line-height: 1.9;
}

/* ---------- باکس دعوت به اقدام ---------- */

.sec-cta {
    padding: 40px 0 80px;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 48px 56px;
    border-radius: 25px;
    background: var(--Seconary);
    color: #fff;
}

.cta-band h2 {
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
}

.cta-band p {
    max-width: 620px;
    line-height: 1.9;
    color: #dbe2ec;
}

.cta-band .cta-btn {
    flex: none;
    background: #fff;
    color: var(--Seconary);
    font-weight: bold;
}

.cta-band .cta-btn:hover {
    background: var(--Primary);
    color: #fff;
}

/* ==========================================================
   درباره ما
   ========================================================== */

.about-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-intro-text h2 {
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.6;
    color: var(--mae-ink);
}

.about-intro-media {
    position: relative;
    padding-bottom: 56px;
}

.about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo-main {
    aspect-ratio: 4 / 3;
}

.about-photo-main img {
    border-radius: 25px;
}

.about-photo-sub {
    position: absolute;
    bottom: 0;
    left: -24px;
    width: 46%;
    aspect-ratio: 16 / 10;
    border: 6px solid #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .14);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 8px 20px;
    text-align: center;
}

.stat + .stat {
    border-right: 1px solid #dcdcdc;
}

.stat strong {
    display: block;
    margin-bottom: 8px;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.3;
    color: var(--Primary);
}

.stat span {
    font-size: 15px;
    color: #5d5d5d;
}

.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    padding: 30px 26px;
    border: 1px solid var(--mae-line);
    border-radius: 20px;
    background: #fff;
}

.value-card .svc-icon {
    margin-bottom: 18px;
    background: #eaf3f8;
    box-shadow: none;
}

.value-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
    color: var(--mae-ink);
}

.value-card p {
    font-size: 15px;
    line-height: 1.95;
}

.mission {
    padding: 64px 30px;
    border-radius: 25px;
    background: var(--mae-gradient);
    box-shadow: var(--mae-shadow);
    text-align: center;
}

.mission blockquote {
    margin-bottom: 16px;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.5;
    color: var(--Primary);
}

.mission figcaption {
    max-width: 580px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2;
    color: #5d5d5d;
}

/* ==========================================================
   فرم‌ها
   ========================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: start;
}

.form-card {
    padding: 40px;
    border: 1px solid var(--mae-line);
    border-radius: 25px;
    background: #fff;
    box-shadow: var(--mae-shadow);
}

.form-card h2 {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: bold;
    color: var(--mae-ink);
}

.form-lead {
    margin-bottom: 26px;
    color: var(--mae-muted);
    line-height: 1.9;
}

.field {
    margin-bottom: 18px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mae-text);
}

.field label b {
    font-weight: bold;
    color: #d33;
}

.mae-form input[type="text"],
.mae-form input[type="tel"],
.mae-form input[type="email"],
.mae-form select,
.mae-form textarea,
.mae-search input[type="search"],
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #dcdfe4;
    border-radius: 12px;
    background: #fafbfc;
    font: inherit;
    font-size: 15px;
    color: var(--mae-ink);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.mae-form textarea,
.comment-form textarea {
    resize: vertical;
    line-height: 1.9;
}

.mae-form input:focus,
.mae-form select:focus,
.mae-form textarea:focus,
.mae-search input:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--Primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(3, 126, 174, .15);
}

.hp {
    position: absolute;
    right: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

button.btn,
input[type="submit"].btn {
    display: inline-block;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
}

.mae-btn-submit {
    padding: 15px 52px;
}

.mae-notice {
    margin-bottom: 22px;
    padding: 14px 18px;
    border: 1px solid;
    border-radius: 12px;
    line-height: 1.9;
}

.mae-notice-ok {
    border-color: #bfe5cd;
    background: #e8f7ee;
    color: #14633a;
}

.mae-notice-err {
    border-color: #f1c4c4;
    background: #fdecec;
    color: #9b1c1c;
}

/* ---------- اطلاعات تماس ---------- */

.contact-info {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--mae-line);
    border-radius: 18px;
    background: #fff;
}

.info-item .svc-icon {
    background: #eaf3f8;
    box-shadow: none;
}

.info-item h3 {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: bold;
    color: var(--mae-ink);
}

.info-item p {
    line-height: 1.9;
    color: #575757;
}

.info-item a {
    color: inherit;
    text-decoration: none;
}

.info-item a:hover {
    color: var(--Primary);
}

/* ---------- نقشه ---------- */

.map-embed {
    height: 420px;
    border: 1px solid #e5e5e5;
    border-radius: 22px;
    overflow: hidden;
    background: var(--mae-soft);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 100%;
    padding: 30px;
    background: var(--mae-gradient);
    text-align: center;
    color: var(--Primary);
}

.map-placeholder svg {
    width: 44px;
    height: 44px;
}

.map-placeholder p {
    color: var(--mae-text);
}

.map-placeholder small {
    max-width: 480px;
    font-size: 13px;
    line-height: 1.9;
    color: var(--mae-muted);
}

/* ---------- صفحه تعیین سطح ---------- */

.level-aside h3 {
    margin: 22px 0 14px;
    font-size: 20px;
    font-weight: bold;
    color: var(--mae-ink);
}

.level-photo img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
}

.check-list li {
    position: relative;
    padding: 6px 30px 6px 0;
    line-height: 1.9;
    color: #575757;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 13px;
    right: 4px;
    width: 12px;
    height: 7px;
    border: solid var(--Primary);
    border-width: 0 0 2.5px 2.5px;
    transform: rotate(-45deg);
}

/* ==========================================================
   وبلاگ، آرشیو و جستجو
   ========================================================== */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mae-line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.post-card-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #eef3f6;
}

.post-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--mae-gradient), #eaf3f8;
}

.post-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 24px 26px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--mae-muted);
}

.post-meta a {
    padding: 3px 12px;
    border-radius: 999px;
    background: #eaf3f8;
    color: var(--Primary);
    text-decoration: none;
}

.post-card h2,
.post-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.7;
}

.post-card h2 a,
.post-card h3 a {
    color: var(--mae-ink);
    text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover {
    color: var(--Primary);
}

.post-card p {
    flex: 1;
    font-size: 15px;
    line-height: 1.95;
    color: #575757;
}

.post-more {
    margin-top: 16px;
    font-weight: bold;
    color: var(--Primary);
    text-decoration: none;
}

.pagination {
    margin-top: 44px;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.page-numbers {
    min-width: 42px;
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    background: #fff;
    text-align: center;
    color: var(--mae-text);
    text-decoration: none;
}

a.page-numbers:hover {
    border-color: var(--Primary);
    color: var(--Primary);
}

.page-numbers.current {
    border-color: var(--Primary);
    background: var(--Primary);
    color: #fff;
}

.mae-search {
    display: flex;
    gap: 10px;
    max-width: 520px;
}

.search-bar {
    margin-bottom: 36px;
}

.empty-state,
.error-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px 0 60px;
    text-align: center;
}

.empty-state h2 {
    font-size: 24px;
    font-weight: bold;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    line-height: 1;
    color: #cfe3ec;
}

.error-404 h1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--mae-ink);
}

.error-404 p {
    max-width: 520px;
}

/* ==========================================================
   محتوای نوشته و برگه
   ========================================================== */

.entry {
    max-width: 860px;
    margin: 0 auto;
}

.entry-thumb {
    margin-bottom: 30px;
}

.entry-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.post-meta-single {
    margin-bottom: 24px;
}

.entry-content {
    font-size: 17px;
    color: var(--mae-ink);
}

.entry-content p {
    margin-bottom: 1.2em;
    font-size: 17px;
    line-height: 2.1;
    color: var(--mae-ink);
}

.entry-content h2 {
    margin: 1.8em 0 .6em;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.6;
}

.entry-content h3 {
    margin: 1.6em 0 .5em;
    font-size: 21px;
    font-weight: bold;
    line-height: 1.6;
}

.entry-content h4 {
    margin: 1.4em 0 .5em;
    font-size: 18px;
    font-weight: bold;
}

.entry-content strong,
.entry-content b {
    font-weight: bold;
}

.entry-content em,
.entry-content i {
    font-style: italic;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.2em;
    padding-right: 1.5em;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin: .4em 0;
    line-height: 2;
}

.entry-content a {
    color: var(--Primary);
    text-decoration: underline;
}

.entry-content blockquote {
    margin: 1.6em 0;
    padding: 14px 22px;
    border-right: 4px solid var(--Primary);
    border-radius: 12px;
    background: #f1f7fa;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.entry-content table {
    width: 100%;
    margin-bottom: 1.4em;
}

.entry-content th,
.entry-content td {
    padding: 10px 14px;
    border: 1px solid #e5e5e5;
    text-align: right;
}

.entry-content th {
    background: var(--mae-soft);
    font-weight: bold;
}

.entry-content .alignleft {
    float: left;
    margin: 0 20px 10px 0;
}

.entry-content .alignright {
    float: right;
    margin: 0 0 10px 20px;
}

.entry-content .aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.entry-content figcaption,
.wp-caption-text {
    margin-top: 8px;
    font-size: 13px;
    color: var(--mae-muted);
    text-align: center;
}

.entry-content::after {
    content: "";
    display: block;
    clear: both;
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 14px;
    color: var(--mae-muted);
}

.entry-tags a {
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--mae-soft);
    color: var(--mae-text);
    text-decoration: none;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--mae-line);
}

.post-nav a {
    color: var(--Primary);
    text-decoration: none;
    line-height: 1.8;
}

.post-nav-next {
    text-align: left;
}

.page-links {
    margin-top: 20px;
}

.related {
    margin-top: 80px;
}

/* ---------- دیدگاه‌ها ---------- */

.comments-area {
    max-width: 860px;
    margin: 70px auto 0;
}

.comment-list {
    margin-bottom: 40px;
}

.comment-list .children {
    margin-right: 28px;
}

.comment-body {
    margin-bottom: 16px;
    padding: 20px 22px;
    border: 1px solid var(--mae-line);
    border-radius: 18px;
    background: #fff;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-author .fn {
    font-weight: bold;
}

.comment-author .says {
    display: none;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-metadata {
    margin-bottom: 10px;
    font-size: 13px;
}

.comment-metadata a {
    color: var(--mae-muted);
    text-decoration: none;
}

.comment-content p {
    line-height: 2;
}

.reply a {
    font-size: 14px;
    font-weight: bold;
    color: var(--Primary);
    text-decoration: none;
}

.comment-reply-title {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: bold;
}

.comment-form p {
    margin-bottom: 16px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================================
   ریسپانسیو
   ========================================================== */

@media (max-width: 1280px) {
    .container {
        padding-right: 20px;
        padding-left: 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 991px) {

    /* --- هدر موبایل --- */
    .mm-drawer {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        background: #fff;
        border-bottom: 1px solid transparent;
        transition: max-height .3s ease, visibility .3s;
    }

    .mm-drawer.is-open {
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        visibility: visible;
        border-bottom-color: var(--mae-line);
    }

    .mm-drawer-menu {
        margin: 0;
        padding: 6px 0;
        list-style: none;
    }

    .mm-drawer-menu a {
        display: block;
        padding: 14px 24px;
        border-bottom: 1px solid #f3f3f3;
        color: #374151;
        text-decoration: none;
        font-size: 15px;
    }

    .mm-drawer-menu .current-menu-item > a {
        color: var(--Primary);
        font-weight: bold;
    }

    .mm-drawer-menu .sub-menu {
        margin: 0;
        padding: 0 18px 0 0;
        list-style: none;
        background: #fafafa;
    }

    .mm-drawer .mm-drawer-btn {
        display: flex;
        margin: 16px 24px 22px;
        color: #fff;
    }

    html.mm-lock {
        overflow: hidden;
    }

    /* --- صفحه‌های داخلی --- */
    .page-hero {
        padding-top: 90px;
    }

    .page-hero-inner {
        padding: 32px 28px 36px;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .svc-grid,
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps,
    .values {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .stat:nth-child(odd) {
        border-right: 0;
    }

    .about-intro,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-photo-sub {
        left: 10px;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 30px;
    }

    /* --- صفحه اصلی: چیدمان تک‌ستونه روی تبلت و موبایل --- */
    .hero-section {
        padding: 100px 0 50px;
    }

    .hero,
    .about-customer,
    .blog,
    .registering,
    .level,
    .app-content,
    .environment,
    .footer {
        flex-direction: column;
    }

    .col-20,
    .col-25,
    .col-30,
    .col-33,
    .col-40,
    .col-50,
    .col-60,
    .col-70 {
        width: 100%;
        box-sizing: border-box;
    }

    .hero-title h1 {
        margin-bottom: 24px;
        font-size: 32px;
    }

    .hero-image {
        justify-content: center;
        margin-top: 30px;
    }

    .hero-image img,
    .blog-img img,
    .level-img img,
    .app-img img,
    .enviro-img img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .blog-img img {
        aspect-ratio: 1 / 1;
    }

    .blog-img-placeholder {
        height: 380px;
    }

    .blog-desc {
        position: relative;
        bottom: auto;
        margin: -50px 16px 20px;
    }

    .about {
        border-left: 0;
    }

    .service-boxes {
        flex-wrap: wrap;
    }

    .service-box {
        width: calc(50% - 20px);
        margin: 10px;
        padding: 50px 20px;
        box-sizing: border-box;
    }

    .service-content {
        padding-bottom: 40px;
    }

    .customers,
    .enviro-boxes {
        flex-wrap: wrap;
        gap: 14px;
    }

    .register-box {
        width: 100%;
        box-sizing: border-box;
    }

    .register-heading h2 {
        font-size: 30px;
    }

    .level-content {
        padding-top: 30px;
    }

    .app-img img {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .app-desc {
        padding-right: 0;
        padding-top: 20px;
    }

    .enviro-img img {
        margin: 0;
        height: 300px;
    }

    .enviro-content {
        padding: 25px;
    }

    .footer {
        gap: 28px;
    }
}

@media (max-width: 640px) {

    .svc-grid,
    .post-grid,
    .steps,
    .values {
        grid-template-columns: 1fr;
    }

    .field-row,
    .field-row-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-card {
        padding: 26px 20px;
    }

    .mission blockquote {
        font-size: 28px;
    }

    .map-embed {
        height: 320px;
    }

    .service-box {
        width: calc(100% - 20px);
    }

    .blog-rows {
        flex-direction: column;
    }

    .about-photo-sub {
        left: 0;
        width: 52%;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav-next {
        text-align: right;
    }

    .mae-search {
        flex-direction: column;
    }

    .error-code {
        font-size: 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
