/*
Theme Name: Safarita Theme (Understrap Child)
Theme URI: https://safarita.com
Author: Pouya (Safarita Dev Team)
Author URI: https://safarita.com
Description: A child theme for Understrap customized for the Safarita travel platform.
Template: understrap
Version: 1.0.0
Text Domain: safarita
Tags: child-theme, responsive, travel, custom-design
*/

/* ✅ فونت پایه (فرض بر اینکه IRANSans در سایت لود شده است) */
body {
  font-family: 'IRANSans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* ✅ تایپوگرافی پایه */
body, p, li, span, td {
  font-weight: 400;
  font-family: 'IRANSans', sans-serif;
}

/* ✅ هدینگ‌ها */
h1, h2, h3, h4, h5, h6 {
  font-family: 'IRANSans', sans-serif;
  color: #000;
  line-height: 1.5;
  margin: 16px 0 12px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
}

h2 {
  font-size: 26px;
  font-weight: 600;
  border-bottom: 2px solid #8f679f;
  padding-bottom: 6px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 500;
}

h5 {
  font-size: 16px;
  font-weight: 500;
}

h6 {
  font-size: 14px;
  font-weight: 500;
}

/* ✅ لینک‌ها و دکمه‌ها */
a {
  color: #0340c8;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0003ff;
  text-decoration: underline;
}

button,
.btn-primary-custom,
a.btn,
a.button {
  font-weight: 600;
  font-family: 'IRANSans', sans-serif;
}

/* ✅ متن‌های کم‌اهمیت */
small,
.caption,
.meta,
label {
  font-weight: 400;
  font-size: 14px;
  color: #555;
}

/* ✅ تأکید */
strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
  font-weight: 400;
}


/* ✅ استایل کلی تصاویر */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ✅ تصاویر داخل لینک با استایل متفاوت */
a img {
  border-radius: 10px;
  box-shadow: none;
}
a:hover img {
  opacity: 0.9;
}

/* ✅ ریسپانسیو برای تصاویر بزرگ در موبایل */
@media (max-width: 768px) {
  img {
    border-radius: 8px;
    box-shadow: none;
  }
}

/* ✅ سیستم گرید ساده بدون Bootstrap */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  margin-bottom:50px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

#front-page-wrapper .row {
  margin: 0 !important;
  display: block !important; 
  flex-wrap: nowrap !important; 
}

.col {
  flex: 1;
  padding: 0 10px;
  min-width: 0;
}

.col-6 {
  width: 50%;
}

.col-4 {
  width: 33.3333%;
}

.col-3 {
  width: 25%;
}

@media (max-width: 768px) {
  .col-6, .col-4, .col-3 {
    width: 100%;
  }
}

/* ✅ دکمه‌ها */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8f679f;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #7c5890;
  text-decoration: none;
  color: #fff;
}

/* ✅ کارت ساده */
.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 18px;
  color: #8f679f;
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* === Breadcrumb === */
.breadcrumb-custom {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.breadcrumb-custom a {
  color: #8f679f;
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb-custom a:hover {
  color: #7b5a8a;
  text-decoration: underline;
}
.breadcrumb-custom a::after {
  content: '»';
  margin: 0 6px;
  color: #aaa;
}
.breadcrumb-custom span {
  color: #444;
}
.breadcrumb-custom span::before {
  content: '';
  margin: 0 6px;
}

/* === Single Post Wrapper === */

.single-post {
  background-color: #fff;
  margin-bottom: 40px;
  text-align:right;
}
.post-meta {
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  margin-bottom: 20px;
}
.featured-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 25px;
}

/* === Content Structure === */
.content {
  font-size: 1rem;
  line-height: 2;
  color: #000;
  text-align: justify;
}

.content-section {
    margin-bottom: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
    text-align: justify;
}

.section-title h2 {
  margin-top: 0;
}
.section-body {
  color: #000;
  font-size: 1rem;
  line-height: 1.9;
}

/* Typography inside content */
.content a {
  color: #0000FF;
  text-decoration: underline;
  transition: color 0.3s;
}
.content a:hover {
  color: #7b5a8a;
  text-decoration: none;
}
.content p {
  margin-bottom: 1.2rem;
}
.content ul,
.content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.content li {
  margin-bottom: 0.5rem;
}
.content blockquote {
  border-right: 4px solid #8f679f;
  background: #f9f9fb;
  padding: 10px 20px;
  font-style: italic;
  color: #555;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  body,
  html {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }

  .container,
  .single-post {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .single-post {
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: 12px;
  }

  .page-title {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 16px;
  }

  .post-meta {
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 15px;
  }

  .breadcrumb-custom {
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-start;
    line-height: 1.6;
  }

  .featured-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #000;
  }

  .content-section {
    padding: 16px;
    margin-bottom: 32px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e2e2;
  }

  .section-title h2 {
    margin-top: 0;
  }

  .section-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #000;
  }

  .content blockquote {
    font-size: 0.9rem;
    padding: 10px 15px;
    border-right: 3px solid #8f679f;
  }

  .content ul,
  .content ol {
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
  }
}

/* === گرید ۳ ستونه === */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 10px;
}

/* === کارت پست === */
.post-card {
  background-color: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
}
.post-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* عنوان پست */
.post-card-title {
  font-size: 1.1rem;
  color: #8f679f;
  margin-bottom: 12px;
  text-align: center;
}

/* تصویر شاخص */
.post-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* خلاصه توضیح */
.post-card-excerpt {
  font-size: 0.95rem;
  color: #333;
  min-height: 48px;
  margin-bottom: 16px;
  text-align: justify;
  line-height: 1.6;
}

/* دکمه مشاهده */
.btn-primary-custom {
  align-self: center;
  background-color: #8f679f;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background-color: #7b5a8a;
  color: #fff;
}

.post-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-main-content {
  padding: 24px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 50px 0;
}

.post-main-content h2 {
  padding-bottom: 15px;
  border-bottom: 1px solid;
  font-size: 24px;
}

.post-main-content p {
  margin-bottom: 14px;
  text-align: justify;
}

.post-main-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 16px 0;
}

@media (max-width: 768px) {
  .post-main-content {
    padding: 16px;
    font-size: 15px;
  }

  .post-main-content h2 {
    font-size: 18px;
  }
}

#main-nav-label {
  display: none !important;
}


