/* هدر */

header{
  position: sticky;
  top: 0;
  z-index: 19;
  background-color: #f5f5f5;
  padding: 6px 0;
  height: 80px;
  transition: box-shadow 0.3s ease-in-out;
}

header.scrolled{
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* سایه هنگام اسکرول */
}

.header-container{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

/* لوگو */
.logo img{
  height: 50px; /* سایز لوگو محدود شد */
  max-width: 150px;
}

/* منو */
.menu{
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li{
  margin-left: 20px;
  position: relative;
}

.menu li a{
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

.has-submenu{
  position: relative;
}

.has-submenu .submenu{
  position: absolute;
  top: calc(100% + 5px); /* فاصله از منوی اصلی */
  right: 0;
  background: #f5f5f5;
  border-radius: 10px; /* گوشه‌های گرد */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* سایه */
  padding: 8px 0;
  display: none; /* مخفی در حالت عادی */
  z-index: 1000;
  min-width: 220px; /* عرض حداقلی برای زیرمنو */
  font-size: 0.85rem;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
  transition-delay: 0.3s; /* مقدار تأخیر برای بسته شدن */
}

/* تنظیمات اولیه برای فلش */
.has-submenu a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px; /* فاصله بین متن و فلش */
}

/* فلش در حالت عادی */
.has-submenu a i{
  transition: transform 0.3s ease-in-out;
}

/* تغییر فلش هنگام هاور */
.has-submenu:hover a i{
  transform: rotate(180deg); /* فلش به سمت بالا */
}

.has-submenu .submenu li{
  padding: 0;
  white-space: nowrap; /* جلوگیری از شکستن متن */
  margin: 0;
  width: 100%;
}

.has-submenu .submenu li a{
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: right;
  padding: 10px 15px; /* فاصله داخل آیتم */
  width: 100%; /* عرض کامل */
  transition: all 0.3s ease-in-out;
  border-radius: 0; /* در حالت عادی گرد نباشه */
}

/* استایل آیکون‌ها */
.has-submenu .submenu li a i{
  font-size: 16px; /* اندازه آیکون */
  color: #000; /* رنگ آیکون */
  transition: color 0.3s ease-in-out;
  transform: rotate(0deg) !important;
  direction: ltr; /* جهت درست برای آیکون */
}

.has-submenu .submenu li a:hover{
  background: #000080; /* رنگ اصلی سایت */
  color: white;
  border-radius: 8px; /* گوشه‌ها گرد بشن */
}

/* تغییر رنگ آیکون هنگام هاور */
.has-submenu .submenu li a:hover i{
  color: white;
}

.has-submenu:hover .submenu{
  display: block;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
}

/* محدوده‌ی نامرئی بین منو و زیرمنو */
.has-submenu::after{
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 20px; /* این مقدار، فضای نامرئی رو ایجاد می‌کنه */
  background: transparent; /* این بخش دیده نمی‌شه */
}

/* نمایش زیرمنو هنگام هاور */
.has-submenu:hover .submenu, .has-submenu:hover::after{
  display: block;
}

/* دکمه مشاوره */
.consult-btn, .phone-btn, .login-btn{
  background: #f5f5f5;
  color: #000080;
  border: 2px solid #000080;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-weight: bold;
  font-family: IRANYekanX, sans-serif;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  white-space: nowrap;
}

.consult-btn:hover, .phone-btn:hover, .login-btn:hover{
  background: #000080;
  color: white;
}

.login-btn i{
  margin-right: 6px;
}

/* منوی موبایل */
.mobile-menu{
  display: none;
  position: fixed;
  background: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 16px; /* گرد کردن گوشه‌ها */
  padding: 20px;
  transition:
    transform 0.3s ease-in-out,
    height 0.3s ease-in-out;
  height: auto;
}

.hamburger-menu, .portal-login-btn{
  display: none; /* در دسکتاپ مخفی باشه */
}

.mobile-menu.active{
  display: block;
}

.menu-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.separator{
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, black, transparent);
  margin: 10px 0;
}

.mobile-nav{
  list-style: none;
  padding: 0;
}

.mobile-nav li{
  margin-bottom: 10px;
}

.full-width{
  width: 100%;
  margin-top: 10px;
}

.overlay{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.overlay.active{
  display: block;
}

/* =================== سکشن هیرو =================== */

.hero{
  background-color: #f5f5f5; /* پس‌زمینه */
  padding: 80px 0; /* فاصله داخلی */
}

/* کانتینر سکشن */
.hero-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ستون راست – متن */
.hero-text{
  width: 50%;
  text-align: right;
}

.hero-text h1{
  font-size: 32px;
  color: #000080;
  margin-bottom: 15px;
}

.hero-text p{
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* استایل دکمه */
.hero .consult-btn{
  display: inline-block;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  color: #000080; /* رنگ متن */
  background-color: #f5f5f5; /* بک‌گراند سفید */
  border: 2px solid #000080; /* بوردر رنگ سایت */
  border-radius: 8px; /* گوشه‌های گرد */
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

/* هاور دکمه */
.hero .consult-btn:hover{
  background-color: #000080; /* بک‌گراند رنگ سایت */
  color: white; /* متن سفید */
}

/* ستون چپ – تصویر */
.hero-image{
  position: relative;
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}
.hero-image::before{
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  background: radial-gradient(
    circle,
    rgba(0, 0, 128, 0.14) 0%,
    rgba(0, 0, 128, 0.06) 45%,
    rgba(0, 0, 128, 0) 75%
  );
  filter: blur(35px);
  z-index: -1;
}
.hero-image::after{
  content: "";
  position: absolute;
  width: 72%;
  height: 72%;
  border: 1px solid rgba(0, 0, 128, 0.04);
  border-radius: 32px;
  transform: rotate(-3deg);
  z-index: -1;
}

.hero-image img{
  width: 100%;
  max-width: 490px;
  height: auto;
  mix-blend-mode: multiply;
  display: block;
  border-radius: 30px;
  filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.08));
  transform: translateY(0);
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}
.hero-image:hover img{
  transform: translateY(-6px);
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.11));
}

