/* Motobaan overlays on Fair Wind Lite — keep Elementor layout intact */
html,
body {
    margin: 0;
    padding: 0;
}

.skip-link.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.page-preloader-cover {
    display: none !important;
}

.elementor-custom-embed iframe,
.elementor-widget-google_maps iframe {
    width: 100%;
    min-height: 400px;
    border: 0;
}

html,
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-button,
.elementor-button-text,
.elementor-icon-box-title,
.elementor-icon-box-description,
.elementor-text-editor,
.elementor-counter-title,
.main-navigation,
.main-navigation a,
.menu a,
.page-title,
.entry-title,
.page-content,
.footer-copyright,
.breadcrumbs,
.theme-feature,
.contact-form,
.site-logo__link {
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
}

.elementor-counter-number-wrapper,
.elementor-counter-number-wrapper * {
    font-family: "Raleway", sans-serif !important;
}

.site {
    -webkit-hyphens: none;
    hyphens: none;
}

/* Homepage: overlay header on the hero so the white strip above the image is gone */
body.home #masthead.site-header {
    position: absolute !important;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: transparent !important;
}

body.home .site-header__wrap,
body.home .main-navigation-inner {
    background-color: transparent !important;
}

body.home .site-header__wrap {
    padding-top: 28px !important;
    padding-bottom: 18px !important;
}

body.home .site-branding {
    padding-top: 0;
}

body.home .elementor-8 .elementor-element-25d928cb {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home #content.site-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body:not(.home) .main-navigation-inner {
    background-color: transparent !important;
}

body:not(.home) .main-navigation a,
body:not(.home) .menu-item-has-children:before {
    color: #1b242b !important;
}

body:not(.home) .main-navigation a:hover,
body:not(.home) .main-navigation .current-menu-item > a {
    color: #fc6b0a !important;
}

