/* v1.2.51 — Ön Yüz Yönetim Merkezi Faz 2: responsive görünürlük + iç/arşiv düzeni */

/* Masaüstü: 1025px ve üzeri */
@media (min-width:1025px){
  body.xan-home-hide-hero-desktop-v251 #anasayfa,
  body.xan-home-hide-secondary_video-desktop-v251 .xan-secondary-video-section,
  body.xan-home-hide-strategy-desktop-v251 #xan-strategy,
  body.xan-home-hide-franchise-desktop-v251 #xan-franchise,
  body.xan-home-hide-tools-desktop-v251 #xan-tools,
  body.xan-home-hide-videos-desktop-v251 #xan-videos,
  body.xan-home-hide-projects-desktop-v251 #projeler,
  body.xan-home-hide-offices-desktop-v251 .xan-offices-section,
  body.xan-home-hide-blog-desktop-v251 .xan-blog-section,
  body.xan-home-hide-cta-desktop-v251 .xan-cta-section{display:none!important}
}

/* Tablet: 641–1024px */
@media (min-width:641px) and (max-width:1024px){
  body.xan-home-hide-hero-tablet-v251 #anasayfa,
  body.xan-home-hide-secondary_video-tablet-v251 .xan-secondary-video-section,
  body.xan-home-hide-strategy-tablet-v251 #xan-strategy,
  body.xan-home-hide-franchise-tablet-v251 #xan-franchise,
  body.xan-home-hide-tools-tablet-v251 #xan-tools,
  body.xan-home-hide-videos-tablet-v251 #xan-videos,
  body.xan-home-hide-projects-tablet-v251 #projeler,
  body.xan-home-hide-offices-tablet-v251 .xan-offices-section,
  body.xan-home-hide-blog-tablet-v251 .xan-blog-section,
  body.xan-home-hide-cta-tablet-v251 .xan-cta-section{display:none!important}
}

/* Mobil: 640px ve altı */
@media (max-width:640px){
  body.xan-home-hide-hero-mobile-v251 #anasayfa,
  body.xan-home-hide-secondary_video-mobile-v251 .xan-secondary-video-section,
  body.xan-home-hide-strategy-mobile-v251 #xan-strategy,
  body.xan-home-hide-franchise-mobile-v251 #xan-franchise,
  body.xan-home-hide-tools-mobile-v251 #xan-tools,
  body.xan-home-hide-videos-mobile-v251 #xan-videos,
  body.xan-home-hide-projects-mobile-v251 #projeler,
  body.xan-home-hide-offices-mobile-v251 .xan-offices-section,
  body.xan-home-hide-blog-mobile-v251 .xan-blog-section,
  body.xan-home-hide-cta-mobile-v251 .xan-cta-section{display:none!important}
}

/* Proje filtresi kapalıyken grid kesin olarak tek kolon olmalı. */
body.post-type-archive-xan_project .xan-listing-page.xan-project-filters-off-v251 .xan-listing-layout{
  grid-template-columns:minmax(0,1fr)!important;
}
body.post-type-archive-xan_project .xan-listing-page.xan-project-filters-off-v251 .xan-listing-results{
  min-width:0!important;
  width:100%!important;
}

/* Hero kapalı arşivlerde üst boşluğu gereksiz büyütme. */
body.post-type-archive-xan_project .xan-listing-page:not(:has(.xan-listing-hero)) .xan-section,
body.post-type-archive-xan_office .xan-network-page-v177:not(:has(.xan-network-hero-v177)) .xan-network-directory-v177,
body.post-type-archive-xan_consultant .xan-consultant-archive-page:not(:has(.xan-network-hero-v177)) .xan-network-directory-v177{
  padding-top:clamp(26px,3.5vw,44px)!important;
}
