/* ==============================================================================
   WindowsYardim.com - Ultra Modern, Kurumsal & %100 Kusursuz Mobil Tasarım
   ============================================================================== */

:root,
[data-theme="light"] {
    /* Açık Mod (Varsayılan Ana Tema) */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #ffffff;
    --border-color: #e2e8f0;
    --border-subtle: #edf2f7;
    --border-focus: #0078d4;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --brand-blue: #0078d4;
    --brand-blue-hover: #005a9e;
    --brand-blue-light: #f0f7ff;
    --brand-blue-border: #cce4f7;

    --accent-cyan: #0284c7;
    --accent-purple: #6d28d9;
    --accent-emerald: #059669;
    --accent-amber: #d97706;

    --code-bg: #0f172a;
    --code-border: #1e293b;
    --code-text: #f8fafc;

    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 3px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', Consolas, Monaco, monospace;

    --header-height: 86px;
    --container-max: 1240px;
}

/* Karanlık Mod (Dark Mode) */
[data-theme="dark"] {
    --bg-main: #0b1120;
    --bg-surface: #111b2e;
    --bg-card: #111b2e;
    --bg-card-hover: #19263e;
    --bg-input: #15223a;
    --border-color: #1f304f;
    --border-subtle: #192740;
    --border-focus: #0078d4;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-light: #475569;

    --brand-blue: #38bdf8;
    --brand-blue-hover: #60a5fa;
    --brand-blue-light: rgba(56, 189, 248, 0.12);
    --brand-blue-border: rgba(56, 189, 248, 0.25);

    --code-bg: #070c18;
    --code-border: #1a273e;
    --code-text: #e2e8f0;

    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 3px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Temel Sıfırlama ve Taşma Koruması */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.68;
    letter-spacing: -0.01em;
    transition: background-color 0.2s ease, color 0.2s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--brand-blue-hover);
}

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Okuma İlerleme Çubuğu */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--brand-blue);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s ease;
}

/* ==============================================================================
   Üst Menü (Header & Navbar)
   ============================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    min-height: var(--header-height);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 100%;
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

/* Büyük, Görkemli ve Net Logo */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 56px;
    max-height: 62px;
    width: auto;
    max-width: 320px;
    display: block;
    object-fit: contain;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.02);
}

/* Dark Mode Logo Uyumlandırma */
[data-theme="dark"] .brand-logo-img,
[data-theme="dark"] .footer-logo-img {
    filter: brightness(0) invert(1);
}

/* Masaüstü Menü */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.4rem;
    align-items: center;
}

.nav-link {
    padding: 0.6rem 0.95rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all 0.15s ease;
}

.nav-link:hover {
    color: var(--brand-blue);
    background: var(--brand-blue-light);
}

.nav-link.active {
    color: var(--brand-blue);
    font-weight: 600;
    background: var(--brand-blue-light);
}

/* Üst Sağ Aksiyonlar */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 0.85rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.header-search-input {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.55rem 2.2rem 0.55rem 2.3rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 400;
    width: 240px;
    outline: none;
    transition: all 0.2s ease;
}

.header-search-input:focus {
    width: 290px;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--brand-blue-light);
}

.search-shortcut {
    position: absolute;
    right: 0.65rem;
    font-size: 0.72rem;
    padding: 1px 5px;
    background: var(--border-color);
    color: var(--text-muted);
    border-radius: 4px;
    font-family: var(--font-mono);
}

/* Tema Butonu */
.theme-toggle-btn {
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    color: var(--text-primary);
    border-color: var(--brand-blue);
}

.sun-icon { display: none; color: #d97706; }
.moon-icon { display: block; color: #475569; }

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* Mobil Hamburger Butonu */
.mobile-menu-btn {
    display: none;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-btn .bar {
    width: 22px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.mobile-menu-btn.is-active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.is-active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobil Drawer Menü */
.mobile-drawer {
    display: none;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.mobile-drawer.is-active {
    display: block;
    animation: slideDown 0.25s ease;
}

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

.mobile-search-wrapper {
    margin-bottom: 1.25rem;
    width: 100%;
}

.mobile-search-wrapper .header-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.4rem;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.15rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    transition: all 0.15s ease;
}

.mobile-nav-link:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue-border);
    background: var(--brand-blue-light);
}

.mobile-drawer-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==============================================================================
   Hero Bölümü
   ============================================================================== */
.hero-section {
    padding: 3.5rem 1.25rem 2.5rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    width: 100%;
}

.hero-container {
    max-width: 840px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--brand-blue-light);
    border: 1px solid var(--brand-blue-border);
    color: var(--brand-blue);
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-blue);
    border-radius: 50%;
}

