@font-face {
  font-family: "Yekan";
  src: url("../fonts/IRANYekanXVF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* رنگ‌های اصلی */
  --color-bg: #0F2233;
  /* سرمه‌ای شب: پس‌زمینه */
  --color-gold: #C99A4B;
  /* طلایی کهنه: تأکید */

  /* رنگ‌های کمکی */
  --color-bg-deep: #0B1B2B;
  /* پس‌زمینهٔ عمیق‌تر (فوتر، هدر) */
  --color-surface: #162D42;
  /* کارت‌ها و بخش‌های جدا */
  --color-text: #F2E8D5;
  /* کرم گرم: متن اصلی */
  --color-text-mut: #B9AE98;
  /* متن کم‌رنگ‌تر */
  --color-gold-light: #E0B96A;
  /* hover */
  --color-turquoise: #2A8C8C;
  /* فیروزه‌ای اصفهانی: جزئیات */
  --color-border: rgba(201, 154, 75, 0.25);
  /* خط‌های جداکننده */
  --bs-body-bg: #0B1B2B;
  --bs-body-color: var(--color-text);
  --bs-body-font-family: 'Vazirmatn', system-ui, sans-serif;
  --bs-body-line-height: 1.9;
}

body {
  background: var(--color-bg-deep);
  color: var(--color-text);
  font-family: "Yekan", sans-serif !important;
  min-height: 100dvh;
  text-align: right;
}

body.no-scroll {
  overflow: hidden;
}

/* ###################### scrollbar ###################### */
/* ---------- اسکرول‌بار طلایی: فقط دستگیره، بدون فلش و بدون خط زیرین ---------- */
.scrollbar-gold {
  scrollbar-width: thin;
  /* Firefox و مرورگرهای جدید */
  scrollbar-color: var(--color-gold) transparent;
  /* دستگیره | زمینه (شفاف) */
}

/* مرورگرهای قدیمی‌تر WebKit (Chrome قبل از ۱۲۱ و Safari قبل از ۱۸.۲) */
@supports not (scrollbar-color: auto) {
  .scrollbar-gold::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  .scrollbar-gold::-webkit-scrollbar-track {
    background: transparent;
  }

  .scrollbar-gold::-webkit-scrollbar-corner {
    background: transparent;
  }

  .scrollbar-gold::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }

  /* فلش‌ها */
  .scrollbar-gold::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 999px;
  }

  .scrollbar-gold::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
  }
}


/* ===== پس‌زمینه‌ها ===== */
.bg-main {
  background-color: var(--color-bg);
}

.bg-deep {
  background-color: var(--color-bg-deep);
}

.bg-surface {
  background-color: var(--color-surface);
}

.bg-gold {
  background-color: var(--color-gold);
}

.bg-gold-light {
  background-color: var(--color-gold-light);
}

.bg-turquoise {
  background-color: var(--color-turquoise);
}

/* ===== رنگ متن ===== */
.text-main {
  color: var(--color-text);
}

.text-mut {
  color: var(--color-text-mut);
}

.text-gold {
  color: var(--color-gold);
}

.text-gold-light {
  color: var(--color-gold-light);
}

.text-turquoise {
  color: var(--color-turquoise);
}

.text-dark {
  color: var(--color-bg);
}

/* متن تیره روی پس‌زمینهٔ طلایی */

/* ===== حاشیه ===== */
.border-main {
  border: solid var(--color-bg) !important;
}

.border-deep {
  border: solid var(--color-bg-deep) !important;
}

.border-surface {
  border: solid var(--color-surface) !important;
}

.border-gold {
  border: solid var(--color-gold) !important;
}

.border-gold-light {
  border: solid var(--color-gold-light) !important;
}

.border-text {
  border: solid var(--color-text) !important;
}

.border-text-mut {
  border: solid var(--color-text-mut) !important;
}

.border-theme {
  border: solid var(--color-border) !important;
}

.border-turquoise {
  border: solid var(--color-turquoise) !important;
}

/* ===== hover ===== */
.hover-gold:hover {
  color: var(--color-gold-light);
}

.hover-bg-gold:hover {
  background-color: var(--color-gold-light);
}