.main-footer {
  background-color: #f8f4fb;
  color: #333;
  font-size: 15px;
  padding: 40px 20px;
  border-top: 3px solid #8f679f;
  margin-top: 25px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-logo img {
    max-height: 75px;
    max-width: 200px;
    margin-bottom: 10px;
}

.footer-description {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.footer-tours {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-heading {
  font-size: 17px;
  color: #8f679f;
  margin-bottom: 12px;
  border-bottom: 2px solid #8f679f;
  padding-bottom: 6px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #8f679f;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #999;
}

.footer-label {
    margin-bottom: 10px;
    display: flex;
    font-size: 15px;
    border-bottom: 2px solid #8f679f;
}

.footer-label .icon {
  margin-left: 6px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .footer-tours {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.acf-term-description {
    border-radius: 16px;
    margin: 24px auto;
    max-width: 900px;
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
}

.acf-term-description p,
.acf-section-block p {
  margin: 12px 0;
}

.acf-section-block {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
  .acf-term-description {
        margin: 0;
        padding: 15px;
  }

  .acf-section-block {
    padding: 20px;
  }

}

.term-description-wrapper {
  margin: 20px 0;
  padding: 0 10px;
}

.term-description-section {
  margin-bottom: 30px;
  padding: 15px 20px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  line-height: 1.6;
  color: #333;
  font-size: 1rem;
  font-family: 'Tahoma', sans-serif;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.term-description-section:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.term-description-section h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
  color: #8f679f; /* رنگ سازمانی */
  border-bottom: 2px solid #8f679f;
  padding-bottom: 6px;
}

.term-description-section p,
.term-description-section ul,
.term-description-section ol {
  margin-bottom: 1em;
  color: #444;
  text-align: justify;
}

.term-description-section a {
  color:#0000FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.term-description-section a:hover,
.term-description-section a:focus {
  color: #5e3e6a;
  text-decoration: underline;
}

/* ==========================
   Front Page Modern Style
=========================== */

/* ======= عمومی صفحه اصلی ======= */
#front-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  font-family: 'IranSans', Tahoma, sans-serif;
  color: black;
  background: #fff;
}

/* ======= عناوین بخش‌ها ======= */
#front-page-wrapper section {
  margin-bottom: 3.5rem;
}

#front-page-wrapper h1,
#front-page-wrapper h2 {
  font-weight: 900;
  color: #000;
  margin-bottom: 1rem;
  text-align: center;
  font-family: 'IranSans', Tahoma, sans-serif;
}

#front-page-wrapper h1 {
  font-size: 2.8rem;
}

#front-page-wrapper h2 {
  font-size: 2.2rem;
}

/* ======= بنر خوش آمدگویی ======= */
/* بنر خوش آمدگویی */
.hero-section {
  background: linear-gradient(135deg, #9a75b8 0%, #b596d9 100%);
  padding: 4.5rem 2rem;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(131, 96, 170, 0.5);
  margin-bottom: 3.5rem;
  color: #fff;
  text-align: center;
  letter-spacing: 0.03em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  line-height: 1.1;
}

.hero-section p {
  font-size: 1.4rem;
  font-weight: 600;
  opacity: 0.85;
}

/* ======= اسکرول افقی ساده برای کارت‌ها ======= */
.css-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.css-scroll::-webkit-scrollbar {
  display: none;
}

/* ======= کارت‌ها ======= */
.card {
  flex: 0 0 auto !important;
  width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(143, 103, 159, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 22px 50px rgba(143, 103, 159, 0.32);
}

/* تصویر شاخص کارت */
.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  flex-shrink: 0;
}

/* بخش متن کارت */
.card-content {
  padding: 1.5rem 1.3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

/* عنوان کارت */
.card-content h3 {
  font-size: 1.4rem;
  color: #8f679f;
  margin-bottom: 1rem;
  user-select: text;
}

/* قیمت */
.price {
  font-weight: 700;
  font-size: 1.1rem;
  color:000;
  margin-bottom: 1.3rem;
  user-select: none;
}

/* دکمه */
.btn {
  padding: 0.6rem 1.8rem;
  background: #8f679f;
  color: white;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  box-shadow: 0 14px 40px rgba(143, 103, 159, 0.45);
  border: none;
  text-decoration: none;
  user-select: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  align-self: center;
}

.btn:hover,
.btn:focus {
  background: #6e4f85;
  box-shadow: 0 20px 60px rgba(110, 79, 133, 0.6);
  outline: none;
}

/* ======= ریسپانسیو ======= */

@media (max-width: 992px) {
  #front-page-wrapper {
    padding: 1rem 1rem;
  }

  .card {
    width: 280px !important;
  }

  .card-image {
    height: 170px;
  }
}

@media (max-width: 576px) {
  #front-page-wrapper {
    padding: 0.75rem 0.5rem;
  }

  .card {
    width: 75% !important;
    margin: auto 5px;
  }

  .card-image {
    height: 140px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .price {
    font-size: 1rem;
  }

  .btn {
    padding: 0.5rem 1.4rem;
    font-size: 0.9rem;
  }
}

.last-minute-section h2 {
  font-size: 2.2rem;
  color: #8f679f;
  text-align: center;
  margin-bottom: 2rem;
  user-select: none;
}

.last-minute-slider.css-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.last-minute-slider.css-scroll::-webkit-scrollbar {
  display: none;
}

.last-minute-card.simple {
  background: #f5f1fa;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(143, 103, 159, 0.15);
  padding: 1rem 1.5rem;
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  user-select: text;
  color: #31294b;
  font-size: 1rem;
}

.card.last-minute-card.simple {
  box-shadow: 0 8px 20px rgba(143, 103, 159, 0.15);
}

.last-minute-card.simple .info-row strong {
  color: #8f679f;
  margin-right: 6px;
  user-select: none;
}

/* استایل دکمه */
.btn-tour-detail {
  margin-top: auto;
  padding: 0.45rem 1rem;
  background-color: #8f679f;
  color: #fff;
  border-radius: 25px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: none;
  display: inline-block;
  font-size: 1rem;
}

.btn-tour-detail:hover,
.btn-tour-detail:focus {
  background-color: #6e4f85;
  box-shadow: 0 10px 30px rgba(110, 79, 133, 0.6);
  outline: none;
}

/* کانتینر اسکرول افقی برای تورهای به‌روز شده، لحظه آخری و نوشته‌های وبلاگ */
.latest-tours-scroll,
.last-minute-slider.css-scroll,
.latest-blog-slider.css-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  /* اجازه نمایش اسکرول‌بار در موبایل */
  -webkit-scrollbar: initial !important;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #8f679f #ddd;
}

/* WebKit Scrollbar - اسکرول‌بار همیشه نمایش داده شود */
.latest-tours-scroll::-webkit-scrollbar,
.last-minute-slider.css-scroll::-webkit-scrollbar,
.latest-blog-slider.css-scroll::-webkit-scrollbar {
  height: 10px;  /* ارتفاع نوار اسکرول */
  display: block !important; /* force display */
  -webkit-appearance: scrollbar;
}

.latest-tours-scroll::-webkit-scrollbar-track,
.last-minute-slider.css-scroll::-webkit-scrollbar-track,
.latest-blog-slider.css-scroll::-webkit-scrollbar-track {
  background: #ddd;
  border-radius: 8px;
}

.latest-tours-scroll::-webkit-scrollbar-thumb,
.last-minute-slider.css-scroll::-webkit-scrollbar-thumb,
.latest-blog-slider.css-scroll::-webkit-scrollbar-thumb {
  background: #8f679f;
  border-radius: 8px;
  border: 2px solid #ddd;
  transition: background-color 0.3s ease;
}

.latest-tours-scroll::-webkit-scrollbar-thumb:hover,
.last-minute-slider.css-scroll::-webkit-scrollbar-thumb:hover,
.latest-blog-slider.css-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #6e4f85;
}

