/* TreCloud 1.6.7 — kompakt sayfa başlık bandı (iç sayfalar; TreForma 2.2.8 yöntemi, TreCloud kimliğiyle).
   Sorun: kurumsal iç sayfalarda (blog, haberler, bilgi bankası, referanslar, hakkımızda, KVKK, kariyer ...) kahraman 900+ px
   (rozet satırı, 50 px başlık, dört kutucuk, düğmeler, iletişim notu, sağda künye kartı); alan adı / yazılım / hizmet
   kahramanlarında sağda çerçeveli panel maketi çizimi. İlk ekranda içerik görünmüyordu.
   Çözüm (tek katman, tc-brand.css'ten sonra): band tam genişlik zemini ve alt çizgisi korunur (TreCloud görünümü), iç boşluk
   24 px; kırıntı tek satır 13 px; H1 28-40 px; açıklama 16 px ≤72ch; kurumsal bantta kutucuk, not ve künye kartı yok;
   sağ sütun yalnız gerçek görselle (.tc-hd-img / tema fotoğrafı: 16:9, en çok 272 px, köşe 16 px, çerçevesiz, telefonda gizli).
   Sabit renk yok, yalnız jeton. */
:root {
    --th-pad: 24px;
    --th-h1: clamp(1.75rem, 1.15rem + 1.6vw, 2.5rem);
    --th-img-w: 272px;
}
@media (max-width: 767.98px) {
    :root { --th-pad: 16px; }
}

/* ---------- 1. band ---------- */
html body main section.nl-host { padding-block: var(--th-pad) !important; }

/* ---------- 2. kırıntı: tek satır, ince ---------- */
html body main .nl-host .nl-crumbs {
    flex-wrap: nowrap; min-inline-size: 0; overflow: hidden;
    margin: 0 0 8px !important; padding: 0 !important; border: 0 !important;
    font-size: .8125rem !important; line-height: 20px !important; white-space: nowrap;
}
html body main .nl-host .nl-crumbs li { flex: none; }
html body main .nl-host .nl-crumbs li:last-child { flex: 0 1 auto; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }

/* rozet satırı: kutucuklu bantta tekrar (gizli), diğerlerinde ince */
html body main .nl-host .nl-host-pills { margin: 0 0 8px !important; }
html body main .nl-host:has(.nl-host-feats) .nl-host-pills,
html body main .nl-host.tc-hd-corp .nl-host-pills { display: none !important; }

/* ---------- 3. başlık ve açıklama ---------- */
html body main .nl-host h1 {
    margin: 0 !important;
    font-size: var(--th-h1) !important;
    line-height: 1.12 !important;
    letter-spacing: -.02em !important;
}
html body main .nl-host .nl-host-lead {
    margin: 8px 0 0 !important;
    max-inline-size: 72ch;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}
html body main .nl-host .nl-host-lead:empty { display: none !important; }

/* kutucuk / düğme / not: sıkı aralık */
html body main .nl-host .nl-host-feats { margin: 16px 0 0 !important; gap: 8px !important; }
html body main .nl-host .nl-host-feats > div { padding: 8px 8px 6px !important; box-shadow: none !important; }
html body main .nl-host .nl-host-feats i { margin-block-end: 2px !important; font-size: 1.25rem !important; }
html body main .nl-host .nl-host-cta { margin: 16px 0 0 !important; }
html body main .nl-host .nl-host-cta .nl-btn { min-block-size: 44px; }
html body main .nl-host .nl-host-note { margin-block-start: 12px !important; }
html body main .nl-host .nl-host-banner { margin-block-start: 16px !important; padding: 12px 16px !important; }
html body main .nl-host form[data-kb-search] { margin-block-start: 16px !important; }

/* ---------- 4. kurumsal iç sayfalar (hakkımızda, KVKK, blog, haberler, bilgi bankası, referanslar ...) ve iletişim ----------
   kutucuklar, iletişim notu ve sağdaki künye kartı aynı bilgiyi sayfanın altında / alt bilgide tekrar ediyordu */
html body main .nl-host:is(.tc-hd-corp, .nl-host-contact) :is(.nl-host-feats, .nl-host-note) { display: none !important; }
html body main .nl-host:is(.tc-hd-corp, .nl-host-contact) .nl-host-grid > aside.nl-side-card { display: none !important; }
/* alan adı: band altındaki uzantı notu ve şeridi aşağıdaki arama/uzantı listesini tekrar ediyordu */
html body main .nl-host-domain :is(.nl-host-note, .nl-host-banner) { display: none !important; }
/* kurumsal iç sayfa: tek düğme (İletişim / Durum ...) kapanış bandında ve menüde zaten var; band yalnız kırıntı + başlık + açıklama */
html body main .nl-host.tc-hd-corp .nl-host-cta { display: none !important; }
/* yazılım kataloğu: «modüller ayrı satılır» notu kataloğun altındaki şeritte tekrar ediyor */
html body main .nl-host-soft .nl-host-note { display: none !important; }

