@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb_UltraLight.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb_UltraLight.woff") format("woff");
}

@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb_Light.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb_Light.woff") format("woff");
}

@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb.woff") format("woff");
}

@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb_Medium.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb_Medium.woff") format("woff");
}

@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb_Bold.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb_Bold.woff") format("woff");
}

html[lang="fa"] {
    --bs-body-font-family: "IRANSans", "Segoe UI", Tahoma, Arial, sans-serif;
    --bs-body-font-size: 17px;
    --bs-body-line-height: 1.85;
    --bs-body-color: #343946;
    --bs-body-color-rgb: 52, 57, 70;
    --bs-heading-color: #202432;
    --english-body-font: "IRANSans", "Inter", "Segoe UI", Arial, sans-serif;
    --english-heading-font: "IRANSans", "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
    font-family: var(--bs-body-font-family);
    font-synthesis: none;
}

html[lang="fa"] body {
    direction: rtl;
    text-align: start;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
}

html[lang="fa"] :is(h1, .h1) {
    font-family: var(--bs-body-font-family) !important;
    font-size: clamp(1.75rem, 3.2vw, 2.625rem) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align:center;
}

html[lang="fa"] :is(h2, .h2) {
    font-family: var(--bs-body-font-family) !important;
    font-size: clamp(1.4375rem, 2.5vw, 2rem) !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

html[lang="fa"] :is(h3, .h3) {
    font-family: var(--bs-body-font-family) !important;
    font-size: clamp(1.1875rem, 1.8vw, 1.5rem) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

html[lang="fa"] :is(h4, .h4) {
    font-family: var(--bs-body-font-family) !important;
    font-size: clamp(1.125rem, 1.5vw, 1.3125rem) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

html[lang="fa"] :is(h5, .h5) {
    font-family: var(--bs-body-font-family) !important;
    font-size: 1.0625rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

html[lang="fa"] :is(h6, .h6) {
    font-family: var(--bs-body-font-family) !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

html[lang="fa"] :is(p, li, blockquote, dd, dt) {
    line-height: 1.85;
}

html[lang="fa"] p {
    margin-block-end: 1rem;
}

html[lang="fa"] :is(.font-base, .font-heading) {
    font-family: var(--bs-body-font-family) !important;
}

html[lang="fa"] :is(.navbar .nav-link, .dropdown-menu .dropdown-item) {
    font-family: var(--bs-body-font-family) !important;
    font-size: 15px;
    font-weight: 500;
}

html[lang="fa"] :is(button, .btn, input[type="button"], input[type="submit"], input[type="reset"]) {
    font-family: var(--bs-body-font-family) !important;
    font-size: 16px;
    font-weight: 600;
}

html[lang="fa"] :is(input, select, textarea, .form-control, .form-select) {
    font-family: var(--bs-body-font-family) !important;
    font-size: 16px;
    font-weight: 400;
    text-align: start;
}

html[lang="fa"] :is(.small, small, .form-text, .text-small) {
    font-size: 14px;
    line-height: 1.7;
}

html[lang="fa"] :is(main.english-content-page, .english-content-region) {
    --english-body-font: "IRANSans", "Inter", "Segoe UI", Arial, sans-serif;
    --english-heading-font: "IRANSans", "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
    font-family: var(--english-body-font);
    font-size: 17px;
    line-height: 1.85;
    color: var(--bs-body-color);
    direction: rtl;
    text-align: start;
}

html[lang="fa"] :is(main.english-content-page, .english-content-region) .english-content-title {
    font-family: var(--english-heading-font) !important;
}

html[lang="fa"] :is(.page-dsc, .english-rich-text, .blog-detail__content, .guide-detail__content) {
    width: 100%;
    max-width: 68ch;
    margin-inline: auto;
    font-family: var(--bs-body-font-family) !important;
    font-size: 17px;
    line-height: 1.85;
    text-align: start;
    direction: rtl;
}

html[lang="fa"] .contact-info-cards {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 1rem;
    margin-top: 20px;
    margin-bottom: 30px;
}

html[lang="fa"] .contact-page-form {
    margin-bottom: 40px;
}

html[lang="fa"] :is(.page-dsc, .english-rich-text, .blog-detail__content, .guide-detail__content) :is(p, li, blockquote, td, th) {
    font-family: var(--bs-body-font-family) !important;
    font-size: inherit;
    line-height: 1.85 !important;
    text-align: start !important;
    word-spacing: normal;
    letter-spacing: normal;
    hyphens: none;
}

html[lang="fa"] [style*="text-align: justify"] {
    text-align: start !important;
}

html[lang="fa"] :is(.page-dsc, .english-rich-text, .blog-detail__content, .guide-detail__content) table {
    display: block;
    width: max-content;
    min-width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: separate;
    border-spacing: 0;
    -webkit-overflow-scrolling: touch;
}

html[lang="fa"] :is(.page-dsc, .english-rich-text, .blog-detail__content, .guide-detail__content) :is(th, td) {
    min-width: 8rem;
    padding: .75rem .9rem;
    border-block-end: 1px solid #e6e8ef;
    vertical-align: top;
    white-space: normal;
}

html[lang="fa"] :is(.page-dsc, .english-rich-text, .blog-detail__content, .guide-detail__content) th {
    background: rgba(var(--bs-primary-rgb), .06);
    color: #252a38;
    font-weight: 600;
}

html[lang="fa"] .persian-page-description {
    width: 91.66666667%;
    max-width: 1000px;
    margin-inline: auto;
}

html[lang="fa"] :is(.persian-hotel-detail-content, .persian-service-detail-content, .persian-about-detail-content, .persian-guide-detail-content, .persian-blog-detail-content, .persian-gallery-detail-content) {
    width: 91.66666667%;
    max-width: none;
}

@media (min-width: 992px) {
    html[lang="fa"] .persian-page-description,
    html[lang="fa"] :is(.persian-hotel-detail-content, .persian-service-detail-content, .persian-about-detail-content, .persian-guide-detail-content, .persian-blog-detail-content, .persian-gallery-detail-content) {
        width: 83.33333333%;
    }
}

html[lang="fa"] .persian-blog-description {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    font-family: var(--bs-body-font-family) !important;
    font-size: 17px;
    line-height: 1.85;
    text-align: start;
    direction: rtl;
}

html[lang="fa"] .blog-landing .container {
    max-width: 1200px;
}

html[lang="fa"] .blog-landing__intro-section {
    padding-block: clamp(2rem, 5vw, 4rem) 1rem;
}

html[lang="fa"] .blog-landing__title {
    margin-bottom: 1.25rem;
    text-align: center;
}

html[lang="fa"] .blog-landing__description-section {
    padding-block: 1rem clamp(3rem, 6vw, 5rem);
}

html[lang="fa"] .blog-landing__articles-section {
    padding-block: 1.5rem clamp(3rem, 6vw, 5rem);
}

html[lang="fa"] .blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: .75rem;
    background: var(--bs-body-bg, #fff);
}

html[lang="fa"] .blog-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(107, 114, 128, .08);
}

html[lang="fa"] .blog-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html[lang="fa"] .blog-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
}

html[lang="fa"] .blog-card__category {
    display: inline-block;
    margin-bottom: .75rem;
    color: var(--bs-primary);
}

html[lang="fa"] .blog-card__title {
    margin: 0 0 .75rem;
}

html[lang="fa"] .blog-card__title a {
    color: inherit;
    text-decoration: none;
}

html[lang="fa"] .blog-card__title a:hover,
html[lang="fa"] .blog-card__title a:focus-visible {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: .15em;
}

html[lang="fa"] .blog-card__summary {
    margin-bottom: 1rem;
    font-size: 1rem;
}

html[lang="fa"] .blog-card__metadata {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    margin-top: auto;
    color: var(--bs-secondary-color, #6b7280);
    line-height: 1.5;
}

html[lang="fa"] .blog-card-row--single .blog-card--single {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
}

html[lang="fa"] .blog-card-row--single .blog-card__media {
    height: 100%;
    min-height: 260px;
    aspect-ratio: auto;
}

html[lang="fa"] .blog-card-row--single .blog-card__body {
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 767.98px) {
    html[lang="fa"] .blog-card-row--single .blog-card--single {
        grid-template-columns: minmax(0, 1fr);
    }

    html[lang="fa"] .blog-card-row--single .blog-card__media {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

html[lang="fa"] .blog-detail__hero-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

html[lang="fa"] .blog-detail__content img {
    max-width: 100%;
    height: auto !important;
    border-radius: 5px !important;
}

html[lang="fa"] :is(.tour-booking-name, .tour-booking-price) {
    font-family: var(--bs-body-font-family) !important;
    font-size: 16px;
}

html[lang="fa"] .tour-booking-code {
    font-family: var(--bs-body-font-family) !important;
    font-size: 13px;
}

html[lang="fa"] .tour-booking-detail-toggle,
html[lang="fa"] .tour-details-tabs .nav-link,
html[lang="fa"] .tour-booking-book,
html[lang="fa"] #tourBookingSubmit {
    font-family: var(--bs-body-font-family) !important;
    font-size: 16px !important;
}

html[lang="fa"] .tour-detail-row {
    font-size: 15px;
    line-height: 1.7;
}

html[lang="fa"] .tour-itinerary-description {
    font-size: 15px;
    line-height: 1.8;
}

html[lang="fa"] :is([dir="ltr"], .persian-ltr, .ltr-content) {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

html[lang="fa"] bdi {
    unicode-bidi: isolate;
}

html[lang="fa"] :is(input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"]) {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

html[lang="fa"] :is(.tour-booking-code, .tour-booking-price, .tour-booking-duration, .tour-booking-start-date, .tour-booking-end-date, .tour-booking-rating-field, a[href^="tel:"], a[href^="mailto:"]) {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

html[lang="fa"] :is(table, th, td) {
    direction: rtl;
    text-align: start;
}

@media (min-width: 992px) {
    html[lang="fa"] .persian-page-description,
    html[lang="fa"] .persian-page-description :is(p, li, blockquote, td, th) {
        text-align: justify !important;
    }

    html[lang="fa"] .persian-hotel-detail-content,
    html[lang="fa"] .persian-hotel-detail-content :is(p, li, blockquote, td, th) {
        text-align: justify !important;
    }

    html[lang="fa"] .persian-blog-description,
    html[lang="fa"] .persian-blog-description :is(p, li, blockquote, td, th) {
        text-align: justify !important;
    }
}

@media (max-width: 767.98px) {
    html[lang="fa"] {
        --bs-body-font-size: 16px;
    }

    html[lang="fa"] :is(.navbar .nav-link, .dropdown-menu .dropdown-item) {
        font-size: 16px;
    }

    html[lang="fa"] :is(button, .btn, input[type="button"], input[type="submit"], input[type="reset"]) {
        font-size: 15px;
    }

    html[lang="fa"] :is(main.english-content-page, .english-content-region) {
        font-size: 16px;
    }

    html[lang="fa"] :is(.page-dsc, .english-rich-text, .blog-detail__content, .guide-detail__content) {
        font-size: 16px;
    }

    html[lang="fa"] .tour-booking-detail-toggle,
    html[lang="fa"] .tour-details-tabs .nav-link,
    html[lang="fa"] .tour-booking-book,
    html[lang="fa"] #tourBookingSubmit {
        font-size: 15px !important;
    }

    html[lang="fa"] .tour-itinerary-row,
    html[lang="fa"] .tour-itinerary-description {
        font-size: 17px;
    }

    html[lang="fa"] .tour-detail-row {
        font-size: 17px;
    }

    html[lang="fa"] .tour-service-section h6 {
        font-size: 18px;
    }
}