/* Stats: number + label side by side, Raleway only on digits */
.elementor-8 .elementor-element-526e5ea3 .elementor-inner-section .elementor-row {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.elementor-8 .elementor-element-526e5ea3 .elementor-inner-section .elementor-column {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto;
}

.elementor-8 .elementor-element-526e5ea3 .elementor-counter .elementor-counter-number-wrapper {
    direction: ltr;
    unicode-bidi: isolate;
    justify-content: flex-end;
    font-size: 48px !important;
    font-weight: 800;
    line-height: 1;
    color: #fc6b0a;
}

.elementor-8 .elementor-element-526e5ea3 .elementor-counter .elementor-counter-number-prefix,
.elementor-8 .elementor-element-526e5ea3 .elementor-counter .elementor-counter-number-suffix {
    flex-grow: 0 !important;
    width: auto;
    text-align: inherit;
}

.elementor-8 .elementor-element-410add90 > .elementor-widget-container,
.elementor-8 .elementor-element-7efc54af > .elementor-widget-container,
.elementor-8 .elementor-element-a1c809f > .elementor-widget-container {
    padding: 0 16px 0 0 !important;
    border-style: solid;
    border-color: #757981;
    border-width: 0 0 0 1px !important;
}

html[dir="rtl"] .elementor-8 .elementor-element-526e5ea3 .elementor-inner-section .elementor-widget-heading,
html[dir="rtl"] .elementor-8 .elementor-element-526e5ea3 .elementor-inner-section .elementor-heading-title {
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    text-align: right !important;
}

@media (max-width: 767px) {
    .elementor-8 .elementor-element-526e5ea3 .elementor-inner-section .elementor-row {
        flex-wrap: wrap;
    }

    .elementor-8 .elementor-element-410add90 > .elementor-widget-container,
    .elementor-8 .elementor-element-7efc54af > .elementor-widget-container,
    .elementor-8 .elementor-element-a1c809f > .elementor-widget-container {
        padding: 0 !important;
        border-width: 0 !important;
    }

    .elementor-8 .elementor-element-526e5ea3 .elementor-counter .elementor-counter-number-wrapper {
        justify-content: center;
        font-size: 40px !important;
    }

    html[dir="rtl"] .elementor-8 .elementor-element-526e5ea3 .elementor-inner-section .elementor-heading-title {
        text-align: center;
    }
}

.site-logo__link {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.site-header img.logo {
    max-height: 44px;
    width: auto;
    display: block;
}

.site-header__wrap {
    padding-top: 22px !important;
}

body.home .site-header img.logo {
    max-height: 48px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.elementor-heading-title,
.elementor-button-text,
.menu a,
.page-title,
.entry-title,
.elementor-icon-box-title,
.elementor-icon-box-description,
.elementor-text-editor,
.footer-copyright {
    direction: rtl;
    unicode-bidi: isolate;
}

.site-breadcrumbs {
    padding: 18px 0 0;
}

.site-content__wrap {
    padding-top: 40px;
    padding-bottom: 70px;
}

.page-header {
    margin-bottom: 28px;
}

.theme-alert {
    margin-bottom: 18px;
    padding: 12px 16px;
    direction: rtl;
}

.theme-alert--success {
    color: #398f14;
}

.theme-alert--error {
    color: #c0392b;
}

.theme-feature {
    margin-bottom: 36px;
    direction: rtl;
}

.theme-feature i {
    color: #fc6b0a;
    margin-left: 8px;
}

.posts-list .post-default {
    margin-bottom: 40px;
    direction: rtl;
}

.contact-form {
    direction: rtl;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    margin-bottom: 16px;
}

.related-posts {
    margin-top: 48px;
}

.related-posts h3 {
    margin-bottom: 20px;
}

/* RTL — theme CSS uses physical left/right, so flip alignment for Persian */
html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .site-header__wrap .space-between-content {
    justify-content: flex-start;
}

html[dir="rtl"] .site-header .main-navigation {
    margin-right: 28px;
}

html[dir="rtl"] .breadcrumbs .page-title,
html[dir="rtl"] .page-content,
html[dir="rtl"] .entry-content,
html[dir="rtl"] .footer-copyright,
html[dir="rtl"] .elementor-heading-title,
html[dir="rtl"] .elementor-widget-heading,
html[dir="rtl"] .elementor-text-editor,
html[dir="rtl"] .elementor-icon-box-title,
html[dir="rtl"] .elementor-icon-box-description,
html[dir="rtl"] .elementor-button-wrapper {
    text-align: right;
}

html[dir="rtl"] .breadcrumbs_item {
    float: none;
}

html[dir="rtl"] .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] textarea {
    text-align: right;
}

html[dir="rtl"] .theme-feature i {
    margin-left: 0;
    margin-right: 8px;
}

html[dir="rtl"] .elementor-8 .elementor-element-2c0d9f9f .elementor-icon-box-wrapper,
html[dir="rtl"] .elementor-8 .elementor-element-d9848ab .elementor-icon-box-wrapper,
html[dir="rtl"] .elementor-8 .elementor-element-42b1a586 .elementor-icon-box-wrapper,
html[dir="rtl"] .elementor-8 .elementor-element-2de53dc9,
html[dir="rtl"] .elementor-8 .elementor-element-7860442b {
    text-align: right;
}

html[dir="rtl"] .elementor-8 .elementor-element-3411146b,
html[dir="rtl"] .elementor-8 .elementor-element-2082f604,
html[dir="rtl"] .elementor-8 .elementor-element-272c6c2,
html[dir="rtl"] .elementor-8 .elementor-element-2a894d94,
html[dir="rtl"] .elementor-8 .elementor-element-194c0d7b .elementor-text-editor,
html[dir="rtl"] .page-title {
    text-align: center;
}

html[dir="rtl"] .elementor-widget-icon-box.elementor-position-right .elementor-icon-box-wrapper,
html[dir="rtl"] .elementor-widget-icon-box.elementor-position-left .elementor-icon-box-wrapper {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    text-align: right;
}

html[dir="rtl"] .elementor-widget-icon-box.elementor-position-right .elementor-icon-box-icon,
html[dir="rtl"] .elementor-widget-icon-box.elementor-position-left .elementor-icon-box-icon {
    margin-left: 17px !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

html[dir="rtl"] .elementor-8 .elementor-element-378aaa2f > .elementor-widget-container,
html[dir="rtl"] .elementor-8 .elementor-element-1c4673c > .elementor-widget-container,
html[dir="rtl"] .elementor-8 .elementor-element-5f44f6df > .elementor-widget-container,
html[dir="rtl"] .elementor-8 .elementor-element-49bf17e6 > .elementor-widget-container,
html[dir="rtl"] .elementor-8 .elementor-element-e954f74 > .elementor-widget-container,
html[dir="rtl"] .elementor-8 .elementor-element-f0a42fe > .elementor-widget-container {
    padding-left: 0;
    padding-right: 47px;
}

html[dir="rtl"] .elementor-8 .elementor-element-6b294150 > .elementor-widget-container {
    padding-left: 56px;
    padding-right: 0;
}

html[dir="rtl"] .fa-quote-left:before {
    content: "\f10e";
}

@media (max-width: 767px) {
    html[dir="rtl"] .elementor-8 .elementor-element-2de53dc9,
    html[dir="rtl"] .elementor-8 .elementor-element-7860442b,
    html[dir="rtl"] .elementor-8 .elementor-element-6b294150 .elementor-text-editor {
        text-align: center;
    }

    html[dir="rtl"] .elementor-8 .elementor-element-378aaa2f > .elementor-widget-container,
    html[dir="rtl"] .elementor-8 .elementor-element-1c4673c > .elementor-widget-container,
    html[dir="rtl"] .elementor-8 .elementor-element-5f44f6df > .elementor-widget-container,
    html[dir="rtl"] .elementor-8 .elementor-element-49bf17e6 > .elementor-widget-container,
    html[dir="rtl"] .elementor-8 .elementor-element-e954f74 > .elementor-widget-container,
    html[dir="rtl"] .elementor-8 .elementor-element-f0a42fe > .elementor-widget-container,
    html[dir="rtl"] .elementor-8 .elementor-element-6b294150 > .elementor-widget-container {
        padding-left: 0;
        padding-right: 0;
    }
}
