/* ========================================
   About Hero
   ======================================== */

.about-hero {
  /* در HTML هم قابل تغییر است */
  --about-hero-image: none;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: clamp(450px, 43vw, 575px);
  color: #fff;

  background-color: #031930;
  background-image: var(--about-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-style: normal;
}

/*
  هاله سورمه‌ای ثابت:
  عمداً از متغیرهای قالب استفاده نمی‌کند تا در تمام تم‌ها سورمه‌ای بماند.
*/
.about-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(3, 25, 48, 0.97) 0%,
    rgba(3, 25, 48, 0.88) 20%,
    rgba(3, 25, 48, 0.66) 53%,
    rgba(3, 25, 48, 0.43) 100%
  );
}

/* تیرگی کناره‌ها برای خوانایی کارت‌ها */
.about-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;

  pointer-events: none;

  background: linear-gradient(
    90deg,
    rgba(3, 25, 48, 0.56) 0%,
    rgba(3, 25, 48, 0.10) 30%,
    rgba(3, 25, 48, 0.08) 70%,
    rgba(3, 25, 48, 0.56) 100%
  );
}

/* ========================================
   بردکرامب
   ======================================== */

.about-hero__breadcrumb {
  position: absolute;
  z-index: 3;
  top: 130px;
  left: clamp(24px, 5.8vw, 92px);

  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
  font-style: normal;
}

.about-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.about-hero__breadcrumb a:hover,
.about-hero__breadcrumb a:focus-visible {
  color: var(--accent-color);
  outline: none;
}

.about-hero__breadcrumb-separator {
  color: var(--accent-color);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 0.8;
}

/* ========================================
   ساختار سه‌ستونه
   ======================================== */

.about-hero__container {
  position: relative;
  z-index: 1;

  width: min(100%, 1440px);
  min-height: inherit;
  margin-inline: auto;
  padding: 140px clamp(28px, 6vw, 96px) 54px;

  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) minmax(180px, 250px);
  align-items: center;
  column-gap: clamp(28px, 5vw, 90px);
}

/* ========================================
   محتوای مرکزی
   ======================================== */

.about-hero__content {
  grid-column: 2;
  min-width: 0;

  text-align: center;
}

.about-hero__content h1 {
  margin: 0;

  color: #fff;
  font-size: clamp(2.5rem, 4.3vw, 4.4rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.32);
}

.about-hero__content p {
  width: min(100%, 760px);
  margin: 23px auto 0;

  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  font-weight: 500;
  line-height: 2.3;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

/* تزئین زیر تیتر */
.about-hero__title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  margin-top: 13px;
}

.about-hero__title-ornament > span {
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.about-hero__title-ornament > i,
.about-hero__title-ornament > b {
  display: block;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}

.about-hero__title-ornament > i {
  background-color: var(--secondary-color);
}

.about-hero__title-ornament > b {
  background-color: var(--accent-color);
}

/* ========================================
   کارت‌های دو طرف
   رنگ‌هایشان از تم سایت دریافت می‌شود
   ======================================== */

.about-hero__side-card {
  position: relative;
  overflow: hidden;

  min-height: 222px;
  padding: 24px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  /*
    زمینه شیشه‌ای:
    از متغیرهای پروژه استفاده می‌کند.
    در تم دارک هم خودکار سازگار می‌شود.
  */
  background: color-mix(in srgb, #031930 74%, transparent);
  border: 1px solid rgba(33, 66, 87, 0.5);
  border-radius: 24px;

  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

/* نور ملایم داخل کارت */
.about-hero__side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-color) 18%, transparent) 0%,
    transparent 48%,
    color-mix(in srgb, var(--secondary-color) 16%, transparent) 100%
  );
}

/* قاب تزئینی داخلی */
.about-hero__side-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;

  border: 1px solid color-mix(in srgb, var(--accent-color) 42%, transparent);
  border-radius: 17px;
}

/* همه فرزندان روی افکت‌ها قرار بگیرند */
.about-hero__side-card > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   کارت شعار — سمت راست
   ======================================== */

.about-hero__motto {
  grid-column: 1;
}

.about-hero__motto-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;

  color: var(--accent-color);
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.3));
}

.about-hero__motto-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.breadcrumb-separator {
  color: var(--accent-color, #d79c34);
  font-size: 0.65rem;
  letter-spacing: 2px;
  line-height: 1;
  opacity: 0.95;
}
.about-hero__motto p {
  margin: 0;

  color: #fff;
  font-size: clamp(0.9rem, 1.1vw, 1.04rem);
  font-weight: 700;
  line-height: 2;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.about-hero__motto-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-top: 18px;
}

.about-hero__motto-dots i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background-color: rgba(255, 255, 255, 0.75);
}