.h-fit {
  height: fit-content;
}

.line-clamp-2 {
  display: -webkit-box;
  line-clamp: 2;
  box-orient: vertical;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  line-clamp: 3;
  box-orient: vertical;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  display: -webkit-box;
  line-clamp: 1;
  box-orient: vertical;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fs-sm {
  font-size: 14px !important;
}

.fs-xs {
  font-size: 12px;
}

.fs-xxs {
  font-size: 10px;
}

.pointer {
  cursor: pointer;
}






/* دکمهٔ طلایی */
.btn-gold {
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  transition: .3s ease;
  font-size: 14px;
}

.btn-gold:hover {
  color: var(--color-bg-deep);
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}


/* پس‌زمینهٔ لوزی‌دار برای کل main */
.pattern-bg {
  background-color: var(--color-bg-deep);
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 154, 75, .05) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(-45deg, rgba(201, 154, 75, .05) 0 1px, transparent 1px 38px);
}



.page-h1 {
  padding: 3rem 0;
  margin-bottom: 3rem;
  background: radial-gradient(circle at center, rgba(201, 154, 75, 0.08) 0%, transparent 70%);
}

.page-h1__title {
  background: linear-gradient(135deg, var(--color-text, #F2E8D5) 30%, var(--color-gold, #C99A4B) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.page-h1__desc {
  color: var(--color-text-mut, #B9AE98);
  line-height: 1.8;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.page-h1__separator {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold, #C99A4B), transparent);
  margin: 2rem auto 0;
}

/* ========== تایتل مشترک همهٔ سکشن‌ها ========== */
.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.section-heading::before {
  content: "";
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  background: url("../public/ellegant.png") center / contain no-repeat;
}

.section-heading::after {
  /* خط محو طلایی */
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(270deg, var(--color-gold), transparent);
  opacity: .5;
}





.heritage-highlights__swiper {
  overflow: hidden;
  padding-bottom: 1.5rem;
}

.heritage-highlights__swiper .swiper-slide {
  height: auto;
}

.heritage-highlight {
  display: grid;
  justify-items: center;
  gap: .9rem;
  height: 100%;
  padding: 1.2rem .7rem;
  border: 1px solid rgba(201, 154, 75, 0.15);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(22, 45, 66, 0.8), rgba(11, 27, 43, 0.6));
  color: var(--color-text);
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}

.heritage-highlight:hover {
  border-color: rgba(201, 154, 75, 0.6);
}

.heritage-highlight__icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(201, 154, 75, 0.35);
  border-radius: 1rem;
  background: rgba(201, 154, 75, 0.08);
  color: var(--color-gold-light);
}

.heritage-highlight__icon svg {
  width: 34px;
  height: 34px;
}

.heritage-highlight h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gold-light);
}

.heritage-highlights__pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 1rem;
}

.heritage-highlights__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(201, 154, 75, 0.4);
  opacity: 1;
  transition: width .2s ease, background .2s ease;
}

.heritage-highlights__pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: var(--color-gold);
}

.history-story {
  background: rgba(11, 27, 43, 0.6);
}

.history-story__text {
  font-size: 1rem;
  line-height: 2.1;
  text-align: justify;
  margin-bottom: 1.1rem;
}

.history-story__visual {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(201, 154, 75, 0.4);
  border-radius: 2rem;
  background: linear-gradient(180deg, #d7c9a8, #efe5cd);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.history-story__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.not-found-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.not-found-page__content {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.not-found-page__label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-gold-light);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 1;
}

.not-found-page__title {
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.5;
  font-weight: 800;
}

.not-found-page__text {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 2;
}


/* ###################### HEADER ###################### */
.logo-header {
  max-width: 70px;
}

.border-fade-gold {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right,
      transparent 5%,
      var(--color-gold) 50%,
      transparent 95%) 1;
  ;
}

.icon-size {
  width: 32px;
  height: 32px;
}


.mobile-menu-container {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 1100;
  background: rgba(7, 18, 30, .72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);

  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}