.hero-title {
    font-size: 2.45rem;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.95rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.gradient-text {
    color: var(--brand-blue);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero Arama */
.hero-search-wrapper {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.4rem 0.4rem 0.4rem 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.hero-search-box:focus-within {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px var(--brand-blue-light);
}

.hero-search-icon {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.65rem 0.85rem;
    outline: none;
    min-width: 0;
}

.hero-search-submit {
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.45rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-search-submit:hover {
    background: var(--brand-blue-hover);
}

.hero-popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.15rem;
    font-size: 0.82rem;
}

.search-tag-title {
    color: var(--text-muted);
    font-weight: 500;
}

.search-pill {
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-weight: 400;
    transition: all 0.15s ease;
}

.search-pill:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue-border);
}

/* ==============================================================================
   Kategori Şeridi
   ============================================================================== */
.categories-bar-section {
    padding: 1rem 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
}

.categories-bar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width: 100%;
    box-sizing: border-box;
}

.cat-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.cat-chip:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    background: var(--bg-surface);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

.cat-chip-icon {
    color: var(--brand-blue);
    font-size: 0.95rem;
}

/* ==============================================================================
   İçerik Düzeni
   ============================================================================== */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.25rem;
    padding-top: 2.25rem;
    padding-bottom: 4rem;
    flex: 1;
    width: 100%;
    min-width: 0;
}

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

.section-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.section-label h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Öne Çıkan Baş Kart */
.featured-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    margin-bottom: 2.25rem;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.featured-card:hover {
    border-color: var(--brand-blue-border);
    box-shadow: var(--shadow-sm);
}

.featured-badge-ribbon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

[data-theme="dark"] .featured-badge-ribbon {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.25);
}

.featured-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.post-category-badge {
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue-border);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.featured-title {
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.featured-title a {
    color: var(--text-primary);
}

.featured-title a:hover {
    color: var(--brand-blue);
}

.featured-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1.35rem;
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* Hızlı Çözüm Kutusu */
.geo-snippet-box,
.geo-direct-answer-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.35rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

[data-theme="dark"] .geo-snippet-box,
[data-theme="dark"] .geo-direct-answer-card {
    background: rgba(8, 145, 178, 0.08);
    border-color: rgba(8, 145, 178, 0.25);
}

.geo-snippet-header,
.geo-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.geo-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.geo-card-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.geo-badge-icon {
    width: 34px;
    height: 34px;
    background: rgba(8, 145, 178, 0.15);
    color: var(--accent-cyan);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.geo-card-body p,
.geo-snippet-text {
    font-size: 0.94rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 38px;
    height: 38px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.author-name {
    font-size: 0.88rem;
    font-weight: 600;
    display: block;
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.15s ease;
}

.btn-read-more:hover {
    background: var(--brand-blue-hover);
    color: #ffffff;
}

/* ==============================================================================
   Makaleler Izgarası (Posts Grid)
   ============================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
}

.posts-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.post-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.45rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.post-card:hover {
    border-color: var(--brand-blue-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.post-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
}

.post-date {
    color: var(--text-muted);
}

.post-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

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

.post-card-title a:hover {
    color: var(--brand-blue);
}

.post-card-desc {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.15rem;
    flex: 1;
    overflow-wrap: break-word;
}

.post-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.15rem;
}

.req-pill {
    background: var(--bg-main);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 400;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.84rem;
}

.reading-time {
    color: var(--text-muted);
}

.post-card-link {
    font-weight: 600;
    color: var(--brand-blue);
}

/* ==============================================================================
   Sidebar (Yan Menü)
   ============================================================================== */
.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    width: 100%;
    min-width: 0;
}

.sidebar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.45rem;
    box-shadow: var(--shadow-xs);
    width: 100%;
    box-sizing: border-box;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.95rem;
}

.widget-icon {
    font-size: 1.05rem;
    color: var(--brand-blue);
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.widget-desc {
    font-size: 0.86rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.95rem;
}

.sidebar-search-form .search-box {
    display: flex;
    gap: 0.4rem;
    width: 100%;
}

.sidebar-input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    outline: none;
    min-width: 0;
}

.sidebar-input:focus {
    border-color: var(--brand-blue);
}

.sidebar-btn {
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    padding: 0.55rem 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-shrink: 0;
}

/* Popüler Makaleler */
.popular-posts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    width: 100%;
}

.popular-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    width: 100%;
}

.popular-rank {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-blue);
    background: var(--brand-blue-light);
    width: 26px;
    height: 26px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
}

.popular-link:hover {
    color: var(--brand-blue);
}

