/**
 * TermalYazici.net - Ana Stil Dosyası
 * Ultra Hızlı, Modern, Gelişmiş SEO & AdSense Uyumlu, Tam Mobil Responsive
 * Sürüm: 1.3.0
 */

/* ==========================================================================
   1. CSS DEĞİŞKENLERİ & TEMEL SIFIRLAMA
   ========================================================================== */
:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Renk Paleti */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-dark: #1e40af;
    --accent: #f97316;
    --wa-green: #25d366;
    --wa-hover: #128c7e;
    
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface: #f1f5f9;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-slider: 0 12px 30px -4px rgba(15, 23, 42, 0.18), 0 6px 12px -2px rgba(15, 23, 42, 0.08);
    --shadow-dropdown: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --container-width: 1240px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.termal-container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.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;
}

/* ==========================================================================
   2. REKLAM ALANLARI & ADSENSE DÜZENİ (CLS & MOBİL TAŞMA KORUMASI)
   ========================================================================== */
.termal-ad-wrapper {
    margin: 20px auto;
    width: 100%;
    max-width: 100% !important;
    text-align: center;
    clear: both;
    overflow: hidden;
    box-sizing: border-box;
}

.termal-ad-container {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 10px;
    display: inline-block;
    width: 100%;
    max-width: 100% !important;
    box-shadow: var(--shadow-sm);
    min-height: 90px;
    box-sizing: border-box;
    overflow: hidden;
}

.termal-ad-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 4px;
}

.termal-ad-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100% !important;
}

.termal-ad-content ins,
.termal-ad-content iframe {
    max-width: 100% !important;
}

.termal-header-banner {
    margin-top: 14px;
    margin-bottom: 14px;
}

.termal-footer-banner {
    margin-top: 36px;
    margin-bottom: 24px;
}

.termal-ad-above-post {
    margin: 18px 0 24px;
}

.termal-ad-article-mid {
    margin: 28px 0;
}

.termal-ad-below-post {
    margin: 26px 0;
}

.termal-sidebar-ad-top {
    margin: 0 0 22px 0;
}

.termal-sidebar-ad-bottom {
    margin: 22px 0 0 0;
}

/* ==========================================================================
   3. TOPBAR
   ========================================================================== */
.termal-topbar {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 12.5px;
    border-bottom: 1px solid #1e293b;
    padding: 7px 0;
    width: 100%;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    flex-shrink: 0;
}

.topbar-highlight {
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right {
    font-size: 12px;
    flex-shrink: 0;
}

.topbar-wa-link {
    color: #86efac;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.topbar-wa-icon {
    flex-shrink: 0;
}

.topbar-wa-link:hover {
    color: #ffffff;
}

.topbar-wa-link strong {
    color: #ffffff;
}

/* ==========================================================================
   4. HEADER & LOGO ALANI (CSS KAÇAKLARINI ÖNLEYEN STRICT DÜZEN)
   ========================================================================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 6px 0;
    gap: 16px;
    width: 100%;
}

/* Logo Kapsayıcısı */
.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-height: 56px;
    min-width: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    max-height: 52px;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    max-height: 52px;
}

.custom-logo,
.site-logo img {
    height: 46px;
    max-height: 48px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

/* Yedek Yazı & İkon Logo */
.site-title-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.logo-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.site-title-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.site-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.4px;
    color: #0f172a;
    white-space: nowrap;
}

.site-title span {
    color: var(--primary);
}

.site-tagline {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
}

/* ==========================================================================
   5. MASAÜSTÜ MENÜ & DROPDOWN (ALT MENÜ)
   ========================================================================== */
.main-navigation {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.main-navigation > ul,
.main-navigation > div > ul {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
}

.main-navigation a {
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: var(--primary);
    background: var(--primary-light);
}

.main-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform 0.2s ease;
}

.main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

/* 1. Seviye Açılır Menü */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 245px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dropdown);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.main-navigation .menu-item-has-children::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
    display: none;
    z-index: 999;
}

.main-navigation .menu-item-has-children:hover::before {
    display: block;
}

.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(2px);
}

.main-navigation .sub-menu li {
    width: 100%;
    display: block;
}

.main-navigation .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    border-radius: var(--radius-sm);
    white-space: normal;
    line-height: 1.4;
}

.main-navigation .sub-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    padding-left: 15px;
}

/* 2. Seviye Açılır Menü */
.main-navigation .sub-menu .menu-item-has-children > .sub-menu {
    top: -8px;
    left: calc(100% + 4px);
    transform: translateX(-8px);
}

.main-navigation .sub-menu .menu-item-has-children:hover > .sub-menu {
    transform: translateX(0);
}

