/*
Theme Name: Flavor Flavor
Theme URI: https://bahisskor.com
Description: High-performance WordPress theme for review sites. Zero jQuery, zero external fonts, full Schema.org support.
Version: 1.4
Author: Mercury AI
Text Domain: flavor-flavor
License: GPLv2 or later
*/

/* ─── Custom Properties ────────────────────────────────────── */
:root {
    --ff-primary: #1a365d;
    --ff-primary-light: #2a4a7f;
    --ff-bg: #f8fafc;
    --ff-surface: #ffffff;
    --ff-text: #1e293b;
    --ff-text-muted: #64748b;
    --ff-border: #e2e8f0;
    --ff-positive: #22c55e;
    --ff-warning: #f59e0b;
    --ff-negative: #ef4444;
    --ff-cta: #ef4444;
    --ff-cta-hover: #dc2626;
    --ff-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ff-max-w: 1140px;
    --ff-radius: 10px;
    --ff-radius-sm: 6px;
    --ff-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --ff-shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
}

/* ─── Dark Mode ───────────────────────────────────────────── */
[data-theme="dark"] {
    --ff-primary: #2563eb;
    --ff-primary-light: #3b82f6;
    --ff-bg: #0f172a;
    --ff-surface: #1e293b;
    --ff-text: #e2e8f0;
    --ff-text-muted: #94a3b8;
    --ff-border: #334155;
    --ff-shadow: 0 1px 3px rgba(0,0,0,0.3);
    --ff-shadow-lg: 0 4px 16px rgba(0,0,0,0.4);
}
[data-theme="dark"] .site-header { background: #0f172a; }
[data-theme="dark"] .site-footer { background: #0f172a; }
[data-theme="dark"] .hero { background: #0f172a; }
[data-theme="dark"] .leaders-inline-box { background: linear-gradient(135deg, #0c1222 0%, #1a2744 100%); }
[data-theme="dark"] .leader-highlight-tag { background: #1e3a3a; color: #6ee7b7; }
[data-theme="dark"] .bottom-search-box { background: #1e293b; }
[data-theme="dark"] .bottom-search-close { background: #334155; }
[data-theme="dark"] .search-form input[type="search"] { background: #0f172a; color: #e2e8f0; border-color: #334155; }
[data-theme="dark"] .hero-search input { background: #1e293b; color: #e2e8f0; }
[data-theme="dark"] .bottom-search-box input[type="search"] { background: #0f172a; color: #e2e8f0; border-color: #334155; }
[data-theme="dark"] img { opacity: 0.9; }

/* ─── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--ff-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ff-text);
    background: var(--ff-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ff-primary); text-decoration: none; }
a:hover { color: var(--ff-primary-light); }
ul, ol { padding-left: 1.25em; }

/* ─── Layout ───────────────────────────────────────────────── */
.container { max-width: var(--ff-max-w); margin: 0 auto; padding: 0 1rem; }

/* ─── Header ───────────────────────────────────────────────── */
.site-header {
    background: var(--ff-primary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--ff-shadow-lg);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}
.site-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.site-logo:hover { color: #fff; }
.site-logo-icon { width: 28px; height: 28px; border-radius: 4px; }

.header-right { display: flex; align-items: center; gap: 1rem; }

/* Dark mode toggle */
.dark-mode-toggle {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.dark-mode-toggle:hover { background: rgba(255,255,255,0.15); color: #fff; }
.dark-mode-toggle .icon-moon { display: none; }
[data-theme="dark"] .dark-mode-toggle .icon-sun { display: none; }
[data-theme="dark"] .dark-mode-toggle .icon-moon { display: block; }

/* Nav */
.nav-menu { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 0; }
.nav-menu a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: #fff; }

/* CSS-only mobile menu */
.menu-toggle { display: none; }
.menu-toggle-label {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 110;
}
.menu-toggle-label span,
.menu-toggle-label span::before,
.menu-toggle-label span::after {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle-label span { top: 9px; }
.menu-toggle-label span::before { content: ''; top: -7px; }
.menu-toggle-label span::after { content: ''; top: 7px; }
.menu-toggle:checked + .menu-toggle-label span { background: transparent; }
.menu-toggle:checked + .menu-toggle-label span::before { transform: rotate(45deg); top: 0; }
.menu-toggle:checked + .menu-toggle-label span::after { transform: rotate(-45deg); top: 0; }

/* ─── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--ff-text-muted);
    padding: 1rem 0;
}
.breadcrumb a { color: var(--ff-text-muted); }
.breadcrumb a:hover { color: var(--ff-primary); }
.breadcrumb .sep { margin: 0 0.4rem; opacity: 0.5; }

/* ─── Trust Score Ring ─────────────────────────────────────── */
.score-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.score-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(var(--ring-color) calc(var(--score) * 3.6deg), var(--ff-border) 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
    animation: scoreRingFill 1s ease-out forwards;
}
@keyframes scoreRingFill {
    from { transform: rotate(-90deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
}
.score-ring .score-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ring-color);
    position: relative;
    z-index: 1;
}
.score-ring .score-label {
    font-size: 0.65rem;
    color: var(--ff-text-muted);
    position: absolute;
    bottom: 16px;
    z-index: 1;
}
.score-positive { --ring-color: var(--ff-positive); }
.score-warning  { --ring-color: var(--ff-warning); }
.score-negative { --ring-color: var(--ff-negative); }

/* ─── Review Card (single.php) ─────────────────────────────── */
.review-card {
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--ff-shadow);
}
.review-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--ff-border);
}
.review-card-header .meta-info { flex: 1; }
.review-card-header .brand-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ff-text);
    margin-bottom: 0.25rem;
}

.rec-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
}
.rec-badge.positive { background: var(--ff-positive); }
.rec-badge.negative { background: var(--ff-negative); }

.complaint-count {
    font-size: 0.85rem;
    color: var(--ff-text-muted);
    margin-top: 0.35rem;
}

.review-summary {
    background: var(--ff-bg);
    border-left: 3px solid var(--ff-primary);
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 0 var(--ff-radius-sm) var(--ff-radius-sm) 0;
    font-size: 0.92rem;
    color: var(--ff-text-muted);
    font-style: italic;
    line-height: 1.65;
}

/* Pros / Cons Grid */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.pros-col h4, .cons-col h4 { font-size: 0.9rem; margin-bottom: 0.6rem; font-weight: 700; }
.pros-col h4 { color: var(--ff-positive); }
.cons-col h4 { color: var(--ff-negative); }
.pros-cons ul { list-style: none; padding: 0; }
.pros-cons li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    color: var(--ff-text);
    line-height: 1.55;
}
.pros-col li::before { content: '\2713'; position: absolute; left: 0; color: var(--ff-positive); font-weight: 700; }
.cons-col li::before { content: '\2717'; position: absolute; left: 0; color: var(--ff-negative); font-weight: 700; }

/* CTA Button */
.cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--ff-cta);
    color: #fff !important;
    padding: 0.85rem;
    border-radius: var(--ff-radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}
.cta-button:hover { background: var(--ff-cta-hover); color: #fff; }

/* ─── Article Content ──────────────────────────────────────── */
.article-content {
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 2rem 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--ff-shadow);
}
.article-content h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; color: var(--ff-primary); }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; color: var(--ff-text); }
.article-content h4 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin-bottom: 1rem; }
.article-content li { margin-bottom: 0.3rem; }
.article-content blockquote {
    border-left: 3px solid var(--ff-primary);
    padding: 0.75rem 1rem;
    margin: 1.25rem 0;
    background: var(--ff-bg);
    border-radius: 0 var(--ff-radius-sm) var(--ff-radius-sm) 0;
    font-style: italic;
    color: var(--ff-text-muted);
}
.article-content a { text-decoration: underline; text-underline-offset: 2px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.article-content th, .article-content td { padding: 0.6rem 0.75rem; border: 1px solid var(--ff-border); text-align: left; }
.article-content th { background: var(--ff-bg); font-weight: 600; }

/* ─── Mini Review Card (grid/archive) ──────────────────────── */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }

.mini-card {
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 1.25rem;
    transition: box-shadow 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
}
.mini-card:hover {
    box-shadow: var(--ff-shadow-lg);
    transform: translateY(-2px);
}
.mini-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.mini-card-score {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}
.mini-card-score.score-positive { background: var(--ff-positive); }
.mini-card-score.score-warning  { background: var(--ff-warning); }
.mini-card-score.score-negative { background: var(--ff-negative); }
.mini-card-title { font-size: 1rem; font-weight: 700; color: var(--ff-text); line-height: 1.3; }
.mini-card-title a { color: inherit; }
.mini-card-title a:hover { color: var(--ff-primary); }
.mini-card-excerpt {
    font-size: 0.85rem;
    color: var(--ff-text-muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mini-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.mini-card-date { color: var(--ff-text-muted); }
.mini-card-link { font-weight: 600; color: var(--ff-primary); }

/* ─── Hero (front-page) ───────────────────────────────────── */
.hero {
    background: var(--ff-primary);
    color: #fff;
    text-align: center;
    padding: 3.5rem 1rem;
    margin-bottom: 2rem;
}
.hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.hero p { font-size: 1.05rem; opacity: 0.85; max-width: 600px; margin: 0 auto 1.25rem; }
.hero-search {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
}
.hero-search input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--ff-radius-sm) 0 0 var(--ff-radius-sm);
    font-size: 0.95rem;
    font-family: var(--ff-font);
}
.hero-search button {
    padding: 0.75rem 1.25rem;
    background: var(--ff-cta);
    color: #fff;
    border: none;
    border-radius: 0 var(--ff-radius-sm) var(--ff-radius-sm) 0;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--ff-font);
    font-size: 0.95rem;
}
.hero-search button:hover { background: var(--ff-cta-hover); }

/* ─── About Section (front-page) ──────────────────────────── */
.about-section {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ff-border);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.about-main h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ff-text);
    margin-bottom: 1rem;
}
.about-main p {
    color: var(--ff-text-muted);
    line-height: 1.75;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.about-feature {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.about-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ff-bg);
    border-radius: var(--ff-radius-sm);
}
.about-feature strong {
    display: block;
    font-size: 0.92rem;
    color: var(--ff-text);
    margin-bottom: 0.15rem;
}
.about-feature p {
    font-size: 0.82rem;
    color: var(--ff-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ─── Section Headers ──────────────────────────────────────── */
.section-header { margin-bottom: 1.5rem; }
.section-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--ff-text); }
.section-header p { color: var(--ff-text-muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* ─── Related Reviews ──────────────────────────────────────── */
.related-section { margin-bottom: 2.5rem; }
.related-section h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: var(--ff-text); }

/* ─── Article Title ────────────────────────────────────────── */
article h1 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    color: var(--ff-text);
}

/* ─── Post Meta ────────────────────────────────────────────── */
.post-meta { font-size: 0.85rem; color: var(--ff-text-muted); margin-bottom: 1.25rem; }
.post-meta time { font-weight: 500; }

/* ─── Screen Reader Text (WordPress default) ──────────────── */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ─── Pagination ───────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    border-radius: var(--ff-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--ff-border);
    color: var(--ff-text);
}
.pagination a:hover { background: var(--ff-primary); color: #fff; border-color: var(--ff-primary); }
.pagination .current { background: var(--ff-primary); color: #fff; border-color: var(--ff-primary); }

/* ─── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: var(--ff-primary);
    color: rgba(255,255,255,0.8);
    padding: 2.5rem 0 1.5rem;
    margin-top: 2rem;
    font-size: 0.88rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-col p { line-height: 1.6; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: #fff; }

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.25rem;
    font-size: 0.78rem;
    opacity: 0.65;
    line-height: 1.65;
}
.footer-bottom {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ─── 404 ──────────────────────────────────────────────────── */
.page-404 { text-align: center; padding: 3rem 1rem; }
.page-404 h1 { font-size: 4rem; color: var(--ff-primary); margin-bottom: 0.5rem; }
.page-404 p { color: var(--ff-text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.page-404 .search-form { max-width: 400px; margin: 0 auto 2rem; }

/* Search form shared */
.search-form { display: flex; gap: 0; }
.search-form input[type="search"] {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1px solid var(--ff-border);
    border-right: none;
    border-radius: var(--ff-radius-sm) 0 0 var(--ff-radius-sm);
    font-size: 0.9rem;
    font-family: var(--ff-font);
}
.search-form button {
    padding: 0.65rem 1rem;
    background: var(--ff-primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--ff-radius-sm) var(--ff-radius-sm) 0;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--ff-font);
}

/* ─── Sektör Liderleri Hero ─────────────────────────────────── */
.leaders-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a365d 100%);
    color: #fff;
    text-align: center;
    padding: 3.5rem 1rem 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}
.leaders-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(250,204,21,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(34,197,94,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.leaders-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    position: relative;
}
.leaders-hero p {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
    position: relative;
}

/* ─── Leader Card (sektor-liderleri page) ──────────────────── */
.leaders-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }

.leader-card {
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--ff-shadow);
    transition: box-shadow 0.25s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #facc15, #22c55e);
    border-radius: 4px 0 0 4px;
}
.leader-card:hover {
    box-shadow: 0 8px 30px rgba(26,54,93,0.12);
    transform: translateY(-2px);
}