.about-hero__motto-dots i:nth-child(2) {
  background-color: var(--accent-color);
}

.about-hero__motto-dots i:nth-child(3) {
  background-color: var(--secondary-color);
}

/* ========================================
   کارت لوگو — سمت چپ
   ======================================== */

.about-hero__logo-card {
  grid-column: 3;
}

.about-hero__logo-frame {
  width: 116px;
  height: 116px;
  padding: 11px;

  display: grid;
  place-items: center;

  background: color-mix(in srgb, var(--bg-secondary) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-color) 62%, transparent);
  border-radius: 50%;

  box-shadow:
    0 0 0 7px color-mix(in srgb, var(--accent-color) 12%, transparent),
    0 10px 24px rgba(0, 0, 0, 0.23);
}

.about-hero__logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-hero__logo-caption {
  margin-top: 16px;

  color: rgba(255, 255, 255, 0.94);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.9;
}

/* ========================================
   نقوش تزئینی کناره‌ها
   ======================================== */

.about-hero__pattern {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;

  width: min(21vw, 310px);
  opacity: 0.2;
  pointer-events: none;

  background-image:
    radial-gradient(
      circle at center,
      transparent 0 26px,
      rgba(255, 255, 255, 0.24) 27px 28px,
      transparent 29px 52px
    ),
    linear-gradient(
      45deg,
      transparent 48%,
      rgba(255, 255, 255, 0.13) 49% 51%,
      transparent 52%
    ),
    linear-gradient(
      -45deg,
      transparent 48%,
      rgba(255, 255, 255, 0.13) 49% 51%,
      transparent 52%
    );

  background-size: 104px 104px;
}

