/* Start custom CSS for html, class: .elementor-element-8dfabe6 */.expo-block {
  direction: rtl;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px;
  font-family: inherit;
  line-height: 2.1;
  color: #1a1a1a;
  font-size: 18px; /* اندازه پایه کل محتوا */
}

/* هدر */
.expo-header {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e7eb;
}

.expo-image {
  flex-shrink: 0;
  width: 340px;
  max-width: 42%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* متن کنار تصویر */
.expo-head-text {
  flex: 1;
  padding-right: 20px;
  border-right: 3px solid #d1d5db;
}

.expo-title {
  margin: 0 0 12px;
  font-size: 34px; /* درشت‌تر */
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.01em;
}

.expo-curator,
.expo-date {
  margin: 0 0 8px;
  font-size: 17px; /* بهتر شده */
  color: #4b5563;
}

/* تیترهای بخش */
.expo-section-title {
  margin: 40px 0 18px;
  font-size: 23px; /* بزرگ‌تر */
  font-weight: 600;
  color: #111827;
  padding-right: 12px;
  border-right: 3px solid #cbd5e1;
}

/* متن پاراگراف‌ها */
.expo-block p {
  font-size: 18px; /* سایز مناسب و استاندارد */
  line-height: 2.2;
  margin-bottom: 18px;
  text-align: justify;
  color: #1f2933;
}

/* فهرست هنرمندان */
.expo-artists {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* کمی عریض‌تر */
  gap: 14px 26px;
}

.expo-artists li {
  font-size: 17px; /* بزرگ‌تر */
  color: #111827;
  padding-right: 12px;
  border-right: 2px solid #d4d4d4;
}

/* مورد ویژه */
/*.expo-artists li:last-child {*/
/*  font-weight: 600;*/
/*  border-right-color: #9ca3af;*/
/*}*/

/* موبایل */
@media (max-width: 700px) {

  .expo-block {
    padding: 26px 18px;
    font-size: 17px;
  }

  .expo-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 16px;
  }

  .expo-image {
    width: 100%;
    max-width: 100%;
  }

  .expo-head-text {
    border-right: none;
    padding-right: 0;
    margin-top: 18px;
  }

  .expo-title {
    font-size: 28px;
  }

  .expo-section-title {
    font-size: 21px;
  }
}
/* گالری تصاویر */
.expo-gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.expo-thumb {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.expo-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expo-thumb img:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

/* لایت‌باکس */
.expo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;              /* با کلاس is-open نمایش داده می‌شود */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  direction: ltr;
}

.expo-lightbox.is-open {
  display: flex;
}

.expo-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

/* دکمه بستن و ناوبری */
.expo-lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: transparent;
  border: none;
  color: #f9fafb;
  font-size: 32px;
  cursor: pointer;
}

.expo-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #f9fafb;
  font-size: 32px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expo-lightbox-prev {
  left: 24px;
}

.expo-lightbox-next {
  right: 24px;
}

/* موبایل */
@media (max-width: 700px) {
  .expo-thumb img {
    height: 150px;
  }

  .expo-lightbox-close {
    right: 16px;
    top: 16px;
  }

  .expo-lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .expo-lightbox-prev {
    left: 12px;
  }

  .expo-lightbox-next {
    right: 12px;
  }
}

.expo-download-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid #9ca3af;
  color: #111827;
  text-decoration: none;
  background-color: #f9fafb;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.expo-download-btn:hover {
  background-color: #e5e7eb;
  border-color: #6b7280;
  transform: translateY(-1px);
}/* End custom CSS */