.leader-rank {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ff-primary);
    min-width: 42px;
    text-align: center;
    opacity: 0.6;
}

.leader-score-wrap { flex-shrink: 0; }

.leader-info { flex: 1; min-width: 0; }
.leader-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.leader-name a { color: var(--ff-text); }
.leader-name a:hover { color: var(--ff-primary); }

.leader-badge {
    display: inline-block;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #78350f;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.leader-summary {
    font-size: 0.88rem;
    color: var(--ff-text-muted);
    line-height: 1.55;
    margin-bottom: 0.5rem;
}

.leader-highlights { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.leader-highlight-tag {
    background: #ecfdf5;
    color: #065f46;
    padding: 0.2rem 0.55rem;
    border-radius: var(--ff-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.leader-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}
.leader-cta {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--ff-radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}
.leader-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(34,197,94,0.4);
    color: #fff;
}
.leader-review-link {
    font-size: 0.82rem;
    color: var(--ff-primary);
    font-weight: 600;
    text-align: center;
}

/* ─── Leaders Compact (front-page) ─────────────────────────── */
.leaders-compact { margin-bottom: 2rem; }

.leaders-compact-list {
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    overflow: hidden;
}
.leader-compact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--ff-text);
    transition: background 0.15s;
    border-bottom: 1px solid var(--ff-border);
    text-decoration: none;
}
.leader-compact-row:last-child { border-bottom: none; }
.leader-compact-row:hover { background: var(--ff-bg); color: var(--ff-text); }