.popular-meta {
    display: flex;
    gap: 0.6rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Komut Listesi */
.cmd-snippet-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.cmd-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.cmd-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.cmd-name {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 500;
}

.cmd-info code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--brand-blue);
    overflow-x: auto;
    white-space: nowrap;
    display: block;
}

.copy-mini-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.copy-mini-btn:hover {
    color: var(--text-primary);
    background: var(--border-color);
}

/* Kategoriler */
.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.category-link:hover {
    background: var(--bg-card-hover);
    color: var(--brand-blue);
}

.cat-name {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.cat-icon {
    width: 16px;
    color: var(--brand-blue);
}

.cat-count {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    font-size: 0.72rem;
    padding: 1px 7px;
    border-radius: 9999px;
    color: var(--text-muted);
}

/* ==============================================================================
   Tekil Makale Sayfası
   ============================================================================== */
.breadcrumb-container {
    padding: 1.15rem 0;
    font-size: 0.84rem;
    width: 100%;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    color: var(--text-muted);
    width: 100%;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
}

.breadcrumb-item a {
    color: var(--text-secondary);
}

.breadcrumb-item a:hover {
    color: var(--brand-blue);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

.separator {
    font-size: 0.65rem;
}

.article-single {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    box-shadow: var(--shadow-xs);
    margin-bottom: 2.25rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    width: 100%;
}

.article-title {
    font-size: 2.15rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin: 0.85rem 0 1.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.article-meta-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.86rem;
    width: 100%;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.date-block {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
}

/* Makale Öne Çıkan Görseli */
.article-featured-image-wrapper {
    margin: 1.5rem 0 0.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    box-shadow: var(--shadow-xs);
    width: 100%;
}

.article-featured-image {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Kart Thumbnail Görselleri */
.featured-image-wrapper {
    margin: -2.25rem -2.25rem 1.5rem -2.25rem;
    overflow: hidden;
    max-height: 320px;
    border-bottom: 1px solid var(--border-color);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-img {
    transform: scale(1.02);
}

.post-thumb-wrapper {
    margin: -1.45rem -1.45rem 1.15rem -1.45rem;
    overflow: hidden;
    max-height: 180px;
    border-bottom: 1px solid var(--border-color);
}

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

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

/* Sistem Gereksinimleri */
.article-requirements-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    font-size: 0.86rem;
    width: 100%;
    box-sizing: border-box;
}

.req-title {
    color: var(--text-primary);
    font-weight: 600;
}

.req-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.req-tag {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
}

[data-theme="dark"] .req-tag {
    background: rgba(5, 150, 105, 0.15);
    color: #34d399;
    border-color: rgba(5, 150, 105, 0.3);
}

/* İçindekiler Tablosu (TOC) */
.table-of-contents-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.35rem;
    margin-bottom: 2.25rem;
    width: 100%;
    box-sizing: border-box;
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.toc-header h3 {
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    margin-left: 0.6rem;
}

.toc-arrow {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.toc-content {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--border-color);
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.toc-list li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    padding: 0.2rem 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.toc-list li.toc-h3 {
    padding-left: 1.25rem;
}

.toc-list li a:hover {
    color: var(--brand-blue);
}

/* Makale Gövdesi */
.article-body-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 400;
    overflow-wrap: break-word;
    word-break: break-word;
    width: 100%;
}

.article-body-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.35rem 0 0.95rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-body-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.85rem 0 0.65rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-body-content p {
    margin-bottom: 1.35rem;
    color: var(--text-primary);
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 1.45rem;
    padding-left: 1.45rem;
}

.article-body-content li {
    margin-bottom: 0.45rem;
}

/* Kod Blokları & Kopyalama */
.code-block-wrapper {
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: var(--radius-md);
    margin: 1.45rem 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.code-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.15rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--code-border);
}

.code-lang {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.copy-code-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.15s ease;
}

.copy-code-btn:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

.code-block-wrapper pre {
    padding: 1.15rem 1.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--code-text);
    margin: 0;
    max-width: 100%;
    box-sizing: border-box;
}

code:not(pre code) {
    font-family: var(--font-mono);
    font-size: 0.86em;
    background: var(--bg-card-hover);
    color: var(--brand-blue);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    word-break: break-word;
    overflow-wrap: break-word;
}

kbd {
    font-family: var(--font-mono);
    font-size: 0.78em;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-bottom-width: 2px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Bilgi ve Uyarı Kutuları */
.alert-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-sm);
    margin: 1.45rem 0;
    font-size: 0.94rem;
    width: 100%;
    box-sizing: border-box;
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-info {
    background: #f0f7ff;
    border-left: 4px solid var(--brand-blue);
    color: #1e3a8a;
}

[data-theme="dark"] .alert-info {
    background: rgba(0, 120, 212, 0.12);
    color: #93c5fd;
}

.alert-info .alert-icon { color: var(--brand-blue); }

.alert-success {
    background: #ecfdf5;
    border-left: 4px solid var(--accent-emerald);
    color: #065f46;
}

[data-theme="dark"] .alert-success {
    background: rgba(5, 150, 105, 0.12);
    color: #6ee7b7;
}

.alert-success .alert-icon { color: var(--accent-emerald); }

.alert-warning {
    background: #fffbeb;
    border-left: 4px solid var(--accent-amber);
    color: #92400e;
}

[data-theme="dark"] .alert-warning {
    background: rgba(217, 119, 6, 0.12);
    color: #fcd34d;
}

.alert-warning .alert-icon { color: var(--accent-amber); }

/* Adım Listesi (Steps List) */
.steps-list {
    list-style: none;
    padding: 0;
    margin: 1.45rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    width: 100%;
}

.steps-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 1.05rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

.step-num {
    background: var(--brand-blue);
    color: #ffffff;
    font-weight: 600;
    font-family: var(--font-mono);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.82rem;
}

/* HowTo Steps */
.article-steps-section {
    margin: 2.35rem 0;
    width: 100%;
}

.steps-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.step-card {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.step-badge {
    width: 34px;
    height: 34px;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue-border);
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    overflow-wrap: break-word;
}

.step-desc {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
    overflow-wrap: break-word;
}

/* FAQ Akordeon */
.article-faq-section {
    margin: 2.35rem 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.faq-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
}

.faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 100%;
    box-sizing: border-box;
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.05rem 1.25rem;
    text-align: left;
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
}

.faq-toggle-icon {
    font-size: 0.85rem;
    color: var(--brand-blue);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer-panel {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: break-word;
}

/* Etiketler */
.article-tags-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.tags-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.article-tag-pill {
    background: var(--bg-main);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.article-tag-pill:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

/* Paylaşım Barı */
.article-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 1.05rem 1.35rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.share-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.share-x { background: #000000; }
.share-wa { background: #16a34a; }
.share-tg { background: #0284c7; }
.share-li { background: #0369a1; }
.share-copy { background: var(--bg-surface); color: var(--text-primary); }

.share-btn:hover {
    opacity: 0.85;
}

/* Yazar Kartı */
.article-author-card {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.45rem;
    width: 100%;
    box-sizing: border-box;
}

.author-card-avatar {
    width: 56px;
    height: 56px;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.author-card-bio h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.author-bio-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.45rem;
}

.author-card-bio p {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    overflow-wrap: break-word;
}

/* ==============================================================================
   Kategori & Arama Sayfaları Hero
   ============================================================================== */
.category-hero-section {
    padding: 2.25rem 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.25rem;
    width: 100%;
}

.category-hero-content {
    display: flex;
    gap: 1.45rem;
    align-items: center;
    margin-top: 0.95rem;
}

.category-hero-icon {
    width: 62px;
    height: 62px;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
}

.category-hero-title {
    font-size: 1.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    overflow-wrap: break-word;
}

.category-hero-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
}

.category-stats {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Arama Sayfası */
.search-results-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    overflow-wrap: break-word;
}

.search-results-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.search-page-form {
    max-width: 600px;
    width: 100%;
}

.search-input-wrapper-lg {
    display: flex;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
}

.search-input-wrapper-lg i {
    padding: 0.95rem 1.05rem;
    color: var(--text-muted);
}

.search-input-wrapper-lg input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 400;
    outline: none;
    min-width: 0;
}

.search-input-wrapper-lg button {
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    padding: 0 1.35rem;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    white-space: nowrap;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.search-result-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.45rem;
    box-shadow: var(--shadow-xs);
    width: 100%;
    box-sizing: border-box;
}

.search-result-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

.search-result-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
    overflow-wrap: break-word;
}

.search-result-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 400;
    margin-bottom: 0.95rem;
    overflow-wrap: break-word;
}

.search-result-geo {
    background: #f0fdfa;
    border-left: 4px solid var(--accent-cyan);
    padding: 0.55rem 0.85rem;
    border-radius: 4px;
    font-size: 0.86rem;
    margin-bottom: 0.95rem;
    display: flex;
    gap: 0.5rem;
}

[data-theme="dark"] .search-result-geo {
    background: rgba(8, 145, 178, 0.1);
}

.search-result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
}

.tag-badge {
    background: var(--bg-main);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 4px;
}

.search-read-link {
    font-weight: 600;
    font-size: 0.88rem;
}

mark.highlight {
    background: #fef08a;
    color: #713f12;
    padding: 0 3px;
    border-radius: 2px;
}

/* Boş Durum & Statik Sayfalar */
.empty-state-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 1.75rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.empty-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 0.95rem;
}

.empty-state-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 400;
    max-width: 520px;
    margin: 0 auto 1.45rem;
}