.mobile-menu-container.show {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  max-width: 340px;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
  border-inline-start: 1px solid var(--color-border);
  background: linear-gradient(155deg, var(--color-surface), var(--color-bg) 48%, var(--color-bg-deep));
  box-shadow: -18px 0 48px rgba(0, 0, 0, .42);

  transform: translateX(100%);
  transition: transform .3s ease-in-out;
  -webkit-transition: transform .3s ease-in-out;
  -moz-transition: transform .3s ease-in-out;
  -ms-transition: transform .3s ease-in-out;
  -o-transition: transform .3s ease-in-out;
}

.mobile-menu-container.show .mobile-menu {
  transform: translateX(0);
}

.mobile-menu__content {
  min-height: 100%;
}

.mobile-menu__header {
  position: relative;
  min-height: 88px;
}

.mobile-menu__heading {
  font-size: 18px;
}

.mobile-menu__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--color-text);
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.mobile-menu__links a::before {
  width: 6px;
  height: 6px;
  flex: none;
  transform: rotate(45deg);
  background: var(--color-gold);
  content: "";
}

.mobile-menu__links a:hover {
  border-color: var(--color-border);
  background: rgba(42, 140, 140, .1);
  color: var(--color-gold-light);
}

.mobile-menu input {
  color: var(--color-text);
  background: rgba(11, 27, 43, .62);
}

.mobile-menu input::placeholder {
  color: var(--color-text-mut);
}

.mobile-menu input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 154, 75, .16);
}

.search-step {
  width: 100%;
}

.search-step__content {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  padding: 1rem;
}

.back-main-step {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .5rem;
  padding: .55rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: rgba(11, 27, 43, .55);
  color: var(--color-gold-light);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.back-main-step:hover {
  border-color: var(--color-turquoise);
  background: rgba(42, 140, 140, .1);
}

.search-step__search {
  width: 100%;
}

.search-step__input {
  min-height: 46px;
  padding-block: .6rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(11, 27, 43, .62);
  color: var(--color-text);
  font-family: inherit;
}

.search-step__input::placeholder {
  color: var(--color-text-mut);
}

.search-step__input:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 154, 75, .16);
}

.search-step__search-icon {
  color: var(--color-gold);
  pointer-events: none;
}

.search-step__group {
  display: grid;
  gap: .65rem;
  padding-block: .85rem;
  border-top: 1px solid var(--color-border);
}

.search-step__group-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  color: var(--color-text);
  font-size: .9rem;
  font-weight: 700;
}

.search-step__group-title svg {
  flex: none;
  color: var(--color-turquoise);
}

.search-step__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-step__card {
  position: relative;
  display: grid;
  align-content: start;
  gap: .35rem;
  min-height: 96px;
  height: 100%;
  padding: .75rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(42, 140, 140, .1), rgba(11, 27, 43, .62) 72%);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.search-step__card:hover {
  transform: translateY(-2px);
  border-color: var(--color-turquoise);
  background: linear-gradient(145deg, rgba(42, 140, 140, .2), rgba(11, 27, 43, .78) 72%);
  color: var(--color-text);
}

.search-step__card-title {
  color: var(--color-gold-light);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.5;
}

.search-step__card-description {
  color: var(--color-text-mut);
  font-size: .7rem;
  line-height: 1.6;
}

.search-step__result-list {
  display: grid;
  gap: .9rem;
}

.search-result-group {
  display: grid;
  gap: .55rem;
}

.search-result-group__title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  color: var(--color-turquoise);
  font-size: .82rem;
  font-weight: 700;
}

.search-result-group__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.search-result-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .75rem;
  padding: .8rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(11, 27, 43, .56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02);
}

.search-result-card--figure {
  background: linear-gradient(135deg, rgba(201, 154, 75, .10), rgba(11, 27, 43, .82));
}

.search-result-card--figure[hidden],
.search-result-group__cards .views-row[hidden] {
  display: none !important;
}

.search-result-card--event {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, rgba(42, 140, 140, .10), rgba(11, 27, 43, .82));
}

.search-result-card__media {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 154, 75, .18);
  background: rgba(255, 255, 255, .04);
}

.search-result-card--figure .search-result-card__media {
  width: 80px;
  height: 80px;
  background: linear-gradient(160deg, rgba(201, 154, 75, .35), rgba(11, 27, 43, .9));
}

