/* ==========================================================================
   Solid Medya — Sıkça sorulan sorular
   SSS sayfasında soruları Inter yazı tipiyle, 3 sütunlu bir ızgarada sunuyoruz.
   ========================================================================== */

/* SSS — Inter (SIL OFL, ücretsiz) + 3 sütun grid */
/* Inter yüklenene kadar metrik eşli Arial kullanıyoruz — font değişince satır kırılması/CLS olmuyor */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('ArialMT');
    ascent-override: 90.49%;
    descent-override: 22.56%;
    line-gap-override: 0%;
    size-adjust: 107.06%;
}

.faq-page-wrapper {
    --faq-font:
        'Inter', 'Inter Fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
        Arial, sans-serif;
    --faq-gold: #ffbc00;
    --faq-text: #ffffff;
    --faq-muted: rgba(255, 255, 255, 0.62);
    --faq-border: rgba(255, 255, 255, 0.08);
    --faq-surface: rgba(255, 255, 255, 0.03);
    position: relative;
    padding: 120px 0 104px;
    font-family: var(--faq-font);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 188, 0, 0.04) 0%, transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(255, 188, 0, 0.02) 0%, transparent 24%);
}

body .black-bg-3 {
    background-color: #050505 !important;
}

.faq-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.faq-page-header {
    margin-bottom: 24px;
    text-align: center;
}

.faq-page-title {
    margin: 0 0 10px;
    font-family: var(--faq-font);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--faq-text);
}

.faq-page-title .faq-page-title__accent {
    color: var(--faq-gold);
}

.faq-page-lead {
    margin: 0 auto;
    max-width: 560px;
    font-family: var(--faq-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--faq-muted);
}

.faq-page-back {
    color: var(--faq-gold);
    text-decoration: none;
    font-weight: 500;
}

.faq-page-back:hover {
    text-decoration: underline;
}

.faq-search {
    margin-bottom: 24px;
}

.faq-search__field {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search__icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 15px;
    pointer-events: none;
}

.faq-search__input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 44px 14px 44px;
    border-radius: 12px;
    border: 1px solid var(--faq-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--faq-text);
    font-family: var(--faq-font);
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.faq-search__input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.faq-search__input:focus {
    border-color: rgba(255, 188, 0, 0.45);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 188, 0, 0.1);
}

.faq-search__clear {
    position: absolute;
    right: 10px;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    cursor: pointer;
    transition:
        color 0.15s ease,
        background 0.15s ease;
}

.faq-search__clear.is-visible {
    display: flex;
}

.faq-search__clear:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.faq-search__meta {
    margin: 10px 0 0;
    font-family: var(--faq-font);
    font-size: 12px;
    font-weight: 500;
    color: var(--faq-muted);
}

.faq-search__meta strong {
    color: var(--faq-gold);
    font-weight: 600;
}

.faq-no-results {
    display: none;
    grid-column: 1 / -1;
    padding: 48px 24px;
    text-align: center;
    border-radius: 12px;
    border: 1px dashed var(--faq-border);
    background: var(--faq-surface);
}

.faq-no-results.is-visible {
    display: block;
}

.faq-no-results__title {
    margin: 0 0 8px;
    font-family: var(--faq-font);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.faq-no-results__text {
    margin: 0 0 16px;
    font-family: var(--faq-font);
    font-size: 13px;
    color: var(--faq-muted);
}

.faq-no-results__btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background: var(--faq-gold);
    color: #000;
    font-family: var(--faq-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.faq-item-card.faq-item-card--hidden {
    display: none !important;
}

.faq-item-card.faq-deep-target,
.faq-content-wrap {
    scroll-margin-top: 110px;
}

.faq-item-card.faq-deep-target {
    border-color: rgba(255, 188, 0, 0.35) !important;
}

@keyframes faqDeepPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 188, 0, 0);
    }
    40% {
        box-shadow: 0 0 0 3px rgba(255, 188, 0, 0.28);
    }
}

.faq-item-card.faq-deep-pulse {
    animation: faqDeepPulse 1.1s ease 2;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.faq-item-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--faq-surface);
    border: 1px solid var(--faq-border);
    border-radius: 12px;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.faq-item-card:hover {
    border-color: rgba(255, 188, 0, 0.22);
    background: rgba(255, 255, 255, 0.045);
}

.faq-item-card.active-card {
    border-color: rgba(255, 188, 0, 0.32);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item-heading {
    margin: 0;
    font: inherit;
}

.faq-trigger {
    width: 100%;
    padding: 16px 16px 14px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.faq-trigger-text {
    flex: 1;
    font-family: var(--faq-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.faq-item-card.active-card .faq-trigger-text {
    color: var(--faq-gold);
}

.faq-status-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 188, 0, 0.1);
    color: var(--faq-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.faq-item-card.active-card .faq-status-icon {
    background: var(--faq-gold);
    color: #000;
    transform: rotate(45deg);
}

.faq-answer-inner {
    padding: 0 16px 16px;
}

.faq-answer-inner p {
    margin: 0;
    font-family: var(--faq-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--faq-muted);
}

.faq-permalink {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--faq-font);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 188, 0, 0.7);
    text-decoration: none;
}

.faq-permalink:hover {
    color: var(--faq-gold);
    text-decoration: underline;
}

.highlight-text,
mark.highlight-text {
    color: #000;
    background: var(--faq-gold);
    padding: 0 2px;
    border-radius: 2px;
}

/* Tekil soru sayfası (/sss/{soru}): odak soru tam genişlikte, altında ilgili soruların bağlantı kartları */
.faq-grid--detail .faq-item-card.faq-deep-target,
.faq-grid--detail .faq-related-title,
.faq-grid--detail .faq-related-all {
    grid-column: 1 / -1;
}

.faq-related-title {
    margin: 18px 0 2px;
    font-family: var(--faq-font);
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.faq-related-all {
    margin: 10px 0 0;
}

a.faq-trigger {
    text-decoration: none;
}

a.faq-trigger:hover .faq-trigger-text,
a.faq-trigger:focus-visible .faq-trigger-text {
    color: var(--faq-gold);
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .faq-page-wrapper {
        padding: 100px 0 80px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .faq-trigger {
        padding: 14px;
    }

    .faq-trigger-text {
        font-size: 15px;
    }
}