/* =================== سکشن خدمات اصلی =================== */

.main-services{
  background-color: #f5f5f5;
  padding: 70px 0;
}

.main-services-container{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.main-services-header{
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

.main-services-header h2{
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.main-services-header p{
  font-size: 1rem;
  color: #555;
  line-height: 1.9;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card{
  display: block;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 128, 0.12);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: right;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.service-card:hover .service-icon{
  background-color: #000;
}

.service-icon{
  width: 54px;
  height: 54px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.service-card h3{
  font-size: 1.15rem;
  color: #000;
  margin-bottom: 12px;
}

.service-card p{
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 18px;
}
.service-card::after{
  content: "←";
  display: inline-block;
  margin-top: 12px;
  color: var(--primary-color);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.service-card:hover::after{
  transform: translateX(-5px);
}

/* ======================= سکشن انتخاب کشور =============*/
/* ===============================
   Find Destination Section
   =============================== */

.find-destination{
  padding: 70px 0;
  background: #f5f5f5;
  overflow: hidden;
}

.dest-container{
  max-width: 1200px;
  width: 88%;
  margin: 0 auto;
  padding: 64px 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 0, 128, 0.045), transparent 28%),
    radial-gradient(
      circle at 88% 82%,
      rgba(255, 191, 47, 0.07),
      transparent 28%
    ),
    #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.055);
}

.dest-text{
  text-align: right;
}

.dest-text .country-guide-label{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 128, 0.07);
  border: 1px solid rgba(0, 0, 128, 0.11);
  color: #000080;
  font-size: 0.88rem;
  font-weight: 800;
}

.dest-text h2{
  margin: 0 0 18px;
  color: #000080;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.65;
  font-weight: 900;
}

.dest-text h2 .highlight{
  color: #d49a00;
}

.dest-text h2::after{
  content: "";
  display: block;
  width: 78px;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #000080, #ffbf2f);
}

.dest-text p{
  max-width: 680px;
  margin: 0 0 28px;
  color: #555;
  font-size: 0.96rem;
  line-height: 2.1;
}

.dropdown-container{
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 620px;
}

.flag-dropdown{
  flex: 1;
  min-width: 240px;
  height: 54px;
  border: 2px solid rgba(0, 0, 128, 0.16);
  border-radius: 14px;
  background: #ffffff;
  color: #263044;
  padding: 0 18px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.flag-dropdown:focus{
  border-color: #000080;
  box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.08);
}

.dest-button{
  height: 54px;
  min-width: 170px;
  padding: 0 22px;
  border-radius: 14px;
  background: #000080;
  color: #ffffff;
  border: 2px solid #000080;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(0, 0, 128, 0.16);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.dest-button:hover{
  transform: translateY(-3px);
  background: #ffffff;
  color: #000080;
  box-shadow: 0 18px 38px rgba(0, 0, 128, 0.2);
}

.dest-button i{
  font-size: 0.82rem;
}

/* Image Side */

.dest-image{
  position: relative;
}

.dest-image-card{
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(0, 0, 128, 0.07), rgba(255, 191, 47, 0.08)),
    #f8f8fb;
  border: 1px solid rgba(0, 0, 128, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  overflow: hidden;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.08);
}

.dest-image-card::before{
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 191, 47, 0.12);
  top: -90px;
  left: -80px;
}

.dest-image-card::after{
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(0, 0, 128, 0.08);
  bottom: -90px;
  right: -70px;
}

.dest-image-card img{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 430px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(15, 23, 42, 0.12));
}

