/*
Theme Name: RehberEvi EdTech
Theme URI: https://rehberevi.com
Author: RehberEvi
Description: YKS Tercih Süzgeci, Puan-Sıra Hesaplama, Kişisel Test & Yayın Deposu ve Dinamik Kategori Vitrinli EdTech Teması.
Version: 1.1.0
Text Domain: rehberevi-edtech
*/

:root {
    --re-bg: #f8fafc;
    --re-surface: #ffffff;
    --re-surface-alt: #f1f5f9;
    --re-text: #0f172a;
    --re-text-muted: #475569;
    --re-border: #e2e8f0;
    --re-primary: #dc2626;
    --re-primary-dark: #b91c1c;
    --re-accent: #1d4ed8;
    --re-emerald: #059669;
    --re-navy: #0f172a;
    --re-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    --re-radius: 16px;
}

body.re-dark {
    --re-bg: #0b1120;
    --re-surface: #111827;
    --re-surface-alt: #1e293b;
    --re-text: #f1f5f9;
    --re-text-muted: #94a3b8;
    --re-border: #1e293b;
    --re-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--re-bg);
    color: var(--re-text);
    line-height: 1.6;
    transition: background-color 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.re-container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   1. ÜST ARAÇ ÇUBUĞU & CAM EFEKTLİ MEGA MENÜ
========================================================= */
.re-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--re-border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
body.re-dark .re-header {
    background: rgba(15, 23, 42, 0.94);
}

.re-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 14px;
    padding: 8px 0;
}

.re-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 21px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
.re-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc2626, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.26);
}
.re-logo span em { font-style: normal; color: var(--re-primary); }

/* Öne Çıkan 4 Araç Hap Butonları (Her Zaman Görünür) */
.re-tools-ribbon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.re-tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid var(--re-border);
    background: var(--re-surface-alt);
    color: var(--re-text);
    transition: all 0.18s ease;
    white-space: nowrap;
}
.re-tool-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}
.re-tool-pill.tp-robot {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    border-color: transparent;
}
.re-tool-pill.tp-puan {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}
.re-tool-pill.tp-net {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}
.re-tool-pill.tp-yayin {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}
body.re-dark .re-tool-pill.tp-puan { background: rgba(29, 78, 216, 0.2); color: #93c5fd; border-color: rgba(59, 130, 246, 0.35); }
body.re-dark .re-tool-pill.tp-net  { background: rgba(5, 150, 105, 0.2); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.35); }
body.re-dark .re-tool-pill.tp-yayin { background: rgba(67, 56, 202, 0.24); color: #a5b4fc; border-color: rgba(99, 102, 241, 0.35); }

/* Ana Menü & Mega Menü */
.re-main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.re-nav-item { position: relative; }
.re-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--re-text);
    transition: all 0.15s;
    cursor: pointer;
}
.re-nav-link:hover, .re-nav-item:hover > .re-nav-link {
    background: var(--re-surface-alt);
    color: var(--re-primary);
}

.re-mega-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 780px;
    max-width: 94vw;
    background: var(--re-surface);
    border: 1px solid var(--re-border);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}
