/* ==========================================================================
   RTL + YekanBakhFaNum — Landing page overrides
   ========================================================================== */

/* --- Font faces --- */
@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('../font/YekanBakhFaNum/woff2/YekanBakhFaNum-Thin.woff2') format('woff2'),
       url('../font/YekanBakhFaNum/woff/YekanBakhFaNum-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('../font/YekanBakhFaNum/woff2/YekanBakhFaNum-Light.woff2') format('woff2'),
       url('../font/YekanBakhFaNum/woff/YekanBakhFaNum-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('../font/YekanBakhFaNum/woff2/YekanBakhFaNum-Regular.woff2') format('woff2'),
       url('../font/YekanBakhFaNum/woff/YekanBakhFaNum-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('../font/YekanBakhFaNum/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2'),
       url('../font/YekanBakhFaNum/woff/YekanBakhFaNum-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('../font/YekanBakhFaNum/woff2/YekanBakhFaNum-Bold.woff2') format('woff2'),
       url('../font/YekanBakhFaNum/woff/YekanBakhFaNum-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('../font/YekanBakhFaNum/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2'),
       url('../font/YekanBakhFaNum/woff/YekanBakhFaNum-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('../font/YekanBakhFaNum/woff2/YekanBakhFaNum-Black.woff2') format('woff2'),
       url('../font/YekanBakhFaNum/woff/YekanBakhFaNum-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('../font/YekanBakhFaNum/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2'),
       url('../font/YekanBakhFaNum/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff');
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

/* --- Base typography & direction --- */
html {
  direction: rtl;
}

html,
body,
body * {
  font-family: 'YekanBakhFaNum', Tahoma, sans-serif;
}

body {
  font-weight: 400;
  text-align: right;
}

input,
textarea,
select {
  font-family: 'YekanBakhFaNum', Tahoma, sans-serif;
  text-align: right;
  direction: rtl;
}

a[href^="tel:"],
a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

/* Mirror default float-based layout */
html[dir="rtl"] div,
html[dir="rtl"] p,
html[dir="rtl"] ul,
html[dir="rtl"] ol,
html[dir="rtl"] li,
html[dir="rtl"] header,
html[dir="rtl"] footer,
html[dir="rtl"] section,
html[dir="rtl"] nav,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] form,
html[dir="rtl"] article,
html[dir="rtl"] main,
html[dir="rtl"] adress {
  float: right;
}

html[dir="rtl"] button {
  float: right;
}

html[dir="rtl"] .wrap {
  float: none;
}

/* --- Scrollbar (Windows) --- */
html[dir="rtl"] body.locked.body-margin.os-windows.chrome-browser:before,
html[dir="rtl"] body.locked.body-margin.os-windows.opera-browser:before {
  right: auto;
  left: 0;
}

html[dir="rtl"] .body-margin.os-windows .top_panel {
  left: 8px;
  right: 0;
}

html[dir="rtl"] .body-margin.os-windows.chrome-browser,
html[dir="rtl"] .body-margin.os-windows.opera-browser {
  padding-right: 0;
  padding-left: 8px;
}

html[dir="rtl"] .body-margin.os-windows.chrome-browser .hum_btn,
html[dir="rtl"] .body-margin.os-windows.opera-browser .hum_btn,
html[dir="rtl"] .body-margin.os-windows.chrome-browser .modal_form .close,
html[dir="rtl"] .body-margin.os-windows.opera-browser .modal_form .close {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .body-margin.os-windows.chrome-browser .single-page .top_panel,
html[dir="rtl"] .body-margin.os-windows.opera-browser .single-page .top_panel,
html[dir="rtl"] .body-margin.os-windows.chrome-browser .footer,
html[dir="rtl"] .body-margin.os-windows.opera-browser .footer {
  right: 0;
  left: 8px;
}

/* --- Top panel --- */
html[dir="rtl"] .top_panel .currency {
  left: auto;
  right: -150px;
}

html[dir="rtl"] .top_panel .user {
  right: auto;
  left: -150px;
}

html[dir="rtl"] .top_panel .user .usermenu {
  right: auto;
  left: 0;
  border-radius: 0 20px 20px 20px;
}

html[dir="rtl"] .top_panel .user .usermenu ul li a {
  float: right;
}

html[dir="rtl"] .top_panel .left {
  padding-right: 0;
  padding-left: 40px;
}

html[dir="rtl"] .top_panel .left .search_btn {
  margin-right: 0;
  margin-left: 40px;
}

html[dir="rtl"] .top_panel .left .logo,
html[dir="rtl"] .top_panel .left .logo img {
  float: right;
}

html[dir="rtl"] .top_panel .center .menu ul li {
  margin-right: 0;
  margin-left: 70px;
}

html[dir="rtl"] .top_panel .center .menu ul li:last-child {
  margin-left: 0;
}

html[dir="rtl"] .top_panel .center .menu ul li a {
  float: right;
}

html[dir="rtl"] .top_panel .center .menu ul li .dropdown_ul {
  left: auto;
  right: 0;
  border-radius: 12px 0 12px 12px;
}

html[dir="rtl"] .top_panel .right {
  float: left;
}

html[dir="rtl"] .top_panel .right .tel {
  margin-right: 0;
  margin-left: 58px;
}

html[dir="rtl"] .top_panel .right .tel a,
html[dir="rtl"] .top_panel .right .favorites-count {
  float: right;
}

html[dir="rtl"] .top_panel .right .favorites-count ._text {
  margin-left: 0;
  margin-right: 13px;
}

html[dir="rtl"] .top_panel .mobile_btn {
  float: left;
}

/* --- Main slider --- */
html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content {
  left: auto;
  right: 0;
}

html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content .title_wrap {
  transform: translateX(100vw);
}

html[dir="rtl"] .main_slider .slider_wrap .slide.slick-active .slide_content .title_wrap,
html[dir="rtl"] .main_slider .slider_wrap .slide.slick-active .slide_content .text,
html[dir="rtl"] .main_slider .slider_wrap .slide.slick-active .slide_content .buttons {
  transform: none;
}

html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content .text,
html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content .buttons {
  transform: translateX(100vw);
}

html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content .title_wrap .country {
  left: auto;
  right: 0;
  text-align: right;
  padding-left: 0;
  padding-right: 18px;
}

html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content .title_wrap .country:before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content .buttons .btn,
html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content .buttons .link {
  float: right;
}

html[dir="rtl"] .main_slider .slider_wrap .slide .slide_content .buttons .link {
  margin-left: 0;
  margin-right: 50px;
}

html[dir="rtl"] .main_slider .slider_wrap .slide .next_title {
  right: auto;
  left: 0;
  transform: translateX(-50vw);
}

html[dir="rtl"] .main_slider .slider_wrap .slide.slick-active .slide_content .next_title {
  transform: none;
}

html[dir="rtl"] .main_slider .arrows {
  right: auto;
  left: 50%;
  margin-right: 0;
  margin-left: -720px;
}

html[dir="rtl"] .main_slider .arrows .arrow.next {
  margin-left: 0;
  margin-right: 18px;
  transform: none;
}

html[dir="rtl"] .main_slider .arrows .arrow:not(.next) {
  transform: rotate(180deg);
}

/* --- Section titles & controls --- */
html[dir="rtl"] .page_head .title,
html[dir="rtl"] .page_head .subtitle {
  text-align: right;
}

html[dir="rtl"] .most_popular .title_wrap,
html[dir="rtl"] .destinations .title_wrap,
html[dir="rtl"] .stories .title_wrap,
html[dir="rtl"] .blog .title_wrap {
  padding-right: 0;
  /* padding-left: 300px; */
}

html[dir="rtl"] .most_popular .controls,
html[dir="rtl"] .destinations .controls,
html[dir="rtl"] .stories .controls,
html[dir="rtl"] .blog .controls {
  right: auto;
  left: 0;
}

html[dir="rtl"] .most_popular .controls .link,
html[dir="rtl"] .destinations .controls .link,
html[dir="rtl"] .stories .controls .link,
html[dir="rtl"] .blog .controls .link {
  float: right;
}

html[dir="rtl"] .most_popular .controls .link,
html[dir="rtl"] .stories .controls .link {
  margin-right: 0;
  margin-left: 30px;
}

html[dir="rtl"] .most_popular .controls .arrows .arrow.next,
html[dir="rtl"] .stories .controls .arrows .arrow.next {
  margin-left: 0;
  margin-right: 18px;
  transform: none;
}

html[dir="rtl"] .most_popular .controls .arrows .arrow:not(.next),
html[dir="rtl"] .stories .controls .arrows .arrow:not(.next) {
  transform: rotate(180deg);
}

/* --- Tour items --- */
html[dir="rtl"] .tour_item {
  float: right;
  margin-right: 14px;
  margin-left: 24px;
}

html[dir="rtl"] .tour_item_top {
  padding-right: 0;
  padding-left: 80px;
}

html[dir="rtl"] .tour_item_top .country span {
  padding-left: 0;
  padding-right: 12px;
}

html[dir="rtl"] .tour_item_top .country span:before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .tour_item_top .add_bookmark {
  right: auto;
  left: 0;
}

.tour_item_top .add_bookmark .tour-item-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

html[dir="rtl"] .tour_item_bottom {
  left: auto;
  right: 0;
}

html[dir="rtl"] .tour_item_bottom ._info_left .days {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .tour_item_bottom ._info_right {
  float: left;
}

html[dir="rtl"] .tour_item_bottom ._info_right .rating-stars {
  margin-right: 0;
  margin-left: 12px;
}

/* --- Destinations --- */
html[dir="rtl"] .destinations_item {
  float: right;
  margin-right: 0;
  /* margin-left: 2.66666667%; */
}

html[dir="rtl"] .destinations_item:nth-child(4n) {
  margin-left: 0;
}

html[dir="rtl"] .destinations_item .sq_parent .sq_wrap .sq_content {
  float: right;
}

@media screen and (min-width: 992px) and (max-width: 1000px) {
  .destinations .section_content {
    overflow: visible;
  }

  .destinations .section_content .scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    white-space: normal;
    padding-left: 0;
    padding-right: 0;
  }

  .destinations .section_content .scroll .destinations_item {
    width: 23%;
    display: block;
    float: left;
    margin-right: 2.66666667%;
    margin-bottom: 2.66666667%;
  }

  .destinations .section_content .scroll .destinations_item:nth-child(4n) {
    margin-right: 0;
  }

  .destinations .section_content .scroll .destinations_item:last-child {
    margin-right: 0;
  }

  html[dir="rtl"] .destinations .section_content .scroll .destinations_item {
    float: right;
    margin-right: 0;
    margin-left: 2.66666667%;
  }

  html[dir="rtl"] .destinations .section_content .scroll .destinations_item:nth-child(4n) {
    margin-left: 0;
  }

  html[dir="rtl"] .destinations .section_content .scroll .destinations_item:last-child {
    margin-left: 0;
  }
}

@media screen and (max-width: 991px) {
  html[dir="rtl"] .tour_item {
    margin-left: 0;
  }
  .destinations .wrap {
    width: 100%;
  }

  .destinations .title_wrap {
    padding-right: 4%;
    padding-left: 4%;
  }

  .destinations .section_content {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .destinations .section_content .scroll {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    white-space: nowrap;
    padding-left: 4%;
    padding-right: 0;
  }

  .destinations .section_content .scroll .destinations_item {
    flex: 0 0 300px;
    width: 300px;
    float: none;
    display: block;
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .destinations .section_content .scroll .destinations_item:nth-child(4n) {
    margin-right: 20px;
  }

  .destinations .section_content .scroll .destinations_item:last-child {
    margin-right: 4vw;
  }

  html[dir="rtl"] .destinations .controls {
    left: 4%;
    right: auto;
  }

  html[dir="rtl"] .destinations .section_content .scroll {
    padding-right: 4%;
    padding-left: 0;
  }

  html[dir="rtl"] .destinations .section_content .scroll .destinations_item {
    float: none;
    margin-right: 0;
    margin-left: 20px;
  }

  html[dir="rtl"] .destinations .section_content .scroll .destinations_item:nth-child(4n) {
    margin-left: 20px;
  }

  html[dir="rtl"] .destinations .section_content .scroll .destinations_item:last-child {
    margin-right: 0;
    margin-left: 4vw;
  }
}

@media screen and (max-width: 640px) {
  .destinations .section_content .scroll .destinations_item {
    flex: 0 0 270px;
    width: 270px;
    margin-right: 13px;
    margin-bottom: 13px;
  }

  html[dir="rtl"] .destinations .section_content .scroll .destinations_item {
    margin-right: 0;
    margin-left: 13px;
  }

  html[dir="rtl"] .destinations .section_content .scroll .destinations_item:nth-child(4n) {
    margin-left: 13px;
  }
}

/* --- Search form --- */
html[dir="rtl"] .search-form .destination-col {
  margin-right: 0;
  margin-left: 85px;
}

html[dir="rtl"] .search-form .destination-col .select_wrap:before {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .search-form .destination-col .select_wrap select {
  float: right;
  padding-left: 45px;
  padding-right: 24px;
}

html[dir="rtl"] .search-form .date-col {
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  margin-right: 0;
  margin-left: 27px;
}

html[dir="rtl"] .search-form .date-col .date_div_right {
  margin-left: 0;
  margin-right: 15px;
}

html[dir="rtl"] .search-form .num-col {
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

html[dir="rtl"] .search-form .num-col.last {
  border-left: 0;
  padding-left: 0;
  padding-right: 38px;
}

html[dir="rtl"] .search-form .num-col .val {
  margin-left: 0;
  margin-right: 10px;
  float: right;
}

html[dir="rtl"] .search-form .btn {
  right: auto;
  left: 54px;
}

/* --- Stories --- */
html[dir="rtl"] .story_item {
  float: right;
  margin-right: 0;
  /* margin-left: 35px; */
  margin-left: 16px;
}

/* --- Blog --- */
html[dir="rtl"] .blog_item {
  float: right;
  margin-right: 0;
  margin-left: 2%;
}

html[dir="rtl"] .blog_item:nth-child(3n) {
  margin-left: 0;
}

html[dir="rtl"] .blog_item_top .tags .tag {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .blog_item_top .sq_parent .sq_wrap .sq_content {
  float: right;
}

html[dir="rtl"] .blog_item_bottom .author {
  padding-left: 0;
  padding-right: 60px;
}

html[dir="rtl"] .blog_item_bottom .author .userpic {
  left: auto;
  right: 0;
}

/* --- Subscribe --- */
html[dir="rtl"] .subscribe_section .subscribe_block .right {
  float: left;
}

html[dir="rtl"] .subscribe_section .subscribe_block .right .input_wrap.select_wrap {
  margin-right: 0;
  margin-left: 30px;
}

html[dir="rtl"] .subscribe_section .subscribe_block .right .input_wrap.select_wrap:before {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .subscribe_section .subscribe_block .right .input_wrap .input {
  float: right;
}

html[dir="rtl"] .subscribe_section .subscribe_block .right .input_wrap select {
  padding: 0 28px 0 50px;
}

html[dir="rtl"] .subscribe_section .subscribe_block .right .submit {
  margin-left: 0;
  margin-right: 25px;
}

/* --- Instagram --- */
html[dir="rtl"] .instagram_posts .post {
  float: right;
}

html[dir="rtl"] .instagram_posts .post .sq_parent .sq_wrap .sq_content {
  float: right;
}

/* --- Footer --- */
html[dir="rtl"] .footer_top .right {
  float: left;
}

html[dir="rtl"] .footer_top .right .contacts_info .tel {
  padding-right: 0;
  padding-left: 20px;
}

html[dir="rtl"] .footer_top .right .contacts_info .tel a,
html[dir="rtl"] .footer_top .right .contacts_info .email a {
  float: right;
}

html[dir="rtl"] .footer_top .right .address {
  padding-left: 0;
  padding-right: 28px;
}

html[dir="rtl"] .footer_top .right .address:before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .footer_top .col {
  padding-right: 0;
  /* padding-left: 42px; */
}

html[dir="rtl"] .footer_bottom .right {
  float: left;
}

html[dir="rtl"] .social-links .link {
  float: right;
  margin-right: 0;
  margin-left: 23px;
}

html[dir="rtl"] .social-links .link:last-child {
  margin-left: 0;
}

/* --- Popups --- */
html[dir="rtl"] .popup {
  right: auto;
  left: -700px;
}

html[dir="rtl"] .popup.opened {
  right: auto;
  left: 0;
}

html[dir="rtl"] .popup .select-userpic {
  left: auto;
  right: 65px;
}

html[dir="rtl"] .popup .select-userpic .userpic {
  margin-right: 0;
  margin-left: 15px;
}

html[dir="rtl"] .popup .select-userpic .select label {
  float: right;
}

html[dir="rtl"] .popup-head .link {
  right: auto;
  left: 0;
}

html[dir="rtl"] .popup .close {
  right: auto;
  left: 30px;
}

html[dir="rtl"] .popup.book-now-popup .tour-info .col .date {
  padding-left: 0;
  padding-right: 66px;
}

html[dir="rtl"] .popup.book-now-popup .tour-info .col .date .day {
  left: auto;
  right: 0;
}

/* --- Pagination --- */
html[dir="rtl"] .pagination .arrow.next {
  transform: rotate(180deg);
}

/* --- Responsive RTL fixes --- */
@media screen and (max-width: 1762px) {
  html[dir="rtl"] .top_panel .currency {
    left: auto;
    right: 0;
  }

  html[dir="rtl"] .top_panel .user {
    right: auto;
    left: 0;
  }

  html[dir="rtl"] .top_panel .center .menu ul li {
    margin-left: 50px;
  }

  html[dir="rtl"] .main_slider .arrows {
    margin-left: -650px;
  }
}

@media screen and (max-width: 1520px) {
  html[dir="rtl"] .search-form .destination-col {
    margin-left: 45px;
  }

  html[dir="rtl"] .popup .close {
    left: 30px;
  }
}

@media screen and (max-width: 1400px) {
  html[dir="rtl"] .main_slider .arrows {
    margin-left: -640px;
  }
}

@media screen and (max-width: 1200px) {
  html[dir="rtl"] .top_panel .menu_wrap .center {
    width: 100%;
    max-width: 940px;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 4%;
    padding-right: 4%;
  }

  html[dir="rtl"] .top_panel .menu_wrap .center .menu ul li {
    margin-left: 0;
    text-align: right;
  }

  html[dir="rtl"] .top_panel .menu_wrap .scroll .right {
    width: 100%;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: auto;
    right: auto;
    float: none;
    text-align: center;
  }

  html[dir="rtl"] .top_panel .menu_wrap .scroll .right .favorites-count {
    position: relative;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    float: none;
    display: inline-block;
  }

  html[dir="rtl"] .top_panel .mobile_btn {
    position: relative;
    z-index: 5;
  }

  html[dir="rtl"] .top_panel .menu_wrap .close {
    float: left;
    right: auto;
    left: 0;
    z-index: 2;
  }

  html[dir="rtl"] .top_panel .menu_wrap .center .menu ul li.dropdown_li > a {
    position: relative;
    padding-left: 56px;
  }

  html[dir="rtl"] .top_panel .menu_wrap .center .menu ul li.dropdown_li > a:before,
  html[dir="rtl"] .top_panel .menu_wrap .center .menu ul li.dropdown_li > a:after {
    pointer-events: none;
  }

  html[dir="rtl"] .top_panel .menu_wrap .center .menu ul li .dropdown_ul {
    display: none;
    position: static;
    width: 100%;
    background: none;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
  }

  html[dir="rtl"] .top_panel .menu_wrap .center .menu ul li .dropdown_ul.is-open {
    display: block;
  }

  html[dir="rtl"] .top_panel .menu_wrap .center .menu ul li .dropdown_ul li a {
    float: none;
    display: block;
    line-height: 1.5;
    padding: 10px 0;
  }
}

@media screen and (max-width: 1040px) {
  html[dir="rtl"] .top_panel .user {
    left: 50%;
    margin-left: 0;
    margin-right: -470px;
  }

  html[dir="rtl"] .top_panel .right .favorites-count {
    left: 50%;
    margin-left: 0;
    margin-right: -400px;
  }

  html[dir="rtl"] .top_panel .menu_wrap .center .menu ul li a {
    float: right;
  }
}

@media screen and (max-width: 640px) {
  html[dir="rtl"] .top_panel .mobile_btn {
    left: auto;
    right: 0;
  }
}

html[dir="rtl"] .subscribe_section .wrap .wrap_float .subscribe_block {
  float: unset;
  display: flex;
  align-items: center;
  justify-content: center;
}
html[dir="rtl"] .subscribe_section .wrap .wrap_float .subscribe_block .left {
  float: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
html[dir="rtl"] .subscribe_section .wrap .wrap_float .subscribe_block .left h2{
  font-weight: 900;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
html[dir="rtl"] .subscribe_section .wrap .wrap_float .subscribe_block .left h2 small{
  font-weight: normal;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  margin: 0 10px;
  }

.about-us-page .statistics_item ._value._value--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  width: 82px;
  height: 82px;
}

.about-us-page .statistics_item ._value._value--icon svg {
  width: 40px;
  height: auto;
  display: block;
 
}

/* --- About Us page RTL --- */
html[dir="rtl"] .about-us-page .image-block {
  text-align: right;
}

html[dir="rtl"] .about-us-page .statistics_item {
  float: right;
  margin-right: 0;
  margin-left: 5%;
}

html[dir="rtl"] .about-us-page .statistics_item:last-child {
  margin-left: 0;
}

html[dir="rtl"] .about-us-page .team .arrows {
  right: auto;
  left: 0;
}

html[dir="rtl"] .about-us-page .team .arrows .arrow.next {
  margin-left: 0;
  margin-right: 18px;
  transform: none;
}

html[dir="rtl"] .about-us-page .team .arrows .arrow:not(.next) {
  transform: rotate(180deg);
}

html[dir="rtl"] .about-us-page .team_item {
  float: right;
  margin-right: 0;
  margin-left: 30px;
}

html[dir="rtl"] .about-us-page .office .arrows {
  right: auto;
  left: 30px;
}

html[dir="rtl"] .about-us-page .office .arrows .arrow.next {
  margin-left: 0;
  margin-right: 18px;
  transform: none;
}

html[dir="rtl"] .about-us-page .office .arrows .arrow:not(.next) {
  transform: rotate(180deg);
}

@media screen and (max-width: 760px) {
  html[dir="rtl"] .about-us-page .statistics_item {
    margin-left: 0;
  }
}

@media screen and (max-width: 1040px) {
  html[dir="rtl"] .mobile .about-us-page .team-body .slider {
    padding-left: 0;
    padding-right: 4vw;
  }

  html[dir="rtl"] .mobile .about-us-page .team_item:last-child {
    margin-right: 0;
    margin-left: 4vw;
  }
}

@media screen and (max-width: 1000px) {
  html[dir="rtl"] .about-us-page .team_item .image .socials .links {
    text-align: right;
  }
}

@media screen and (max-width: 640px) {
  html[dir="rtl"] .about-us-page .office .arrows {
    right: auto;
    left: 15px;
  }
}

@media screen and (max-width: 360px) {
  html[dir="rtl"] .about-us-page .team_item {
    margin-left: 12px;
    margin-right: 0;
  }
}

/* --- Contacts page RTL --- */
#contacts-section {
  scroll-margin-top: 90px;
}

html[dir="rtl"] .contacts-page .page_body {
  direction: rtl;
}

html[dir="rtl"] .contacts-page .contacts-left .tel,
html[dir="rtl"] .contacts-page .contacts-left .email {
  float: right;
}

html[dir="rtl"] .contacts-page .contacts-left .address {
  padding-left: 0;
  padding-right: 25px;
  text-align: right;
  line-height: 38px;
  display: block;
  text-decoration: none;
  color: #222;
  cursor: pointer;
  transition: color 0.2s linear;
  display: inline-block;
}

html[dir="rtl"] .contacts-page .contacts-left .address:hover {
  color: #ff3b00;
}

html[dir="rtl"] .contacts-page .contacts-left .address:before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .contacts-page .contacts-left .btn {
  float: right;
}

html[dir="rtl"] .contacts-page .contacts-right {
  margin-left: 0;
  margin-right: 2%;
}

@media screen and (max-width: 1200px) {
  html[dir="rtl"] .contacts-page .contacts-right {
    margin-right: 0;
  }
}

/* --- Site menu (دریوک) --- */
.top_panel:has(.site__menu) {
  z-index: 100;
}

.top_panel:has(.site__menu) + .main_slider {
  position: relative;
  z-index: 1;
}

/* --- Slider video background --- */
.main_slider .slider_wrap .slide .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
  transform: scale(1.2);
}

.main_slider .slider_wrap .slide.slick-active .bg-video {
  transform: scale(1);
}

.main_slider .slider_wrap .slide .bg-video__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.main_slider .slider_wrap .slide .bg-video__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

.top_panel .site__menu {
  width: 100%;
  position: relative;
  z-index: 100;
}

.site__menu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  position: relative;
  z-index: 101;
}

.site__menu-logo {
  width: 100px;
  max-width: 100px;
  flex-shrink: 0;
  line-height: 0;
  position: relative;
  z-index: 101;
}

.site__menu-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.site__menu-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 101;
}

.site__menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site__menu-list > li {
  position: relative;
}

html[dir="rtl"] .site__menu-list > li {
  margin-left: 32px;
  margin-right: 0;
  width: fit-content;
}

html[dir="rtl"] .site__menu-list > li:last-child {
  margin-left: 0;
}

.site__menu-list > li > a,
.site__menu-parent {
  color: #fff;
  font-size: 18px;
  line-height: 48px;
  display: block;
  text-decoration: none;
  transition: color 0.2s linear;
}

.site__menu-list > li > a:hover,
.site__menu-parent:hover {
  color: #ff3b00;
}

.site__submenu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 220px;
  background: #fff;
  border-radius: 12px 0 12px 12px;
  padding: 16px 20px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s linear, transform 0.2s linear, visibility 0.2s linear;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  z-index: 110;
}

.site__submenu li {
  margin-bottom: 10px;
}

.site__submenu li:last-child {
  margin-bottom: 0;
}

.site__submenu a {
  color: #919193;
  font-size: 16px;
  line-height: 1.4;
  display: block;
  text-decoration: none;
}

.site__submenu a:hover {
  color: #ff3b00;
}

.site__menu-item--has-sub.is-open > .site__submenu,
.site__menu-item--has-sub:hover > .site__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site__menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  background: #ff3b00;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s linear, color 0.2s linear;
  flex-shrink: 0;
  position: relative;
  z-index: 101;
}

.site__menu-cta:hover {
  background: #d53200;
  color: #fff;
}

.site__menu-cta--mobile {
  display: none;
}

.site__menu-toggle,
.site__menu-close {
  display: none;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #ff3c006c;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  z-index: 102;
}

.site__menu-toggle span,
.site__menu-close span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 3px;
  margin-left: -10px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s linear, top 0.2s linear, opacity 0.2s linear;
}

.site__menu-toggle span:nth-child(1) {
  top: 20px;
}

.site__menu-toggle span:nth-child(2) {
  top: 28px;
}

.site__menu-toggle span:nth-child(3) {
  top: 36px;
}

.site__menu-toggle.is-active span:nth-child(1) {
  top: 28px;
  transform: rotate(45deg);
}

.site__menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.site__menu-toggle.is-active span:nth-child(3) {
  top: 28px;
  transform: rotate(-45deg);
}

.site__menu-close span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.site__menu-close span:nth-child(2) {
  opacity: 0;
}

.site__menu-close span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

html.site-menu-open {
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .site__menu-inner {
    gap: 12px;
  }

  .site__menu-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #000;
    padding: 96px 4% 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s linear, visibility 0.25s linear;
  }

  .site__menu-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site__menu-close {
    display: none;
  }

  .site__menu-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  html[dir="rtl"] .site__menu-list > li {
    margin-left: 0;
    margin-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
  }

  .site__menu-list > li > a,
  .site__menu-parent {
    font-size: 24px;
    line-height: 72px;
    padding: 0 4px;
  }

  .site__menu-item--has-sub > .site__menu-parent {
    position: relative;
    padding-left: 52px;
  }

  html[dir="rtl"] .site__menu-item--has-sub > .site__menu-parent {
    padding-left: 0;
    /* padding-right: 52px; */
  }

  .site__menu-item--has-sub > .site__menu-parent:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.44) url(../img/plus-2.svg) center center no-repeat;
    background-size: 12px;
    pointer-events: none;
  }

  html[dir="rtl"] .site__menu-item--has-sub > .site__menu-parent:after {
     right: auto;
     left: 0;
  }

  .site__menu-item--has-sub.is-open > .site__menu-parent:after {
    background-image: url(../img/minus-2.svg);
  }

  .site__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: none;
    border-radius: 0;
    padding: 0 0 16px;
    display: none;
    min-width: 0;
  }

  .site__menu-item--has-sub.is-open > .site__submenu {
    display: block;
  }

  .site__submenu a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 18px;
    padding: 8px 0;
  }

  .site__submenu a:hover {
    color: #fff;
  }

  .site__menu-cta--desktop {
    display: none;
  }

  .site__menu-cta--mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 28px;
    justify-content: center;
  }

  .site__menu-toggle {
    display: block;
    z-index: 201;
  }

  .site__menu-toggle.is-active {
    position: fixed;
    top: 34px;
    z-index: 202;
  }

  html[dir="rtl"] .site__menu-toggle.is-active {
    right: 4%;
    left: auto;
  }
}

@media screen and (max-width: 640px) {
  .site__menu-logo img {
    height: 60px;
  }

  .site__menu-toggle,
  .site__menu-close {
    width: 60px;
    height: 60px;
  }

  .site__menu-toggle.is-active,
  .site__menu-close {
    top: 18px;
  }
}

/* --- Story video modal --- */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s linear, visibility 0.25s linear;
}