.leader-compact-score {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    color: #fff;
    flex-shrink: 0;
}
.leader-compact-score.score-positive { background: var(--ff-positive); }
.leader-compact-score.score-warning { background: var(--ff-warning); }
.leader-compact-score.score-negative { background: var(--ff-negative); }

.leader-compact-name { font-weight: 700; font-size: 0.92rem; flex: 1; }

.leader-compact-cta {
    background: var(--ff-positive);
    color: #fff !important;
    padding: 0.25rem 0.7rem;
    border-radius: var(--ff-radius-sm);
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.15s;
}
.leader-compact-cta:hover { opacity: 0.85; }

.leader-compact-arrow {
    color: var(--ff-text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
    opacity: 0.4;
}

/* ─── Leaders Inline Box (single.php) ──────────────────────── */
.leaders-inline-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border: none;
    border-radius: var(--ff-radius);
    padding: 1.25rem 1.25rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}
.leaders-inline-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    color: #fff;
}
.leaders-inline-icon { color: #facc15; font-size: 1.1rem; }

.leaders-inline-items { display: flex; flex-direction: column; gap: 0; }

.leaders-inline-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.15s;
    border-radius: var(--ff-radius-sm);
}
.leaders-inline-item:last-child { border-bottom: none; }
.leaders-inline-item:hover { background: rgba(255,255,255,0.08); color: #fff; }

.leaders-inline-item .leader-compact-score {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
}

.leaders-inline-name { flex: 1; font-weight: 600; }

.leaders-inline-cta {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff !important;
    padding: 0.2rem 0.6rem;
    border-radius: var(--ff-radius-sm);
    font-weight: 700;
    font-size: 0.7rem;
    cursor: pointer;
    transition: opacity 0.15s;
}
.leaders-inline-cta:hover { opacity: 0.9; }

.leaders-inline-more {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    padding-top: 0.6rem;
    margin-top: 0.25rem;
    transition: color 0.15s;
}
.leaders-inline-more:hover { color: #fff; }

.leaders-view-all {
    display: inline-block;
    color: var(--ff-primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--ff-primary);
    border-radius: var(--ff-radius-sm);
    transition: background 0.2s, color 0.2s;
}
.leaders-view-all:hover { background: var(--ff-primary); color: #fff; }

/* ─── Bottom Navigation Bar (mobile only) ──────────────────── */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ff-surface);
    border-top: 1px solid var(--ff-border);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 200;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    padding: 0.35rem 0;
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
}
.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    color: var(--ff-text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    font-family: var(--ff-font);
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.bottom-bar-item:hover,
.bottom-bar-item:active { color: var(--ff-primary); }
.bottom-bar-item svg { stroke: currentColor; }
.bottom-bar-leaders { color: #f59e0b; }
.bottom-bar-leaders:hover { color: #d97706; }

/* Bottom search overlay */
.bottom-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.bottom-search-overlay.active { opacity: 1; visibility: visible; }

.bottom-search-box {
    background: var(--ff-surface);
    width: 100%;
    max-width: 600px;
    padding: 1.25rem;
    border-radius: var(--ff-radius) var(--ff-radius) 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    position: relative;
    transform: translateY(100%);
    transition: transform 0.25s ease-out;
}
.bottom-search-overlay.active .bottom-search-box { transform: translateY(0); }

.bottom-search-box form {
    display: flex;
    gap: 0;
}
.bottom-search-box input[type="search"] {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 2px solid var(--ff-border);
    border-right: none;
    border-radius: var(--ff-radius-sm) 0 0 var(--ff-radius-sm);
    font-size: 1rem;
    font-family: var(--ff-font);
    outline: none;
}
.bottom-search-box input[type="search"]:focus { border-color: var(--ff-primary); }
.bottom-search-box button[type="submit"] {
    padding: 0.85rem 1.5rem;
    background: var(--ff-primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--ff-radius-sm) var(--ff-radius-sm) 0;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--ff-font);
    font-size: 1rem;
}
.bottom-search-close {
    position: absolute;
    top: -2.5rem;
    right: 0.75rem;
    background: var(--ff-surface);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--ff-text-muted);
    cursor: pointer;
    box-shadow: var(--ff-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer padding for bottom bar handled in mobile media query */

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .menu-toggle-label { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--ff-primary);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--ff-shadow-lg);
    }
    .nav-menu li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-menu li:last-child { border-bottom: none; }
    .menu-toggle:checked ~ .nav-menu,
    .header-right .menu-toggle:checked ~ .nav-menu { display: flex; }

    .review-card { padding: 1.25rem; }
    .review-card-header { gap: 1rem; }
    .review-card-header .score-ring { width: 84px; height: 84px; }
    .review-card-header .score-ring .score-value { font-size: 1.35rem; }
    .review-card-header .score-ring .score-label { bottom: 14px; font-size: 0.6rem; }
    .review-card-header .brand-label { font-size: 0.95rem; }
    .pros-cons { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero h1 { font-size: 1.5rem; }
    .hero { padding: 2.5rem 1rem; }

    .article-content { padding: 1.25rem; }
    .score-ring { width: 80px; height: 80px; }
    .score-ring .score-value { font-size: 1.4rem; }

    .leader-card { flex-direction: column; text-align: center; }
    .leader-card::before { width: 100%; height: 4px; border-radius: 4px 4px 0 0; }
    .leader-actions { flex-direction: row; justify-content: center; }
    .leader-name { justify-content: center; }
    .leader-highlights { justify-content: center; }

    .leaders-hero h1 { font-size: 1.6rem; }
    .leader-compact-row { padding: 0.6rem 0.75rem; }
    .leader-badge { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .bottom-bar { display: flex; }
    body:not(.home) .site-footer { padding-bottom: 4rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1025px) {
    .review-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Filter Bar ──────────────────────────────────────────── */
.filter-bar {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius-sm);
}
.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ff-text-muted);
    white-space: nowrap;
}
.filter-group select {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius-sm);
    font-size: 0.85rem;
    font-family: var(--ff-font);
    background: var(--ff-surface);
    color: var(--ff-text);
    cursor: pointer;
}

/* ─── Table of Contents ───────────────────────────────────── */
.toc-box {
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--ff-shadow);
}
.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.toc-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ff-text);
    margin: 0;
}
.toc-toggle {
    background: none;
    border: none;
    color: var(--ff-text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    transition: transform 0.2s;
}
.toc-box.collapsed .toc-toggle { transform: rotate(180deg); }
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}
.toc-box.collapsed .toc-list { display: none; }
.toc-list li {
    margin-bottom: 0.35rem;
}
.toc-list li a {
    font-size: 0.88rem;
    color: var(--ff-text-muted);
    display: block;
    padding: 0.2rem 0;
    padding-left: 0;
    transition: color 0.15s;
}
.toc-list li a:hover,
.toc-list li a.active { color: var(--ff-primary); font-weight: 600; }
.toc-list li.toc-h3 a { padding-left: 1rem; font-size: 0.82rem; }