/* ---------- 5. sağ sütun: yalnız gerçek görsel ---------- */
html body main .nl-host .nl-host-grid { grid-template-columns: minmax(0, 1fr) !important; row-gap: 16px !important; align-items: center !important; }
html body main .nl-host .nl-host-grid:has(> :is(.tc-hd-img, .nl-mock-shot)) {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--th-img-w)) !important;
    column-gap: 32px !important;
}
html body main .nl-host .nl-host-grid > :is(.tc-hd-img, .nl-mock-shot) {
    margin: 0; padding: 0 !important; inline-size: 100%; max-inline-size: var(--th-img-w);
    aspect-ratio: 16 / 9; overflow: hidden;
    border: 0 !important; border-radius: 16px !important; box-shadow: none !important;
    background: var(--c-surface);
    justify-self: end;
}
html body main .nl-host .nl-host-grid > :is(.tc-hd-img, .nl-mock-shot) img {
    display: block; inline-size: 100%; block-size: 100%; max-block-size: none;
    object-fit: cover; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
@media (max-width: 767.98px) {
    html body main .nl-host .nl-host-grid > :is(.tc-hd-img, .nl-mock-shot) { display: none !important; }
    html body main .nl-host .nl-host-grid:has(> :is(.tc-hd-img, .nl-mock-shot)) { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---------- 6. banttan sonra: teklif sayfasında form hemen altta ---------- */
html body main .tc-kit-quote { padding-block: 24px 8px; scroll-margin-top: 96px; }
html body #kit-quote { scroll-margin-top: 96px; }

/* ---------- 7. çerez bandı (WiseCP .cookie-notice; kit consent) 1.6.7 ----------
   Kapalı tercihler kutusu (#cookie-prefs, ızgara 0 yükseklik) esnek satırda ~760 px yer tutuyor, metin ~100 px sütuna
   sıkışıyordu. Kart sarar; tercihler kendi satırında (kapalıyken akıştan çıkar), metin kalan genişliği alır. */
html body .cookie-notice .cookie-notice-card { flex-wrap: wrap !important; }
html body .cookie-notice .cookie-notice-text { flex: 1 1 22rem !important; min-inline-size: 0; max-inline-size: 72ch; }
html body .cookie-notice .cookie-notice-card > [data-cookie-prefs] { order: 9; flex: 1 0 100%; min-inline-size: 0; }
html body .cookie-notice .cookie-notice-card > [data-cookie-prefs]:not(.wui-show):not(.wui-shown) { display: none !important; }
html body .cookie-notice .cookie-notice-acts { flex: 0 1 auto !important; flex-wrap: wrap; justify-content: flex-end; margin-inline-start: auto !important; }
@media (max-width: 720px) {
    html body .cookie-notice .cookie-notice-acts { flex-basis: 100% !important; justify-content: stretch; }
}
html body .tc-k-consent-p { min-inline-size: min(100%, 18rem); }

/* ---------- 8. kahraman slaytı duraklat/oynat düğmesi (1.6.7, WCAG 2.2.2) ---------- */
html body .nl-slider-ctrl:has(> .tc-hero-toggle) > .nl-arrows { margin-inline-start: auto; }
html body .nl-slider-ctrl > .tc-hero-toggle {
    display: inline-grid; place-items: center; flex: none;
    inline-size: 34px; block-size: 34px; margin-inline-start: .4rem; padding: 0;
    border: 1px solid var(--nl-line, var(--c-border)); border-radius: 50%;
    background: var(--c-surface); color: var(--c-text); cursor: pointer;
}
html body .nl-slider-ctrl > .tc-hero-toggle:hover { border-color: var(--nl-sky, var(--c-primary)); color: var(--nl-sky, var(--c-primary)); }
html body .nl-slider-ctrl > .tc-hero-toggle:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
html body .nl-slider-ctrl > .tc-hero-toggle[hidden] { display: none; }
html body .tc-hero-toggle .is-play,
html body .tc-hero-toggle[aria-pressed="true"] .is-pause { display: none; }
html body .tc-hero-toggle[aria-pressed="true"] .is-play { display: inline; }
html body .is-face-izgara .nl-slider-ctrl > .tc-hero-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- 9. AA (1.6.7): yazılım kataloğu yan başlığı ve alt not #98a2b3 açık zeminde 2,2-2,6:1 idi ---------- */
html body .nl-soft-side h3,
html body .nl-soft-legal { color: var(--c-muted); }