.story-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.story-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.77);
}

.story-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 80vh;
  max-height: 90vh;
  margin: 0;
  padding: 0 24px 24px;
  overflow: hidden;
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px 32px 0 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.story-modal__dialog .line__box {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  width: 100px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.37);
  z-index: 4;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.story-modal__dialog .line__box::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 40px;
}

.story-modal.is-dragging .story-modal__dialog {
  transition: none;
}

.story-modal__dialog.is-snap-back,
.story-modal__dialog.is-dismiss {
  transition: transform 0.28s ease-out;
}

.story-modal__close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 3;
  padding: 0;
  /* opacity: 0; */
}

.story-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  margin-top: -1px;
  background: #fff;
  border-radius: 2px;
}

.story-modal__close span:nth-child(1) {
  transform: rotate(45deg);
}

.story-modal__close span:nth-child(2) {
  transform: rotate(-45deg);
}

.story-modal__body {
  flex: 1;
  min-height: 0;
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.story-modal__video-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.story-modal__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: scale-down;
  background: #000;
}

.story-modal__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s linear;
  float: none;
}

.story-modal__nav:hover {
  background: rgba(255, 255, 255, 0.45);
}

.story-modal__nav:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 12px;
  margin-top: -6px;
  margin-left: -8px;
  background: url(../img/left-arrow.svg) center center no-repeat;
  background-size: contain;
}