/* ─── Social Share Buttons ────────────────────────────────── */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    align-items: center;
}
.share-buttons-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ff-text);
    margin-right: 0.5rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.15s, opacity 0.15s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.share-btn:hover { transform: scale(1.1); opacity: 0.9; color: #fff; }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn-twitter { background: #1da1f2; }
.share-btn-facebook { background: #1877f2; }
.share-btn-whatsapp { background: #25d366; }
.share-btn-telegram { background: #0088cc; }
.share-btn-copy {
    background: var(--ff-text-muted);
    font-family: var(--ff-font);
}

/* ─── "Nasıl Değerlendiriyoruz" Redesign ─────────────────── */
.about-section-v2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--ff-border);
}
.about-section-v2 .about-title {
    text-align: center;
    margin-bottom: 0.5rem;
}
.about-section-v2 .about-title h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ff-text);
}
.about-section-v2 .about-title h2 span {
    color: var(--ff-primary);
}
.about-section-v2 .about-subtitle {
    text-align: center;
    color: var(--ff-text-muted);
    font-size: 0.92rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.about-feature-card {
    background: var(--ff-surface);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.15s;
}
.about-feature-card:hover {
    box-shadow: var(--ff-shadow-lg);
    transform: translateY(-2px);
}
.about-feature-card .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
}
.about-feature-card .feature-icon.icon-data { background: #eff6ff; color: #2563eb; }
.about-feature-card .feature-icon.icon-shield { background: #ecfdf5; color: #16a34a; }
.about-feature-card .feature-icon.icon-clock { background: #fef3c7; color: #d97706; }
.about-feature-card .feature-icon.icon-check { background: #fce7f3; color: #db2777; }
.about-feature-card .feature-stat {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ff-text);
    margin-bottom: 0.15rem;
}
.about-feature-card .feature-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ff-text);
    margin-bottom: 0.35rem;
}
.about-feature-card .feature-desc {
    font-size: 0.78rem;
    color: var(--ff-text-muted);
    line-height: 1.5;
}
@media (max-width: 768px) {
    .about-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Enhanced Sektör Liderleri (front-page) ──────────────── */
.leaders-compact-list .leader-compact-row {
    padding: 0.85rem 1.25rem;
}
.leaders-compact-list .leader-compact-name {
    font-size: 1rem;
    font-weight: 800;
}
.leaders-compact-list .leader-compact-score {
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
}
.leaders-compact-list .leader-compact-cta {
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 8px rgba(34,197,94,0.25);
    transition: transform 0.15s, box-shadow 0.15s;
}
.leaders-compact-list .leader-compact-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34,197,94,0.35);
    opacity: 1;
}