.main-navigation .sub-menu .menu-item-has-children > a::after {
    transform: rotate(-45deg);
    margin-top: 0;
}

/* ==========================================================================
   6. HEADER BUTONLARI & ARAMA MODALI
   ========================================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.search-toggle-btn,
.mobile-menu-toggle {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: #334155;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-toggle-btn:hover,
.mobile-menu-toggle:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle .bar {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}

.header-search-modal {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--primary);
    padding: 14px 0;
    display: none;
    z-index: 99;
}

.header-search-modal.is-open {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

.header-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.header-search-form .search-field {
    flex: 1;
    height: 46px;
    padding: 0 16px;
    font-size: 14.5px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #f8fafc;
    outline: none;
    transition: var(--transition);
    min-width: 0;
}

.header-search-form .search-field:focus {
    border-color: var(--primary);
    background: #fff;
}

.header-search-form .search-submit {
    height: 46px;
    padding: 0 20px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.header-search-form .search-submit:hover {
    background: var(--primary-hover);
}

.search-close-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0 6px;
}

/* ==========================================================================
   7. KATEGORİ ŞERİDİ (QUICK STRIP)
   ========================================================================== */
.category-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    width: 100%;
    overflow: hidden;
}

.category-strip-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.strip-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.strip-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
    width: 100%;
    min-width: 0;
}

.strip-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.category-pill:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-color: #bfdbfe;
}

/* ==========================================================================
   8. PREMIUM MAKALE SLAYTI (CAROUSEL / SLIDER)
   ========================================================================== */
.termal-slider-section {
    margin: 20px 0 32px 0;
    width: 100%;
    max-width: 100%;
}

.termal-slider-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0f172a;
    box-shadow: var(--shadow-slider);
    min-height: 420px;
    user-select: none;
    width: 100%;
    max-width: 100%;
}

.termal-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.termal-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s ease;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.termal-slide-item.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}

.slide-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-fallback-cover {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 30%, #1e3a8a 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.fallback-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(37, 99, 235, 0.25);
    border-radius: 50%;
    filter: blur(80px);
}

.fallback-icon {
    font-size: 72px;
    position: relative;
    z-index: 2;
    opacity: 0.85;
}

.slide-backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.6) 45%, rgba(15, 23, 42, 0.96) 100%);
    z-index: 2;
}

.slide-caption {
    position: relative;
    z-index: 3;
    padding: 38px 44px;
    max-width: 800px;
    color: #ffffff;
    width: 100%;
}

.slide-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.slide-cat-badge {
    background: rgba(37, 99, 235, 0.95);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-cat-badge:hover {
    background: #1d4ed8;
    color: #fff;
}

.badge-sparkle {
    color: #fbbf24;
}

.slide-date,
.slide-reading {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.slide-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.slide-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.slide-title a:hover {
    color: #93c5fd;
}

.slide-excerpt {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 680px;
}

.slide-action {
    display: flex;
    align-items: center;
}

.btn-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0f172a;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-slide-cta:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow-prev { left: 18px; }
.slider-arrow-next { right: 18px; }

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.06);
}

.slider-indicators {
    position: absolute;
    bottom: 22px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 10;
}

.indicator-dot {
    height: 7px;
    width: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.indicator-dot.is-active {
    width: 38px;
    background: var(--primary);
}

/* ==========================================================================
   9. MOBİL MENÜ ÇEKMECESİ & AKORDİYON
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    max-width: 82vw;
    height: 100%;
    background: #ffffff;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.mobile-drawer.is-active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.mobile-drawer-title span {
    color: var(--primary);
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #64748b;
    line-height: 1;
}

.mobile-drawer-content {
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mobile-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-navigation li {
    display: flex;
    flex-direction: column;
    width: 100%;
    list-style: none;
}

.mobile-nav-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.mobile-navigation a {
    flex-grow: 1;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}

.mobile-sub-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-left: 1px solid var(--border-color);
    color: #64748b;
    cursor: pointer;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.mobile-sub-toggle.is-active {
    transform: rotate(180deg);
    color: var(--primary);
}

.mobile-navigation .sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.25s ease;
    padding-left: 12px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 3px solid #bfdbfe;
}

.mobile-navigation .sub-menu.is-open {
    max-height: 800px;
    opacity: 1;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
}

.mobile-navigation .sub-menu a {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.mobile-drawer-footer {
    margin-top: auto;
    padding-top: 18px;
}

.mobile-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--wa-green);
    color: #ffffff;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.mobile-wa-btn:hover {
    background: var(--wa-hover);
    color: #fff;
}

/* ==========================================================================
   10. SAYFA DÜZENİ (GRID & SIDEBAR)
   ========================================================================== */
.page-layout {
    margin-top: 22px;
    margin-bottom: 46px;
    width: 100%;
}

.main-content-row {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 32px;
    align-items: start;
    width: 100%;
}

.content-area {
    min-width: 0;
    width: 100%;
}

/* ==========================================================================
   11. BLOG KARTLARI (POST GRID)
   ========================================================================== */
.section-header {
    margin-bottom: 22px;
}

.section-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-bar {
    width: 5px;
    height: 22px;
    background: var(--primary);
    border-radius: 4px;
    display: inline-block;
    flex-shrink: 0;
}

.termal-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    width: 100%;
}

