/* ═══════════════════════════════════════════════════════════════
   حاشیه یکسان قالب — لندینگ + فروشگاه + تماس + وبلاگ + ...
   (داشبورد از این قوانین مستثناست)
   ═══════════════════════════════════════════════════════════════ */

.landing-home.site-home {
  --tc-shell-gutter: 0.55rem;
  --tc-container-pad: 0.85rem;
}

.landing-home.site-home .tc-shell {
  width: min(calc(100% - 2 * var(--tc-shell-gutter)), var(--tc-max));
  margin: var(--tc-shell-top) auto 0;
}

.landing-home.site-home .tc-container {
  padding-inline: var(--tc-container-pad);
}

/* صفحات site_shell: انیمیشن reveal بدون JS لندینگ محتوا را مخفی نکند */
.landing-home.site-home [data-reveal],
.landing-home[data-site-root] [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.landing-home.site-home .tc-seo-hub__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px dashed rgba(109, 60, 224, 0.25);
  color: #6d648f;
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .landing-home.site-home {
    padding-inline: var(--tc-shell-gutter);
    padding-bottom: var(--tc-shell-gutter);
  }

  .landing-home.site-home .tc-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: var(--tc-shell-gutter) auto 0;
  }

  .landing-home.site-home .tc-container {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(0.35rem, 1.2vw, calc(var(--tc-container-pad) * 0.9));
  }
}