.about-hero__pattern--right {
  left: 0;
  mask-image: linear-gradient(to left, #000 0%, transparent 100%);
}

.about-hero__pattern--left {
  right: 0;
  mask-image: linear-gradient(to right, #000 0%, transparent 100%);
}

/* ========================================
   تبلت
   ======================================== */

@media (max-width: 1024px) {
  .about-hero {
    min-height: 590px;
  }

  .about-hero__container {
    grid-template-columns: minmax(145px, 210px) minmax(0, 1fr) minmax(145px, 210px);
    column-gap: 20px;
    padding-inline: 28px;
  }

  .about-hero__side-card {
    min-height: 195px;
    padding: 18px 12px;
    border-radius: 20px;
  }

  .about-hero__motto p {
    font-size: 0.82rem;
    white-space: normal;
  }

  .about-hero__logo-frame {
    width: 92px;
    height: 92px;
  }

  .about-hero__logo-caption {
    font-size: 0.7rem;
  }
}

/* ========================================
   موبایل
   عنوان همچنان دقیقاً در مرکز می‌ماند؛
   کارت‌ها زیر محتوا، کنار هم نمایش داده می‌شوند.
   ======================================== */

@media (max-width: 760px) {
  .about-hero {
    min-height: 680px;
    background-position: center;
  }

  .about-hero__breadcrumb {
    top: 110px;
    left: 22px;
    font-size: 0.8rem;
  }

  .about-hero__container {
    padding: 120px 20px 30px;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .about-hero__content {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .about-hero__content p {
    max-width: 620px;
    margin-top: 18px;
    font-size: 0.9rem;
    line-height: 2.15;
  }

  .about-hero__motto {
    grid-column: 1;
    grid-row: 2;
  }

  .about-hero__logo-card {
    grid-column: 2;
    grid-row: 2;
  }

  .about-hero__side-card {
    min-height: 164px;
    padding: 16px 10px;
    border-radius: 18px;
  }

  .about-hero__motto-icon {
    width: 37px;
    height: 37px;
    margin-bottom: 7px;
  }

  .about-hero__motto p {
    font-size: 0.77rem;
    line-height: 1.9;
  }

  .about-hero__motto-dots {
    margin-top: 10px;
  }

  .about-hero__logo-frame {
    width: 76px;
    height: 76px;
    padding: 7px;
  }

  .about-hero__logo-caption {
    margin-top: 9px;
    font-size: 0.67rem;
    line-height: 1.7;
  }

  .about-hero__pattern {
    width: 32vw;
    opacity: 0.13;
  }
}

@media (max-width: 420px) {
  .about-hero {
    min-height: 650px;
  }

  .about-hero__content h1 {
    font-size: 2.35rem;
  }

  .about-hero__side-card {
    min-height: 148px;
  }

  .about-hero__logo-caption {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__breadcrumb a {
    transition: none;
  }
}




/* ========================================
    (About Details & Structure)
   ======================================== */

/* =========================================================
   Organization Showcase
   طراحی الهام‌گرفته از تصویر مرجع
========================================================= */

.organization-showcase {
  padding: 34px 20px 84px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-style: normal;
}

.organization-showcase,
.organization-showcase * {
  box-sizing: border-box;
}

.organization-showcase__container {
  width: min(100%, 1440px);
  margin-inline: auto;
}

/* ---------------------------------------------------------
   ردیف بالا
--------------------------------------------------------- */

.organization-showcase__top {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 22px;
  margin-bottom: 22px;
}

/* ---------------------------------------------------------
   الگوی تزئینی مشترک زیر عنوان
--------------------------------------------------------- */

.organization-showcase__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.organization-showcase__ornament span {
  display: block;
  width: 74px;
  height: 1px;
  background: color-mix(in srgb, var(--accent-color) 65%, transparent);
}

.organization-showcase__ornament i,
.organization-showcase__ornament b {
  display: block;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
}

.organization-showcase__ornament i {
  background: var(--secondary-color);
}

.organization-showcase__ornament b {
  background: var(--accent-color);
}

/* ---------------------------------------------------------
   عنوان‌های بخش
--------------------------------------------------------- */

.organization-section-heading {
  position: relative;
  z-index: 2;
  text-align: center;
}

.organization-section-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.4;
}

.organization-section-heading--light h2 {
  color: #ffffff;
}

/* ---------------------------------------------------------
   کارت اهداف
--------------------------------------------------------- */

.organization-goals {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 448px;
  padding: clamp(32px, 4vw, 52px) clamp(26px, 4vw, 56px);

  color: #ffffff;
  border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at 15% 100%,
      color-mix(in srgb, var(--accent-color) 14%, transparent) 0%,
      transparent 32%
    ),
    linear-gradient(135deg, #062a4b 0%, #031930 100%);

  box-shadow: 0 18px 40px rgba(3, 25, 48, 0.13);
}



.organization-goals__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.organization-goals__list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 74px;
  padding: 14px 0;

  color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  font-size: clamp(0.9rem, 1.1vw, 1.04rem);
  font-weight: 600;
  line-height: 2;
  text-align: left;
}

.organization-goals__list li:last-child {
  border-bottom: 0;
}

.organization-goals__icon {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  color: var(--accent-color);
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.28));
}

.organization-goals__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------------------
   کارت معرفی
--------------------------------------------------------- */

.organization-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 448px;
  padding: clamp(38px, 5vw, 68px) clamp(36px, 6vw, 88px);

  display: grid;
  align-content: center;

  color: #ffffff;
  text-align: center;

  border: 1px solid color-mix(in srgb, var(--secondary-color) 50%, transparent);
  border-radius: 24px;

  background-image: url(/assets/images/about-bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  box-shadow: 0 18px 40px rgba(3, 25, 48, 0.13);
}


.organization-intro__quote {
  position: absolute;
  top: 28px;
  left: 44px;

  color: var(--accent-color);
  font-family: Georgia, serif;
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 0.7;
  opacity: 0.95;
}

.organization-intro__seal {
  position: absolute;
  top: 33px;
  right: 42px;

  width: 78px;
  height: 78px;
  padding: 10px;

  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color) 75%, transparent);
  border-radius: 22px;
  transform: rotate(30deg);
}

.organization-intro__seal svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-30deg);
}

.organization-intro__text {
  max-width: 650px;
  margin: 38px auto 0;

  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 1.27vw, 1.25rem);
  font-weight: 500;
  line-height: 2.35;
  text-align: center;
  text-wrap: pretty;
}

/* ---------------------------------------------------------
   ساختار و اعضا
--------------------------------------------------------- */

.organization-members {
  --organization-members-image: none;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 600px;
  padding: clamp(38px, 5vw, 70px) clamp(22px, 5vw, 80px) 60px;

  color: #ffffff;
  border: 1px solid color-mix(in srgb, var(--accent-color) 28%, transparent);
  border-radius: 25px;

  background-color: #031930;
  background-image: var(--organization-members-image);
  background-repeat: no-repeat;
  background-size: cover;

  box-shadow: 0 20px 45px rgba(3, 25, 48, 0.18);
}