.re-nav-item:hover .re-mega-panel,
.re-nav-item:focus-within .re-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.re-mega-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.re-mega-col-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.mc-say { background: #eff6ff; color: #1d4ed8; }
.mc-ea  { background: #fef3c7; color: #b45309; }
.mc-soz { background: #fce7f3; color: #be185d; }
.mc-dil { background: #ecfdf5; color: #047857; }

.re-mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.re-mega-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--re-text-muted);
    transition: all 0.15s;
}
.re-mega-links a:hover {
    background: var(--re-surface-alt);
    color: var(--re-primary);
    padding-left: 14px;
}

.re-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.re-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--re-border);
    background: var(--re-surface);
    color: var(--re-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.15s;
}
.re-icon-btn:hover { border-color: var(--re-primary); color: var(--re-primary); }
.re-mobile-toggle { display: none; }

/* =========================================================
   2. HERO VİTRİNİ & 4'LÜ INTERAKTİF ARAÇ DOCK'U
========================================================= */
.re-hero {
    position: relative;
    padding: 48px 0 56px 0;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.re-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(15, 23, 42, 0.93) 0%, rgba(15, 23, 42, 0.80) 55%, rgba(127, 29, 29, 0.75) 100%);
}
.re-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 32px;
    align-items: center;
}
.re-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 14px;
}
.re-hero-title {
    font-size: clamp(26px, 3.6vw, 42px);
    font-weight: 900;
    line-height: 1.16;
    margin: 0 0 14px 0;
    letter-spacing: -0.7px;
}
.re-hero-title span { color: #fca5a5; }
.re-hero-desc {
    font-size: 15.5px;
    color: #e2e8f0;
    margin: 0 0 22px 0;
    max-width: 600px;
}
.re-hero-search {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    padding: 6px;
    max-width: 560px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}
.re-hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 15px;
    font-size: 14px;
    color: #0f172a;
    background: transparent;
    font-weight: 600;
}
.re-hero-search button {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 11px 20px;
    border-radius: 11px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
}

.re-hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.re-hcard {
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 18px;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.re-hcard:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
    border-color: #fca5a5;
}
.re-hcard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.re-hcard-ico { font-size: 25px; }
.re-hcard-ext {
    font-size: 11px;
    font-weight: 800;
    background: rgba(255,255,255,0.16);
    padding: 2px 8px;
    border-radius: 6px;
    color: #f8fafc;
}
.re-hcard-title { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.re-hcard-sub { font-size: 12px; color: #cbd5e1; line-height: 1.45; }

/* =========================================================
   3. BÖLÜM BAŞLIKLARI, SEKMELİ SLIDER & DİNAMİK KATEGORİ BLOKLARI
========================================================= */
.re-section { padding: 40px 0; }
.re-sec-alt {
    background: var(--re-surface-alt);
    border-top: 1px solid var(--re-border);
    border-bottom: 1px solid var(--re-border);
}

.re-sec-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.re-sec-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.4px;
}
.re-sec-bar {
    width: 6px;
    height: 25px;
    border-radius: 99px;
    background: var(--re-primary);
    display: inline-block;
    flex-shrink: 0;
}
.re-sec-sub {
    font-size: 13.5px;
    color: var(--re-text-muted);
    margin: 4px 0 0 16px;
}

.re-sec-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Meslek Rehberi Tek Pencere Sekme Hapları */
.re-inline-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    background: var(--re-surface);
    padding: 5px;
    border-radius: 13px;
    border: 1px solid var(--re-border);
}
.re-itab-btn {
    padding: 7px 13px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: var(--re-text-muted);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.16s ease;
}
.re-itab-btn:hover {
    background: var(--re-surface-alt);
    color: var(--re-text);
}
.re-itab-btn.active {
    background: var(--re-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.re-slider-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}
.re-sl-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--re-border);
    background: var(--re-surface);
    color: var(--re-text);
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
}
.re-sl-btn:hover {
    background: var(--re-primary);
    color: #fff;
    border-color: var(--re-primary);
}
.re-view-all-link {
    font-size: 13px;
    font-weight: 800;
    color: var(--re-primary);
    padding: 7px 13px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.08);
    transition: background 0.15s;
}
.re-view-all-link:hover { background: rgba(220, 38, 38, 0.15); }

/* Yatay Kayan Slider Rayı */
.re-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: none;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
    transition: opacity 0.2s ease;
}
.re-slider-track::-webkit-scrollbar { display: none; }
.re-slider-track.loading { opacity: 0.4; pointer-events: none; }

