/* ============================================================================
   HUB-CONTENT: sayfa altı "bölümler + Sıkça Sorulan Sorular" bloğu
   (resources/views/revolution/_shared/hub-content.blade.php) — handoff_sss_icerik, 02.11.2026.
   Daha önce stil partial içindeki <style> ile her include'da tekrar basılıyordu; buraya taşındı,
   head.blade.php'de bir kez yüklenir. Aynı .hubContentArea sınıfını taşıyan komşu bloklarda
   (Fiyat Listesi, Değerlendirmeler, Rehberler ve sık sorulanlar) YALNIZ blok başlığı (h2) ölçeği
   ve bağlantı stili değişir; içlerine dokunulmaz (K1, K5, K11).
   Koyu tema varsayılan; açık tema body.light ile. Mobil kırılım 767px.
   ========================================================================== */

.hubContentArea {
    --hubZemin: #181820;
    --hubKart: #20212B;
    --hubKartAcik: #232430;
    --hubHover: #272834;
    --hubKenar: #333444;
    --hubKenarAcik: #3E3F52;
    --hubCizgi: #2A2B38;
    --hubM0: #EDEEF2;
    --hubM1: #C8C9D8;
    --hubM2: #ABACB5;
    --hubAcc: #80F1B1;
    --hubAccUstu: #0A2416;
    --hubAccT: rgba(128, 241, 177, .12);
    --hubAccHalka: rgba(128, 241, 177, .28);
    color: var(--hubM1);
}

body.light .hubContentArea {
    --hubZemin: #FAF9F5;
    --hubKart: #FFFFFF;
    --hubKartAcik: #FFFFFF;
    --hubHover: #F5F4EE;
    --hubKenar: #E3E1D9;
    --hubKenarAcik: #D4D2C9;
    --hubCizgi: #E8E6DF;
    --hubM0: #1F1E1D;
    --hubM1: #3D3C38;
    --hubM2: #6B6A65;
    --hubAcc: #137E4C;
    --hubAccUstu: #FFFFFF;
    --hubAccT: rgba(19, 126, 76, .10);
    --hubAccHalka: rgba(19, 126, 76, .25);
}

/* ---------- Blok başlığı (K5): dört blokta ortak — SSS, Fiyat Listesi, Değerlendirmeler, Rehberler ---------- */
.hubContentArea h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.2px;
    line-height: 1.3;
    color: var(--hubM0);
}
.hubContentArea .hubBaslik {margin: 0 0 14px;}

/* ---------- Yerleşim (K6): bölüm + SSS ≥1200'de iki sütun, altında alt alta ---------- */
.hubIzgara {display: flex; flex-direction: column; gap: 28px; min-width: 0;}
@media (min-width: 1200px) {
    .hubIzgara.cift {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 48px;
        align-items: start;
    }
}

/* ---------- Bölümler (K3): sola yaslı, en çok 780px ---------- */
.hubBolumler {min-width: 0; max-width: 780px; display: flex; flex-direction: column;}
.hubBolum {display: flex; flex-direction: column; gap: 10px;}
.hubBolum + .hubBolum {margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hubCizgi);}
.hubContentArea .hubBolum > .hubBolumBaslik {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--hubM0);
}
.hubBolumMetin {font-size: 14.5px; line-height: 1.75; color: var(--hubM1); text-align: left;}
.hubBolumMetin p {margin: 0 0 12px;}
.hubBolumMetin p:last-child {margin-bottom: 0;}
.hubBolumMetin ol, .hubBolumMetin ul {margin: 0 0 12px; padding-left: 20px;}
.hubBolumMetin li + li {margin-top: 6px;}
.hubBolumMetin strong {font-weight: 700; color: var(--hubM0);}
.hubContentArea .hubOzellik {--bs-table-bg: transparent; color: var(--hubM1); max-width: 560px; margin: 12px 0;}
.hubContentArea .hubOzellik th, .hubContentArea .hubOzellik td {border-color: var(--hubKenar); color: var(--hubM1); text-align: left;}
.hubContentArea .hubOzellik th {font-weight: 500; width: 55%;}