.organization-members__content {
  position: relative;
  z-index: 1;
  width: min(100%, 1220px);
  margin-inline: auto;
}

.organization-members__intro {
  position: relative;
  margin: 28px auto 54px;
  padding: 20px 44px;

  border: 1px solid color-mix(in srgb, var(--secondary-color) 56%, rgba(255, 255, 255, 0.25));
  border-radius: 18px;

  background: rgba(3, 25, 48, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}



.organization-members__intro p {
  margin: 0;

  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.92rem, 1.08vw, 1.04rem);
  font-weight: 500;
  line-height: 2.25;
  text-align: center;
}

/* کارت‌های اعضا */

.organization-members__grid {
    margin-top: 80px ;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 90px 22px;
}

.organization-member {
  position: relative;
  min-height: 245px;
  padding: 72px 22px 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-align: center;

  border: 1px solid color-mix(in srgb, var(--glass-border) 85%, rgba(255, 255, 255, 0.3));
  border-radius: 23px;

  background:
    linear-gradient(
      135deg,
      rgba(9, 47, 75, 0.85),
      rgba(3, 25, 48, 0.72)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 13px 25px rgba(0, 0, 0, 0.14);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.organization-member:hover {
  z-index: 2;
  border-color: var(--accent-color);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 18px 32px rgba(0, 0, 0, 0.24);
  transform: translateY(-7px);
}
.organization-member::before,
.organization-member::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: #01213C;
  border-radius: 100px;
}



.organization-member__icon-frame {
  position: absolute;
  top: -47px;
  left: 50%;
  width: 93px;
  height: 93px;
  padding: 15px;

  display: grid;
  place-items: center;

  background: #063d49;
  border: 1px solid var(--accent-color);
  border-radius: 30px;
  outline: 7px solid rgba(3, 25, 48, 0.78);

  transform: translateX(-50%) rotate(45deg);
}

.organization-member__icon-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-45deg);
}

.organization-member p {
  margin: 0;

  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  font-weight: 700;
  line-height: 2.05;
}

.organization-member__number {
  position: absolute;
  bottom: 20px;
  left: 50%;

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  background: #062640;

  font-size: 0.98rem;
  font-weight: 800;

  transform: translateX(-50%);
}

.organization-member__diamonds {
  position: absolute;
  bottom: -18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 5px;

  transform: translateX(-50%);
}

.organization-member__diamonds i {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--secondary-color);
  transform: rotate(45deg);
}

.organization-member__diamonds i:nth-child(2) {
  width: 10px;
  height: 10px;
  background: var(--accent-color);
}

/* ---------------------------------------------------------
   ریسپانسیو
--------------------------------------------------------- */

@media (max-width: 1180px) {
  .organization-members__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .organization-showcase {
    padding-inline: 15px;
  }

  .organization-showcase__top {
    grid-template-columns: 1fr;
  }

  .organization-intro,
  .organization-goals {
    min-height: auto;
  }

  .organization-members__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: px 18px;
  }
}

@media (max-width: 620px) {
  .organization-showcase {
    padding-top: 18px;
    padding-bottom: 54px;
  }

  .organization-goals,
  .organization-intro,
  .organization-members {
    border-radius: 19px;
  }

  .organization-goals {
    padding: 31px 20px;
  }

  .organization-goals__list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    min-height: 65px;
    font-size: 0.86rem;
    line-height: 1.95;
  }
  
  .organization-goals__icon {
    width: 41px;
    height: 41px;
  }

  .organization-intro {
    padding: 88px 24px 30px;
  }

  .organization-intro__quote {
    top: 27px;
    left: 27px;
    font-size: 4.4rem;
  }

  .organization-intro__seal {
    top: 28px;
    right: 25px;
    width: 60px;
    height: 60px;
    padding: 8px;
    border-radius: 18px;
  }

  .organization-intro__text {
    margin-top: 0;
    font-size: 0.94rem;
    line-height: 2.2;
  }

  .organization-members {
    padding: 35px 15px 43px;
  }

  .organization-members__intro {
    margin: 23px 0 48px;
    padding: 17px 22px;
  }

  .organization-members__intro p {
    font-size: 0.86rem;
    line-height: 2.05;
  }

  .organization-members__intro::before,
  .organization-members__intro::after {
    display: none;
  }

  .organization-members__grid {
    grid-template-columns: 1fr;
    gap: 90px;
    padding-inline: 10px;
  }

  .organization-member {
    min-height: 215px;
    padding-inline: 18px;
  }

  .organization-showcase__ornament span {
    width: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .organization-member {
    transition: none;
  }

  .organization-member:hover {
    transform: none;
  }
}



