/* REVIEW: migrated from TAŞI / KONTROL. Verify usage during visual QA. */
.cl-landing-wrapper { 
    background: transparent; color: var(--text-main); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; padding: 60px 0;
}

/* REVIEW: migrated from TAŞI / KONTROL. Verify usage during visual QA. */
.cl-dashboard-wrapper {
    background-color: var(--bg-dark); color: var(--text-main); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; padding: 40px 20px; min-height: 100vh; box-sizing: border-box;
}

/* REVIEW: migrated from TAŞI / KONTROL. Verify usage during visual QA. */
.cl-dashboard-container { max-width: 1100px; margin: 0 auto; }

.cl-dashboard-container,
.cl-settings-container {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cl-dashboard-wrapper {
        min-width: 0;
        min-height: 100svh;
        padding: 24px 14px;
    }
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* Sayfada tema başlığı ve sol menü kalıntılarını gizle */
body:has(.cl-public-hero) h1.post-title,
body:has(.cl-public-hero) .is-left-sidebar.is-left-sidebar-fixed.has-navigation-show {
    display: none !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* Public landing sayfasında tema/container kaynaklı sol boşlukları sıfırla */
body:has(.cl-public-hero) .content-area,
body:has(.cl-public-hero) .site-content,
body:has(.cl-public-hero) .main-content,
body:has(.cl-public-hero) .content-wrapper,
body:has(.cl-public-hero) .page-content,
body:has(.cl-public-hero) .container,
body:has(.cl-public-hero) .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* Public sayfada gizlenen sol sidebar'ın bıraktığı boşluğu sıfırla */
body:has(.cl-public-hero) .is-center-content,
body:has(.cl-public-hero) #content-container,
body:has(.cl-public-hero) #main-content,
body:has(.cl-public-hero) .content-container,
body:has(.cl-public-hero) .site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    left: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* Sadece içinde CRM olan kapsayıcıların boşluklarını yok eder */
div#content-container:has(#clarify-crm-wrapper),
div#content:has(#clarify-crm-wrapper),
div.intern-padding:has(#clarify-crm-wrapper),
article:has(#clarify-crm-wrapper) {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* Dıştaki kapsayıcının üst/alt iç boşluğunu al */
div.is-center-content:has(#clarify-crm-wrapper) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* İçteki bölümün üst/alt dış boşluğunu al */
section#main-content:has(#clarify-crm-wrapper) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* =========================================
   TEMA ZORUNLU YÜKSEKLİĞİNİ (1010px) İPTAL ET
   ========================================= */
#page-wrapper .is-center-content:has(#clarify-crm-wrapper),
div.is-center-content:has(#clarify-crm-wrapper) {
    min-height: auto !important;
}

/* REVIEW: migrated from deferred TAŞI / SCOPE. Already anchored to #clarify-crm-wrapper but hides the WOffice/theme footer. Verify CRM footer behavior during visual QA. */
/* 1. Sadece sayfanın içinde CRM varsa Footer'ı tamamen yok et */
body:has(#clarify-crm-wrapper) #main-footer,
#page-wrapper:has(#clarify-crm-wrapper) #main-footer {
    display: none !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* Sadece içinde CRM olan kapsayıcıların boşluklarını yok eder */
div#content-container:has(#clarify-crm-wrapper),
div#content:has(#clarify-crm-wrapper),
div.intern-padding:has(#clarify-crm-wrapper),
article:has(#clarify-crm-wrapper) {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* Dıştaki kapsayıcının üst/alt iç boşluğunu al */
div.is-center-content:has(#clarify-crm-wrapper) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* İçteki bölümün üst/alt dış boşluğunu al */
section#main-content:has(#clarify-crm-wrapper) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* REVIEW: migrated from TAŞI / SCOPE. Anchored to Clarify context but affects WOffice/theme layout. Verify during visual QA. */
/* =========================================
   TEMA ZORUNLU YÜKSEKLİĞİNİ (1010px) İPTAL ET
   ========================================= */
#page-wrapper .is-center-content:has(#clarify-crm-wrapper),
div.is-center-content:has(#clarify-crm-wrapper) {
    min-height: auto !important;
}