.story-modal__nav--prev {
  left: 16px;
}

.story-modal__nav--next {
  right: 16px;
}

.story-modal__nav--next:before {
  transform: rotate(180deg);
}

.story-modal__title {
  flex-shrink: 0;
  margin: 16px 0 6px;
  font-size: 30px;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

.story-modal__text {
  flex-shrink: 0;
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.story-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  height: 48px;
  padding: 0 28px;
  border-radius: 8px;
  background: #ff3b00;
  color: #fff !important;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s linear;
  margin: 0 auto;
}

.story-modal__cta:hover {
  background: #d53200;
  color: #fff !important;
}

html.story-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media screen and (max-width: 768px) {
  .story-modal__dialog {
    width: 100%;
    height: 90vh;
    max-height: 90vh;
    padding: 0 16px 20px;
  }

  .story-modal__close {
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
  }

  .story-modal__body {
    padding-top: 64px;
  }

  .story-modal__nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .story-modal__nav--prev {
    left: 10px;
  }

  .story-modal__nav--next {
    right: 10px;
  }

  .story-modal__title {
    font-size: 30px;
  }

  .story-modal__text {
    font-size: 20px;
  }
}

/* --- Blog post modal --- */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s linear, visibility 0.25s linear;
}

.blog-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.blog-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.77);
}