.dest-floating-badge{
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #000080;
  border: 1px solid rgba(0, 0, 128, 0.08);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  font-size: 0.84rem;
  font-weight: 900;
}

.dest-floating-badge i{
  color: #d49a00;
}

/* =================== سکشن معرفی پرتال مشتریان =================== */

.portal-preview-section{
  background: url("../images/bg-landscape.webp") no-repeat center center/cover;
  border-radius: 18px;
  margin: 50px auto;
  max-width: 1200px;
  width: 88%;
  padding: 60px 35px;
  color: #fff;
  overflow: hidden;
}

.portal-preview-container{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 35px;
  align-items: center;
}

.portal-preview-content{
  text-align: right;
}

.portal-preview-label{
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 18px;
}

.portal-preview-content h2{
  color: #fff;
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.portal-preview-content p{
  color: #f1f1f1;
  font-size: 1rem;
  line-height: 2;
  text-align: justify;
  margin-bottom: 26px;
}

.portal-preview-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.portal-preview-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fff;
  color: var(--primary-color);
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-family: IRANYekanX, sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portal-preview-btn:hover{
  background-color: transparent;
  color: #fff;
}

.portal-preview-btn.outline{
  background-color: transparent;
  color: #fff;
}

.portal-preview-btn.outline:hover{
  background-color: #fff;
  color: var(--primary-color);
}

.portal-feature-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.portal-feature-card{
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 22px 18px;
  transition: all 0.3s ease;
}

.portal-feature-card:hover{
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.18);
}