.search-result-card--event .search-result-card__media {
  width: 100%;
  max-width: none;
  min-height: 96px;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(42, 140, 140, .35), rgba(11, 27, 43, .9));
}

.search-result-card__body {
  display: grid;
  align-content: center;
  gap: .35rem;
}

.search-result-card__badge {
  display: inline-flex;
  width: fit-content;
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(201, 154, 75, .12);
  color: var(--color-gold-light);
  border: 1px solid rgba(201, 154, 75, .2);
}

.search-result-card--event .search-result-card__badge {
  background: rgba(42, 140, 140, .12);
  color: var(--color-turquoise);
  border-color: rgba(42, 140, 140, .2);
}

.search-result-card__title {
  margin: 0;
  color: var(--color-text);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.6;
}

.search-result-card__description {
  margin: 0;
  color: var(--color-text-mut);
  font-size: .68rem;
  line-height: 1.7;
}

.search-result-card__meta {
  color: var(--color-gold-light);
  font-size: .62rem;
  font-weight: 700;
}

.search-step__empty {
  margin: 0;
  padding: .75rem;
  border: 1px dashed var(--color-border);
  border-radius: 9px;
  color: var(--color-text-mut);
  font-size: .85rem;
  text-align: center;
}

.search-step__empty[hidden],
.search-step__group.is-empty {
  display: none;
}

.search-step__card:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  color: var(--color-gold-light);
}

.search-container {
  position: absolute;
  top: calc(100% + 2px);
  inset-inline: 0;
  z-index: 1050;
  max-height: 0;
  overflow: hidden;
  background: rgba(7, 18, 30, .68);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height .35s ease, opacity .2s ease, transform .25s ease, visibility .25s ease;
}

.close-mobile-menu {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-border);
  color: var(--color-gold-light);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.close-mobile-menu:hover {
  border-color: var(--color-gold);
  background: var(--color-bg);
}

.show-menu {
  display: grid !important;
}



.search-container>div {
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  background: rgba(11, 27, 43, .97);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .72);
}

.search-content {
  max-width: 700px;
  margin: auto;
}

.search-content>.search-step__result-list {
  max-height: 250px;
  overflow-x: hidden;
  overflow-y: auto;
  align-content: start;
  padding-inline: .2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--color-surface);
}

.search-content>.search-step__result-list::-webkit-scrollbar {
  width: 6px;
}

.search-content>.search-step__result-list::-webkit-scrollbar-button,
.search-content>.search-step__result-list::-webkit-scrollbar-button:single-button:vertical:decrement,
.search-content>.search-step__result-list::-webkit-scrollbar-button:single-button:vertical:increment {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.search-content>.search-step__result-list::-webkit-scrollbar-track {
  background: var(--color-surface);
  border-radius: 999px;
}

.search-content>.search-step__result-list::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 999px;
}

.search-content>.search-step__result-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-light);
}

.search-content .search-step__result-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

.search-content .search-result-group {
  display: grid;
  gap: .6rem;
}

.search-content .search-result-group__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.search-content .search-result-card {
  min-height: 112px;
  padding: .8rem;
}

.search-content .search-result-card--figure {
  display: grid;
  grid-template-columns: 88px 1fr;
}

.search-content .search-result-card--event {
  display: grid;
  grid-template-columns: 1fr;
}

.search-content .search-result-card__media {
  width: 88px;
  height: 88px;
}

.search-content .search-result-card--event .search-result-card__media {
  width: 100%;
  height: auto;
  min-height: 96px;
  aspect-ratio: 16 / 9;
}

.search-container.show {
  max-height: min(420px, calc(100dvh - 120px));
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.img-card-search {
  width: 150px;
}




/* ###################### about us ###################### */
.tf {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(42, 140, 140, .14), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(201, 154, 75, .09), transparent 50%);
}

.tf>.container {
  position: relative;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--color-turquoise);
}

/* جداکنندهٔ لوزی‌دار */
.tf-divider::before,
.tf-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.tf-divider i {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border: 1px solid var(--color-gold);
}

/* قاب طاق‌نمای تصویر */
.tf-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 14px;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(160deg, var(--color-gold-light), var(--color-gold) 55%, #8c6528);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7);
}

