@media(max-width:1100px){
  .primary-nav{gap:22px;font-size:12.5px}
  .about-wrap{gap:55px}
}

@media(max-width:1000px){
  .about-wrap{
    width:min(100% - 48px,760px);
    grid-template-columns:1fr;
    gap:55px;
  }

  .about-title{font-size:32px}
  .about-text,.about-menu{transform:translateX(0);opacity:1}

  .gallery-rows-head,
  .gallery-row-header{
    width:min(100% - 48px,760px);
  }

  .gallery-rows-head{
    display:block;
  }

  .gallery-rows-title{font-size:28px}
  .gallery-rows-desc{margin-top:12px}
}

@media(max-width:900px){
  .header-top{height:95px}
  .header-contact{display:none}
  .menu-trigger{right:28px;top:34px}
  .primary-nav{display:none}
  .header-logo{top:28px}
  .header-logo strong{font-size:25px}
  .header-logo small{font-size:11px}
  .hero-content{padding:150px 28px 60px}
  .container{width:min(100% - 48px,760px)}
}

@media(max-width:640px){
  .gallery-track{
    padding-right:24px;
    padding-left:24px;
    gap:16px;
  }

  .gallery-card{
    flex-basis:78vw;
    height:54vw;
  }

  .footer-inner{
    display:block;
    line-height:2;
  }
}
/* FORCE LOGO FIX - HOME HEADER */
.site-header .header-logo {
  width: 260px !important;
  height: 110px !important;
  min-width: 260px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

.site-header .header-logo img,
.site-header .header-logo .header-logo-img {
  width: 240px !important;
  max-width: 240px !important;
  height: auto !important;
  max-height: 100px !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .55)) !important;
}

/* Side Panel Logo Fix */
.side-panel .panel-logo-image-box {
  width: 150px !important;
  height: 150px !important;
  margin: 0 auto 18px !important;
  border-radius: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.side-panel .panel-logo-img {
  width: 120px !important;
  max-width: 120px !important;
  max-height: 110px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Mobile */
@media(max-width: 720px) {
  .site-header .header-logo {
    width: 210px !important;
    min-width: 210px !important;
    height: 88px !important;
  }

  .site-header .header-logo img,
  .site-header .header-logo .header-logo-img {
    width: 190px !important;
    max-width: 190px !important;
    max-height: 78px !important;
  }
}
/* =========================
   GLOBAL SECTION SPACING FIX
   ========================= */

main section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

main section+section {
  margin-top: 0 !important;
}

/* کنترل فاصله داخلی همه سکشن‌ها */
main>section {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* سکشن‌های فول‌اسکرین نباید padding اضافی بگیرند */
.hero,
.home-tourism-banner,
.page-bottom-video {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* سکشن گالری جمع‌تر شود */
.gallery-rows-section {
  padding-bottom: 16px !important;
}

/* آخرین ردیف گالری به بنر بعدی بچسبد */
.gallery-row:last-child,
.gallery-rows-section>section:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* بنر بعد از گالری بدون فاصله */
.gallery-rows-section+.home-tourism-banner,
.gallery-rows-section+.page-bottom-video,
main section+.home-tourism-banner,
main section+.page-bottom-video {
  margin-top: 0 !important;
}

/* موبایل */
@media(max-width: 720px) {
  main>section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero,
  .home-tourism-banner,
  .page-bottom-video {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}