/* 4'lü Izgara (Grid) Görünümü */
.re-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Ortak İçerik Kartı */
.re-slide-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 268px;
    scroll-snap-align: start;
    background: var(--re-surface);
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius);
    overflow: hidden;
    box-shadow: var(--re-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.re-posts-grid .re-slide-card {
    flex: unset;
    min-width: 0;
}
.re-slide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.11);
}
.re-card-thumb {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #1e293b;
}
.re-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.re-slide-card:hover .re-card-thumb img { transform: scale(1.06); }

.re-card-rank {
    position: absolute;
    top: 11px;
    left: 11px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
}
.re-card-badge {
    position: absolute;
    bottom: 11px;
    left: 11px;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 7px;
    color: #fff;
}
.bg-say { background: #1d4ed8; }
.bg-ea  { background: #d97706; }
.bg-soz { background: #be185d; }
.bg-dil { background: #059669; }
.bg-tyt { background: #4338ca; }
.bg-gen { background: #dc2626; }

.re-card-body {
    padding: 15px 17px 17px 17px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.re-card-title {
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.re-card-title a:hover { color: var(--re-primary); }
.re-card-excerpt {
    font-size: 13px;
    color: var(--re-text-muted);
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.re-card-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--re-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--re-text-muted);
}
.re-meslek-cta {
    color: var(--re-primary);
    font-weight: 800;
    font-size: 12px;
}

/* =========================================================
   4. TEKİL YAZI & BÖLÜM ASİSTANI ŞABLONU (single.php / page.php)
========================================================= */
.re-read-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #dc2626, #2563eb);
    z-index: 10001;
    transition: width 0.1s linear;
}
.re-article-wrap {
    padding: 32px 0 56px 0;
}
.re-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    color: var(--re-text-muted);
    margin-bottom: 18px;
}
.re-breadcrumb a:hover { color: var(--re-primary); }

.re-article-header {
    background: var(--re-surface);
    border: 1px solid var(--re-border);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 26px;
    box-shadow: var(--re-shadow);
}
.re-article-title {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 900;
    line-height: 1.22;
    margin: 12px 0 14px 0;
    letter-spacing: -0.6px;
}
.re-article-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    color: var(--re-text-muted);
}
.re-article-body {
    background: var(--re-surface);
    border: 1px solid var(--re-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--re-shadow);
    font-size: 16.5px;
    line-height: 1.78;
}
.re-article-body h2, .re-article-body h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.re-cta-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff !important;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.28);
    transition: transform 0.15s, box-shadow 0.2s;
}
.re-cta-btn:hover { transform: translateY(-2px); }

/* =========================================================
   5. FOOTER
========================================================= */
.re-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 52px 0 28px 0;
    margin-top: 48px;
    border-top: 4px solid #dc2626;
}
.re-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}
.re-footer h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 14px 0;
}
.re-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
}
.re-footer ul a:hover { color: #fca5a5; }
.re-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    color: #94a3b8;
}

/* =========================================================
   6. MOBİL UYUMLULUK
========================================================= */
@media (max-width: 1180px) {
    .re-tools-ribbon { display: none; }
    .re-hero-inner { grid-template-columns: 1fr; }
    .re-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .re-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .re-main-nav { display: none; }
    .re-main-nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--re-surface);
        padding: 16px 20px;
        border-bottom: 1px solid var(--re-border);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }
    .re-mega-panel {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 8px;
    }
    .re-mega-grid-4 { grid-template-columns: 1fr; }
    .re-mobile-toggle { display: inline-flex; }
    .re-article-header, .re-article-body { padding: 20px; }
}
@media (max-width: 600px) {
    .re-posts-grid { grid-template-columns: 1fr; }
    .re-hero-cards { grid-template-columns: 1fr; }
    .re-footer-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   7. ÜYE DENEYİMİ, KAYDEDİLENLER & TEKİL SAYFA YORUMLARI
========================================================= */
.re-member-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(220, 38, 38, 0.12));
    border: 1px solid var(--re-border);
    color: var(--re-text);
    cursor: pointer;
}
.re-member-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* Tekil Yazı Üye & Okuma Araç Çubuğu */
.re-article-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--re-border);
}
.re-toolbar-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.re-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--re-border);
    background: var(--re-surface-alt);
    color: var(--re-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}