/* ---------------------------------------------------------
   رابزنی ها 
--------------------------------------------------------- */

/* ==========================================
  glob
   ========================================== */

.world-network-section {
  position: relative;
  padding: 4rem 1rem;
  overflow: hidden;
  direction: ltr;
  background: var(--bg-secondary);
  font-style: normal;
}

.world-network-container {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-image: url("./src/assets/images/map-bg.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  border-radius: 2.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.world-network-container::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(
      circle at 77% 38%,
      color-mix(in srgb, var(--accent-color) 12%, transparent),
      transparent 35%
    ),
    linear-gradient(
      110deg,
      color-mix(in srgb, var(--bg-primary) 88%, transparent) 0%,
      transparent 65%
    );
}

.world-network-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  min-height: 700px;
}

/* ==========================================
   Content column
   ========================================== */

.world-network-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem;
  color: var(--text-primary);
}

.world-network-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary, #6b7280);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.world-network-eyebrow-icon {
  display: block;
  width: min(70px, 12vw);
  height: auto;
  object-fit: contain;
}

.world-network-title {
  margin: 0;
  color: var(--accent-color);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}

.world-network-title span {
  color: var(--accent-color);
}

.world-network-description {
  max-width: 32rem;
  margin: 1.25rem auto 2.25rem;
  color: var(--text-secondary, #6b7280);
  font-size: 1rem;
  line-height: 2;
  text-align: center;
}


/* ==========================================
   Statistic cards
   ========================================== */

.world-network-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-bottom: 2rem;
}

.world-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem;
  background: color-mix(in srgb, var(--bg-secondary) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
  border-radius: 1.25rem;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.world-stat-card:hover {
  border-color: color-mix(in srgb, var(--accent-color) 45%, transparent);
  transform: translateY(-4px);
}

.world-stat-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.world-stat-details strong {
  color: var(--accent-color);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
}

.world-stat-details span {
  color: var(--text-secondary, #6b7280);
  font-size: 0.85rem;
  font-weight: 700;
}

.world-stat-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color) 14%, transparent);
  border-radius: 50%;
  place-items: center;
}

.world-stat-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.title-wrapper{
  text-align: center;
}


/* ==========================================
   CTA Button
   ========================================== */

.world-network-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.5rem;
  color: var(--bg-primary);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 0.85rem;
  box-shadow: 0 12px 25px
    color-mix(in srgb, var(--accent-color) 25%, transparent);
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.world-network-button:hover {
  filter: brightness(1.08);
  box-shadow: 0 16px 30px
    color-mix(in srgb, var(--accent-color) 36%, transparent);
  transform: translateY(-3px);
}

.world-network-button i {
  transition: transform 0.25s ease;
}

.world-network-button:hover i {
  transform: translateX(-0.35rem);
}

/* ==========================================
   Globe area
   ========================================== */

.world-globe-area {
  position: relative;
  min-width: 0;
  min-height: 700px;
  overflow: hidden;
}

.native-globe {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 500px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  isolation: isolate;
  background: #f7f8fb;
}

.native-globe:active {
  cursor: grabbing;
}

/* هاله نور پشت کره */
.native-globe::before {
  position: absolute;
  top: 50%;
  right: 50%;
  z-index: -2;
  width: min(80%, 640px);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  background: var(--accent-color);
  border-radius: 50%;
  filter: blur(105px);
  opacity: 0.17;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  filter: blur(120px);
}

/* ذرات پس‌زمینه */
.native-globe::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, var(--accent-color) 1px, transparent 1.5px),
    radial-gradient(circle, var(--accent-color) 0.75px, transparent 1.3px);
  background-position:
    0 0,
    43px 31px;
  background-size:
    78px 78px,
    96px 96px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    #000 0%,
    transparent 70%
  );
}

#globeCanvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

/* مدارهای تزئینی */
.globe-orbit {
  position: absolute;
  top: 50%;
  right: 50%;
  z-index: 1;
  width: min(74%, 530px);
  aspect-ratio: 1.8;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--accent-color) 24%, transparent);
  border-radius: 50%;
  opacity: 0.8;
}