.static-page-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    box-shadow: var(--shadow-xs);
    width: 100%;
    box-sizing: border-box;
}

.static-page-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.static-page-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.45rem 0 0.55rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.45rem;
    margin-top: 1.45rem;
    width: 100%;
}

.contact-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 1.45rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.contact-icon {
    font-size: 1.75rem;
    color: var(--brand-blue);
    margin-bottom: 0.65rem;
}

.error-404-card {
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.75rem 1.75rem;
    max-width: 640px;
    margin: 2rem auto;
    width: 100%;
    box-sizing: border-box;
}

.error-code {
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 0.95rem;
}

.error-404-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.error-404-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1.75rem;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 0.95rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.7rem 1.45rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
    color: #ffffff;
}

.btn-secondary {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.7rem 1.45rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.92rem;
}

/* ==============================================================================
   Alt Bilgi (Footer & Kurumsal Yasal Bildirim)
   ============================================================================== */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    width: 100%;
}

.footer-top {
    padding: 3.75rem 0 2.75rem;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-logo {
    margin-bottom: 1.15rem;
}

.footer-logo-img {
    height: 52px;
    max-height: 58px;
    width: auto;
    object-fit: contain;
    transition: filter 0.2s ease;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.social-links {
    display: flex;
    gap: 0.55rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.15s ease;
}

.social-btn:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--brand-blue);
}