/* Firefox */
@supports (scrollbar-color: auto) {
  .latest-tours-scroll,
  .last-minute-slider.css-scroll,
  .latest-blog-slider.css-scroll {
    scrollbar-width: thin;
    scrollbar-color: #8f679f #ddd;
  }
}


/* استایل کارت‌ها */
.latest-tour-card {
  flex: 0 0 auto;
  width: 320px;
  background: linear-gradient(135deg, #f3eefa, #d8c6f3);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(126, 95, 175, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  user-select: none;
}

.latest-tour-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 32px 70px rgba(126, 95, 175, 0.45);
}

.latest-tour-card .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  transition: transform 0.4s ease;
}

.latest-tour-card:hover .card-image {
  transform: scale(1.05);
}

.latest-tour-card .card-content {
  padding: 1.8rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.latest-tour-card h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    user-select: text;
    border-bottom: 3px solid #601870;
    border-radius: 15px;
    padding-bottom: 15px;
}

.btn-tour-detail {
  padding: 0.6rem 1.8rem;
  background: #8f679f;
  color: #fff;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 38px rgba(126, 95, 175, 0.5);
  border: none;
  text-decoration: none;
  user-select: none;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  align-self: center;
  cursor: pointer;
}

.btn-tour-detail:hover,
.btn-tour-detail:focus {
  background: #5f4377;
  box-shadow: 0 20px 60px rgba(95, 67, 119, 0.7);
  outline: none;
}

/* ریسپانسیو */
@media (max-width: 992px) {
  .latest-tour-card {
    width: 280px;
  }

  .latest-tour-card .card-image {
    height: 190px;
  }
}

@media (max-width: 576px) {
  .latest-tour-card {
    width: 220px;
  }

  .latest-tour-card .card-image {
    height: 160px;
  }

  .latest-tour-card h3 {
    font-size: 1.2rem;
  }

  .price {
    font-size: 1rem;
  }

  .btn-tour-detail {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
}

.last-minute-tours-section {
  margin: 25px 0;
}

.last-minute-tours-section .section-title {
  font-size: 1.4rem;
  color: #3c3242;
  margin-bottom: 1rem;
}

.last-minute-tours-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #8f679f 0%, #f85c4a 60%, #8f679f 100%);
    border-radius: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .05), 0 10px 15px rgba(143, 103, 159, .1);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #8f679f #d6d1e6;
    margin-bottom: 25px;
}

.last-minute-tours-container::-webkit-scrollbar {
  height: 10px;
  -webkit-appearance: none;
}

.last-minute-tours-container::-webkit-scrollbar-track {
  background: #d6d1e6;
  border-radius: 10px;
}

.last-minute-tours-container::-webkit-scrollbar-thumb {
  background: #8f679f;
  border-radius: 10px;
  border: 3px solid #e9e6f9;
  transition: background-color 0.3s ease;
}

.last-minute-tours-container::-webkit-scrollbar-thumb:hover {
  background-color: #6e4f85;
}

.card.last-minute-card.simple {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: -12px 17px 24px 0px #8f679f;
  padding: 1.5rem 1.2rem;
  min-width: 280px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #3a2e4a;
}

.card.last-minute-card.simple:hover {
  transform: translateY(-8px);
  box-shadow:
    0 16px 40px rgba(143, 103, 159, 0.25);
}

.card.last-minute-card.simple div {
  margin-bottom: 0.7rem;
  font-size: 1rem;
  line-height: 1.4;
}


/* ریسپانسیو */
@media (max-width: 768px) {
  .last-minute-tours-container {
    padding: 1rem;
    gap: 1rem;
  }

  .card.last-minute-card.simple {
    min-width: 230px;
    padding: 1rem 1rem;
  }
}


/* ----------- POST CARD (بدون تور) ----------- */
.post-card {
  background-color: #fff;
  border: 1px dashed #bbb;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.post-card-title {
  font-size: 1.1rem;
  color: #333;
}
.post-card-excerpt {
  font-size: 0.95rem;
  color: #666;
  margin: 0.7rem 0;
}
.btn-primary-custom {
  background: #8f679f;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  display: inline-block;
  transition: background 0.3s ease;
}
.btn-primary-custom:hover {
  background-color: #7a5489;
}

/* === سوالات متداول (تور و ویزا) === */
.visa-faq,
.tour-faq,
.hotel-faq,
.blog-faq{
  margin-bottom: 40px;
}
.visa-faq details,
.tour-faq details,
.hotel-faq details,
.blog-faq details{
  margin-bottom: 12px;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fafafa;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: justify;
}
.visa-faq details[open],
.tour-faq details[open],
.hotel-faq details[open],
.blog-faq details[open]{
  background-color: #f0ebf7;
  border-color: #8f679f;
}
.visa-faq summary,
.tour-faq summary,
.hotel-faq summary,
.blog-faq summary{
  font-size: 16px;
  outline: none;
  user-select: none;
}
.visa-faq summary::-webkit-details-marker,
.tour-faq summary::-webkit-details-marker,
.hotel-faq summary::-webkit-details-marker,
.blog-faq summary::-webkit-details-marker {
  display: none;
}
.visa-faq details[open] summary::before,
.tour-faq details[open] summary::before,
.hotel-faq details[open] summary::before,
.blog-faq details[open] summary::before{
  content: "− ";
  color: #8f679f;
}
.visa-faq summary::before,
.tour-faq summary::before,
.hotel-faq summary::before,
.blog-faq summary::before{
  content: "+ ";
  color: #8f679f;
}
.visa-faq div,
.tour-faq div,
.hotel-faq div,
.blog-faq div{
  margin-top: 10px;
  font-size: 15px;
  color: #222;
}