.globe-orbit-one {
  transform: translate(-50%, -50%) rotate(-22deg);
  animation: globeOrbitPulseOne 5s ease-in-out infinite;
}

.globe-orbit-two {
  width: min(61%, 445px);
  border-color: color-mix(in srgb, var(--accent-color) 16%, transparent);
  transform: translate(-50%, -50%) rotate(30deg);
  animation: globeOrbitPulseTwo 6s ease-in-out infinite;
}

/* برچسب بالا */
.native-globe-label {
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 800;
  background: color-mix(in srgb, var(--bg-primary) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-color) 24%, transparent);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.native-globe-label-dot {
  width: 0.52rem;
  height: 0.52rem;
  background: var(--accent-color);
  border-radius: 50%;
  animation: globeStatusPulse 1.8s infinite;
}

/* راهنمای رنگ‌ها */
.native-globe-legend {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: var(--text-secondary, #64748b);
  font-size: 0.67rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--bg-primary) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
  border-radius: 0.85rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.native-globe-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent-color);
  border: 1px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-color);
}

.legend-dot-iran {
  width: 0.7rem;
  height: 0.7rem;
  background: #ffffff;
  border-color: var(--accent-color);
}
/* تصویر شاخص رایزنی */
.office-featured-image {
  position: relative;
  width: 100%;
  height: 185px;
  margin: 1.25rem 0;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.office-featured-image::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 54, 0.03) 25%,
    rgba(8, 24, 54, 0.68) 100%
  );
}

.office-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.office-featured-image:hover img {
  transform: scale(1.04);
}

/* کارت‌های اطلاعات تماس */
.office-contact-card {
  min-height: 105px;
}

.office-contact-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-sec, #b9c4d5);
  font-size: 0.78rem;
}

.office-contact-card .world-stat-details strong {
  display: block;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.9;
}

.office-contact-value {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.78rem !important;
}

.office-contact-value a {
  color: inherit;
  text-decoration: none;
}

/* جلوگیری از سرریز ایمیل و شماره در موبایل */
.world-network-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .office-featured-image {
    height: 160px;
    margin: 1rem 0;
    border-radius: 14px;
  }

  .world-network-stats {
    grid-template-columns: 1fr;
  }

  .office-contact-card {
    min-height: auto;
  }

  .office-contact-card .world-stat-details strong {
    font-size: 0.82rem;
  }
}

/* ==========================================
   Country information card
   ========================================== */

.country-card {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: min(320px, calc(100% - 3rem));
  padding: 1.25rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  color: var(--hero-card-title, var(--text-primary));
  background: color-mix(
    in srgb,
    var(--hero-card-bg, var(--bg-primary)) 92%,
    transparent
  );
  border: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.18));
  border-radius: 1.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateY(1rem);
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s ease;
}

.country-card.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.country-card .card-icon-wrapper {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.85rem;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color) 14%, transparent);
  border-radius: 0.8rem;
  place-items: center;
}

.country-card h3 {
  padding-left: 1.6rem;
  margin: 0 0 0.45rem;
  color: var(--hero-card-title, var(--text-primary));
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.65;
}

.country-card p {
  margin: 0;
  color: var(--hero-card-text, var(--text-secondary));
  font-size: 0.84rem;
  line-height: 1.9;
}

.country-card .card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.country-card-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  color: var(--hero-card-title, var(--text-primary));
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 50%;
  place-items: center;
  transition: background 0.2s ease;
}

.country-card-close:hover {
  background: color-mix(in srgb, var(--text-primary) 10%, transparent);
}

/* ==========================================
   Globe zoom controls
   ========================================== */

.globe-zoom-controls {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.globe-zoom-controls button {
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: var(--text-primary);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  background: var(--card-glass, rgba(255, 255, 255, 0.72));
  border: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  place-items: center;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.globe-zoom-controls button:hover {
  color: var(--bg-primary);
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.06);
}

/* ==========================================
   Animations
   ========================================== */

@keyframes globeStatusPulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-color) 65%, transparent);
  }

  70% {
    box-shadow: 0 0 0 10px transparent;
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes globeOrbitPulseOne {
  0%,
  100% {
    opacity: 0.28;
    transform: translate(-50%, -50%) rotate(-22deg) scale(0.97);
  }

  50% {
    opacity: 0.75;
    transform: translate(-50%, -50%) rotate(-22deg) scale(1.03);
  }
}

@keyframes globeOrbitPulseTwo {
  0%,
  100% {
    opacity: 0.18;
    transform: translate(-50%, -50%) rotate(30deg) scale(1.03);
  }

  50% {
    opacity: 0.62;
    transform: translate(-50%, -50%) rotate(30deg) scale(0.96);
  }
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1100px) {
  .world-network-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }

  .world-network-content {
    padding: 3.5rem 2rem;
  }
}

