/**
 * FTEFE Fizyoterapi Sözlüğü - Ön Yüz Stilleri
 * FTEFE.com.tr Kurumsal Tasarım, Renk (#417572 / #0e8a9d) ve Tipografi (Lora / Manrope) Uyumlu
 */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    --ftefe-primary: #417572;
    --ftefe-primary-dark: #2d5452;
    --ftefe-primary-light: #f0f7f6;
    --ftefe-teal: #0e8a9d;
    --ftefe-teal-dark: #096877;
    --ftefe-accent-red: #ef4444;
    --ftefe-text-dark: #1e293b;
    --ftefe-text-muted: #64748b;
    --ftefe-border: #e2e8f0;
    --ftefe-bg-card: #ffffff;
    --ftefe-bg-subtle: #f8fafc;
    --ftefe-radius: 12px;
    --ftefe-shadow: 0 4px 16px rgba(65, 117, 114, 0.08);
    --ftefe-shadow-hover: 0 10px 28px rgba(14, 138, 157, 0.15);
}

.ftefe-glossary-container {
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 24px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ftefe-text-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.ftefe-main-h1,
.ftefe-archive-title,
.ftefe-section-title,
.card-title {
    font-family: 'Lora', Georgia, serif !important;
}

/* Breadcrumb */
.ftefe-breadcrumb {
    font-size: 0.88rem;
    color: var(--ftefe-text-muted);
    margin-bottom: 24px;
}
.ftefe-breadcrumb a {
    color: var(--ftefe-primary);
    text-decoration: none;
    font-weight: 600;
}
.ftefe-breadcrumb a:hover {
    color: var(--ftefe-teal);
    text-decoration: underline;
}
.ftefe-breadcrumb .sep {
    margin: 0 8px;
    color: #cbd5e1;
}
.ftefe-breadcrumb .current {
    color: var(--ftefe-text-dark);
}

/* Rozetler / Badges */
.ftefe-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.ftefe-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-abbrev {
    background: #e8f4f4;
    color: var(--ftefe-primary);
    border: 1px solid #b8dedb;
}
.badge-cat {
    background: #e0f2fe;
    color: var(--ftefe-teal);
    border: 1px solid #bae6fd;
}
.badge-body {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Başlık */
.ftefe-main-h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0c2024;
    line-height: 1.25;
    margin: 0 0 12px 0;
}
.ftefe-en-sub {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ftefe-teal);
    margin-top: 6px;
    font-family: 'Manrope', sans-serif !important;
}

.ftefe-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.92rem;
    color: var(--ftefe-text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ftefe-border);
    margin-bottom: 28px;
}
.ftefe-meta-item code {
    background: #edf5f4;
    color: var(--ftefe-primary-dark);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.88em;
}

/* GEO / AI Doğrudan Tanım Kutusu */
.ftefe-geo-direct-answer {
    background: linear-gradient(135deg, #f0f7f6 0%, #e6f6f8 100%);
    border-left: 4px solid var(--ftefe-teal);
    padding: 22px 26px;
    border-radius: 0 var(--ftefe-radius) var(--ftefe-radius) 0;
    margin-bottom: 34px;
    box-shadow: 0 2px 10px rgba(14, 138, 157, 0.07);
}
.ftefe-geo-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ftefe-teal-dark);
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.pulse-dot {
    width: 9px;
    height: 9px;
    background: var(--ftefe-teal);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(14, 138, 157, 0.7);
    animation: ftefe-pulse 2s infinite;
}
@keyframes ftefe-pulse {
    0% { box-shadow: 0 0 0 0 rgba(14, 138, 157, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(14, 138, 157, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 138, 157, 0); }
}
.ftefe-geo-text {
    font-size: 1.15rem;
    color: #0c3940;
    font-weight: 500;
    margin: 0;
    line-height: 1.65;
}

/* 3D Görsel ve Model Sahnesi */
.ftefe-visual-stage {
    margin-bottom: 36px;
}
.ftefe-3d-model-wrapper, .ftefe-image-figure {
    position: relative;
    background: #092128;
    border-radius: var(--ftefe-radius);
    overflow: hidden;
    margin: 0;
    box-shadow: 0 8px 30px rgba(9, 33, 40, 0.25);
}
.ftefe-3d-canvas {
    width: 100%;
    height: 480px;
    display: block;
    background: radial-gradient(circle at center, #13444f 0%, #092128 100%);
}
.ftefe-3d-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(9, 33, 40, 0.9);
    color: #38bdf8;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.ftefe-hero-image {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}
.ftefe-caption {
    padding: 14px 20px;
    background: #ffffff;
    border-top: 1px solid var(--ftefe-border);
    font-size: 0.9rem;
    color: var(--ftefe-text-muted);
}

/* Semantik Bilgi Kartı Tablosu */
.ftefe-facts-card {
    background: var(--ftefe-bg-card);
    border: 1px solid var(--ftefe-border);
    border-radius: var(--ftefe-radius);
    padding: 26px;
    margin-bottom: 36px;
    box-shadow: var(--ftefe-shadow);
}
.ftefe-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0c2024;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ftefe-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.fact-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.fact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ftefe-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.fact-val {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

/* Makale Gövdesi */
.ftefe-article-body {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 40px;
}
.ftefe-article-body h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #0c2024;
    margin: 36px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ftefe-primary-light);
}
.ftefe-article-body h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #13444f;
    margin: 24px 0 12px 0;
}
.ftefe-article-body ul, .ftefe-article-body ol {
    padding-left: 24px;
    margin: 16px 0;
}
.ftefe-article-body li {
    margin-bottom: 10px;
}