.re-action-chip:hover {
    border-color: var(--re-primary);
    color: var(--re-primary);
}
.re-action-chip.saved {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}

/* Otomatik İçindekiler Kutusu */
.re-toc-box {
    background: var(--re-surface-alt);
    border: 1px solid var(--re-border);
    border-left: 4px solid var(--re-accent);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 24px;
}
.re-toc-title {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--re-text);
}
.re-toc-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 6px 20px;
    font-size: 13.5px;
    font-weight: 600;
}
.re-toc-list a { color: var(--re-accent); }
.re-toc-list a:hover { text-decoration: underline; }

/* Yorumlar & Üye Soru-Cevap Alanı */
.re-comments-box {
    margin-top: 32px;
    background: var(--re-surface);
    border: 1px solid var(--re-border);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: var(--re-shadow);
}
.re-comments-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--re-border);
}
.re-member-perk-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(29, 78, 216, 0.08), rgba(220, 38, 38, 0.08));
    border: 1px solid rgba(29, 78, 216, 0.2);
    margin-bottom: 22px;
}
.re-comment-list {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.re-comment-list .children {
    list-style: none;
    margin-top: 14px;
    padding-left: 24px;
    border-left: 2px solid var(--re-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.re-comment-card {
    background: var(--re-surface-alt);
    border: 1px solid var(--re-border);
    border-radius: 14px;
    padding: 16px 18px;
}
.re-comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.re-comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
}
.re-comment-author img {
    border-radius: 50%;
}
.re-verified-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 99px;
    background: #dbeafe;
    color: #1d4ed8;
}
.re-comment-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--re-text);
}
.re-comment-reply a {
    display: inline-block;
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--re-primary);
}

/* Yorum Formu */
.re-comments-box .comment-respond {
    margin-top: 10px;
}
.re-comments-box .comment-reply-title {
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 14px 0;
}
.re-comments-box textarea,
.re-comments-box input[type="text"],
.re-comments-box input[type="email"],
.re-comments-box input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid var(--re-border);
    background: var(--re-surface-alt);
    color: var(--re-text);
    font-family: inherit;
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 14px;
}
.re-comments-box textarea:focus,
.re-comments-box input:focus {
    outline: none;
    border-color: var(--re-accent);
}
.re-comments-box .submit {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
}

/* Kaydedilen Bölümler Çekmecesi (Modal) */
.re-saved-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    max-width: 92vw;
    height: 100vh;
    background: var(--re-surface);
    border-left: 1px solid var(--re-border);
    box-shadow: -20px 0 50px rgba(15, 23, 42, 0.22);
    z-index: 10005;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.re-saved-drawer.open { right: 0; }

/* Mobilde alttaki yapışkan kısayol çubuğu footer'ı kapatmasın */
@media (max-width: 991px) {
    .re-footer { padding-bottom: 92px; }
    .re-comments-box { padding: 20px; }
}
/* =========================================================
   8. HAVALI BAŞLIK KARTLARI & FARKLI ARKA PLAN GEÇİŞLERİ
========================================================= */
.re-section {
    padding: 46px 0;
    border-top: 1px solid var(--re-border);
    transition: background-color 0.25s ease;
}

