@font-face {
    font-family: IranSansX;
    src: url("media/fonts/IRANSansX-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: IranSansX;
    src: url("media/fonts/IRANSansX-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
}

/* Use the template's grid and components with Persian typography and live content. */
body.fm-tourx {
    --f-primary: IranSansX, Tahoma, sans-serif;
    --f-secondary: IranSansX, Tahoma, sans-serif;
    --f-secondary-two: IranSansX, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: var(--f-primary);
}
.fm-tourx :focus-visible { outline: 2px solid #b92f25; outline-offset: 3px; }
.fm-tourx .fm-skip {
    position: absolute;
    z-index: 110;
    top: .5rem;
    inset-inline-start: .5rem;
    padding: .65rem 1rem;
    color: #2d373c;
    background: #fff;
    transform: translateY(-150%);
}
.fm-tourx .fm-skip:focus { transform: none; }
.fm-tourx .fm-tourx-grid { direction: rtl; }
.fm-tourx .fm-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    color: #162b32;
    font: 800 clamp(1.4rem, 3vw, 2.15rem)/1.2 var(--f-primary);
    text-decoration: none;
}
.fm-tourx .fm-brand i { color: #ff4838; margin-inline-end: .2em; }
.fm-tourx .fm-brand span { color: #ff4838; }
.fm-tourx .footer-area .fm-brand { color: #fff; }
.fm-tourx .mobile-menu .hamburger { background: transparent; padding: 0; }
.fm-tourx header .header-style-four .nav-logo > .fm-brand { color: #fff; }
.fm-tourx-home .hero-style-four .hero4-content h2 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 70px;
    font-weight: 700;
}
.fm-tourx-home .hero-style-four .slider-arrows button,
.fm-tourx-home .upcoming-tour-area .slider-arrows button { cursor: pointer; }
.fm-tourx-home .searchbar-section.home4 .searchbox-input select { direction: rtl; }
.fm-tourx-home .searchbar-section.home4 { position: relative; z-index: 10; }
.fm-tourx-home .searchbar-section.home4 .searchbox-input { min-width: 0; overflow: visible; }
.fm-tourx-home .searchbar-section.home4 .searchbox-icon { flex: 0 0 auto; }
.fm-tourx-home #fm-home-search .search-box-single { padding-block: 7px; }
.fm-tourx-home #fm-home-search .searchbox-input > label {
    margin-block: 0;
    line-height: 1.25;
}
.fm-tourx-home #fm-home-search [hidden] { display: none !important; }
.fm-home-picker { position: relative; }
.fm-home-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    width: 100%;
    block-size: 30px;
    border: 0;
    border-radius: 6px;
    padding-block: 0;
    padding-inline: 0 .65rem;
    background: #fff;
    color: #2d373c;
    font-size: .875rem;
    text-align: start;
}
.fm-home-picker-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-home-picker-trigger .fm-fa { font-size: .75rem; color: #59666c; }
.fm-home-picker-trigger[aria-expanded="true"] .fm-fa { transform: rotate(180deg); }
.fm-home-picker-panel {
    position: absolute;
    z-index: 1;
    inset-inline: 0;
    inset-block-start: calc(100% + .35rem);
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 32px #162b3230;
}
.fm-home-picker.opens-up .fm-home-picker-panel {
    inset-block-start: auto;
    inset-block-end: calc(100% + .35rem);
}
.fm-home-picker-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .65rem;
    border-block-end: 1px solid #e9ebec;
    color: #59666c;
}
.fm-tourx-home #fm-home-search .fm-home-picker-search input {
    flex: 1 1 auto;
    min-width: 0;
    min-block-size: 40px;
    padding: .3rem;
    color: #2d373c;
    font-size: 16px;
}
.fm-tourx-home #fm-home-search .fm-home-picker-search input::placeholder {
    color: #59666c;
    font-size: .875rem;
}
.fm-home-picker-options {
    max-block-size: min(16rem, 36vh);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.fm-home-picker-options [role="option"] {
    display: flex;
    align-items: center;
    min-block-size: 44px;
    padding: .45rem .75rem;
    cursor: pointer;
    color: #2d373c;
    overflow-wrap: anywhere;
    font-size: .875rem;
}
.fm-home-picker-options [aria-selected="true"] { font-weight: 700; color: #9d291e; }
.fm-home-picker-options [role="option"]:hover,
.fm-home-picker-options .is-highlighted { background: #fff2ef; }
.fm-tourx-home .fm-home-picker-empty { padding: .75rem; font-size: .875rem; color: #59666c; }
.fm-tourx-home .package-style-two .section-head-alpha p { min-block-size: calc(2lh + 10px); }
.fm-tourx-home .destination-style-two .destination-img img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.fm-tourx .breadcrumb-style-one .breadcrumb-title { line-height: 1.2; }
.fm-tourx .breadcrumb-style-one .breadcrumb-items .breadcrumb-item + .breadcrumb-item::before {
    content: '«';
    float: none;
    font-family: inherit !important;
    padding-inline: .5rem;
}
.fm-tourx .section-head-alpha h2 { color: #2d373c; }
.fm-tourx .fm-tourx-offer .section-head-alpha h2 { color: #fff; margin-bottom: 1rem; }
.fm-tourx .fm-tourx-offer .achievement-box-style-one { justify-content: center; }
.fm-tourx .destination-card-style-one .d-card-thumb img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.fm-tourx .destination-card-style-one .place-count a { color: inherit; }
.fm-tourx .package-card-delta .package-thumb img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.fm-tourx .package-card-delta .package-card-body { min-width: 0; }
.fm-tourx .package-card-delta { container-type: inline-size; }
.fm-tourx .package-card-delta .package-card-body { padding-inline: clamp(14px, 5cqi, 25px); }
.fm-tourx .package-card-delta .p-card-title {
    block-size: 2lh;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.fm-tourx .package-card-delta .p-card-title:focus-within {
    outline: 2px solid #b92f25;
    outline-offset: 3px;
}
.fm-tourx .package-card-delta .package-card-body .p-card-bottom {
    align-items: flex-end;
    flex-wrap: wrap;
    gap: .25rem;
}
.fm-tourx .package-card-delta .package-card-body .p-card-info { padding-inline: 0; }
.fm-tourx .package-card-delta .package-card-body .p-card-info h6 {
    font-size: clamp(.8125rem, 4cqi, 1rem);
    white-space: nowrap;
}
.fm-tourx .package-card-delta .book-btn { margin-inline-start: auto; }
.fm-tourx .package-card-delta .package-card-body .book-btn a {
    font-size: .875rem;
    padding-inline: clamp(6px, 2.1cqi, 16px);
}
.fm-tourx .package-card-delta .package-thumb .card-lavel {
    padding: 9px 32px;
    min-width: 0;
    opacity: 1;
    transform: none;
    border-radius: 3px;
    box-shadow: none;
    clip-path: polygon(9% 0, 90% 3%, 100% 94%, 0 100%);
    pointer-events: none;
}
.fm-tourx .package-card-gamma {
    display: grid;
    grid-template-areas: "heading" "thumb" "actions";
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: .75rem;
}
.fm-tourx .package-card-gamma .package-card-body { min-width: 0; padding: 0; text-align: start; }
.fm-tourx .fm-list-card-heading { grid-area: heading; }
.fm-tourx .fm-list-card-actions { grid-area: actions; align-self: end; }
.fm-tourx .package-card-gamma .package-thumb { grid-area: thumb; }
.fm-tourx .package-card-gamma .fm-list-card-heading .card-lavel {
    display: block;
    inline-size: fit-content;
    margin-inline: auto;
}
.fm-tourx .package-card-gamma .fm-list-card-heading .p-card-title { padding-block-start: .5rem; }
.fm-tourx .package-card-gamma .fm-list-card-actions .p-card-bottom {
    align-items: flex-end;
    flex-wrap: nowrap;
    margin: 0;
}
.fm-tourx .package-card-gamma .fm-list-card-actions .book-btn { margin-inline-start: auto; }
.fm-tourx .package-card-gamma .fm-list-card-actions .p-card-info { min-width: 0; overflow-wrap: anywhere; }
.fm-tourx .fm-price-currency {
    color: #606970;
    font-size: .7em;
    font-weight: 500;
}
.fm-tourx .package-card-gamma .package-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 355 / 221;
    object-fit: cover;
}
.fm-tourx .package-card-body .p-card-bottom { gap: .75rem; }
.fm-tourx .package-card-body .p-card-bottom .book-btn { flex-shrink: 0; }
.fm-tourx .package-card-body .p-card-bottom .p-card-info h6 { line-height: 1.4; }
.fm-tourx #fm-filter-panel .search-input-group input {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 0;
    border-start-start-radius: 44px;
    border-end-start-radius: 44px;
}
.fm-tourx #fm-filter-panel .search-input-group button {
    flex: 0 0 auto;
    margin: 0;
    border-radius: 0;
    border-start-end-radius: 44px;
    border-end-end-radius: 44px;
}
.fm-tourx #fm-filter-panel .fm-filter-options {
    max-block-size: 18rem;
    overflow-y: auto;
    padding: 6px;
    scrollbar-gutter: stable;
}
.fm-tourx #fm-filter-panel .category-check {
    gap: .75rem;
    min-block-size: 32px;
    margin-block-start: .4rem;
}
.fm-tourx #fm-filter-panel .category-check:first-child { margin-block-start: 0; }
.fm-tourx #fm-filter-panel .category-check label { flex: 1 1 auto; min-width: 0; }
.fm-tourx #fm-filter-panel .category-check label i {
    margin: 0;
    margin-inline-end: 5px;
}
.fm-tourx .package-sidebar .form-check-input { margin: 0; cursor: pointer; }
.fm-tourx #fm-filter-panel .form-check-input { flex: 0 0 auto; }
.fm-tourx #fm-booking-panel .widget-title h2 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
}
.fm-tourx #booking-form { display: grid; gap: .75rem; }
.fm-tourx #booking-form label { font-size: .9rem; font-weight: 650; }
.fm-tourx .fm-itinerary-field { position: relative; }
.fm-tourx .fm-itinerary-field i {
    position: absolute;
    inset-block-start: 50%;
    transform: translateY(-50%);
    color: #606970;
    font-size: 1.1rem;
    pointer-events: none;
}
.fm-tourx .fm-itinerary-field .bx-calendar { inset-inline-start: .65rem; }
.fm-tourx .fm-itinerary-field .bx-chevron-down { inset-inline-end: .55rem; }
.fm-tourx #fm-itinerary {
    appearance: none;
    display: block;
    width: 100%;
    min-height: 50px;
    padding: .5rem 2rem .5rem 1.7rem;
    border: 1px solid #d4dcdf;
    border-radius: .55rem;
    background: #fff;
    color: #2d373c;
    font: 600 .875rem/1.6 var(--f-primary);
    cursor: pointer;
}
.fm-tourx #fm-itinerary:hover { border-color: #606970; }
.fm-tourx #fm-itinerary:focus-visible { outline: 2px solid #075985; outline-offset: 2px; }
.fm-tourx #booking-form button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    min-height: 48px;
    margin-block-start: .25rem;
    padding: .6rem .75rem;
}
.fm-tourx #booking-form button i { font-size: 1.2rem; }
.fm-tourx .fm-booking-price {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    margin: .85rem 0 0;
    padding-block-start: .75rem;
    border-block-start: 1px solid #e2e8eb;
    color: #505b60;
    font-size: .85rem;
}
.fm-tourx .fm-booking-price strong { color: #c73729; overflow-wrap: anywhere; }
.fm-tourx .fm-detail-destinations { margin-block-start: 1.25rem; }
.fm-tourx .fm-detail-destinations .widget-title h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
}
.fm-tourx .fm-destination-origin { margin: .75rem 0; color: #505b60; font-size: .85rem; }
.fm-tourx .fm-detail-destinations .fm-destination-origin { margin-block-start: 0; }
.fm-tourx .fm-detail-destinations .fm-stops { padding: 0; margin: 0; list-style: none; }
.fm-tourx .fm-detail-destinations .fm-stops li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .6rem;
    font-size: .875rem;
}
.fm-tourx .fm-detail-destinations .fm-stops li + li {
    margin-block-start: .65rem;
    padding-block-start: .65rem;
    border-block-start: 1px solid #e2e8eb;
}
.fm-tourx .fm-detail-destinations .fm-stops span { color: #505b60; }
.fm-tourx .tour-package-details .pd-single-info { align-items: center; gap: .8rem; }
.fm-tourx .tour-package-details .pd-single-info .info-icon { margin: 0; }
.fm-tourx .tour-package-details .pd-thumb img { width: 100%; aspect-ratio: 1.9; object-fit: cover; }
.fm-tourx .tour-package-details .pd-title { line-height: 1.45; }
.fm-tourx .tour-package-details .pd-lavel .rating { color: #ff4838; }
.fm-tourx .fm-detail-ui.first-minute {
    --color-primary: #c73729;
    --fm-panel: #fff7f6;
    --fm-line: #e2e8eb;
    --fm-ink: #2d373c;
    --fm-muted: #666;
    width: 100%;
    margin: 0;
}
.fm-tourx .fm-itinerary-section.first-minute { margin-block-start: 1.75rem; }
.fm-tourx .fm-itinerary-section .fm-tour-copy { margin-block-start: 1rem; }
.fm-tourx .fm-trip-timeline {
    --fm-marker-size: 2rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.fm-tourx .fm-trip-step {
    position: relative;
    display: grid;
    grid-template-columns: var(--fm-marker-size) minmax(0, 1fr);
    align-items: start;
    gap: clamp(.65rem, 2vw, 1.15rem);
    padding-block-end: .75rem;
}
.fm-tourx .fm-trip-step:not(:last-child)::before {
    content: '';
    position: absolute;
    inset-block: calc(var(--fm-marker-size) / 2) calc(var(--fm-marker-size) / -2);
    inset-inline-start: calc(var(--fm-marker-size) / 2 - 1px);
    border-inline-start: 2px solid #d4dfe3;
}
.fm-tourx .fm-trip-step:last-child { padding-block-end: 0; }
.fm-tourx .fm-trip-marker {
    position: relative;
    display: grid;
    place-items: center;
    inline-size: var(--fm-marker-size);
    aspect-ratio: 1;
    border: 1px solid #d4dfe3;
    border-radius: 50%;
    background: #fff;
    color: #35464d;
    font-size: 1rem;
}
.fm-tourx .fm-trip-endpoint .fm-trip-marker {
    border-color: #162b32;
    background: #162b32;
    color: #fff;
}
.fm-tourx .fm-trip-content {
    display: grid;
    gap: .65rem;
    padding: clamp(.75rem, 1.8vw, 1.1rem);
    border: 1px solid var(--fm-line);
    border-radius: .65rem;
    background: #fff;
    overflow-wrap: anywhere;
}
.fm-tourx .fm-trip-endpoint .fm-trip-content { background: #f3f6f7; }
.fm-tourx .fm-trip-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem .85rem;
}
.fm-tourx .fm-trip-content h3 {
    margin: 0;
    color: #162b32;
    font-size: clamp(1.075rem, 1.6vw, 1.3rem);
    line-height: 1.5;
}
.fm-tourx .fm-trip-caption { display: block; color: #505b60; font-size: .8rem; font-weight: 700; }
.fm-tourx .fm-trip-connection { color: var(--color-primary); }
.fm-tourx :is(.fm-trip-schedule, .fm-trip-provider) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-self: start;
    gap: .15rem .45rem;
    margin: 0;
    padding: .2rem .55rem;
    border-radius: .35rem;
    background: #edf2f4;
    color: #35464d;
    font-size: .8rem;
}
.fm-tourx .fm-trip-schedule { background: #fff1ed; color: #8c382c; font-weight: 650; }
.fm-tourx .fm-trip-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(.3rem, 1.5vw, .9rem);
    padding: .55rem clamp(.55rem, 1.5vw, .95rem);
    border: 1px solid #e8eef0;
    border-radius: .45rem;
    background: #f8fafb;
}
.fm-tourx .fm-trip-route:has(.fm-trip-route-arrow) {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.fm-tourx .fm-trip-route-point { min-width: 0; align-self: start; }
.fm-tourx .fm-trip-route-arrow + .fm-trip-route-point { text-align: end; }
.fm-tourx .fm-trip-route-arrow {
    display: flex;
    align-items: center;
    gap: .3rem;
    width: 1.25rem;
    color: #a64435;
    font-size: 1rem;
}
.fm-tourx .fm-trip-route-arrow::before,
.fm-tourx .fm-trip-route-arrow::after {
    content: '';
    flex: 1;
    border-block-start: 1px dashed #aabcc3;
}
@media (min-width: 768px) {
    .fm-tourx .fm-trip-route:has(.fm-trip-route-arrow) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fm-tourx .fm-trip-route-arrow { width: 100%; }
}
.fm-tourx .fm-trip-route-label { display: block; color: #505b60; font-size: .75rem; }
.fm-tourx .fm-trip-route-value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .05rem .5rem;
    color: #162b32;
    font-size: .9rem;
}
.fm-tourx .fm-trip-route-arrow + .fm-trip-route-point .fm-trip-route-value { justify-content: flex-end; }
.fm-tourx .fm-trip-time {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.fm-tourx .fm-trip-terminal { display: block; color: #505b60; font-size: .75rem; }
.fm-tourx .fm-trip-airport-code { white-space: nowrap; font-weight: 700; }
.fm-tourx .fm-trip-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fm-tourx .fm-trip-metadata li {
    padding: .12rem .5rem;
    border: 1px solid #dce6e9;
    border-radius: .35rem;
    background: #fff;
    color: #35464d;
    font-size: .8rem;
}
.fm-tourx .fm-trip-note { padding-block-start: .4rem; border-block-start: 1px solid var(--fm-line); }
.fm-tourx .fm-trip-note p { margin-block: .35rem 0; }
.fm-tourx .fm-hotel-section.first-minute { margin-block: 1.75rem clamp(2.5rem, 6vw, 4rem); }
.fm-tourx #fm-offers-title { scroll-margin-top: 5rem; }
.fm-tourx .fm-offers-date { margin: 0 0 .5rem; color: var(--fm-muted); }
.fm-tourx .fm-offers-date i { color: var(--color-primary); }
.fm-tourx .fm-hotel-section .fm-offers { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
.fm-tourx .fm-offer {
    border-radius: .85rem;
    box-shadow: 0 4px 20px rgb(22 43 50 / 6%);
}
.fm-tourx .fm-offer .fm-card-body { gap: .9rem; padding: clamp(.85rem, 2.5vw, 1.5rem); }
.fm-tourx .fm-offer .fm-hotel { gap: .9rem; align-items: center; }
.fm-tourx .fm-offer .fm-hotel > div { flex-basis: 0; }
.fm-tourx .fm-hotel-photo {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
    inline-size: clamp(4rem, 11vw, 8.5rem);
    aspect-ratio: 4 / 3;
    border-radius: .6rem;
    background: #f3f6f7;
    color: #606970;
    font-size: 1.5rem;
}
.fm-tourx .fm-hotel-photo img {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}
.fm-tourx .fm-hotel-photo img[hidden] { display: none; }
.fm-tourx .fm-offer .fm-card-title { font-size: clamp(1rem, 2vw, 1.25rem); overflow-wrap: anywhere; }
.fm-tourx .fm-offer .fm-card-title a { color: #162b32; }
.fm-tourx .fm-offer .fm-card-title a:hover { color: var(--color-primary); }
.fm-tourx .fm-hotel-latin { font-size: .85rem; }
.fm-tourx .fm-hotel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: .45rem 0 0;
    padding: 0;
    list-style: none;
}
.fm-tourx .fm-hotel-meta li {
    padding: .15rem .5rem;
    border-radius: .3rem;
    background: #f3f6f7;
    color: #35464d;
    font-size: .8rem;
}
.fm-tourx .fm-hotel-rating { margin: .4rem 0 0; color: #505b60; font-size: .8rem; }
.fm-tourx .fm-hotel-rating i { color: #9b5c0a; }
.fm-tourx .fm-package-rates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.75rem), 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0;
    border: 1px solid #f1e4e1;
    border-radius: .6rem;
    background: #f1e4e1;
}
.fm-tourx .fm-package-rates > div {
    min-width: 0;
    padding: .65rem .8rem;
    overflow-wrap: anywhere;
    background: #fff7f5;
}
.fm-tourx .fm-package-rates dt { color: #38464b; font-size: .8rem; font-weight: 650; }
.fm-tourx .fm-package-rates dd { margin: .2rem 0 0; line-height: 1.65; }
.fm-tourx .fm-package-rates .fm-price { font-size: .96rem; }
.fm-tourx .fm-package-rates del {
    display: block;
    color: #606970;
    font-size: .82rem;
}
.fm-tourx .fm-tour-information {
    display: grid;
    gap: 1rem;
}
.fm-tourx .fm-tour-information-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem .85rem;
}
.fm-tourx .fm-tour-information-heading h2,
.fm-tourx .fm-related-tours h2 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.75rem); color: #162b32; }
.fm-tourx .fm-tour-information-heading > span {
    padding: .2rem .65rem;
    border-radius: .35rem;
    background: #edf6f2;
    color: #235746;
    font-size: .85rem;
}
.fm-tourx .fm-tour-note { border-radius: .75rem; }
.fm-tourx .fm-tour-note .fm-card-body { gap: .75rem; padding: clamp(.85rem, 2.6vw, 1.5rem); }
.fm-tourx .fm-tour-note .fm-card-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding-block-end: .65rem;
    border-block-end: 1px solid var(--fm-line);
    color: #162b32;
    font-size: clamp(1rem, 2vw, 1.2rem);
}
.fm-tourx .fm-tour-note-icon {
    display: grid;
    flex: 0 0 2rem;
    place-items: center;
    block-size: 2rem;
    border-radius: .45rem;
    background: #fff1ed;
    color: #a64435;
    font-size: 1.1rem;
}
.fm-tourx .fm-tour-note .fm-tour-copy {
    max-inline-size: 70ch;
    color: #35464d;
    line-height: 1.95;
}
.fm-tourx .fm-tour-note .fm-tour-copy > :first-child { margin-block-start: 0; }
.fm-tourx .fm-tour-note .fm-tour-copy > :last-child { margin-block-end: 0; }
.fm-tourx .fm-tour-note .fm-tour-copy :is(ul, ol) { padding-inline-start: 1.5rem; }
.fm-tourx .fm-tour-note .fm-tour-copy ul { list-style: disc; }
.fm-tourx .fm-tour-note .fm-tour-copy ol { list-style: decimal; }
.fm-tourx .fm-tour-note .fm-tour-copy :is(h3, h4) { font-size: 1rem; margin-block: .8rem .4rem; }
.fm-tourx .fm-tour-note .fm-tour-copy blockquote {
    padding-inline-start: .75rem;
    border-inline-start: 3px solid var(--fm-line);
}
.fm-tourx .fm-tour-note .fm-tour-copy a { text-decoration: underline; }
.fm-tourx .fm-tour-information > .fm-btn { justify-self: start; }
.fm-tourx .fm-related-tours { margin-block-start: clamp(2.25rem, 6vw, 4rem); }
.fm-tourx .fm-related-tours h2 { margin-block-end: 1.25rem; }
.fm-tourx .gallary-item img,
.fm-tourx .footer-gallary-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fm-tourx #fm-destinations, .fm-tourx #fm-filter-panel, .fm-tourx #fm-booking-panel { scroll-margin-top: 1rem; }

@media (min-width: 992px) {
    .fm-tourx .package-card-gamma {
        grid-template-areas: "thumb heading" "thumb actions";
        grid-template-columns: min(45%, 355px) minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        gap: 0;
    }
    .fm-tourx .package-card-gamma .package-card-body { padding-inline: 30px 20px; }
    .fm-tourx .package-card-gamma .fm-list-card-actions { padding-block-start: 1rem; }
}
@media (max-width: 1199px) {
    .fm-tourx header .main-nav:not(.slidenav) { visibility: hidden; }
    .fm-tourx header .main-nav.slidenav { visibility: visible; }
}
@media (max-width: 991px) {
    .fm-tourx .package-card-gamma .package-thumb { width: 100%; }
    .fm-tourx .package-details-wrapper .package-sidebar,
    .fm-tourx .package-standard-wrapper .package-sidebar { margin-top: 2rem; }
    .fm-tourx .package-details-wrapper .fm-detail-booking .package-sidebar { margin-top: 0; }
    .fm-tourx-home .hero-style-four .hero4-content h2 { font-size: 60px; }
}
@media (max-width: 575px) {
    .fm-tourx-home .hero-style-four .hero4-content h1,
    .fm-tourx-home .hero-style-four .hero4-content h2 { font-size: clamp(2rem, 10vw, 3.125rem); }
    .fm-tourx .package-card-body .p-card-bottom { flex-wrap: wrap; }
    .fm-tourx .pagination-style-one .page-item { margin-right: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
    .fm-tourx .hero-style-four .swiper-slide * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.fm-tourx .package-sidebar .widget-gallary img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.fm-tourx .package-sidebar .package-sm .thumb { margin: 0 0 0 .8rem; }
.fm-tourx .package-sidebar .package-sm .thumb img { display: block; aspect-ratio: 1; object-fit: cover; }

/* Mirror the physical properties in the original LTR template. */
.fm-tourx .float-end { float: left !important; }
.fm-tourx #fm-main-nav > ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
}
.fm-tourx #fm-main-nav > ul > li { flex: 0 0 auto; padding: 0; }
.fm-tourx .hero-style-four .hero4-content { text-align: right; }
.fm-tourx .hero-style-four :is(.slider-bg-1, .slider-bg-2) { position: relative; isolation: isolate; }
.fm-tourx .hero-style-four :is(.slider-bg-1, .slider-bg-2)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: inherit;
    transform: scaleX(-1);
}
.fm-tourx .hero-style-four .slider-arrows { left: 60px; right: auto; }
.fm-tourx .hero-style-four :is(.banner-plane, .banner-star3) { right: 5%; left: auto; }
.fm-tourx .hero-style-four .banner-star1 { left: 25%; right: auto; }
.fm-tourx .hero-style-four .banner-star2 { left: 22%; right: auto; }
.fm-tourx .hero-style-four .banner-plane { animation-name: fm-fly-rtl; transform: scaleX(-1); }
@keyframes fm-fly-rtl {
    0% { transform: translateX(0) scale(-.5, .5); opacity: 0; }
    50% { transform: translateX(-50%) scale(-.8, .8); opacity: .8; }
    100% { transform: translateX(-100%) scale(-.5, .5); opacity: 0; }
}
.fm-tourx .searchbar-section.home4 .searchbox-icon { margin-right: 0; margin-left: .65rem; }
.fm-tourx .package-card-delta .package-thumb .card-lavel { right: 15px; left: auto; }
.fm-tourx .pagination-style-one .page-item { margin-right: 0; margin-inline-end: 20px; }
.fm-tourx .pagination-style-one .page-item:last-child { margin-inline-end: 0; }
.fm-tourx .pagination-style-one .page-link {
    display: grid;
    place-items: center;
    padding: 0 8px;
    text-align: center;
}
.fm-tourx .pagination-style-one .page-arrow i,
.fm-tourx .upcoming-tour-area .slider-arrows i { transform: scaleX(-1); }
.fm-tourx .footer-area .footer-main-wrapper {
    overflow: clip;
    padding-block-end: clamp(1.75rem, 4vw, 3rem);
}
.fm-tourx .footer-area .footer-bottom .fm-brand { font-size: clamp(1rem, 1.8vw, 1.35rem); }
.fm-tourx .footer-area .footer-bottom p {
    margin: 0;
    color: inherit;
    font-size: .875rem;
    line-height: 1.6;
}
.fm-tourx .footer-area .footer-vactor {
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    transform: scaleX(-1);
}
.fm-tourx .footer-area .footer-vactor img {
    display: block;
    max-block-size: 100%;
    object-fit: cover;
    object-position: center bottom;
}

@media (min-width: 768px) {
    .fm-tourx .text-md-start { text-align: right !important; }
}
@media (min-width: 992px) {
    .fm-tourx .text-lg-start { text-align: right !important; }
}
@media (min-width: 1200px) {
    .fm-tourx header .nav-right { justify-content: flex-end; }
    .fm-tourx-home .hero-style-four :is(.slider-bg-1, .slider-bg-2) { min-block-size: 997px; }
}
@media (max-width: 1199px) {
    .fm-tourx header .header-style-four .main-nav {
        right: 0;
        left: auto;
        transform: translateX(260px);
    }
    .fm-tourx header .header-style-four .main-nav.slidenav { transform: translateX(0); }
    .fm-tourx #fm-main-nav > ul {
        flex-flow: column nowrap;
        align-items: flex-start;
        gap: 12px;
    }
    .fm-tourx #fm-main-nav > ul > li > a {
        display: flex;
        align-items: center;
        min-block-size: 44px;
        margin: 0;
    }
}
@media (max-width: 575px) {
    .fm-tourx .pagination-style-one .page-item { margin-inline-end: .45rem; }
    .fm-tourx-home .hero-style-four :is(.slider-bg-1, .slider-bg-2) { min-block-size: 823px; }
}
@media (prefers-reduced-motion: reduce) {
    .fm-tourx .hero-style-four :is(.banner-plane, .banner-star1, .banner-star2, .banner-star3) { animation: none; }
}

.fm-tourx .fm-fa {
    display: inline-block;
    inline-size: 1em;
    block-size: 1em;
    flex: none;
    vertical-align: -.12em;
    background-color: currentColor;
    mask: var(--fm-fa-url) center / contain no-repeat;
}
.fm-tourx .topbar-style-two .contact-list .fm-fa { color: var(--c-primary); }
.fm-tourx .topbar-style-two .topbar-social-links { gap: 20px; }
.fm-tourx .topbar-style-two .topbar-social-links > li { margin: 0; }
.fm-tourx .topbar-style-two .topbar-social-links :is(a, .fm-social-icon) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 1.25rem;
    color: #fff;
}
.fm-tourx .topbar-style-two .topbar-social-links a:hover { color: var(--c-primary); }
.fm-tourx .header-style-four .fm-brand .fm-fa { margin-inline-end: .2em; }
.fm-tourx header .header-style-four .nav-right {
    float: none;
    inline-size: 100%;
    justify-content: flex-end;
}
.fm-tourx header .header-style-four .nav-right-icons > div { margin-inline: 0; }
.fm-tourx header .header-style-four .nav-right-icons a {
    inline-size: 30px;
    block-size: 30px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--c-primary);
    border: 1px solid var(--c-primary);
    border-radius: 50%;
}
.fm-tourx header .header-style-four .nav-right-icons a:hover {
    color: var(--c-primary);
    background: transparent;
}
.fm-tourx header .header-style-four .nav-right-hotline {
    gap: .65rem;
    padding-inline: 1.25rem 0;
    text-decoration: none;
}
.fm-tourx header .header-style-four .hotline-info { margin-inline: 0; }
.fm-tourx .header-style-four .hotline-icon .fm-fa { font-size: 1.55rem; }
.fm-tourx .header-style-four .hotline-info bdi { font-size: .875rem; font-weight: 700; white-space: nowrap; }
.fm-tourx header .header-style-four .hamburger .fm-fa {
    position: static;
    inline-size: 100%;
    block-size: 100%;
    color: var(--c-primary);
    background: currentColor !important;
}
.fm-tourx-home .hero-style-four .slider-arrows button,
.fm-tourx-home .upcoming-tour-area .slider-arrows button { place-items: center; }
.fm-tourx-home .hero-style-four .slider-arrows button .fm-fa,
.fm-tourx-home .upcoming-tour-area .slider-arrows button .fm-fa { vertical-align: middle; }
.fm-tourx-home .upcoming-tour-area .fm-upcoming-controls {
    display: flex;
    gap: .75rem;
    margin-block-end: 1rem;
}
.fm-tourx-home .upcoming-tour-area .fm-upcoming-controls button {
    display: grid;
    place-items: center;
    inline-size: 44px;
    block-size: 44px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #ffffff19;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
    transition: background-color .2s, border-color .2s;
}
.fm-tourx-home .upcoming-tour-area .fm-upcoming-controls button::before { content: none; }
.fm-tourx-home .upcoming-tour-area .fm-upcoming-controls button:hover:not(:disabled) {
    background: #b92f25;
    border-color: #b92f25;
}
.fm-tourx-home .upcoming-tour-area .fm-upcoming-controls button:focus-visible { outline-color: #fff; }
.fm-tourx-home .upcoming-tour-area .fm-upcoming-controls button:disabled {
    cursor: default;
    opacity: .5;
}
.fm-tourx-home .searchbar-section .searchbox-icon .fm-fa { color: var(--c-primary); font-size: 1.45rem; }