/* Akıllı İç Link Stili (ftefe.com.tr ile tam entegre) */
.ftefe-glossary-internal-link {
    color: var(--ftefe-primary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: all 0.15s ease;
}
.ftefe-glossary-internal-link:hover {
    color: var(--ftefe-teal);
    background-color: var(--ftefe-primary-light);
    border-radius: 2px;
}

/* SSS / FAQ Accordion */
.ftefe-faq-section {
    margin-bottom: 40px;
}
.ftefe-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ftefe-accordion-item {
    border: 1px solid var(--ftefe-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ftefe-accordion-item.active {
    border-color: var(--ftefe-primary);
    box-shadow: 0 4px 12px rgba(65, 117, 114, 0.08);
}
.ftefe-accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 22px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0c2024;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Lora', Georgia, serif;
}
.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ftefe-primary-light);
    color: var(--ftefe-primary);
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
    font-family: 'Manrope', sans-serif;
}
.faq-question-text {
    flex: 1;
}
.faq-arrow {
    font-size: 0.9rem;
    color: var(--ftefe-text-muted);
    transition: transform 0.25s ease;
}
.ftefe-accordion-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--ftefe-primary);
}
.ftefe-accordion-content {
    padding: 0 22px 20px 62px;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.65;
}

/* Doğrulanmış Kaynaklar */
.ftefe-citations-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--ftefe-radius);
    padding: 26px;
    margin-bottom: 40px;
}
.ftefe-citations-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ftefe-cite-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.ftefe-check-icon {
    color: var(--ftefe-primary);
    font-size: 20px;
    margin-top: 2px;
    font-weight: bold;
}
.cite-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}
.ftefe-external-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.84rem;
    color: var(--ftefe-teal);
    text-decoration: none;
    font-weight: 700;
}
.ftefe-external-pill:hover {
    text-decoration: underline;
}
.ftefe-verified-tag {
    font-size: 0.75rem;
    color: #047857;
    background: #d1fae5;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* E-E-A-T Bilgilendirme Kartı */
.ftefe-eeat-card {
    display: flex;
    gap: 18px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--ftefe-radius);
    margin-bottom: 24px;
}
.reviewer-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.15rem;
    color: #0c2024;
}
.reviewer-meta {
    font-size: 0.88rem;
    color: var(--ftefe-primary);
    font-weight: 600;
    margin: 0 0 8px 0;
}
.disclaimer-text {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* =========================================
   ARŞİV & A-Z FİHRİST DÜZENİ
   ========================================= */

.ftefe-archive-header {
    text-align: center;
    margin-bottom: 38px;
}
.ftefe-archive-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #0c2024;
    margin: 0 0 14px 0;
}
.ftefe-archive-subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: var(--ftefe-text-muted);
    font-size: 1.12rem;
    line-height: 1.65;
}