/* Birbirinden Net Ayrılan Bölüm Arka Plan Tonları */
.re-tone-indigo { background: #eef2ff; }
.re-tone-amber  { background: #fffbeb; }
.re-tone-ea     { background: #fff7ed; }
.re-tone-say    { background: #eff6ff; }
.re-tone-soz    { background: #fdf2f8; }
.re-tone-dil    { background: #ecfdf5; }
.re-tone-cyan   { background: #ecfeff; }

body.re-dark .re-tone-indigo { background: #0f172a; }
body.re-dark .re-tone-amber  { background: #17131d; }
body.re-dark .re-tone-ea     { background: #1a1412; }
body.re-dark .re-tone-say    { background: #0d192b; }
body.re-dark .re-tone-soz    { background: #1c1022; }
body.re-dark .re-tone-dil    { background: #0c1d1a; }
body.re-dark .re-tone-cyan   { background: #0c1b24; }

/* Havalı Gradient Başlık Şeridi */
.re-sec-head {
    background: linear-gradient(120deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--re-border);
    border-left: 6px solid var(--re-primary);
    border-radius: 18px;
    padding: 18px 22px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
body.re-dark .re-sec-head {
    background: linear-gradient(120deg, #111827 0%, #1e293b 100%);
}

/* Her Bölüme Özel Başlık Gradient Renkleri */
.re-head-crimson {
    background: linear-gradient(120deg, #ffffff 0%, #fee2e2 100%);
    border-left-color: #dc2626;
}
.re-head-amber {
    background: linear-gradient(120deg, #ffffff 0%, #fef3c7 100%);
    border-left-color: #d97706;
}
.re-head-ea {
    background: linear-gradient(120deg, #ffffff 0%, #ffedd5 100%);
    border-left-color: #ea580c;
}
.re-head-say {
    background: linear-gradient(120deg, #ffffff 0%, #dbeafe 100%);
    border-left-color: #1d4ed8;
}
.re-head-soz {
    background: linear-gradient(120deg, #ffffff 0%, #fce7f3 100%);
    border-left-color: #db2777;
}
.re-head-dil {
    background: linear-gradient(120deg, #ffffff 0%, #d1fae5 100%);
    border-left-color: #059669;
}
.re-head-cyan {
    background: linear-gradient(120deg, #ffffff 0%, #cffafe 100%);
    border-left-color: #0891b2;
}

body.re-dark .re-head-crimson { background: linear-gradient(120deg, #111827 0%, rgba(220, 38, 38, 0.22) 100%); }
body.re-dark .re-head-amber   { background: linear-gradient(120deg, #111827 0%, rgba(217, 119, 6, 0.22) 100%); }
body.re-dark .re-head-ea      { background: linear-gradient(120deg, #111827 0%, rgba(234, 88, 12, 0.22) 100%); }
body.re-dark .re-head-say     { background: linear-gradient(120deg, #111827 0%, rgba(29, 78, 216, 0.24) 100%); }
body.re-dark .re-head-soz     { background: linear-gradient(120deg, #111827 0%, rgba(219, 39, 119, 0.22) 100%); }
body.re-dark .re-head-dil     { background: linear-gradient(120deg, #111827 0%, rgba(5, 150, 105, 0.22) 100%); }
body.re-dark .re-head-cyan    { background: linear-gradient(120deg, #111827 0%, rgba(8, 145, 178, 0.22) 100%); }

/* =========================================================
   9. KURUMSAL REKLAM ALANLARI (YATAY & GENİŞ EKRAN YAN KANAT)
========================================================= */
.re-ad-slot {
    padding: 18px 0 6px;
}
.re-ad-slot-inner {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--re-border);
    background: var(--re-surface);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.re-ad-slot-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.13);
}
.re-ad-slot-inner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 155px;
    object-fit: cover;
}
.re-ad-tag {
    position: absolute;
    top: 8px;
    right: 10px;
    background: rgba(15, 23, 42, 0.68);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* Sağ Yan Dikey Kanat (Yalnızca 1560px+ Geniş Ekranlarda Görünür, Sayfayı Asla Bozmaz) */
.re-ad-side-wing {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 112px;
    z-index: 840;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--re-border);
    background: var(--re-surface);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}
.re-ad-side-wing a {
    display: block;
}
.re-ad-side-wing img {
    display: block;
    width: 100%;
    height: auto;
}
.re-ad-side-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
@media (max-width: 1279px) {
    .re-ad-side-wing {
        display: none !important;
    }
}
@media (max-width: 640px) {
    .re-ad-slot-inner img {
        max-height: 95px;
    }
}