﻿/* =========================
   FAQ PAGE LAYOUT
   ========================= */

.pfq {
    padding: 84px 0 32px;
}

    /* =========================
   SUBHEADER OVERRIDE (FAQ)
   məqsəd: tam ekran enini yox, container enini tutsun
   ========================= */

    .pfq .pti-subheader {
        /* subheader.css-də 100vw / full-bleed varsa, burda sıxışdırırıq */
        width: 100%;
        max-width: 980px;
        margin: 0 auto 32px;
        padding: 10px 14px;
        /* full-bleed effektini öldürək */
        left: auto;
        right: auto;
        /* sticky/fixed varsa, FAQ-da lazım deyil (istəsən saxla) */
        position: static;
        /* vizual */
        border-radius: 16px;
        border: 1px solid rgba(0,0,0,.08);
        background: #fff;
        box-shadow: 0 6px 18px rgba(0,0,0,.06);
    }

    /* subheader içi spacing */
    .pfq .pti-subheader__left,
    .pfq .pti-subheader__right {
        min-width: 0;
    }

    .pfq .pti-subheader__brand {
        font-weight: 700;
    }

    /* nav wrap + overflow fix (telefon/tablet) */
    .pfq .pti-subheader__nav {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .pfq .pti-subheader__link {
        white-space: nowrap;
    }

    /* CTA çox uzanmasın */
    .pfq .pti-subheader__cta {
        white-space: nowrap;
    }

/* =========================
   HEADER
   ========================= */

.pfq-head {
    max-width: 980px;
    margin: 0 auto 16px;
    padding: 0 14px;
}

    .pfq-head h1 {
        margin: 0 0 6px;
        font-size: 28px;
        line-height: 1.15;
    }

    .pfq-head p {
        margin: 0;
        opacity: .85;
    }

/* =========================
   FAQ LIST
   ========================= */

.pfq-list {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 14px;
    display: grid;
    gap: 10px;
}

.pfq-item {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

    .pfq-item summary {
        cursor: pointer;
        list-style: none;
        padding: 14px 14px;
        font-weight: 650;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

        .pfq-item summary::-webkit-details-marker {
            display: none;
        }

        .pfq-item summary::after {
            content: "▾";
            opacity: .6;
            transition: transform .18s ease;
            color: #00fd54;
        }

    .pfq-item[open] summary::after {
        transform: rotate(180deg);
    }

.pfq-body {
    padding: 0 14px 14px;
    opacity: .92;
    line-height: 1.55;
}

    .pfq-body p {
        margin: 10px 0 0;
    }

/* =========================
   FOOTER
   ========================= */

.pfq-foot {
    max-width: 980px;
    margin: 16px auto 0;
    padding: 0 14px;
    opacity: .8;
    font-size: 14px;
}

/* =========================
   RESPONSIVE tweaks
   ========================= */

@media (max-width: 680px) {
    .pfq .pti-subheader {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .pfq-head h1 {
        font-size: 24px;
    }
}