/* Filtre Paneli */
.ftefe-filter-panel {
    background: #fff;
    border: 1px solid var(--ftefe-border);
    border-radius: var(--ftefe-radius);
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: var(--ftefe-shadow);
}
.ftefe-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.ftefe-search-input-wrap {
    flex: 2;
    min-width: 280px;
    position: relative;
}
.ftefe-search-input-wrap input {
    width: 100%;
    padding: 13px 18px 13px 44px;
    border: 1.5px solid var(--ftefe-border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.ftefe-search-input-wrap input:focus {
    border-color: var(--ftefe-primary);
    box-shadow: 0 0 0 3px rgba(65, 117, 114, 0.15);
}
.ftefe-select-filters {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}
.ftefe-select-filters select {
    flex: 1;
    padding: 12px 14px;
    border: 1.5px solid var(--ftefe-border);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    color: #334155;
    font-weight: 500;
}

/* Alfabetik Buton Listesi */
.ftefe-alphabet-nav {
    border-top: 1px solid var(--ftefe-border);
    padding-top: 18px;
}
.ftefe-letter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.ftefe-letter-btn {
    background: var(--ftefe-bg-subtle);
    border: 1px solid var(--ftefe-border);
    color: #334155;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.ftefe-letter-btn:hover {
    background: var(--ftefe-primary-light);
    color: var(--ftefe-primary);
    border-color: #b8dedb;
}
.ftefe-letter-list li.active .ftefe-letter-btn {
    background: var(--ftefe-primary);
    color: #fff;
    border-color: var(--ftefe-primary);
}

/* Sonuç Sayacı */
.ftefe-results-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: var(--ftefe-text-muted);
    margin-bottom: 22px;
}

/* Terimler Grid Listesi */
.ftefe-terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 26px;
    margin-bottom: 48px;
}
.ftefe-term-card {
    background: #fff;
    border: 1px solid var(--ftefe-border);
    border-radius: var(--ftefe-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    box-shadow: var(--ftefe-shadow);
}
.ftefe-term-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ftefe-shadow-hover);
    border-color: #b8dedb;
}
.card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #092128;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}
.ftefe-term-card:hover .card-thumb img {
    transform: scale(1.05);
}
.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.latin-preview {
    font-size: 0.82rem;
    color: var(--ftefe-text-muted);
}
.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.card-title a {
    color: #0c2024;
    text-decoration: none;
}
.card-title a:hover {
    color: var(--ftefe-primary);
}
.card-title small {
    display: block;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--ftefe-teal);
    font-family: 'Manrope', sans-serif;
}
.card-summary {
    font-size: 0.94rem;
    color: #475569;
    margin: 0 0 18px 0;
    flex: 1;
    line-height: 1.6;
}
.ftefe-btn-detail {
    display: inline-flex;
    align-items: center;
    color: var(--ftefe-primary);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}
.ftefe-btn-detail:hover {
    color: var(--ftefe-teal);
}

/* Alt SEO Metin Alanı */
.ftefe-archive-seo-footer {
    background: var(--ftefe-bg-subtle);
    border: 1px solid var(--ftefe-border);
    border-radius: var(--ftefe-radius);
    padding: 32px;
    margin-top: 40px;
    font-size: 1rem;
    color: #475569;
}
.ftefe-archive-seo-footer h2 {
    font-size: 1.5rem;
    color: #0c2024;
    margin-top: 0;
}

/* Kategori Zengin SEO Kartı */
.ftefe-category-seo-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 5px solid var(--ftefe-primary);
    border-radius: var(--ftefe-radius);
    padding: 28px;
    margin: 22px 0 35px 0;
    box-shadow: 0 4px 14px rgba(12, 32, 36, 0.04);
}
.seo-intro-text {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #1e293b;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}
.seo-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.seo-detail-box {
    display: flex;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}
.seo-box-icon {
    font-size: 1.6rem;
    line-height: 1;
}
.seo-box-content strong {
    display: block;
    color: var(--ftefe-primary-dark);
    font-size: 0.95rem;
    margin-bottom: 5px;
}
.seo-box-content p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
}

.ftefe-section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.ftefe-term-count-pill {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #bae6fd;
}
.card-en-sub {
    font-size: 0.92rem;
    color: var(--ftefe-teal);
    margin-bottom: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .ftefe-main-h1 { font-size: 1.85rem; }
    .ftefe-3d-canvas { height: 320px; }
    .ftefe-search-row { flex-direction: column; }
    .ftefe-select-filters { flex-direction: column; }
    .ftefe-terms-grid { grid-template-columns: 1fr; }
    .ftefe-meta-line { flex-direction: column; gap: 6px; }
}