.blog-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  height: 90vh;
  max-height: 90vh;
  margin: 0;
  padding: 0 24px 24px;
  overflow: hidden;
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px 32px 0 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.blog-modal__dialog .line__box {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  width: 100px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.37);
  z-index: 4;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.blog-modal__dialog .line__box::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 40px;
}

.blog-modal.is-dragging .blog-modal__dialog {
  transition: none;
  overflow: hidden;
}

.blog-modal__dialog.is-snap-back,
.blog-modal__dialog.is-dismiss {
  transition: transform 0.28s ease-out;
}

.blog-modal__close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 5;
  padding: 0;
}

.blog-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  margin-top: -1px;
  background: #fff;
  border-radius: 2px;
}

.blog-modal__close span:nth-child(1) {
  transform: rotate(45deg);
}

.blog-modal__close span:nth-child(2) {
  transform: rotate(-45deg);
}

.blog-modal__body {
  flex: 1;
  min-height: 0;
  padding-top: 72px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-modal__image-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  background: #000;
}

.blog-modal__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-modal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-modal__author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.blog-modal__author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-modal__date {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  white-space: nowrap;
}

.blog-modal__title {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.45;
  color: #fff;
  text-align: right;
  font-weight: bold;
}

.blog-modal__article {
  color: rgba(255, 255, 255, 1);
  font-size: 18px;
  line-height: 1.85;
  text-align: right;
}

.blog-modal__article p {
  margin: 0 0 14px;
  text-align: justify;
  padding-left: 16px;
  line-height: 40px;
}

.blog-modal__article ul {
  margin: 0 0 16px;
  padding-right: 22px;
}

.blog-modal__article li {
  margin-bottom: 8px;
}

.blog-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  height: 48px;
  margin: 24px auto 8px;
  border-radius: 8px;
  background: #ff3b00;
  color: #fff !important;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.2s linear;
}

.blog-modal__cta:hover {
  background: #d53200;
  color: #fff !important;
}

html.blog-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media screen and (max-width: 768px) {
  .blog-modal__dialog {
    padding: 0 16px 20px;
  }

  .blog-modal__title {
    font-size: 22px;
  }

  .blog-modal__article {
    font-size: 16px;
  }
}