@media (max-width: 900px) {
  .world-network-layout {
    display: flex;
    flex-direction: column;
  }

  .world-network-content {
    padding: 3rem 1.5rem 2rem;
  }

  .world-globe-area {
    min-height: 540px;
  }

  .native-globe {
    min-height: 540px;
  }
}

@media (max-width: 600px) {
  .world-network-section {
    padding: 2.5rem 0.75rem;
  }

  .world-network-container {
    border-radius: 1.6rem;
  }

  .world-network-content {
    padding: 2.5rem 1rem 1.5rem;
  }

  .world-network-eyebrow {
    gap: 0.45rem;
    font-size: 0.8rem;
  }

  .world-network-eyebrow-icon {
    width: 42px;
  }

  .world-network-title {
    font-size: 1.7rem;
  }

  .world-network-description {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }

  .world-network-stats {
    gap: 0.65rem;
  }

  .world-stat-card {
    padding: 0.9rem 0.75rem;
    border-radius: 1rem;
  }

  .world-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .world-stat-icon svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .world-stat-details span {
    font-size: 0.7rem;
  }

  .world-network-button {
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
  }

  .world-globe-area,
  .native-globe {
    min-height: 455px;
  }

  .native-globe-label {
    top: 1rem;
    left: 1rem;
    font-size: 0.62rem;
  }

  .native-globe-legend {
    left: 1rem;
    bottom: auto;
    right: 1rem;
    justify-content: center;
    font-size: 0.6rem;
  }

  .country-card {
    left: 1rem;
    bottom: 1rem;
    right: 1rem;
    width: auto;
    padding: 1rem;
  }

  .globe-zoom-controls {
    top: 1rem;
    bottom: auto;
    right: 1rem;
  }

  .globe-zoom-controls button {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
  }
}

/* احترام به تنظیمات کاهش حرکت مرورگر */
@media (prefers-reduced-motion: reduce) {
  .globe-orbit,
  .native-globe-label-dot {
    animation: none !important;
  }

  .world-network-button,
  .world-stat-card,
  .globe-zoom-controls button {
    transition: none;
  }
}





/* ==========================================
   About Us — Agencies Table
   هماهنگ با متغیرهای تم «میراث ایران»
   ========================================== */


/* ==========================================
   International Agencies Table
   RTL + Fully Centered + Responsive
   ========================================== */

.agency-table-section {
  direction: ltr;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-style: normal;
}

.agency-table-container {
  width: min(1440px, 100%);
  margin: 0 auto;
}

/* عنوان */
.agency-table-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.agency-table-heading > span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 800;
}

.agency-table-heading > span::before,
.agency-table-heading > span::after {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin: 0 0.6rem;
  vertical-align: middle;
  content: "";
  background: var(--accent-color);
  opacity: 0.65;
}

.agency-table-heading h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}

.agency-table-heading p {
  margin: 0.65rem 0 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* قاب جدول */
.agency-table-wrap {
  overflow-x: auto;
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(3, 25, 48, 0.08);
  -webkit-overflow-scrolling: touch;
}

/* جدول */
.agency-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  table-layout: fixed;
  direction: ltr;
  text-align: center;
}

/* عرض کنترل‌شده ستون‌ها */
.agency-table th:nth-child(1),
.agency-table td:nth-child(1) {
  width: 18%;
}

.agency-table th:nth-child(2),
.agency-table td:nth-child(2) {
  width: 24%;
}

.agency-table th:nth-child(3),
.agency-table td:nth-child(3) {
  width: 28%;
}

.agency-table th:nth-child(4),
.agency-table td:nth-child(4) {
  width: 17%;
}

.agency-table th:nth-child(5),
.agency-table td:nth-child(5) {
  width: 13%;
}

.agency-table th {
  padding: 1rem 0.7rem;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  background: color-mix(in srgb, var(--primary-color) 5%, var(--bg-secondary));
  border-bottom: 2px solid var(--accent-color);
}

.agency-table td {
  padding: 1rem 0.7rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.8;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}

.agency-table tbody tr:last-child td {
  border-bottom: 0;
}

.agency-table tbody tr {
  transition: background-color 0.2s ease;
}