/* ===========================
   TOUR CATEGORY & SINGLE PAGE
   Optimized and organized styles
   =========================== */

/* ===== General Container ===== */
.single-tour-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 15px 10px;
  color: #000;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* ===== Header Box & Grid ===== */
.tour-header-box {
  margin: 30px 0 40px;
}
.tour-header-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  text-align: right;
}

/* ===== Thumbnail ===== */
.tour-thumb img {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===== Header Details ===== */
.tour-header-details {
  flex: 1;
  min-width: 280px;
  text-align: right;
}

/* ===== Title ===== */
.tour-title {
  font-size: 26px;
  color: #222;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .tour-title {
    font-size: 22px;
    text-align: center;
  }
}

/* ===== Price Highlight ===== */
.tour-price-highlight {
  background: #f3f6ff;
  color: #333;
  border-left: 4px solid #8f679f;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .tour-price-highlight {
    font-size: 15px;
    padding: 8px 12px;
  }
}

/* ===== Intro Section ===== */
.tour-intro-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.tour-featured-image {
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 7px rgb(143 103 159 / 0.3);
}
.tour-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 768px) {
  .tour-featured-image {
    flex: 0 0 300px;
  }
}
.tour-intro-text {
  flex: 1;
  font-size: 16px;
  text-align: justify;
  background: #faf7fe;
  padding: 20px 25px;
  border-left: 5px solid #8f679f;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(143, 103, 159, 0.2);
  direction: rtl;
}

@media (max-width: 768px) {
  .tour-intro-text {
    font-size: 14px;
    text-align: center;
  }
}

