/* ==========================================================================
   Cultuzz Arabic RTL Stylesheet (Sitewide - All Pages)
   Loaded conditionally when $l === 'ar' via components/header.php
   ========================================================================== */

/* ── Typography & Base ────────────────────────────────────────────────── */
body,
button,
input,
select,
textarea,
.ir-form__input,
.ir-form__select,
.ir-form__textarea,
.ir-form__btn {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
}

.main-text,
.title,
.subtext,
.wwc__title,
.wwc__eyebrow,
.wwc__col-label,
.network-title,
.blue-btn {
  letter-spacing: normal !important;
}

.text,
.hp-page .text,
.hp-page .description {
  line-height: 1.7;
}

/* ── Header & Desktop Navigation ──────────────────────────────────────── */
.header-container .header-menu .header-menu-item:first-child {
  margin-right: 0;
  margin-left: 12.5px;
}

.header-container .header-menu .header-menu-item:last-child {
  margin-left: 0;
  margin-right: 12.5px;
}

.header-menu-item .header-menu-item-title span {
  margin-right: 0;
  margin-left: 15px;
}

.dropdown-content {
  right: 0;
  left: auto;
  text-align: right;
}

.dropdown-content a {
  text-align: right;
}

.dropdown-content a.lang {
  text-align: right;
}

/* In RTL, the language menu is at the far left of the navbar.
   We anchor it to the left edge so it expands inward to the right. */
.lang-content {
  right: auto !important;
  left: 0 !important;
}

/* ── Mobile Navigation ────────────────────────────────────────────────── */
/* Mobile menu is center-aligned in Arabic, matching English */
.mobile-header-section,
.mobile-header-section a,
.mobile-header-section .mh-title,
.mobile-menu a {
  text-align: center !important;
}

/* ── Scroll To Top Button ─────────────────────────────────────────────── */
.up-button {
  right: auto !important;
  left: 20px !important;
}