.tf-arch::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--color-border);
  border-radius: 999px 999px 28px 28px;
  pointer-events: none;
}

.tf-arch-inner {
  height: 100%;
  padding: 34px 20px 18px;
  border-radius: 999px 999px 8px 8px;
  background: var(--color-text);
}

.tf-arch-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.tf-badge {
  bottom: 48px;
  inset-inline-start: -22px;
  background: var(--color-surface);
  border: 1px solid var(--color-turquoise);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
}

/* کارت‌ها */
.tf-card {
  position: relative;
  transition: transform .35s ease, border-color .35s ease;
}

.tf-icon {
  width: 48px;
  height: 48px;
  transform: rotate(45deg);
  border: 1px solid var(--color-turquoise);
  color: var(--color-turquoise);
}

.tf-icon svg {
  transform: rotate(-45deg);
  width: 22px;
  height: 22px;
}

.tf-quote {
  border-inline-start: 3px solid var(--color-gold);
}

.tf-stats__heading {
  color: var(--color-text-mut);
  font-size: .9rem;
  font-weight: 600;
}

.tf-stats__heading i {
  flex: 1;
  height: 1px;
  background: linear-gradient(270deg, var(--color-border), transparent);
}

.tf-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(42, 140, 140, .10), var(--color-surface) 68%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tf-stat strong {
  line-height: 1.35;
}




/* ###################### featured ###################### */
/* پس‌زمینهٔ سکشن */
.featured {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(42, 140, 140, .12), transparent 55%);
}

.featured>.container {
  position: relative;
}

.featured__events-carousel {
  position: relative;
  height: 100%;
}

.featured__events-swiper,
.featured__events-swiper .swiper-wrapper,
.featured__events-swiper .swiper-slide {
  height: 100%;
}

.featured__events-swiper {
  z-index: 2;
}

.featured__events-swiper .swiper-slide {
  position: relative;
  z-index: 0;
  height: auto;
  overflow: hidden;
}

.featured__events-controls {
  position: absolute;
  bottom: -10px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: 1rem;
}

.featured__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-gold-light);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.featured__arrow:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-bg-deep);
}

.featured__arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured__pagination {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.featured__pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: var(--color-gold-light);
  opacity: .4;
  transition: width .2s ease, opacity .2s ease;
}

.featured__pagination .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 999px;
  opacity: 1;
}



/* کارت */
.featured__card {
  position: relative;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.featured__card--events {
  overflow: visible;
  padding-bottom: 1.25rem;
}

.featured__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
}

/* تصویر */
.featured__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-surface), var(--color-bg));
}

.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.featured__card:hover .featured__media img {
  transform: scale(1.06);
}

/* گرادیان پایین تصویر برای خوانایی عنوان */
.featured__media img {
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 83%);
  mask-image: linear-gradient(to top, transparent 0%, #000 83%);
  transition: transform .6s ease;
}

.featured__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 5 !important;
  background: linear-gradient(to top, rgba(11, 27, 43, .92), transparent)
}

.featured__events-swiper .featured__caption {
  padding-top: 30px !important;
  background: linear-gradient(to top, rgba(11, 27, 43, .92) 20%, transparent)
}

/* برچسب دسته‌بندی */
.featured__category {
  position: absolute;
  top: 0;
  inset-inline-start: calc(30% - 55px);
  z-index: 3;
  min-width: 110px;
  color: var(--color-text);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 20px 8px rgba(0, 0, 0, .6);
}


/* ###################### calendar ###################### */
/* نوار تب‌ها: فقط اسکرول افقی */
.calendar__tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--color-border);
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
}

.calendar__tab {
  position: relative;
  flex: none;
  padding: .85rem 1.5rem;
  border: 0;
  background: transparent;
  color: var(--color-text-mut);
  font-family: inherit;
  white-space: nowrap;
  transition: color .25s ease, background .25s ease;
}

.calendar__tab:hover {
  color: var(--color-text);
}

/* تب انتخاب‌شده: متن طلایی، درخشش ملایم از پایین و نوار طلایی روی خط */
.calendar__tab.active {
  color: var(--color-gold-light);
  font-weight: 700;
  background: linear-gradient(to top, rgba(201, 154, 75, .18), transparent 85%);
}