.termal-card-post {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 100%;
}

.termal-card-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.card-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
    width: 100%;
}

.card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.termal-card-post:hover .card-thumb-img {
    transform: scale(1.04);
}

.card-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    gap: 6px;
}

.placeholder-icon {
    font-size: 32px;
}

.placeholder-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-category-badge:hover {
    background: var(--primary);
    color: #fff;
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.card-meta svg {
    vertical-align: -2px;
    margin-right: 3px;
    flex-shrink: 0;
}

.meta-dot {
    color: #cbd5e1;
}

.card-title {
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.card-title a {
    color: #0f172a;
}

.card-title a:hover {
    color: var(--primary);
}

.card-excerpt {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
    margin-top: auto;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar img {
    border-radius: 50%;
}

.author-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.card-read-more {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-read-more:hover {
    gap: 7px;
}

/* ==========================================================================
   12. SAYFALAMA (PAGINATION)
   ========================================================================== */
.termal-pagination-wrap {
    margin-top: 32px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #334155;
    transition: var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ==========================================================================
   13. TEKİL YAZI (SINGLE POST DETAYI)
   ========================================================================== */
.single-layout {
    margin-top: 18px;
}

.termal-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    word-break: break-word;
}

.termal-breadcrumbs a {
    color: var(--text-muted);
}

.termal-breadcrumbs a:hover {
    color: var(--primary);
}

.termal-breadcrumbs .sep {
    color: #cbd5e1;
}

.termal-breadcrumbs .current {
    color: #0f172a;
    font-weight: 600;
}

.single-article-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 34px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.single-category-wrapper {
    margin-bottom: 12px;
}

.single-category-pill {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid #bfdbfe;
}

.entry-header {
    margin-bottom: 22px;
}

.entry-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-author img {
    border-radius: 50%;
}

.single-featured-media {
    margin: 22px 0 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0f172a;
    width: 100%;
}

.single-thumb-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.thumb-caption {
    font-size: 12px;
    color: var(--text-light);
    padding: 8px 12px;
    text-align: center;
    background: #f8fafc;
}

/* Tipografi & İçerik Metni */
.typography-prose {
    font-size: 16.5px;
    line-height: 1.8;
    color: #1e293b;
    word-break: break-word;
    overflow-wrap: break-word;
}

.typography-prose p {
    margin-bottom: 20px;
}

.typography-prose h2,
.typography-prose h3,
.typography-prose h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.3;
}

.typography-prose h2 {
    font-size: 23px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.typography-prose h3 {
    font-size: 19px;
}

.typography-prose ul,
.typography-prose ol {
    margin-bottom: 20px;
    padding-left: 22px;
}

.typography-prose ul {
    list-style: disc;
}

.typography-prose ol {
    list-style: decimal;
}

.typography-prose li {
    margin-bottom: 8px;
}

.typography-prose blockquote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 14px 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: #1e3a8a;
    margin: 24px 0;
}

.typography-prose table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14.5px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.typography-prose th,
.typography-prose td {
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.typography-prose th {
    background: var(--bg-surface);
    font-weight: 700;
}

.typography-prose pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 14px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13.5px;
    margin: 20px 0;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.typography-prose code {
    background: #f1f5f9;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    word-break: break-all;
}

/* Etiketler */
.single-tags-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.tag-pill {
    background: var(--bg-surface);
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.tag-pill:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Paylaşım Butonları */
.termal-share-bar {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin: 22px 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.share-title {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-whatsapp { background: #25D366; }
.btn-whatsapp:hover { background: #1eb956; color: #fff; }

.btn-twitter { background: #000000; }
.btn-twitter:hover { background: #333333; color: #fff; }

.btn-facebook { background: #1877F2; }
.btn-facebook:hover { background: #0d65d9; color: #fff; }

.btn-telegram { background: #229ED9; }
.btn-telegram:hover { background: #1b85b8; color: #fff; }

.btn-copy { background: #475569; }
.btn-copy:hover { background: #334155; }

/* Yazar Kutusu */
.termal-author-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    margin: 32px 0;
}

.author-box-avatar img {
    border-radius: 50%;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.author-role {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.author-box-info .author-name {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 2px 0 5px;
}

.author-bio {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* İlgili Yazılar */
.termal-related-posts {
    margin: 36px 0;
}

.termal-section-heading {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.termal-section-heading .icon {
    color: var(--primary);
}

.termal-grid-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.termal-related-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.termal-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.related-thumb-link {
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    background: #0f172a;
}

.related-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.related-body {
    padding: 12px;
}

.related-date {
    font-size: 11px;
    color: var(--text-light);
    display: block;
    margin-bottom: 3px;
}

.related-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}

.related-title a {
    color: #0f172a;
}

.related-title a:hover {
    color: var(--primary);
}

/* ==========================================================================
   14. YORUMLAR (COMMENTS)
   ========================================================================== */
.comments-area {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.comments-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 22px;
}

.comment-list {
    margin-bottom: 26px;
}

.comment-list .comment {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 14px;
}

.comment-list .children {
    margin-left: 20px;
    margin-top: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author img {
    border-radius: 50%;
}

.comment-author .fn {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.comment-meta {
    font-size: 11.5px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.comment-content {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    word-break: break-word;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

/* Yorum Formu */
.comment-respond {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.comment-reply-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.comment-form p {
    margin-bottom: 14px;
}

.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    background: #f8fafc;
    font-family: inherit;
    box-sizing: border-box;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.btn-comment-submit {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 22px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-comment-submit:hover {
    background: var(--primary-hover);
}

/* ==========================================================================
   15. KENAR ÇUBUĞU (SIDEBAR) BİLEŞENLERİ
   ========================================================================== */
.termal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.termal-sidebar.is-sticky {
    position: sticky;
    top: 86px;
}

.termal-widget {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}

.termal-widget-title {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}

.termal-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.termal-widget .search-form {
    display: flex;
    position: relative;
    width: 100%;
}

.termal-widget .search-field {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 12px;
    font-size: 13.5px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    box-sizing: border-box;
}

.termal-widget .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 42px;
    width: 42px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.termal-cat-list li {
    margin-bottom: 7px;
}

.termal-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    border: 1px solid transparent;
}

.termal-cat-list a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: #bfdbfe;
}

.cat-count {
    font-size: 11px;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.termal-mini-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.mini-content {
    flex-grow: 1;
    min-width: 0;
}

.mini-date {
    font-size: 11px;
    color: var(--text-light);
    display: block;
    margin-bottom: 2px;
}

.mini-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.mini-title a {
    color: #0f172a;
}

.mini-title a:hover {
    color: var(--primary);
}

/* ==========================================================================
   16. FOOTER (ALT BİLGİ ALANI)
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    margin-top: auto;
    border-top: 1px solid #1e293b;
    width: 100%;
}

.footer-widgets-area {
    padding: 44px 20px 36px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    width: 100%;
}

.footer-col-about .footer-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-col-about .site-title {
    color: #ffffff;
    font-size: 19px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: #94a3b8;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #cbd5e1;
    word-break: break-all;
}

.footer-widget-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding: 16px 0;
    font-size: 12px;
    width: 100%;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.footer-nav ul {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #94a3b8;
}

.footer-nav a:hover {
    color: #ffffff;
}

/* ==========================================================================
   17. YUKARI ÇIK BUTONU & YENİ NESİL WHATSAPP CANLI DESTEK BUTONU
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* YENİ NESİL PREMIUM WHATSAPP CANLI DESTEK BUTONU */
.floating-wa-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.4), 0 4px 8px -2px rgba(18, 140, 126, 0.2);
    z-index: 990;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    user-select: none;
}

.floating-wa-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.6), 0 6px 12px -2px rgba(18, 140, 126, 0.3);
    color: #ffffff;
}

.floating-wa-icon-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.floating-wa-svg {
    width: 24px;
    height: 24px;
    fill: #25D366;
    display: block;
}

.floating-wa-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.floating-wa-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.floating-wa-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.floating-wa-sub {
    font-size: 10.5px;
    color: #e0f2fe;
    font-weight: 500;
    margin-top: 2px;
    opacity: 0.95;
    white-space: nowrap;
}

.floating-wa-pulse {
    position: absolute;
    top: 50%;
    left: 26px;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.5;
    z-index: -1;
    animation: waPulseRadar 2s infinite;
}

@keyframes waPulseRadar {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

/* 404 Sayfası */
.error-404-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px 18px;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
}

.error-code {
    font-size: 80px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.error-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.error-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 22px;
}

.error-action-btns {
    margin-top: 22px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13.5px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* ==========================================================================
   18. MOBİL ODAKLI TAM RESPONSIVE TASARIM (KAYMALARI ÖNLEYEN KURAL SETİ)
   ========================================================================== */
@media (max-width: 1100px) {
    .main-navigation a {
        padding: 7px 9px;
        font-size: 13px;
    }
    .slide-title {
        font-size: 25px;
    }
}

@media (max-width: 1024px) {
    .main-navigation {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-content-row {
        grid-template-columns: 100%;
        gap: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }
}

@media (max-width: 768px) {
    .termal-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .topbar-right {
        display: none;
    }

    .site-branding {
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 94px);
    }
    
    .site-title-link {
        gap: 8px;
        max-width: 100%;
        overflow: hidden;
    }

    .custom-logo,
    .site-logo img {
        height: 36px;
        max-height: 38px;
        max-width: 150px;
        width: auto;
    }
    
    .site-title {
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .site-tagline {
        display: none !important;
    }
    
    .logo-icon-box {
        width: 36px;
        height: 36px;
        font-size: 17px;
        border-radius: 9px;
    }

    /* Slayt Tam Mobil Optimizasyonu */
    .termal-slider-section {
        margin: 14px 0 24px 0;
    }

    .termal-slider-container,
    .termal-slider-track {
        min-height: 290px;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: var(--radius-md);
    }
    
    .slide-caption {
        padding: 16px 14px 44px 14px;
    }
    
    .slide-meta-row {
        gap: 6px 10px;
        margin-bottom: 8px;
        font-size: 11.5px;
    }

    .slide-cat-badge {
        font-size: 10.5px;
        padding: 3px 9px;
    }
    
    .slide-title {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .slide-excerpt {
        display: none !important;
    }
    
    .btn-slide-cta {
        padding: 7px 14px;
        font-size: 12.5px;
    }
    
    /* Mobilde ok butonlarını gizle (Touch swipe aktiftir ve ekranı tıkamaz) */
    .slider-arrow {
        display: none !important;
    }
    
    .slider-indicators {
        bottom: 12px;
        right: 14px;
        gap: 5px;
    }

    .indicator-dot {
        height: 5px;
        width: 16px;
    }

    .indicator-dot.is-active {
        width: 30px;
    }

    /* Blog Kartları */
    .termal-posts-grid {
        grid-template-columns: 100%;
        gap: 18px;
    }
    
    .termal-grid-related {
        grid-template-columns: 100%;
        gap: 14px;
    }
    
    .single-article-content {
        padding: 18px 14px;
        border-radius: var(--radius-sm);
    }
    
    .entry-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .entry-meta {
        gap: 6px 10px;
        font-size: 12px;
    }
    
    .typography-prose {
        font-size: 15.5px;
        line-height: 1.7;
    }
    
    .termal-share-bar {
        padding: 12px;
        gap: 10px;
    }

    .share-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .btn-share {
        width: 100%;
        padding: 8px 6px;
        font-size: 12px;
    }

    .termal-author-box {
        flex-direction: column;
        text-align: center;
        padding: 18px 14px;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 100%;
        gap: 24px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Mobilde WhatsApp Butonu Düzeni */
    .floating-wa-btn {
        bottom: 18px;
        left: 14px;
        padding: 8px 14px 8px 8px;
        gap: 8px;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    }
    
    .floating-wa-icon-wrap {
        width: 34px;
        height: 34px;
    }
    
    .floating-wa-svg {
        width: 20px;
        height: 20px;
    }
    
    .floating-wa-sub {
        display: none !important;
    }
    
    .floating-wa-title {
        font-size: 12.5px;
        font-weight: 700;
    }
    
    .floating-wa-pulse {
        left: 21px;
        width: 38px;
        height: 38px;
    }

    .back-to-top-btn {
        bottom: 18px;
        right: 14px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .floating-wa-btn {
        padding: 0;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .floating-wa-content {
        display: none !important;
    }
    
    .floating-wa-icon-wrap {
        width: 46px;
        height: 46px;
        background: transparent;
        box-shadow: none;
    }
    
    .floating-wa-svg {
        fill: #ffffff;
        width: 26px;
        height: 26px;
    }
    
    .floating-wa-status-dot {
        bottom: 2px;
        right: 2px;
        border-color: #25D366;
    }
    
    .floating-wa-pulse {
        left: 50%;
        width: 46px;
        height: 46px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