.agency-table tbody tr:hover {
  background: color-mix(in srgb, var(--accent-color) 6%, transparent);
}

/* نام نمایندگی */
.agency-table td:first-child strong,
.agency-table td:first-child small {
  display: block;
  text-align: center;
}

.agency-table td:first-child strong {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.agency-table td:first-child small {
  margin-top: 0.15rem;
  color: var(--text-secondary);
  font-size: 0.7rem;
}

/* ایمیل و تلفن */
.agency-phone,
.agency-email {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

/* شماره‌ها باید LTR بمانند */
.agency-phone {
  direction: ltr;
  text-align: center;
  unicode-bidi: isolate;
}

.agency-phone a,
.agency-phone span {
  display: inline-block;
  color: var(--secondary-color);
  font-family: Arial, sans-serif;
  font-size: 0.77rem;
  letter-spacing: 0.01em;
  line-height: 1.55;
  text-decoration: none;
  white-space: nowrap;
}

.agency-email a {
  display: inline-block;
  max-width: 100%;
  color: var(--secondary-color);
  font-size: 0.75rem;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.agency-phone a:hover,
.agency-email a:hover {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* دکمه وب‌سایت */
.agency-website-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.7rem;
  color: var(--hero-card-button-text);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background: var(--hero-card-button-bg);
  border: 1px solid var(--hero-card-button-bg);
  border-radius: 0.45rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.agency-website-btn:hover {
  color: var(--hero-card-button-text);
  opacity: 0.88;
  transform: translateY(-1px);
}

/* دکمه PDF */
.agency-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  min-height: 2.15rem;
  padding: 0.4rem 0.65rem;
  color: var(--accent-color);
  font-size: 0.7rem;
  font-weight: 800;
  direction: ltr;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--accent-color);
  border-radius: 0.45rem;
}

.agency-pdf-btn:hover {
  color: var(--hero-card-button-text);
  background: var(--accent-color);
}

.agency-none {
  color: var(--text-secondary);
  font-size: 1rem;
  opacity: 0.55;
}

/* دارک مود */
html.dark .agency-table-heading h2,
html.dark .agency-table th {
  color: var(--text-primary);
}

/* ==========================================
   Mobile: جدول به کارت‌های وسط‌چین تبدیل می‌شود
   ========================================== */

@media (max-width: 767px) {
  .agency-table-section {
    padding: 3rem 0.85rem;
  }

  .agency-table-heading {
    margin-bottom: 1.4rem;
  }

  .agency-table-heading p {
    font-size: 0.8rem;
    line-height: 1.9;
  }

  .agency-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .agency-table,
  .agency-table tbody,
  .agency-table tr,
  .agency-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .agency-table thead {
    display: none;
  }

  .agency-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .agency-table tbody tr {
    padding: 0.45rem 1rem;
    overflow: hidden;
    text-align: center;
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    border-radius: 0.9rem;
    box-shadow: 0 8px 22px rgba(3, 25, 48, 0.06);
  }

  .agency-table tbody tr:hover {
    background: var(--card-glass);
  }

  .agency-table th:nth-child(n),
  .agency-table td:nth-child(n) {
    width: 100%;
  }

  .agency-table td {
    padding: 0.72rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }

  .agency-table td:last-child {
    border-bottom: 0;
  }

  /* عنوان هر اطلاعات در موبایل */
  .agency-table td::before {
    display: block;
    margin-bottom: 0.38rem;
    color: var(--accent-color);
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    content: attr(data-label);
  }

  /* نام نمایندگی بالای کارت */
  .agency-table td:first-child {
    padding-top: 0.9rem;
  }

  .agency-table td:first-child::before {
    display: none;
  }

  .agency-table td:first-child strong {
    font-size: 1.05rem;
  }

  .agency-table td:first-child small {
    font-size: 0.75rem;
  }

  .agency-phone,
  .agency-email {
    align-items: center;
  }

  .agency-phone a,
  .agency-phone span {
    font-size: 0.78rem;
  }

  .agency-email a {
    font-size: 0.75rem;
  }

  .agency-website-btn,
  .agency-pdf-btn {
    margin: 0 auto;
  }
}












/* English LTR layout */
html, body { direction: ltr !important; }
body { text-align: left; }
.about-hero,
.organization-showcase,
.world-network-section,
.agency-table-section,
.site-footer { direction: ltr; }
.theme-option, .world-menu-accordion-trigger, .footer-logo-wrap, .footer-stat-item { text-align: left; }
