html {
  scroll-behavior: smooth;
}
.spa_foot_logo a {
  display: block !important;
}
/* .spa_img_gallery_container {
    padding-left: calc((100% - 1280px) / 2 + 0px);
} */

.spa_img_glr_slider .elementor-widget-image,
.spa_artist_glr_slider .elementor-widget-image {
  margin: 0 32px 0 0;
}

/* Smooth continuous movement */
.spa_img_glr_slider .slick-track,
.spa_artist_glr_slider .slick-track {
  will-change: transform;
}

/* ✅ HOVER PE REAL PAUSE */
.spa_img_glr_slider:hover .slick-track,
.spa_artist_glr_slider:hover .slick-track {
  animation-play-state: paused !important;
}

.spa_img_gallery_container .slick-dots {
  max-width: 1280px;
  width: 100% !important;
  display: inline-flex !important;
  bottom: -35px !important;
}
.spa_img_gallery_container .slick-dots li {
  width: 100% !important;
  margin: 0 !important;
  height: 3px !important;
  background-color: #221e1f33;
}
.spa_img_gallery_container .slick-dots li button {
  width: 100% !important;
  height: 3px !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.spa_img_gallery_container .slick-dots li button:hover {
  background-color: #221e1f99 !important;
  opacity: 1;
}
.spa_img_gallery_container .slick-dots li button:hover:active {
  background-color: #221e1f99;
}
.spa_img_gallery_container .slick-track {
  cursor: grab;
}
.spa_img_gallery_container .slick-dots li.slick-active button:before,
.spa_img_gallery_container .slick-dots li button:before {
  display: none !important;
}
.spa_img_gallery_container .slick-dots li.slick-active button {
  width: 100%;
  background-color: #221e1f99;
  height: 3px !important;
  padding: 0 !important;
}

header#site-header {
  display: none;
}

footer#site-footer {
  display: none;
}

/* Dynamic Section Start */

.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.exhibition-card {
  width: 100%;
  border: 1px solid #221e1f66;
  padding: 24px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-family: "DM Sans", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  color: #3b3537;
  margin-bottom: 32px;
  gap: 20px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-family: "DM Sans", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  color: #3b3537;
  cursor: pointer;
  text-decoration: none;
}

.card-arrow {
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  color: #111;
}

.load_more_past_exibutors {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.load_more_past_exibutors .btn-load-more {
  background: #221e1f;
  color: #fff;
  border: 1px solid #221e1f;
  padding: 12px 24px;
  font-family: "DM Sans", Sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  cursor: pointer !important;
  border-radius: 0;
}

.load_more_past_exibutors .btn-load-more:hover {
  background: #fff;
  color: #221e1f;
}

/* Dynamic Section End */

/* Popup Design Start */

#enquiry-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9999;
}

.enquiry-popup-content {
  background: #fff;
  width: 733px;
  max-width: 90%;
  padding: 32px;
  margin: 80px auto;
  position: relative;
  border-radius: 0;
}

.enquiry-popup-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border: 1px solid #221e1f80;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.enquiry-btn a {
  cursor: pointer;
}
.enquiry-popup-content .close:hover {
  background-color: #221e1f80;
  border: 1px solid #221e1f80;
}
.enquiry-popup-content .close:hover svg path {
  fill: #fff !important;
}
body.no-scroll {
  overflow-x: hidden;
}