/* ---------- Bağlantı (K11): bölüm içi, Rehberler, Fiyat Listesi tek stil ---------- */
.hubContentArea .hubBolumMetin a,
.hubContentArea.kkBlok a,
.hubContentArea .oeksFiyatTablo td a {
    color: var(--hubAcc);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.hubContentArea .hubBolumMetin a:hover,
.hubContentArea.kkBlok a:hover,
.hubContentArea .oeksFiyatTablo td a:hover {color: var(--hubAcc); text-decoration-thickness: 2px; opacity: 1;}

/* ---------- SSS akordeonu (K9): her soru ayrı kart ---------- */
.hubSssKol {min-width: 0; display: flex; flex-direction: column;}
.hubContentArea .hubSss {
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 12px;
    --bs-accordion-inner-border-radius: 12px;
    --bs-accordion-btn-focus-box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}
.hubContentArea .hubSoru {
    position: relative;
    border-radius: 12px;
    background: var(--hubKart);
    border: 1px solid var(--hubKenar);
    color: var(--hubM1);
    overflow: hidden;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.hubContentArea .hubSoru:first-of-type, .hubContentArea .hubSoru:last-of-type {border-radius: 12px;}
.hubContentArea .hubSoru.acik {background: var(--hubKartAcik); border-color: var(--hubKenarAcik); box-shadow: inset 3px 0 0 var(--hubAcc);}
.hubContentArea .hubSoru.hubVurgu {border-color: var(--hubAcc); box-shadow: inset 3px 0 0 var(--hubAcc), 0 0 0 3px var(--hubAccHalka);}
.hubContentArea .hubSoru > h3 {margin: 0;}
.hubContentArea .hubSoruDugme,
.hubContentArea .hubSoruDugme:not(.collapsed) {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--hubM0);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    box-shadow: none;
    cursor: pointer;
    transition: background .15s ease;
}
.hubContentArea .hubSoruDugme::after {display: none;}
.hubContentArea .hubSoruDugme:hover {background: var(--hubHover);}
.hubContentArea .hubSoruDugme:focus {box-shadow: none; outline: none;}
.hubContentArea .hubSoruDugme:focus-visible {outline: 2px solid var(--hubAcc); outline-offset: 2px; border-radius: 6px;}
.hubSoruMetin {flex: 1 1 auto; min-width: 0;}
.hubSoruIkon {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hubAccT);
    color: var(--hubAcc);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.hubSoruIkon svg {display: block;}
.hubContentArea .hubSoruDugme:not(.collapsed) .hubSoruIkon {background: var(--hubAcc); color: var(--hubAccUstu);}
.hubContentArea .hubSoruDugme:not(.collapsed) .hubSoruIkon .dikey {display: none;}
.hubContentArea .hubCevap {padding: 0 18px 16px; font-size: 14px; line-height: 1.7; color: var(--hubM1);}
.hubSoru {scroll-margin-top: 24px;}

/* ---------- Sekme içi (K2, hubBare): başlık yok, üst boşluk 0, sekme gövdesi 16px ---------- */
.hubContentArea.hubBare .hubSss {margin-top: 0;}
.detailTabTarget:has(> .hubContentArea.hubBare) {padding: 16px;}
.dtPage .detailTabTarget:has(> .hubContentArea.hubBare) {padding: 16px;}

/* ---------- Mobil (≤767) ---------- */
@media (max-width: 767px) {
    .hubContentArea h2 {font-size: 19px;}
    .hubContentArea .hubBolum > .hubBolumBaslik {font-size: 16px;}
    .hubBolumMetin {font-size: 14px;}
    .hubContentArea .hubSoruDugme,
    .hubContentArea .hubSoruDugme:not(.collapsed) {padding: 14px 14px; font-size: 14.5px;}
    .hubContentArea .hubCevap {padding: 0 14px 14px;}
    .detailTabTarget:has(> .hubContentArea.hubBare) {padding: 14px;}
}

@media (prefers-reduced-motion: reduce) {
    .hubContentArea .hubSoru, .hubContentArea .hubSoruDugme, .hubSoruIkon {transition: none;}
}