/* ===== Minimum Price Box ===== */
.tour-min-price {
  background: #f0eef8;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 16px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* ===== Notes Section ===== */
.tour-notes {
  margin-bottom: 50px;
}
.tour-note-section,
.tour-term-description{
  border: 1px solid #8f679f;
  border-radius: 10px;
  padding: 25px;
  padding-top: 0;
  margin-bottom: 20px;
  text-align: justify;
}

/* ===== Tour Intro Styling ===== */
.tour-intro {
  background: #f9f9f9;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* ===== Container for tour content ===== */
.container.tour-content {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Accordion ===== */
.accordion-wrapper {
    border-radius: 16px;
    border-left: 3px dashed #8f679f;
    border-bottom: 1px dashed #8f679f;
    position: relative;
    margin-bottom: 15px;
}
/* ✅ Ticket-style Accordion Toggle */

.accordion-toggle.ticket-style {
    position: relative;
    padding: 20px 20px 20px 48px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ✅ Dotted Cut-Line (Left) for Desktop */
.accordion-toggle.ticket-style::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 16px;
  width: 1px;
  background-image: linear-gradient(#aaa 40%, transparent 0%);
  background-size: 1px 8px;
  background-repeat: repeat-y;
}

/* ✅ Circle Cut (Top & Bottom) */
.accordion-toggle.ticket-style::after {
  content: "";
  position: absolute;
  left: 10px;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #e2e2e2;
}
.accordion-toggle.ticket-style::before,
.accordion-toggle.ticket-style::after {
  z-index: 1;
}

/* ✅ Title Styling */
.accordion-title {
  font-size: 18px;
  font-weight: bold;
  color: #4a2b70;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #ccc;
  width: 100%;
}

/* ✅ Meta items */
.accordion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.accordion-meta-item {
  background: #f7f4fc;
  padding: 6px 12px;
  font-size: 14px;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* ✅ Mobile Adjustments */
@media (max-width: 768px) {
  .accordion-toggle.ticket-style {
    padding: 20px;
  }

  .accordion-toggle.ticket-style::before {
    display: none;
  }

  .accordion-title {
    border-bottom: none;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  .accordion-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-image: linear-gradient(to right, #aaa 40%, transparent 0%);
    background-size: 8px 2px;
    background-repeat: repeat-x;
  }
}

/* ✅ Wrapper to position button */
.accordion-button-wrapper {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
}

/* ✅ Stylish Button */
.accordion-toggle-btn {
  background-color: #8f679f;
  color: #fff;
  border: none;
  padding: 6px 14px;
  font-size: 14px;
  font-family: Tahoma, sans-serif;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.3s ease;
  margin-left:10px;
}

.accordion-toggle-btn:hover {
  background-color: #744f8c;
}

.accordion-toggle-btn .accordion-toggle-icon {
  margin-left: 6px;
  font-weight: bold;
  font-size: 16px;
}

.accordion-content {
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* ✅ Responsive full width on mobile */
@media (max-width: 768px) {
  .accordion-button-wrapper {
    position: static;
    margin-top: 16px;
  }

  .accordion-toggle-btn {
    width: 100%;
    text-align: center;
    display: block;
  }
}

.accordion-content {
  position: relative; /* for positioning close button */
  display: none;
  border: 1px solid #ddd;
  border-radius: 0 0 6px 6px;
  background: #fff;
  padding: 0.5rem;
  margin-bottom: 2rem;
}
.accordion-content.open {
  display: block;
}
.accordion-close-button {
  float: left;
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  margin-bottom: 12px;
}

/* ===== Tour Price Tables ===== */
.tour-price-tables {
    display: flex;
    flex-direction: column;
}

/* ===== Tables inside accordion ===== */
.accordion-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.accordion-content th,
.accordion-content td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: center;
  color: #000;
}
.accordion-content th {
  background: #8f679f;
  color: #fff;
}

/* ===== Combo Total Price ===== */
.combo-total-price {
    text-align: center;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-width: 350px;
    margin: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}


/* ✅ Star Label Styling */
.star-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.star-number {
  font-weight: bold;
  color: #000; /* Black for the number */
}

.star-icon {
  color: orange;
  font-size: 16px;
  line-height: 1;
}


/* ===== WhatsApp Reserve Button ===== */
.whatsapp-reserve {
  text-align: center;
  margin-top: 1.5rem;
}
.whatsapp-reserve a {
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  transition: background 0.3s;
}
.whatsapp-reserve a:hover {
  background: #1ebe5d;
}

/* ===== Tour Schedule ===== */
.tour-schedule {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: #fdfbff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(143, 103, 159, 0.1);
  position: relative;
}
.tour-section-title {
  font-size: 22px;
  color: #8f679f;
  margin-bottom: 30px;
  padding-bottom: 6px;
  border-bottom: 2px solid #d4c4ec;
  text-align: center;
}
.tour-schedule ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-right: 3px solid #8f679f;
  position: relative;
}
.tour-schedule li {
  position: relative;
  margin: 2rem 0;
  padding: 1rem 1.5rem 1rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.tour-schedule li:hover {
  transform: translateY(-4px);
}
.tour-schedule li::before {
  content: "📍";
  position: absolute;
  right: -22px;
  top: 20px;
  background: #fff;
  border: 2px solid #8f679f;
  color: #8f679f;
  border-radius: 50%;
  font-size: 16px;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 28px;
  box-shadow: 0 0 0 4px #fdfbff;
}
.tour-schedule li strong {
  color: #8f679f;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .tour-schedule {
    padding: 1.5rem 0.5rem;
  }
  .tour-schedule ul {
    border-right: none;
    border-left: 3px solid #8f679f;
  }
  .tour-schedule li {
    padding: 1rem 1rem 1rem 2rem;
    text-align: justify;
  }
  .tour-schedule li::before {
    left: -22px;
    right: auto;
  }
}

/* ===== Tour Dates Inline Boxes ===== */
.tour-dates-inline {
  background: #f9f6ff;
  border: 1px solid #e2d5f5;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(143, 103, 159, 0.06);
}
.tour-dates-inline strong {
  display: block;
  font-size: 16px;
  color: #8f679f;
  margin-bottom: 0.8rem;
}
.tour-dates-inline span {
  display: inline-block;
  background: #fff;
  border: 1px solid #d1bde6;
  color: #4b3a63;
  font-size: 14.5px;
  padding: 6px 12px;
  margin: 4px 6px 4px 0;
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}
.tour-dates-inline span:hover {
  background-color: #ece1ff;
  border-color: #bda1e9;
  transform: scale(1.05);
  cursor: default;
}
@media (max-width: 768px) {
  .tour-dates-inline span {
    font-size: 14px;
    padding: 5px 10px;
    margin: 4px 5px 4px 0;
  }
}

/* ===== Accordion Title Styling ===== */
.accordion-title-main {
  font-size: 20px;
  margin-bottom: 10px;
  flex: 1 1 100%;
  text-align: right;
}

/* ===== Tour Services Inline Box ===== */
.tour-services-inline {
  background: #f7f3fb;
  border: 1px solid #e1d6f2;
  padding: 12px 16px;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  text-align: justify;
  line-height: 1.8;
}
.tour-services-inline strong {
  display: inline-block;
  margin-left: 6px;
  color: #000;
}

/* ===== Last Minute Label ===== */
.last-minute-label {
  display: inline-block;
  background-color: #e53935;
  color: #fff;
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: 20px;
  margin-right: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ===== TOUR CATEGORY PAGE ===== */
.archive-wrapper.tour-category-page {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Category Title ===== */
.tour-category-header .page-title {
  text-align: center;
  border-bottom: 4px solid #8f679f;
  border-radius: 12px;
  padding: 15px;
}

/* ===== Cards Wrapper Grid ===== */
.tour-cards-wrapper {
  display: grid;
  gap: 1.5rem;
  margin-top: 40px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 576px) {
  .tour-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .tour-cards-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Tour Card ===== */
.tour-card {
  display: block;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  background: #fff;
  color: inherit;
}
.tour-card:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* ===== Tour Card Image ===== */
.tour-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .tour-card-image img {
    height: 160px;
  }
}

/* ===== Tour Card Content ===== */
.tour-card-content {
  padding: 16px;
  text-align: center;
}

/* ===== Tour Card Title ===== */
.tour-card-title {
  font-size: 18px;
  margin: 0 0 12px;
  color: #000;
}

/* ===== Tour Card Price ===== */
.tour-card-price {
  color: #000;
  margin-bottom: 12px;
}
.tour-card-price::before {
  content: "💰";
  margin-right: 6px;
  display: inline-block;
}

/* ===== Tour Card Button ===== */
.tour-card-button {
  background-color: #8f679f;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 12px 12px 0;
  font-size: 1rem;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  direction: rtl;
  transition: background 0.3s ease;
  margin-left: -20px;
}
.tour-card-button::after {
  content: "➡";
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
  transform: translateY(1px);
}
.tour-card-button:hover {
  background-color: #7a5489;
}
.tour-card-button:hover::after {
  transform: translate(6px, 1px);
}

/* ===== Tour-hotel Booking Section ===== */
.tour-booking,
.hotel-booking {
  background: #fff;
  padding: 25px 30px;
  border: 3px solid #ddd;
  border-radius: 30px;
  margin-bottom: 50px;
  font-size: 16px;
  color: #000;
  text-align: center;
}

/* ===== Term Description Section ===== */
.tour-term-description h2 {
  padding: 10px;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
  .tour-card-button {
    font-size: 0.95rem;
  }
}

/* === Visa Category & Single Post Styles === */

/* کانتینر اصلی */
.visa-category-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

/* بردکرامب */
.breadcrumb-custom {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.breadcrumb-custom a {
  color: #8f679f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-custom a:hover {
  color: #724f7d;
}

/* عنوان دسته بندی */
.category-title {
  font-size: 32px;
  margin-bottom: 30px;
  color: #000;
  border-bottom: 3px solid #8f679f;
  padding-bottom: 8px;
}
.visa-term-description {
    margin-top:25px;
}

/* بخش کارت‌ها */
.visa-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: flex-start;
}

.visa-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(143,103,159,0.15);
  overflow: hidden;
  flex: 1 1 calc(33.333% - 25px);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.visa-card:hover {
  box-shadow: 0 8px 20px rgba(143,103,159,0.3);
}

/* واکنشگرایی */
@media (max-width: 992px) {
  .visa-card {
    flex: 1 1 calc(50% - 25px);
  }
}

@media (max-width: 576px) {
  .visa-card {
    flex: 1 1 100%;
  }
}


/* کارت هر نوشته */
.visa-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(143,103,159,0.15);
  overflow: hidden;
  flex: 1 1 calc(33.333% - 30px);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.visa-card:hover {
  box-shadow: 0 12px 30px rgba(143,103,159,0.3);
}

/* لینک کل کارت */
.visa-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* تصویر کارت - دایره متوسط */
.visa-card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 20px auto 15px auto;
  border: 3px solid #8f679f;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.visa-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visa-card:hover .visa-card-image {
  transform: scale(1.08);
}

/* محتوای کارت */
.visa-card-content {
  padding: 0 20px 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* عنوان کارت */
.visa-card-title {
  font-size: 22px;
  margin: 0 0 12px;
  color: #000;
  line-height: 1.2;
}

/* خلاصه متن */
.visa-card-excerpt {
  flex-grow: 1;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 20px;
  max-height: 90px; /* محدودیت ارتفاع برای نظم بیشتر */
  overflow: hidden;
}

/* دکمه مشاهده جزئیات */
.visa-card-button {
  padding: 10px 26px;
  background-color: #8f679f;
  color: #fff;
  border-radius: 24px;
  font-size: 15px;
  transition: background-color 0.3s ease;
  user-select: none;
}

.visa-card-button:hover {
  background-color: #724f7d;
}

/* واکنشگرایی - تبلت */
@media (max-width: 992px) {
  .visa-card {
    flex: 1 1 calc(50% - 30px);
  }
  .visa-card-content {
    padding-bottom: 15px;
  }
}

/* واکنشگرایی - موبایل */
@media (max-width: 576px) {
  .visa-card {
    flex: 1 1 100%;
  }
  .visa-card-image {
    width: 140px;
    height: 140px;
    margin: 30px auto 20px auto;
  }
}


/* === کل صفحه === */
.single-visa-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 15px 10px;
    color: #000;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* === عنوان صفحه === */
.visa-title {
  font-size: 32px;
  margin-bottom: 30px;
  color: #8f679f;
  border-bottom: 3px solid #8f679f;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  user-select: none;
  text-shadow: 0 1px 1px rgba(143,103,159,0.15);
}

.visa-intro-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 45px;
  flex-wrap: wrap;
  /* برای RTL */
  direction: rtl;
}

.visa-featured-image {
  flex: 0 0 40%;
  max-width: 40%;
  border-radius: 10px;
  overflow: hidden;
}

.visa-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.visa-intro-text {
  flex: 1 1 55%;
  max-width: 55%;
  font-size: 17px;
  line-height: 1.6;
  color: #222;
  padding-left: 10px;
  text-align: justify;
}

@media (max-width: 768px) {
  .visa-intro-container {
    direction: ltr;
  }

  .visa-featured-image,
  .visa-intro-text {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .visa-featured-image img {
    width: 100%; /* تمام عرض */
    height: auto;
    border-radius: 10px; /* گوشه گرد */
  }

  .visa-intro-text {
    padding-left: 0;
    padding-top: 15px;
    text-align: justify;
    direction: rtl;
  }
}

/* === عنوان بخش‌ها (کامل) === */
.visa-details h2,
.visa-requirements h2,
.visa-faq h2,
.visa-notes h2,
.visa-contact-form h2,
.related-articles h2,
.visa-reviews h2,
.post-tags h4 {
  font-size: 28px;
  color: #000; /* مشکی */
  border-bottom: 3px solid #8f679f;
  padding-bottom: 8px;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(143, 103, 159, 0.15);
  user-select: none;
}
.post-tags h4 {
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom-width: 2px;
  letter-spacing: 0.03em;
}

/* === کارت‌های جزئیات ویزا === */
.visa-details {
  margin-bottom: 50px;
}
.visa-details-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
}
.visa-details-card {
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(143, 103, 159, 0.12);
  flex: 1 1 220px;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  border-left: 6px solid #8f679f;
  transition: box-shadow 0.3s ease;
  cursor: default;
}
.visa-details-card:hover {
  box-shadow: 0 10px 35px rgba(143, 103, 159, 0.3);
}
.visa-details-card .card-title {
  font-size: 20px;
  color: #8f679f;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.visa-details-card .card-content {
  font-size: 16px;
  color: #222;
  line-height: 1.4;
}
.visa-details-card .card-title svg {
  width: 20px;
  height: 20px;
  fill: #8f679f;
  flex-shrink: 0;
}

/* === مدارک مورد نیاز === */
.visa-requirements {
  margin-bottom: 40px;
}
.visa-requirements ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #444;
}

/* === نکات مهم === */
.visa-notes {
  margin-bottom: 50px;
}

.visa-note-section {
  border: 1px solid #8f679f;
  border-radius: 10px;
  padding: 0 25px;
  margin-bottom: 20px;
  text-align: justify;
}

.visa-note-section h3 {
    color: #000;
    text-align: center;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 12px 12px;
    background: #f5f3f8;
    padding: 10px 5px;
    margin-top: 0;
}

.visa-note-section p {
  color: #222;
  line-height: 1.5;
  margin-bottom: 10px;
}


/* === بخش درخواست مشاوره === */
.visa-contact-form {
  background: #fff;
  padding: 25px 30px;
  border: 3px solid #ddd;
  border-radius: 30px;
  margin-bottom: 50px;
  font-size: 16px;
  color: #000;
  text-align: center; /* وسط‌چین کردن کل بخش */
}

.visa-contact-form h2 {
  font-size: 28px;
  color: #000;
  margin-bottom: 30px;
  border-bottom: 3px solid #8f679f;
  padding-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
  text-shadow: 0 1px 1px rgba(143, 103, 159, 0.15);
}

/* کانتینر شماره‌ها */
.contact-numbers {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

/* هر شماره تماس لینک شده */
.contact-number {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #222;
  text-decoration: none;
  user-select: text;
  cursor: pointer;
  transition: color 0.3s ease;
}

.contact-number:hover {
  color: #8f679f;
}

.contact-number strong {
  margin-left: 10px;
  user-select: none;
}

/* فونت و جهت شماره‌ها */
.contact-number .number {
  direction: ltr;
  unicode-bidi: embed;
}

.section-title {
  font-size: 28px;
  margin-bottom: 25px;
  color: #000;
  padding-bottom: 8px;
  user-select: none;
}

/* آدرس */
.contact-address {
  color: #222;
  margin-bottom: 15px;
  user-select: text;
  font-size: 15px;
  direction: rtl;
}

/* دکمه واتساپ */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25D366; /* رنگ رسمی واتساپ */
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin: 20px auto 0 auto;
  user-select: none;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  box-shadow: 0 6px 14px rgba(30, 190, 87, 0.6);
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 480px) {
  .contact-numbers {
    flex-direction: column;
    gap: 12px;
  }
}

/* تب‌های فهرست مطالب استیکی */
.table-of-contents-tabs {
  position: sticky;
  top: 60px; /* ارتفاع هدر */
  background: #f8f9fa; /* خاکستری خیلی روشن */
  border-bottom: 1px solid #ddd;
  z-index: 9999;
  padding: 0 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  /* برای اسکرول افقی */
  overflow-x: auto;
  scrollbar-width: none; /* پیشفرض مخفی */
}

/* مخفی کردن اسکرول بار پیشفرض دسکتاپ */
.table-of-contents-tabs::-webkit-scrollbar {
  display: none;
}

/* لیست تب‌ها افقی و اسکرول‌پذیر */
.table-of-contents-tabs ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  white-space: nowrap;
}

/* تب‌ها */
.table-of-contents-tabs ul li a {
  display: inline-block;
  padding: 10px 22px;
  color: #555555; /* خاکستری تیره */
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 6px 6px 0 0;
  transition: all 0.3s ease;
  user-select: none;
}

/* هاور */
.table-of-contents-tabs ul li a:hover {
  background-color: #e9ecef; /* خاکستری خیلی روشن */
  color: #222222;
  border-color: #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* تب فعال */
.table-of-contents-tabs ul li a.active {
  color: #000000;
  background-color: #ffffff;
  border: 1.5px solid #ccc;
  border-bottom-color: #ffffff;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

/* رفع مشکل هدر روی بخش ها */
section[id] {
  position: relative;
  margin-top: 25px;
}

/* اسکرول نرم */
html {
  scroll-behavior: smooth;
}

/* فقط برای موبایل اسکرول بار نمایش داده شود */
@media (max-width: 768px) {
  .table-of-contents-tabs {
    scrollbar-width: thin;
    scrollbar-color: #8f679f #f0f0f0;
  }

  .table-of-contents-tabs::-webkit-scrollbar {
    height: 6px;
    display: block;
  }

  .table-of-contents-tabs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
  }

  .table-of-contents-tabs::-webkit-scrollbar-thumb {
    background-color: #8f679f;
    border-radius: 3px;
  }

  .table-of-contents-tabs::-webkit-scrollbar-thumb:hover {
    background-color: #6f4f7f;
  }
}


/* 🔽🔽🔽 Related Items Section (مطالب مرتبط بر اساس related_destination) 🔽🔽🔽 */

.related-items-section {
  padding: 2rem 1rem;
  background-color: #f8f6fb;
  border-top: 3px solid #8f679f;
  border-radius: 12px;
  max-width: 1200px;
  overflow: hidden;
  margin: auto;
}

.related-items-title {
  font-size: 1.5rem;
  color: #3c3242;
  margin-bottom: 1.5rem;
  text-align: right;
}

/* ✅ اسلایدر افقی */
.related-items-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.related-item-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.related-item-card:hover {
  box-shadow: 0 4px 14px rgba(143, 103, 159, 0.15);
}
.related-item-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ✅ تصویر شاخص */
.related-thumb img,
.related-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* ✅ عنوان و نوع محتوا */
.related-title {
  font-size: 1.1rem;
  color: #333;
  margin: 0.8rem 1rem 0.4rem;
  line-height: 1.4;
}

.related-type {
  font-size: 0.85rem;
  background-color: #f0e9f6;
  color: #8f679f;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  margin: 0 1rem 0.6rem;
  display: inline-block;
}

/* ✅ دکمه پایانی */
.related-readmore {
  margin: 0 1rem 1rem;
  padding: 0.4rem 0.9rem;
  background-color: #8f679f;
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem;
  align-self: flex-start;
  transition: background 0.3s ease;
}
.related-readmore:hover {
  background-color: #7a5489;
}

/* ✅ اسکرول بار سفارشی */
.related-items-grid::-webkit-scrollbar {
  height: 6px;
}
.related-items-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* ✅ واکنش‌گرا */
@media (max-width: 768px) {
  .related-items-section {
    padding: 1.5rem 1rem;
  }

  .related-items-title {
    font-size: 1.3rem;
  }

  .related-item-card {
    flex: 0 0 80%;
  }
}

.load-more-wrapper {
  text-align: center;
  margin-top: 2rem;
}

/* =====================[ TAG ARCHIVE PAGE STYLE ]===================== */

/* ✅ قاب کلی آرشیو برچسب */
.tag-archive-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ✅ عنوان صفحه برچسب */
.tag-archive-title {
  font-size: 2rem;
  text-align: center;
  color: #444;
  margin-bottom: 30px;
}

/* ✅ لیست کارت‌ها */
.tag-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

/* ✅ کارت تکی تور / ویزا / بلاگ */
.tag-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tag-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* ✅ تصویر کارت */
.tag-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ✅ محتوای کارت */
.tag-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag-card-title {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

/* ✅ قیمت و دکمه */
.tag-card-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag-card-price {
  color: #8f679f;
  font-size: 1rem;
}

.tag-card-button {
  display: inline-block;
  text-align: center;
  background: #8f679f;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.tag-card-button:hover {
  background: #764d9b;
}

/* ✅ ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .tag-card {
    width: 100%;
  }

  .tag-archive-title {
    font-size: 1.5rem;
  }

  .tag-card-content {
    padding: 12px;
  }
}

/* ✅ استایل عنوان برچسب ها */
.page-title,
.visa-category-header {
    border-bottom: 2px solid #8f679f;
    padding-bottom: 15px;
    text-align: center;
    margin: 40px 0 20px;
}

/* ✅ استایل بخش برچسب‌ه صفحات تکیا */
.post-tags {
    margin: auto;
    margin-top: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    width: 1200px;
}

.post-tags h4 {
  margin-bottom: 10px;
  color: #444;
  font-size: 1rem;
}

.tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li a {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f2f2f2;
  border-radius: 20px;
  color: #333;
  font-size: 0.9rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  box-shadow: -1px 0px 4px rgb(0 0 0 / 21%);
}

.tag-list li a:hover {
  color: #fff;
  background:#8f679f;
}

/* ======= بخش دیدگاه‌ها ======= */
.comments-area {
    margin: auto;
    margin-top: 2.5rem;
    direction: rtl;
    line-height: 1.6;
    max-width: 1200px;
    padding: 10px;
}

/* عنوان دیدگاه‌ها */
.comments-title {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #8f679f; /* رنگ سازمانی */
  border-bottom: 2px solid #8f679f;
  padding-bottom: 0.5rem;
}

/* لیست دیدگاه‌ها - حذف شماره‌گذاری پیش‌فرض */
.comment-list {
  list-style-type: none !important; /* حذف شماره کنار دیدگاه‌ها */
  margin: 0;
  padding: 0;
}

/* هر دیدگاه به صورت کارت سفید با سایه */
.comment-list li {
  background-color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: 1px solid #e6e6e6;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
}

.comment-list li:hover {
  box-shadow: 0 3px 10px rgba(143,103,159,0.2);
}

/* آواتار دیدگاه */
.comment-list .avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid #8f679f;
}

/* محتوای دیدگاه */
.comment-content {
  flex: 1;
}

/* اطلاعات متا دیدگاه (نام و تاریخ) */
.comment-meta {
  color: #6b4a7a;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* متن دیدگاه */
.comment-content p {
  font-size: 1rem;
  color: #444;
  margin: 0 0 0.8rem 0;
  word-break: break-word;
  text-align: justify;
}

/* لینک پاسخ دادن */
.comment-reply-link {
  background-color: #8f679f;
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
  margin-top: 0.5rem;
}

.comment-reply-link:hover {
  background-color: #6b4a7a;
  text-decoration: none !important;
}

/* پاسخ‌ها (دیدگاه‌های تو در تو) */
.comment-list .children {
  margin-right: 3rem; /* تو رفتگی پاسخ */
  margin-top: 1rem;
  border-right: 3px solid #8f679f; /* خط رنگی برای پاسخ */
  padding-right: 1rem;
}

/* پاسخ‌ها به صورت کارت با پس‌زمینه روشن‌تر */
.comment-list .children li {
  background-color: #f9f5fb;
  border-color: #d4c6e0;
  box-shadow: none;
  margin-bottom: 1rem;
}

/* آواتار پاسخ‌ها کمی کوچکتر با حاشیه رنگی */
.comment-list .children li .avatar {
  width: 40px;
  height: 40px;
  border: 2px solid #8f679f;
}

/* پیام "دیدگاه‌ها بسته است" */
.no-comments {
  font-style: italic;
  color: #666;
  margin-top: 1.5rem;
  text-align: center;
}

/* ======= فرم ارسال دیدگاه ======= */
.comment-form-title {
  font-size: 1.5rem;
  color: #8f679f;
  margin-bottom: 1rem;
  border-bottom: 2px solid #8f679f;
  padding-bottom: 0.4rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: #8f679f;
  box-shadow: 0 0 8px rgba(143, 103, 159, 0.5);
}

/* دکمه ارسال دیدگاه */
.btn.btn-success {
  background-color: #8f679f;
  border: none;
  padding: 0.65rem 1.5rem;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn.btn-success:hover {
  background-color: #6b4a7a;
}

/* ===== واکنشگرایی موبایل ===== */
@media (max-width: 576px) {
  .comment-list li {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .comment-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .comment-navigation .nav-previous a,
  .comment-navigation .nav-next a {
    width: 100%;
    text-align: center;
  }
  
  .comment-list .children {
    margin-right: 0;
    border-right: none;
    padding-right: 0;
  }
  
  .comment-list .children li {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: none;
  }
  
  .comment-reply-link {
    padding: 6px 14px;
    font-size: 1rem;
  }
}

.blog-intro-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.blog-featured-image {
  flex: 1 1 300px;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-intro-text {
  flex: 1 1 300px;
  min-width: 260px;
}

.blog-toc-box {
  background: #fff9f2;
  border-right: 4px solid #f9c17a;
  padding: 16px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
}

.blog-toc-box strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

/* ✅ تغییر این بخش برای لیست کلاسیک */
.blog-toc-box ul {
  list-style: disc;
  padding-right: 20px;
  margin: 0;
}

.blog-toc-box ul li {
  margin-bottom: 6px;
}

.blog-toc-box ul li a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.blog-toc-box ul li a:hover {
  color: #5e3a7d;
  text-decoration: underline;
}

.hidden-toc-item {
  display: none;
}

.toc-toggle-btn {
  margin-top: 10px;
  background-color: transparent;
  color: #8f679f;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.toc-toggle-btn:hover {
  color: #5e3a7d;
}

.blog-faq-box {
  background: #f3f0fa;
  border-right: 4px solid #8f679f;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.blog-faq-box p {
    margin: 0;
    font-size: 15px;
    text-align: justify;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  .blog-intro-container {
    flex-direction: column;
    align-items: center;
  }
}

blockquote {
    border: solid 1px #ddd;
    border-radius: 8px;
    border-right: 4px solid #8f679f;
    padding: 15px 20px;
    margin: 20px 0;
    background-color: #f8f8ff;
    font-style: italic;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
}

blockquote::before {
  content: "“";
  font-size: 40px;
  position: absolute;
  right: 10px;
  top: -10px;
  color: #8f679f;
}

.blog-content-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  flex-direction: row-reverse; /* باعث می‌شود سایدبار در چپ قرار بگیرد */
}

.blog-main-content {
  flex: 1 1 66%;
  min-width: 300px;
}

.blog-sidebar {
  flex: 1 1 28%;
  min-width: 260px;
}

.sidebar-box {
  background: #f9f9f9;
  border-right: 4px solid #8f679f;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.sidebar-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.sidebar-box ul {
  list-style: disc;
  padding-right: 20px;
}

.sidebar-box li {
  margin-bottom: 8px;
}

.sidebar-box a {
  color: #8f679f;
  text-decoration: none;
}

.sidebar-box a:hover {
  text-decoration: underline;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  .blog-content-layout {
    flex-direction: column;
  }

  .blog-main-content, .blog-sidebar {
    flex: 1 1 100%;
  }
}

.tour-filter-form {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  direction: rtl;
}

.tour-filter-form label {
  font-weight: 600;
  color: #8f679f;
}

.tour-filter-form select {
  padding: 6px 12px;
  border: 1px solid #8f679f;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s ease;
  min-width: 180px;
}

.tour-filter-form select:hover,
.tour-filter-form select:focus {
  border-color: #6b4f93;
  outline: none;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* فاصله بین کارت‌ها */
  margin-top: 20px;
}

/* کارت‌های هتل */
.hotel-post-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.hotel-post-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* لینک کل کارت */
.hotel-post-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* تصویر شاخص */
.hotel-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #ddd;
}

/* دکمه نام هتل */
.hotel-post-button {
  display: inline-block;
  width: calc(100% - 30px); /* فاصله داخلی با حاشیه */
  padding: 10px 15px;
  margin: 12px 15px 15px 15px;
  background-color: #8f679f; /* رنگ سازمانی */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(143, 103, 159, 0.5);
}

.hotel-post-button:hover,
.hotel-post-button:focus {
  background-color: #754d85; /* رنگ تیره‌تر هنگام هاور */
  box-shadow: 0 4px 12px rgba(117, 77, 133, 0.7);
  outline: none;
}