.spa_header.sticky_header_active {
  position: fixed;
  background-color: #fff !important;
  width: 100%;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form Design Start */

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.form-col {
  flex: 1;
}

.form-col.full-width {
  flex: 1 1 100%;
}

.form-col label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-col input,
.form-col textarea {
  font-family: "DM Sans", Sans-serif;
  width: 100%;
  border: 1px solid #221e1f1a;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 21px;
  color: #221e1fb2;
  outline: none;
  background: #fff;
  border-radius: 0;
}

.form-col textarea {
  height: 77px;
  resize: none;
}
.form-col span {
  display: flex;
  flex-direction: column;
}
.form-col .wpcf7-not-valid-tip {
  font-size: 12px;
}

.enquiry-popup-content h3 {
  font-family: "DM Sans", Sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 39px;
  color: #221e1f;
  margin: 0 0 32px 0;
  text-align: center;
}
.enquiry-form label {
  font-family: "DM Sans", Sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  color: #221e1f;
  margin-bottom: 4px;
}
.enquiry-form .wpcf7-submit {
  width: 100%;
  font-family: "DM Sans", Sans-serif;
  background-color: #221e1f;
  border: 1px solid #221e1f;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 24px;
  line-height: 22.4px;
  text-align: center;
  color: #fff;
  border-radius: 0;
}
.enquiry-form .wpcf7-submit:hover {
  background-color: #fff;
  color: #221e1f;
}
.wpcf7-spinner {
  position: absolute;
  left: 46%;
  bottom: 4px;
  transform: translateX(-50%);
}
/* Form Design End */

/* Popup Design End */

.spa_artist_glr_slider {
  direction: rtl;
}

.spa_artist_glr_slider .slick-list {
  direction: rtl;
}

.spa_artist_glr_slider .slick-track {
  display: flex !important;
}

.spa_artist_glr_slider .slick-slide {
  direction: ltr;
  float: none !important;
}
.spa_img_gallery_container .slick-track {
  display: flex;
  max-height: 300px;
  height: 100%;
}
.spa_img_gallery_container .slick-slide {
  height: auto;
}
.spa_img_gallery_container .slick-slide img {
  height: 100%;
  /* object-fit: cover; */
}


.sp_gallery_image img{
  height: 300px;
  object-fit: cover;
}


.spaz_pipe{
  min-width: 30px;
  display: inline-flex;
  justify-content: center;
}

.spaz_address a{
  width: max-content !important;
}
.spaz_address a:hover span{
  color: #7C7C7C !important;
}
.spaz_address a:hover svg path{
  fill: #7C7C7C !important;
}

@media(min-width:1281px){
.splide__slide {
  flex: 0 0 calc(100% / 4.87); /* width per slide */
}
}

@media (max-width: 1320px) {
  /* .spa_img_gallery_container {
        padding-left: 30px;
        } */
  .spa_img_gallery_container .slick-dots {
    max-width: calc(100% - 30px);
  }
}

@media (max-width: 1024px) {
  .spa_img_glr_slider .elementor-widget-image,
  .spa_artist_glr_slider .elementor-widget-image {
    margin: 0 20px 0 0;
  }
  .exhibition-card {
    display: flex;
    flex-wrap: wrap;
  }
  .card-meta {
    width: 100%;
  }
  .card-footer {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
  }
  .exhibitions-grid {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  /* .spa_img_gallery_container {
        padding-left: 20px;
  } */
  .spa_img_gallery_container .slick-dots {
    max-width: calc(100% - 20px) !important;
  }
  .exhibitions-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .exhibition-card {
    padding: 16px;
  }
  .card-meta {
    font-size: 14px;
    line-height: 18.4px;
    margin-bottom: 20px;
  }
  .card-title {
    font-size: 16px;
    line-height: 22.4px;
  }
  .spa_contact_frm_popup .dialog-lightbox-message {
    margin: -20px;
  }
  .form-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
  .enquiry-popup-content {
    padding: 40px 20px 40px 20px;
  }
  .enquiry-popup-content {
    margin: 20px auto;
    height: 600px;
    overflow: scroll;
  }
  .enquiry-popup-content h3 {
    margin: 0 0 20px 0;
  }
  .load_more_past_exibutors .btn-load-more {
    font-size: 16px;
    line-height: 22.4px;
  }
}

@media (max-width: 550px) {
  .spaz_head_logo {
    max-width: 150px !important;
  }
  .spaz_it_head_btn a span {
    font-size: 13px;
  }
  .sp_gallery_image img {
    height: 240px;
  }
}

@media(max-width:480px){
  .splide__slide {
    flex: 0 0 calc(100% / 1.2); /* width per slide */
  }
  .sp_gallery_image img {
    height: 240px;
  }
}

@media (max-width: 420px) {
  .spaz_head_logo {
    max-width: 130px !important;
  }
  .spaz_it_head_btn a span {
    font-size: 11px;
  }
}

@media (max-width: 375px) {
  .spaz_head_logo {
    max-width: 100px !important;
  }
  .spaz_it_head_btn a span {
    font-size: 11px;
  }
  .spaz_lang_btn a span{
    font-size: 11px;
  }
  .spaz_lang_btn a{
    padding: 8px 4px 8px 4px;
  }
  .spaz_footer_links a{
    display: block;
  }
  .spaz_footer_links .spaz_pipe{
    display: none;
  }
}
