/* PsikoHayat'a özgü eklemeler. bilgi-parki.css NP Bilgi Parkı tasarımının kendisidir (değiştirilmez), bu dosya üstüne ekler. */

html, body {
    margin: 0;
}

.bp {
    min-height: 100dvh;
}

/* Türkçe dışındaki dillerde metinler JS ile değişene kadar gizli (boot.js; JS çalışmazsa 2 sn sonra açılır) */
html.i18n-pending .bp {
    visibility: hidden;
}

.bp .masthead .logo {
    width: 190px;
}

/* "PsikoHayat" bitişik: tasarımdaki gibi ilk yarı beyaz ve ince, ikinci yarı teal ve kalın */
.bp .hero h1 .title-first {
    color: inherit;
    font-weight: inherit;
}

/* ---------- Hero altı bölüm linkleri (menü yerine; sayfa içinde kaydırır) ---------- */
.bp .section-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.bp .section-nav ul {
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.bp .section-nav a {
    display: block;
    padding: 18px 0 16px;
    border-bottom: 3px solid transparent;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.bp .section-nav a:hover,
.bp .section-nav a:focus-visible {
    border-bottom-color: var(--teal);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px; /* yapışkan bölüm linkleri başlıkları örtmesin */
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ---------- Sayılar ---------- */
.bp .toolbar h2 {
    margin: 0;
    padding: 0 0 18px;
    color: var(--navy);
    font-size: 26px;
    letter-spacing: -0.3px;
}

/* Çevirisi olmayan dilde "0 sayı" gizlenir; tasarımdaki display kuralları hidden'ı ezmesin */
.bp .collection-stat[hidden],
.bp .language-picker[hidden] {
    display: none;
}

/* Eşit kart boyutu: kapaklar kırpılmadan aynı kutuya sığar (NP Bilgi Parkı ile aynı kural) */
.bp .grid.publication-panel[style] .cover {
    aspect-ratio: var(--cover-ratio);
    height: auto;
    align-self: auto;
}

.bp .grid.publication-panel[style] .cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bp .cover-label {
    position: absolute;
    inset-inline: 0;
    bottom: -40px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.bp .grid.publication-panel {
    row-gap: 78px;
    padding-bottom: 40px;
}

.bp .empty a {
    color: var(--teal);
    font-weight: 700;
}

/* ---------- İçerik bölümleri (Hakkında, SSS, Bize Ulaşın) ---------- */
.bp .info-section {
    padding: 64px 0;
    border-top: 1px solid var(--line);
}

.bp .info-section:nth-of-type(even) {
    background: #fff;
}

.bp .info-section h2 {
    margin: 0 0 24px;
    color: var(--navy);
    font-size: 36px;
    letter-spacing: -0.8px;
}

.bp .info-section p {
    max-width: 860px;
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.65;
}

.bp .faq {
    max-width: 860px;
    border-top: 1px solid var(--line);
}

.bp .faq details {
    border-bottom: 1px solid var(--line);
}

.bp .faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.bp .faq summary::-webkit-details-marker {
    display: none;
}

.bp .faq summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--teal);
    font-size: 26px;
    line-height: 1;
}

.bp .faq details[open] summary::after {
    content: "−";
}

.bp .faq details p {
    margin: 0 0 18px;
}

.bp .contact-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
}

.bp .contact-list div {
    padding-top: 14px;
    border-top: 3px solid var(--teal);
}

.bp .contact-list dt {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bp .contact-list dd {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.5;
}

.bp .contact-list a {
    color: var(--ink);
    text-decoration: none;
}

.bp .contact-list a:hover {
    color: var(--teal);
}

.bp [dir="ltr"] {
    unicode-bidi: isolate; /* RTL sayfada telefon / e-posta düzgün görünsün */
}

/* Footer: çerez tercihlerini tekrar açma */
.bp .bp-consent-settings {
    margin-inline-start: auto;
    margin-inline-end: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    opacity: 0.85;
}

.bp .bp-consent-settings:hover,
.bp .bp-consent-settings:focus-visible {
    opacity: 1;
}

@media (max-width: 1100px) {
    .bp .contact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .bp .section-nav ul {
        gap: 24px;
    }

    .bp .section-nav a {
        font-size: 15px;
        padding: 15px 0 13px;
    }

    .bp .info-section {
        padding: 44px 0;
    }

    .bp .info-section h2 {
        font-size: 28px;
    }

    .bp .info-section p,
    .bp .faq summary {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    .bp .contact-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .bp .masthead .logo {
        width: 160px;
    }
}