.legal-col .footer-legal {
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.65;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 1.05rem 1.25rem;
    border-radius: var(--radius-md);
    overflow-wrap: break-word;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 0;
    width: 100%;
}

.footer-bottom-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--text-muted);
    width: 100%;
    box-sizing: border-box;
}

.back-to-top-link {
    color: var(--text-secondary);
}

/* Yukarı Çık Butonu */
.back-to-top-btn {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 46px;
    height: 46px;
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 800;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--brand-blue-hover);
}

/* Toast Bildirim */
.toast-notification {
    position: fixed;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #0f172a;
    color: #ffffff;
    padding: 0.65rem 1.35rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.86rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1100;
    max-width: 90%;
    text-align: center;
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    color: #34d399;
}

/* ==============================================================================
   %100 Kusursuz Mobil & Tablet Uyumluluk (Responsive Media Queries)
   ============================================================================== */
@media (max-width: 1080px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 860px) {
    .main-nav,
    .header-actions .header-search-form {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .header-container {
        padding: 0.65rem 1rem;
    }
    .brand-logo-img {
        height: 48px;
        max-height: 52px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }
    .container {
        padding: 0 1rem;
    }
    .hero-section {
        padding: 2.5rem 1rem 1.75rem;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .posts-grid,
    .posts-grid.grid-3 {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .featured-card {
        padding: 1.35rem;
        border-radius: var(--radius-lg);
    }
    .featured-badge-ribbon {
        position: static;
        display: inline-block;
        margin-bottom: 0.75rem;
    }
    .featured-title {
        font-size: 1.4rem;
        line-height: 1.35;
    }
    .article-single {
        padding: 1.35rem;
        border-radius: var(--radius-lg);
    }
    .article-title {
        font-size: 1.55rem;
        line-height: 1.32;
    }
    .article-meta-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .category-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .category-hero-title {
        font-size: 1.55rem;
    }
    .breadcrumb-container {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .breadcrumb-list {
        flex-wrap: nowrap;
    }
}

@media (max-width: 540px) {
    .brand-logo-img {
        height: 44px;
        max-height: 48px;
    }
    .hero-search-box {
        flex-direction: column;
        padding: 0.5rem;
        gap: 0.5rem;
        background: var(--bg-surface);
    }
    .hero-search-icon {
        display: none;
    }
    .hero-search-input {
        width: 100%;
        padding: 0.6rem 0.75rem;
        font-size: 0.95rem;
        text-align: center;
    }
    .hero-search-submit {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }
    .article-share-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
    .share-buttons {
        width: 100%;
        justify-content: space-between;
    }
    .share-btn {
        flex: 1;
    }
    .footer-logo-img {
        height: 46px;
    }
    .search-input-wrapper-lg {
        flex-direction: column;
    }
    .search-input-wrapper-lg input {
        padding: 0.75rem 0.85rem;
    }
    .search-input-wrapper-lg button {
        padding: 0.75rem;
    }
}