.calendar__tab.active::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--color-gold);
}

/* نقطهٔ فیروزه‌ای برای ماه‌هایی که رویداد دارند */
.calendar__tab--has::after {
  content: "";
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-turquoise);
}

/* کارت هر مشهور */
.calendar__card {
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.calendar__card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold) !important;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
}

/* عکس مربعی با قاب طلایی */
.calendar__photo {
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  padding: 3px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--color-gold-light), var(--color-gold) 55%, #8c6528);
}

.calendar__photo img,
.calendar__avatar {
  width: 100%;
  height: 100%;
  border-radius: 11px;
}

.calendar__photo img {
  object-fit: cover;
}

.calendar__avatar {
  display: grid;
  place-items: center;
  background: var(--color-bg);
  color: var(--color-gold);
  font-size: 1.9rem;
  font-weight: 800;
}

/* برچسب تولد / وفات */
.calendar__badge {
  display: inline-block;
  padding: 0 .7rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
}

.calendar__badge--born {
  color: var(--color-turquoise);
  border-color: var(--color-turquoise);
  background: rgba(42, 140, 140, .12);
}

.calendar__badge--died {
  color: var(--color-gold-light);
  border-color: var(--color-gold);
  background: rgba(201, 154, 75, .10);
}

/* حالت خالی */
.calendar__empty-icon {
  width: 56px;
  height: 56px;
  transform: rotate(45deg);
  border: 1px solid var(--color-turquoise);
  border-radius: 10px;
}



/* ###################### tour ###################### */
.tour {
  overflow-x: clip;
}

.tour__text {
  text-align: justify;
  font-size: 14px;
}

/* ویژگی‌های کوتاه */
.tour__feature {
  transition: border-color .3s ease, transform .3s ease;
}

.tour__feature i {
  flex: none;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border: 1px solid var(--color-turquoise);
}

/* تصویر: درخشش ملایم پشت تصویر + شناور بودن آرام */
.tour__visual {
  position: relative;
}

.tour__visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  background:
    radial-gradient(ellipse at 40% 55%, rgba(201, 154, 75, .20), transparent 62%),
    radial-gradient(ellipse at 80% 90%, rgba(42, 140, 140, .16), transparent 55%);
  filter: blur(8px);
  pointer-events: none;
}

.tour__image {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5));
  animation: tour-float 7s ease-in-out infinite;
}

@keyframes tour-float {
  50% {
    transform: translateY(-10px);
  }
}

/* ###################### contact-us ###################### */

.list-group-item {
  background: transparent;
  border: none;
  color: var(--color-text-mut);
  padding: 0.5rem 0;
  display: flex;
  gap: 10px;
}

.list-group-item strong {
  color: var(--color-text);
  min-width: 140px;
}





/* ###################### footer ###################### */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
}

/* ماندالای بزرگ و کم‌رنگ پشت آیتم‌ها (اختیاری) */
.footer__watermark {
  position: absolute;
  top: -60px;
  inset-inline-end: -120px;
  width: 440px;
  max-width: 70vw;
  opacity: .06;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.footer>.container {
  position: relative;
}

/* نماد معماری اصفهانی */
.footer__mandala {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(201, 154, 75, .25));
}

/* لینک‌ها */
.footer__link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  color: var(--color-text-mut);
  text-decoration: none;
  transition: color .25s ease, padding-inline-start .25s ease;
}

.footer__link::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--color-gold);
  opacity: .7;
}

.footer__link:hover {
  color: var(--color-gold-light);
  padding-inline-start: 6px;
}

/* اطلاعات تماس */
.footer__contact-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-turquoise);
}

/* پانورامای شهر: زیر آیتم‌ها، بالایش به پس‌زمینه محو می‌شود */
.footer__skyline {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  object-fit: cover;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 38%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 38%);
}

/* نوار پایین */
.footer__bottom {
  background: #07121E;
  border-top: 1px solid var(--color-border);
}

.footer__top-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  transition: .3s ease;
}

.footer__top-btn:hover {
  color: var(--color-bg-deep);
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}