/* ─── Enhanced Leaders Inline (single.php) ────────────────── */
.leaders-inline-item .leaders-inline-name {
    font-size: 0.92rem;
    font-weight: 700;
}
.leaders-inline-item .leaders-inline-cta {
    padding: 0.3rem 0.85rem;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}

/* ─── Desktop Scroll-to-Top ───────────────────────────────── */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ff-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ff-shadow-lg);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 90;
}
.scroll-top-btn:hover { transform: translateY(-2px); }
.scroll-top-btn.visible { display: flex; }
@media (max-width: 768px) {
    .scroll-top-btn { display: none !important; }
}

/* ─── KVKK / Cookie Banner ────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ff-surface);
    border-top: 1px solid var(--ff-border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    z-index: 250;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    color: var(--ff-text-muted);
    flex-wrap: wrap;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; max-width: 700px; line-height: 1.55; }
.cookie-accept {
    background: var(--ff-primary);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--ff-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--ff-font);
}
.cookie-accept:hover { opacity: 0.9; }
@media (max-width: 768px) {
    .cookie-banner { bottom: 56px; flex-direction: column; text-align: center; gap: 0.75rem; }
}

/* ─── Mobile Bottom Bar Enhancement ───────────────────────── */
.bottom-bar {
    background: #1a365d;
    border-top-color: rgba(255,255,255,0.1);
}
.bottom-bar-item {
    color: rgba(255,255,255,0.7);
}
.bottom-bar-item:hover,
.bottom-bar-item:active {
    color: #fff;
}
.bottom-bar-item.active {
    color: #fff;
}
.bottom-bar-leaders { color: #facc15; }
.bottom-bar-leaders:hover { color: #fbbf24; }
[data-theme="dark"] .bottom-bar { background: #0f172a; }

/* ─── Print CSS ───────────────────────────────────────────── */
@media print {
    .site-header,
    .site-footer,
    .bottom-bar,
    .bottom-search-overlay,
    .cta-button,
    .leader-cta,
    .leader-compact-cta,
    .leaders-inline-cta,
    .leaders-view-all,
    .share-buttons,
    .scroll-top-btn,
    .cookie-banner,
    .dark-mode-toggle,
    .menu-toggle-label,
    .toc-toggle,
    .filter-bar,
    .hero-search,
    .search-form,
    .breadcrumb { display: none !important; }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
        line-height: 1.6;
    }
    .container { max-width: 100%; padding: 0; }
    .article-content {
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .review-card {
        border: 1px solid #ccc;
        box-shadow: none;
        break-inside: avoid;
    }
    .mini-card {
        border: 1px solid #ccc;
        box-shadow: none;
        break-inside: avoid;
    }
    a { color: #000; text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
    .score-ring { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