/* ── Hero Section ─────────────────────────────────────────────────────── */
@media screen and (min-width: 851px) {
  .hero-grid .hero-text {
    text-align: right !important;
  }

  .hero-grid .hero-text>*,
  .hero-grid .hero-text a {
    text-align: right !important;
  }

  .hp-page .main-text {
    text-align: right !important;
    justify-content: flex-start !important;
  }

  .hp-page .subtext {
    text-align: right !important;
  }

  .globe-wrap {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .hero-actions {
    display: flex;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 850px) {
  .hero-grid .hero-text {
    text-align: center !important;
  }

  .hero-grid .hero-text>*,
  .hero-grid .hero-text a {
    text-align: center !important;
  }

  .hp-page .main-text {
    text-align: center !important;
    justify-content: center !important;
  }

  .hp-page .subtext {
    text-align: center !important;
  }

  .hero-actions {
    display: flex;
    justify-content: center !important;
  }

  .globe-wrap {
    margin-inline: auto !important;
  }
}

/* ── Who We Connect ───────────────────────────────────────────────────── */
.wwc__col-label {
  text-align: right;
  letter-spacing: normal !important;
}

.wwc__item {
  text-align: right;
}

.wwc__item-label {
  text-align: right;
}

/* Mirror SVG curves and connecting dots horizontally to reflect Supply (right) -> Hub (center) -> Distribution (left) */
.wwc__links--left,
.wwc__links--right {
  transform: scaleX(-1);
}

.wwc__callout {
  text-align: right;
}

.wwc__callout-title,
.wwc__callout-text {
  text-align: right;
}

.wwc__stat {
  border-right: none !important;
  border-left: 1px solid var(--color-gray-100) !important;
  text-align: right;
}

.wwc__stat:last-child {
  border-left: none !important;
}

.wwc__stat-value,
.wwc__stat-label {
  text-align: right;
}

@media screen and (max-width: 991px) {
  .wwc__stat {
    border-left: none !important;
  }
}

@media screen and (max-width: 767px) {
  .wwc__callout {
    text-align: center !important;
  }

  .wwc__callout-title,
  .wwc__callout-text {
    text-align: center !important;
  }
}

@media screen and (max-width: 480px) {
  .wwc__col-label {
    text-align: center !important;
  }
}

/* ── Alternating Sections & Lists ─────────────────────────────────────── */
.hp-page .left-text {
  text-align: right;
}

.hp-page .text-container {
  text-align: right;
}

.hp-page .title,
.hp-page .text {
  text-align: right;
}

.hp-page ul li {
  padding-left: 0;
  padding-right: 24px;
  text-align: right;
}

.hp-page ul li::before {
  left: auto !important;
  right: 0 !important;
}

.hp-page ul .sub-list li::before {
  left: auto !important;
  right: 0 !important;
}

.hp-page .hp-list--inline {
  text-align: right;
}

.hp-page .hp-callout-box {
  text-align: right;
}

.hp-page .hp-glass-card {
  text-align: right;
}

/* ── Cultuzz in Figures / Our Network ─────────────────────────────────── */
@media (min-width: 1201px) {
  .network-item {
    text-align: right;
  }

  .network-label {
    text-align: right;
  }
}

@media (max-width: 1200px) {
  .network-item {
    text-align: center !important;
    align-items: center !important;
  }

  .network-label {
    text-align: center !important;
  }
}

.network-item.dashed::after {
  right: auto !important;
  left: 0 !important;
  border-right: none !important;
  border-left: 2px dashed #ccc !important;
}

/* ── Testimonials Slider ──────────────────────────────────────────────── */
.hp-page .testimonial-item {
  text-align: right !important;
}

.hp-page .testimonial-company-name {
  text-align: right !important;
  justify-content: flex-start !important;
}

.hp-page .testimonial-geo svg {
  margin-right: 0 !important;
  margin-left: 5px !important;
}

.hp-page .description {
  text-align: right !important;
}

/* Arrow position & direction inversion for RTL:
   "Next" moves forward towards the left, "Prev" moves backward towards the right */
.hp-page .testimonial-arrow--prev {
  right: -16px !important;
  left: auto !important;
}

.hp-page .testimonial-arrow--prev::before {
  transform: translate(-70%, -50%) rotate(45deg) !important;
}

.hp-page .testimonial-arrow--next {
  left: -16px !important;
  right: auto !important;
}

.hp-page .testimonial-arrow--next::before {
  transform: translate(-30%, -50%) rotate(-135deg) !important;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer-item {
  text-align: right;
}

.fi-title {
  text-align: right;
}

.fi-menu .text {
  text-align: right;
}

@media screen and (max-width: 1300px) {
  .google-maps-img {
    margin-right: 0 !important;
    margin-left: 20px !important;
  }
}

@media screen and (max-width: 1101px) {
  .left-text {
    justify-content: flex-start;
    text-align: right;
  }
}

/* ==========================================================================
   Sitewide Subpage RTL Rules
   ========================================================================== */

/* ── Partners Page ────────────────────────────────────────────────────── */
.main-wrap-container-distribution-managers {
  width: 100%;
  box-sizing: border-box;
  padding-right: 150px !important;
  padding-left: 0 !important;
  text-align: right;
}

.main-wrap-container-distribution-managers .main-text {
  text-align: right;
  justify-content: flex-start;
}

.main-wrap-container-distribution-managers .subtext-distribution-managers {
  text-align: right;
}

@media screen and (max-width: 1101px) {
  .main-wrap-container-distribution-managers {
    padding-right: 15px !important;
    padding-left: 0 !important;
  }
}

@media screen and (max-width: 850px) {
  .main-wrap-container-distribution-managers {
    align-items: flex-start;
    text-align: right;
  }

  .main-wrap-container-distribution-managers .main-text,
  .main-wrap-container-distribution-managers .subtext-distribution-managers {
    text-align: right !important;
    justify-content: flex-start !important;
  }
}

.subtext-distribution-managers {
  text-align: right;
}

.subtext-distribution-managers.center-text {
  text-align: center !important;
}

#searchPartner {
  text-align: right;
  direction: rtl;
}

.faq-item {
  text-align: right;
  padding: 10px 20px 10px 40px;
}

.faq-arrow {
  right: auto !important;
  left: 5px !important;
}

.faq-answer {
  text-align: right;
  margin-right: 20px !important;
  margin-left: 0 !important;
}

.partner-section-container {
  justify-content: flex-start !important;
}

.partner-card {
  text-align: right;
}

.partner-card .description {
  text-align: right;
}

.partner-card .testimonial-company-name {
  text-align: right;
  justify-content: flex-start;
}

/* ── Investor Hub ─────────────────────────────────────────────────────── */
.ir-hero__title,
.ir-hero__subtitle {
  text-align: right;
  letter-spacing: normal !important;
}

@media screen and (max-width: 768px) {

  .ir-hero__title,
  .ir-hero__subtitle {
    text-align: right;
  }
}

.ir-advantage__text {
  text-align: right;
}

.ir-why {
  text-align: center;
}

.ir-why__lead {
  text-align: center;
}

.ir-section-heading {
  text-align: right;
}

.ir-info__header {
  text-align: right;
}

.ir-info__intro {
  text-align: right;
}

.ir-info__share-label {
  text-align: right;
}

.ir-card {
  text-align: right;
}

.ir-card__title,
.ir-card__text {
  text-align: right;
}

.ir-info__list {
  padding: 0;
  margin: 0;
}

.ir-info__item {
  padding: 12px 12px 12px 20px !important;
  text-align: right;
}

.ir-info__item-text {
  text-align: right;
}

.ir-cta__heading,
.ir-cta__text {
  text-align: right;
}

.ir-form-card {
  text-align: right;
}

.ir-form-card__label {
  text-align: right;
  display: block;
}

.ir-form__input,
.ir-form__textarea,
.ir-form__select {
  text-align: right;
  direction: rtl;
}

.ir-form__select {
  background-position: left 16px center !important;
  padding-right: 16px !important;
  padding-left: 40px !important;
}

.ir-form__btn {
  letter-spacing: normal !important;
}

.ir-form__success,
.ir-form__error {
  text-align: right;
}

.ir-form__note {
  text-align: right;
}

@media screen and (max-width: 900px) {
  .ir-cta__grid {
    text-align: right;
  }
}

/* ── Industry Insights & Blog Details ─────────────────────────────────── */
.ii-hero__title,
.ii-hero__subtitle {
  text-align: right;
}

@media screen and (max-width: 900px) {

  .ii-hero__title,
  .ii-hero__subtitle {
    text-align: right;
  }
}

.ii-pagination {
  direction: ltr;
}

.ii-featured__body,
.ii-post__body {
  text-align: right;
}

.ii-featured__title,
.ii-post__title {
  text-align: right;
  letter-spacing: normal !important;
}

.ii-featured__excerpt,
.ii-post__excerpt {
  text-align: right;
}

.ii-post__date {
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: right;
  justify-content: flex-start;
}

.ii-post__footer {
  display: flex;
  justify-content: flex-start;
}

.bd-header {
  text-align: right;
}

.bd-title {
  text-align: right;
  letter-spacing: normal !important;
}

.bd-content__inner {
  text-align: right;
  line-height: 1.8;
}

.bd-content__inner h1,
.bd-content__inner h2,
.bd-content__inner h3,
.bd-content__inner h4,
.bd-content__inner p,
.bd-content__inner ul,
.bd-content__inner ol {
  text-align: right;
}

.bd-content__inner ul {
  padding-right: 24px;
  padding-left: 0;
}

.bd-content__inner ol {
  padding-right: 24px;
  padding-left: 0;
}

/* ── Hotel Distribution Consultant ────────────────────────────────────── */
.content-heading {
  text-align: right !important;
  letter-spacing: normal !important;
}

.content-text {
  text-align: right !important;
}

.content-container ul.content-text,
.content-container ol.content-text {
  padding-right: 24px !important;
  padding-left: 0 !important;
}

/* ── Legal Pages (Imprint, Privacy Policy) ────────────────────────────── */
.content-container {
  text-align: right;
}

.content-header {
  text-align: center !important;
}

.content-container p,
.content-container ul,
.content-container li {
  text-align: right;
}

.content-container ul {
  padding-right: 24px !important;
  padding-left: 0 !important;
}

/* ── Fraud & Scam Warning Page ────────────────────────────────────────── */
.sw-critical-alert {
  text-align: right;
}

.sw-critical-alert__inner {
  align-items: flex-start;
  justify-content: flex-start;
}

.sw-critical-alert__text {
  text-align: right;
}

.sw-hero__title,
.sw-hero__subtitle,
.sw-hero__text {
  text-align: right;
}

@media screen and (max-width: 900px) {

  .sw-hero__title,
  .sw-hero__subtitle,
  .sw-hero__text {
    text-align: right !important;
  }
}

.sw-notice {
  text-align: right;
}

.sw-notice__body {
  text-align: right;
}

.sw-notice__title,
.sw-notice__text {
  text-align: right;
}

.sw-card {
  text-align: right;
}

.sw-card__head,
.sw-card__body,
.sw-card__title,
.sw-card__lead {
  text-align: right;
}

.sw-report__head {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

.sw-report__title,
.sw-report__text {
  text-align: right;
}

.sw-report__link {
  align-self: flex-start;
  text-align: right;
}

/* Fraud Warning Lists & Indicators */
.sw-list li {
  position: relative;
  padding: 8px 32px 8px 0;
  text-align: right;
}

.sw-list--check li::before,
.sw-list--arrow li::before,
.sw-list--arrow-light li::before,
.sw-list--dot-light li::before {
  left: auto !important;
  right: 0 !important;
}

.sw-list--arrow li::before,
.sw-list--arrow-light li::before {
  transform: scaleX(-1);
}

.sw-list--arrow-light li {
  padding-right: 30px !important;
  padding-left: 0 !important;
}

.sw-list--dot-light li {
  padding-right: 24px !important;
  padding-left: 0 !important;
}

.sw-list--dot-light li::before {
  left: auto !important;
  right: 4px !important;
}

.sw-list li.sw-list__no-border,
.sw-list__no-border {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.sw-callout__list li {
  padding: 4px 20px 4px 0 !important;
  text-align: right;
}

.sw-callout__list li::before {
  left: auto !important;
  right: 0 !important;
}

.sw-card__head-content.sw-ml-8 {
  margin-left: 0 !important;
  margin-right: 8px !important;
}

.sw-pill-grid {
  justify-content: flex-start;
}

.sw-pill {
  text-align: right;
}

.sw-gray-box {
  text-align: right;
}

.sw-callout {
  text-align: right;
}

.sw-about-search__body {
  text-align: right;
}

.sw-about-search__title,
.sw-about-search__lead {
  text-align: right;
  letter-spacing: normal !important;
}

.sw-awareness__title,
.sw-awareness__subtitle,
.sw-awareness__text {
  text-align: right;
}

.sw-final__title,
.sw-final__text {
  text-align: right;
}

.sw-common-searches {
  text-align: right;
}

.sw-common-searches__title {
  text-align: right;
}

.sw-common-searches__list {
  justify-content: flex-start;
}

@media screen and (max-width: 900px) {

  .sw-awareness__head,
  .sw-final {
    text-align: right !important;
  }

  .sw-awareness__title,
  .sw-awareness__subtitle,
  .sw-final__title,
  .sw-final__text {
    text-align: right !important;
  }
}