.portal-feature-icon{
  width: 52px;
  height: 52px;
  background-color: #fff;
  color: var(--primary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.portal-feature-card h3{
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}

.portal-feature-card p{
  color: #f1f1f1;
  font-size: 0.86rem;
  line-height: 1.9;
  margin: 0;
}

/* =================== سکشن مراحل همکاری =================== */

.work-process{
  background-color: #f5f5f5;
  padding: 70px 0;
}

.work-process-container{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.work-process-header{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.work-process-header h2{
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.work-process-header p{
  font-size: 1rem;
  color: #555;
  line-height: 1.9;
}

.process-steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card{
  position: relative;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 128, 0.12);
  border-radius: 16px;
  padding: 30px 20px 26px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
}

.process-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.process-number{
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 1.6rem;
  font-weight: bold;
  color: rgba(0, 0, 128, 0.12);
  direction: ltr;
}

.process-icon{
  width: 58px;
  height: 58px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin: 0 auto 18px;
}

.process-card h3{
  font-size: 1.05rem;
  color: #000;
  margin-bottom: 12px;
}

.process-card p{
  font-size: 0.88rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* =================== سکشن چرا ویزاپارامونت =================== */

.why-us-section{
  background: url("../images/bg-landscape.webp") no-repeat center center/cover;
  color: #fff;
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1200px;
  width: 88%;
  padding: 60px 20px;
}

.why-us-container{
  max-width: 1200px;
  margin: 0 auto;
}

.why-us-header{
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.why-us-header h2{
  font-size: 2rem;
  color: #fff;
  margin-bottom: 15px;
}

.why-us-header p{
  font-size: 1rem;
  color: #f1f1f1;
  line-height: 1.9;
}

.why-us-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-us-card{
  background-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.why-us-card:hover{
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.2);
}

.why-us-icon{
  width: 56px;
  height: 56px;
  background-color: #fff;
  color: var(--primary-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 18px;
}

.why-us-card h3{
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 12px;
}

.why-us-card p{
  font-size: 0.86rem;
  color: #f1f1f1;
  line-height: 1.8;
  margin: 0;
}

/* =================== سکشن موفقیت ها   =================== */

.success-stories{
  background-color: #f5f5f5; /* پس‌زمینه خاکستری روشن */
  padding: 40px 20px;
  border-radius: 15px; /* گوشه‌های گرد */
  margin: 40px auto;
  max-width: 90%; /* عرض محدود */
  text-align: center;
}
/* کانتینر مخصوص سکشن موفقیت‌ها */
.success-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}


.swiper{
  width: 100%;
  max-width: 1200px;
  padding: 20px 0;
}

.swiper-slide{
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper-slide img{
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.swiper-slide img:hover{
  transform: scale(1.05);
}


.success-section-header{
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.success-section-header span{
  display: inline-block;
  background-color: rgba(0, 0, 128, 0.08);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 14px;
}

.success-section-header h2{
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 12px;
}

.success-section-header p{
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* =================== سکشن مشاوره   =================== */
.consultation-section{
  background: url("../images/bg-landscape.webp") no-repeat center center/cover;
  color: #fff;
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1200px;
  width: 88%;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.consultation-text{
  flex: 1;
  min-width: 280px;
}

.consultation-text h2{
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.consultation-text p{
  font-size: 1rem;
  line-height: 1.8;
  color: #f1f1f1;
}

.consultation-form{
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 480px; /* محدود کردن عرض فرم در حالت دسکتاپ */
  box-sizing: border-box;
}

.form-group{
  display: flex;
  align-items: center;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
}

.form-group i{
  color: gray;
  margin-left: 10px;
}

.form-group input{
  border: none;
  outline: none;
  flex: 1;
  font-family: IRANYekanX, sans-serif;
}

.submit-btn{
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 10px;
  font-weight: bold;
  font-family: IRANYekanX, sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  width: fit-content;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.submit-btn:hover{
  background: #fff;
  color: var(--primary-color);
}
.metro-blog{
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
}

.blog-title{
  text-align: right;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: bold;
}

.metro-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 20px;
}

.blog-item{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-end;
  transform: scale(1);
  transition: transform 0.3s ease;
}
/* لایه خاکستری نیمه‌شفاف روی تصویر */
.blog-item::before{
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35); /* لایه خاکستری کم‌رنگ */
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* زوم و حذف لایه در حالت هاور */
.blog-item:hover{
  transform: scale(1.03);
}

.blog-item:hover::before{
  opacity: 0;
}

.blog-large{
  grid-column: span 2;
  grid-row: span 2;
}

.blog-caption{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-align: right;
  transition: all 0.3s ease;
}
/* =================== Pre Footer CTA =================== */

.pre-footer-cta{
  width: 100%;
  max-width: 100%;
  margin: 30px 0 10px;
  background-color: #000080;
  border-radius: 0;
  padding: 28px 20px;
  overflow-x: hidden;
}

.pre-footer-cta__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px; /* امن‌تر برای موبایل */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  text-align: center;
  color: #fff;
}

.pre-footer-cta__cursor{
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
#typewriter{
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ================= Footer ================= */

.site-footer{
  background-color: #f5f5f5;
  padding: 0px 20px 20px;
  font-family: IRANYekanX, sans-serif;
  color: #333;
}

/* کانتینر اصلی */
.footer-container{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px;
}

/* تیتر ستون‌ها */
.site-footer h3{
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #000;
}

/* ---------- ستون درباره ما ---------- */

.footer-about p{
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #444;
}

/* اطلاعات تماس */
.footer-contact{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #444;
}

.footer-contact i{
  color: var(--primary-color);
  font-size: 0.95rem;
}

/* ---------- ستون لینک‌ها ---------- */

.footer-links ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li{
  margin-bottom: 10px;
}

.footer-links a{
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover{
  color: var(--primary-color);
}

/* ---------- ستون شبکه‌های اجتماعی ---------- */

.footer-social .social-icons{
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.footer-social a{
  font-size: 1.5rem;
  color: #000; /* حالت عادی مشکی */
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}

.footer-social a:hover{
  transform: translateY(-2px);
}

/* رنگ برند هر شبکه در هاور */
.footer-social a.instagram:hover{
  color: #e1306c;
}

.footer-social a.telegram:hover{
  color: #0088cc;
}

.footer-social a.youtube:hover{
  color: #ff0000;
}

.footer-social a.x:hover{
  color: #000000;
}
.footer-social a.linkedin:hover{
  color: #0077b5;
}

/* ---------- پایین فوتر ---------- */

.footer-bottom{
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: #666;
}

/* ================================
   Article Components
================================ */

/* Image block */

.single-post-page .post-img-block{
  overflow: hidden;
  margin: 28px 0;
  border-radius: 14px;
  border: 1px solid var(--post-primary-border);
}

.single-post-page .post-img-block img{
  width: 100%;
  display: block;
}

.single-post-page .post-img-block figcaption{
  padding: 10px 16px;
  background: #f7f7fb;
  border-top: 1px solid var(--post-primary-border);
  color: #737f89;
  font-size: 0.8rem;
  line-height: 1.8;
  text-align: center;
}

/* Quote */

.single-post-page .post-quote{
  position: relative;
  margin: 28px 0;
  padding: 22px 24px 22px 20px;
  border-right: 5px solid var(--post-primary);
  border-radius: 0 14px 14px 0;
  background: var(--post-primary-soft);
}

.single-post-page .post-quote::before{
  content: "“";
  position: absolute;
  top: -10px;
  left: 16px;
  color: var(--post-primary);
  opacity: 0.14;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.single-post-page .post-quote p{
  margin: 0 0 8px;
  color: var(--post-primary);
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.85;
  text-align: right;
}

.single-post-page .post-quote cite{
  color: #64717c;
  font-size: 0.82rem;
  font-style: normal;
}

/* Lists */

.single-post-page .post-body ul.post-list, .single-post-page .post-body ol.post-list{
  margin: 18px 0;
  display: grid;
  gap: 10px;
  color: #424f5a;
  font-size: 0.95rem;
  line-height: 1.9;
}

.single-post-page .post-body ul.post-list{
  list-style: none;
  padding: 0;
}

.single-post-page .post-body ul.post-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.single-post-page .post-body ul.post-list li::before{
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--post-primary);
}

.single-post-page .post-body ol.post-list{
  padding-right: 22px;
}

/* Callouts */

.single-post-page .callout{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 28px 0;
  padding: 20px;
  border-radius: 14px;
  font-size: 0.94rem;
  line-height: 1.9;
}

.single-post-page .callout-icon{
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.05rem;
}

.single-post-page .callout-body{
  flex: 1;
}

.single-post-page .callout-body strong{
  display: block;
  margin-bottom: 5px;
  font-size: 0.96rem;
  font-weight: 900;
}

.single-post-page .callout-body p{
  margin: 0;
  font-size: 0.9rem;
  line-height: 2;
  text-align: right;
}

.single-post-page .callout.info{
  background: #e8f0fe;
  border: 1px solid #b3c6f7;
}

.single-post-page .callout.info .callout-icon{
  background: #3b5bdb;
}

.single-post-page .callout.info .callout-body strong{
  color: #2d3f9e;
}

.single-post-page .callout.info .callout-body p{
  color: #3c4a7a;
}

.single-post-page .callout.warning{
  background: #fff8e1;
  border: 1px solid #ffe082;
}

.single-post-page .callout.warning .callout-icon{
  background: #f59f00;
}

.single-post-page .callout.warning .callout-body strong{
  color: #8a6200;
}

.single-post-page .callout.warning .callout-body p{
  color: #7a5900;
}

.single-post-page .callout.success{
  background: #e8f8f0;
  border: 1px solid #a3d9b8;
}

.single-post-page .callout.success .callout-icon{
  background: #2f9e58;
}

.single-post-page .callout.success .callout-body strong{
  color: #1e6e3c;
}

.single-post-page .callout.success .callout-body p{
  color: #1e5c35;
}

.single-post-page .callout.danger{
  background: #fff0f0;
  border: 1px solid #ffc0c0;
}

.single-post-page .callout.danger .callout-icon{
  background: #e03131;
}

.single-post-page .callout.danger .callout-body strong{
  color: #a01e1e;
}

.single-post-page .callout.danger .callout-body p{
  color: #8a1a1a;
}

/* Table */

.single-post-page .post-table-wrap{
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 14px;
  border: 1px solid var(--post-primary-border);
  box-shadow: var(--post-shadow);
}

.single-post-page .post-table{
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.single-post-page .post-table thead tr{
  background: var(--post-primary);
  color: #ffffff;
}

.single-post-page .post-table th, .single-post-page .post-table td{
  padding: 13px 18px;
  text-align: right;
  line-height: 1.8;
}

.single-post-page .post-table th{
  font-weight: 900;
}

.single-post-page .post-table td{
  color: #424f5a;
  border-bottom: 1px solid #eef0f3;
}

.single-post-page .post-table tbody tr:nth-child(even){
  background: #f7f7fb;
}

.single-post-page .post-table tbody tr:hover{
  background: var(--post-primary-soft);
}

.single-post-page .badge{
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.single-post-page .badge-green{
  background: #e8f8f0;
  color: #1e6e3c;
}

.single-post-page .badge-blue{
  background: var(--post-primary-soft);
  color: var(--post-primary);
}


/* Steps */

.single-post-page .steps-block{
  display: grid;
  gap: 0;
  margin: 28px 0;
}

.single-post-page .step-item{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.single-post-page .step-item:not(:last-child)::after{
  content: "";
  position: absolute;
  right: 19px;
  top: 46px;
  width: 2px;
  height: calc(100% - 14px);
  background: var(--post-primary-border);
}

.single-post-page .step-num{
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--post-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  direction: ltr;
}

.single-post-page .step-content{
  flex: 1;
  padding: 6px 0 28px;
}

.single-post-page .step-content h4{
  font-size: 1rem;
  margin-bottom: 6px;
}

.single-post-page .step-content p{
  margin: 0;
  color: #64717c;
  font-size: 0.88rem;
  line-height: 1.9;
  text-align: right;
}

/* Pros / Cons */

.single-post-page .compare-block{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.single-post-page .compare-card{
  padding: 22px 20px;
  border: 2px solid;
  border-radius: 14px;
}

.single-post-page .compare-card.pros{
  background: #e8f8f0;
  border-color: #a3d9b8;
}

.single-post-page .compare-card.cons{
  background: #fff0f0;
  border-color: #ffc0c0;
}

.single-post-page .compare-card h4{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.single-post-page .compare-card.pros h4, .single-post-page .compare-card.pros li{
  color: #1e6e3c;
}

.single-post-page .compare-card.cons h4, .single-post-page .compare-card.cons li{
  color: #8a1a1a;
}

.single-post-page .compare-card ul{
  list-style: none;
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.single-post-page .compare-card li{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.8;
}

.single-post-page .compare-card.pros li i{
  color: #2f9e58;
}

.single-post-page .compare-card.cons li i{
  color: #e03131;
}

/* Timeline */

.single-post-page .timeline-block{
  position: relative;
  margin: 28px 0;
  padding-right: 30px;
}

.single-post-page .timeline-block::before{
  content: "";
  position: absolute;
  right: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--post-primary-border);
}

.single-post-page .timeline-item{
  position: relative;
  margin-bottom: 26px;
}

.single-post-page .timeline-item:last-child{
  margin-bottom: 0;
}

.single-post-page .timeline-dot{
  position: absolute;
  right: -30px;
  top: 4px;
  width: 16px;
  height: 16px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--post-primary);
  box-shadow: 0 0 0 2px var(--post-primary);
}

.single-post-page .timeline-period{
  display: block;
  margin-bottom: 4px;
  color: var(--post-accent);
  font-size: 0.76rem;
  font-weight: 900;
}

.single-post-page .timeline-item h4{
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.single-post-page .timeline-item p{
  margin: 0;
  color: #64717c;
  font-size: 0.86rem;
  line-height: 1.85;
  text-align: right;
}

/* Progress */

.single-post-page .progress-block{
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.single-post-page .progress-label{
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #424f5a;
  font-size: 0.88rem;
  font-weight: 900;
}

.single-post-page .progress-bar{
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e8eaf0;
}

.single-post-page .progress-fill{
  height: 100%;
  border-radius: 999px;
  background: var(--post-primary);
}

.single-post-page .progress-fill.gold{
  background: var(--post-accent);
}

.single-post-page .progress-fill.green{
  background: #2f9e58;
}

/* Audio */

.single-post-page .audio-player-block{
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 28px 0;
  padding: 24px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--post-primary), #0000b8);
}

.single-post-page .audio-cover{
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 2rem;
}

.single-post-page .audio-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-page .audio-info{
  flex: 1;
  min-width: 0;
}

.single-post-page .audio-label{
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.74rem;
}

.single-post-page .audio-title{
  overflow: hidden;
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.single-post-page .audio-controls{
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-post-page .audio-play-btn{
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--post-primary);
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.single-post-page .audio-play-btn:hover{
  transform: scale(1.08);
}

.single-post-page .audio-progress-wrap{
  flex: 1;
  display: grid;
  gap: 5px;
}

.single-post-page .audio-progress-bar{
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.single-post-page .audio-progress-fill{
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: #ffffff;
}

.single-post-page .audio-time{
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.74rem;
  direction: ltr;
}

.single-post-page .audio-speed{
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  font-family: IRANYekanX, sans-serif;
  font-size: 0.76rem;
  cursor: pointer;
}

/* Download */

.single-post-page .download-card{
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: #f7f7fb;
  border: 1px dashed var(--post-primary-border);
}

.single-post-page .download-card-icon{
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--post-primary);
  color: #ffffff;
  font-size: 1.35rem;
}

.single-post-page .download-card-info{
  flex: 1;
}

.single-post-page .download-card-info h4{
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.single-post-page .download-card-info p{
  margin: 0;
  color: #8a949d;
  font-size: 0.8rem;
  text-align: right;
}

.single-post-page .download-btn{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--post-primary);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

/* FAQ */

.single-post-page .faq-block{
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.single-post-page .faq-item{
  overflow: hidden;
  border: 1px solid var(--post-primary-border);
  border-radius: 12px;
}

.single-post-page .faq-question{
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 0;
  background: #ffffff;
  color: #111827;
  font-family: IRANYekanX, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: right;
  cursor: pointer;
}

.single-post-page .faq-question i{
  flex: 0 0 auto;
  color: var(--post-primary);
  transition: transform 0.25s ease;
}

.single-post-page .faq-item.open .faq-question{
  background: var(--post-primary-soft);
}

.single-post-page .faq-item.open .faq-question i{
  transform: rotate(180deg);
}

.single-post-page .faq-answer{
  display: none;
  padding: 0 18px 18px;
  background: var(--post-primary-soft);
  color: #424f5a;
  font-size: 0.88rem;
  line-height: 2;
}

.single-post-page .faq-item.open .faq-answer{
  display: block;
}

/* CTA Buttons */

.single-post-page .cta-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.single-post-page .btn-primary, .single-post-page .btn-outline, .single-post-page .btn-gold{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: IRANYekanX, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.single-post-page .btn-primary{
  border: 2px solid var(--post-primary);
  background: var(--post-primary);
  color: #ffffff;
}

.single-post-page .btn-primary:hover{
  border-color: #000060;
  background: #000060;
}

.single-post-page .btn-outline{
  border: 2px solid var(--post-primary);
  background: transparent;
  color: var(--post-primary);
}

.single-post-page .btn-outline:hover{
  background: var(--post-primary);
  color: #ffffff;
}

.single-post-page .btn-gold{
  border: 2px solid var(--post-accent);
  background: var(--post-accent);
  color: #ffffff;
}

.single-post-page .btn-gold:hover{
  border-color: #b38500;
  background: #b38500;
}

/* ================================
   Poll Component
================================ */

.single-post-page .poll-block{
  margin: 28px 0;
  padding: 24px 22px;
  border: 1px solid var(--post-primary-border);
  border-radius: 14px;
  background: #ffffff;
}

.single-post-page .poll-block h4{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.8;
}

.single-post-page .poll-block h4 i{
  color: var(--post-primary);
}

/* list */
.single-post-page .poll-options{
  display: grid;
  gap: 12px;
}

/* هر گزینه */
.single-post-page .poll-option{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid rgba(0, 0, 128, 0.12);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

/* input پنهان */
.single-post-page .poll-option input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* نوار درصد */
.single-post-page .poll-fill{
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  height: 100%;
  background: rgba(0, 0, 128, 0.08);
  pointer-events: none;
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

/* متن و درصد روی fill بمانند */
.single-post-page .poll-option span:not(.poll-fill){
  position: relative;
  z-index: 1;
}

/* نام گزینه */
.single-post-page .poll-option span:first-of-type{
  color: #2f3742;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.8;
}

/* درصد */
.single-post-page .poll-pct{
  color: var(--post-primary);
  font-size: 0.84rem;
  font-weight: 900;
  direction: ltr;
}

/* حالت هاور مثل نمونه */
.single-post-page .poll-option:hover{
  border-color: var(--post-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 128, 0.08);
}

/* در هاور، fill کمی پررنگ‌تر شود */
.single-post-page .poll-option:hover .poll-fill{
  background: rgba(0, 0, 128, 0.1);
}

/* حالت انتخاب‌شده */
.single-post-page .poll-option:has(input:checked){
  border-color: var(--post-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 128, 0.1);
}

/* fill گزینه انتخاب‌شده */
.single-post-page .poll-option:has(input:checked) .poll-fill{
  background: rgba(0, 0, 128, 0.12);
}

/* اگر مرورگر :has را ساپورت نکرد، با JS کلاس is-selected هم جواب می‌دهد */
.single-post-page .poll-option.is-selected{
  border-color: var(--post-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 128, 0.1);
}

.single-post-page .poll-option.is-selected .poll-fill{
  background: rgba(0, 0, 128, 0.12);
}

/* ================================
   Tags & Share
================================ */

.single-post-page .tags-block, .single-post-page .share-block{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.single-post-page .tags-block{
  margin: 10px 0 28px;
}

.single-post-page .tags-label, .single-post-page .share-label{
  color: #53616b;
  font-size: 0.86rem;
  font-weight: 900;
}

/* Tags */

.single-post-page .tag-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--post-primary-border);
  background: #ffffff;
  color: #53616b;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.single-post-page .tag-link:hover{
  transform: translateY(-2px);
  border-color: var(--post-primary);
  background: var(--post-primary);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 128, 0.12);
}

/* Share Box */

.single-post-page .share-block{
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: #f7f7fb;
  border: 1px solid var(--post-primary-border);
}

/* Share Buttons */

.single-post-page .share-btn{
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}

.single-post-page .share-btn:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 128, 0.12);
}

.single-post-page .share-btn:active{
  transform: translateY(-1px);
}

/* Telegram */

.single-post-page .share-btn.telegram{
  background: #e3f2fd;
  color: #0088cc;
}

.single-post-page .share-btn.telegram:hover{
  background: #0088cc;
  color: #ffffff;
}

/* WhatsApp */

.single-post-page .share-btn.whatsapp{
  background: #e8f5e9;
  color: #25d366;
}

.single-post-page .share-btn.whatsapp:hover{
  background: #25d366;
  color: #ffffff;
}

/* X / Twitter */

.single-post-page .share-btn.twitter{
  background: #f5f5f5;
  color: #000000;
}

.single-post-page .share-btn.twitter:hover{
  background: #000000;
  color: #ffffff;
}

/* LinkedIn */

.single-post-page .share-btn.linkedin{
  background: #e3f0fa;
  color: #0077b5;
}

.single-post-page .share-btn.linkedin:hover{
  background: #0077b5;
  color: #ffffff;
}

/* Copy Link */

.single-post-page .share-btn.copy{
  background: #f0f0f0;
  color: #555555;
}

.single-post-page .share-btn.copy:hover{
  background: var(--post-primary);
  color: #ffffff;
}

/* Copy Message */

.single-post-page .share-copy-msg{
  display: none;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f8f0;
  color: #2f9e58;
  font-size: 0.78rem;
  font-weight: 900;
}

.single-post-page .share-copy-msg.is-visible{
  display: inline-flex;
}
