/* 
   CSS VARIABLES  DESIGN TOKENS
    */
:root {
    --ink-900: #0a0f1a;
    --ink-800: #131b2e;
    --ink-700: #1e2a45;
    --ink-600: #2c3e5a;
    --ink-500: #4a5d7a;
    --ink-400: #6b7f9e;
    --ink-300: #94a5bd;
    --ink-200: #c2ccdb;
    --ink-100: #e4e9f0;
    --ink-50: #f3f5f8;

    --accent: #c45d3e;
    --accent-light: #e87a5a;
    --accent-dark: #9e4230;
    --accent-glow: rgba(196, 93, 62, 0.12);

    --teal: #1a7a6d;
    --teal-light: #2da395;
    --teal-soft: rgba(26, 122, 109, 0.08);

    --paper: #faf9f7;
    --paper-warm: #f5f2ed;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(10, 15, 26, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 15, 26, 0.08);
    --shadow-lg: 0 8px 32px rgba(10, 15, 26, 0.1);
    --shadow-card: 0 2px 12px rgba(10, 15, 26, 0.05);

    --font-display: 'Montserrat', 'Segoe UI', -apple-system, sans-serif;
    --font-body: 'Montserrat', 'Segoe UI', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --gap: 2rem;
    --radius: 6px;
    --radius-lg: 12px;
}

/* 
   RESET & BASE
    */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--ink-800);
    background-color: var(--paper);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

/* 
   ANIMATIONS
    */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes accentLine {
    from { width: 0; }
    to { width: 48px; }
}

.animate-in { animation: fadeSlideUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* 
   HEADER & NAVIGATION
    */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--ink-100);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: fadeIn 0.4s ease both;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 50px !important;
    width: auto;
}

.footer-logo-img {
    height: 100px;
    width: auto;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -1px;
    box-shadow: 0 2px 8px rgba(196, 93, 62, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-400);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-600);
    border-radius: var(--radius);
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

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

.nav-search input {
    width: 220px;
    padding: 9px 40px 9px 16px;
    border: 1.5px solid var(--ink-100);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink-800);
    background: var(--ink-50);
    transition: all 0.25s ease;
    outline: none;
}

.nav-search input::placeholder { color: var(--ink-300); }

.nav-search input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-glow);
    width: 260px;
}

.nav-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s ease;
}

.nav-search button:hover { background: var(--accent-dark); }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--ink-700);
    cursor: pointer;
    padding: 4px;
}

/* 
   HERO SECTION
    */
.hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: var(--ink-900);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.08;
    filter: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,15,26,0.2) 0%, rgba(10,15,26,0.7) 70%, rgba(10,15,26,0.92) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gap);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 56px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    animation: slideInLeft 0.6s ease both;
    animation-delay: 0.2s;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    max-width: 680px;
    letter-spacing: -1px;
    animation: fadeSlideUp 0.7s ease both;
    animation-delay: 0.35s;
}

.hero-description {
    font-size: 17px;
    color: var(--ink-200);
    max-width: 540px;
    margin-top: 16px;
    line-height: 1.6;
    font-weight: 300;
    animation: fadeSlideUp 0.7s ease both;
    animation-delay: 0.5s;
}

.hero-accent-line {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 20px;
    animation: accentLine 0.6s ease both;
    animation-delay: 0.65s;
}

/* 
   MAIN LAYOUT
    */
.main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px var(--gap) 64px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

/* 
   BLOG CARD  HORIZONTAL
    */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--ink-100);
    transition: all 0.35s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--ink-200);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover zoom kaldirildi */

.blog-card-body {
    padding: 12px 24px 12px 0;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    transition: all 0.2s ease;
}

.cat-bilim { background: #eef7f4; color: var(--teal); }
.cat-teknoloji { background: #eef1f9; color: #4a5ebd; }
.cat-kultur { background: #fef3ee; color: var(--accent); }
.cat-sanat { background: #f5eef9; color: #7c4dbd; }
.cat-spor { background: #eef6fc; color: #2d7db5; }
.cat-lise { background: #fdf5ee; color: #c47a2e; }
.cat-default { background: var(--ink-50); color: var(--ink-500); }

.blog-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

.blog-card:hover .blog-card-title { color: var(--accent); }

.blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-400);
    margin-bottom: 6px;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta i { font-size: 14px; }

.blog-card-excerpt {
    font-size: 15px;
    color: var(--ink-500);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 16px;
    transition: gap 0.25s ease;
}

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

/* Featured post stili kaldirildi — tum kartlar ayni boyutta */

/* 
   PAGINATION
    */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
}

.pagination a {
    color: var(--ink-500);
    background: var(--white);
    border-color: var(--ink-100);
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.pagination .active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.pagination .dots {
    color: var(--ink-300);
    border: none;
}

/* 
   SIDEBAR
    */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 96px;
}

.sidebar-bos-metin {
    font-size: 14px;
    color: var(--ink-400);
    padding: 8px 0;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.widget-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--ink-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-header h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -0.3px;
}

.widget-header i {
    color: var(--accent);
    font-size: 20px;
}

.category-list {
    list-style: none;
    padding: 8px 0;
}

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 24px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-600);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.category-list li a:hover {
    background: var(--ink-50);
    color: var(--accent);
    border-left-color: var(--accent);
}

.category-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-300);
    background: var(--ink-50);
    padding: 2px 8px;
    border-radius: 100px;
}

.popular-list {
    padding: 12px 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.popular-rank {
    min-width: 28px;
    height: 28px;
    background: var(--ink-50);
    color: var(--ink-500);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    margin-top: 2px;
}

.popular-item:first-child .popular-rank {
    background: var(--accent);
    color: var(--white);
}

.popular-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-800);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.popular-item:hover .popular-info h4 { color: var(--accent); }

.popular-info .popular-meta {
    font-size: 12px;
    color: var(--ink-400);
    margin-top: 3px;
}

.tags-cloud {
    padding: 16px 24px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-500);
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    transition: all 0.2s ease;
}

.tag-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* 
   FOOTER
    */
.site-footer {
    background: var(--ink-900);
    color: var(--ink-300);
    padding: 64px 0 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gap);
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo-mark {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-400);
    margin-top: 12px;
    max-width: 280px;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-100);
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul li a {
    font-size: 14px;
    color: var(--ink-400);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: var(--accent-light);
    transform: translateX(3px);
}

.footer-column ul li a i {
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.footer-column ul li a:hover i { opacity: 1; }

.footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid var(--ink-700);
    text-align: center;
}

.footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--ink-500);
}

.footer-bottom-inner a { color: var(--accent-light); }
.footer-bottom-inner a:hover { text-decoration: underline; }

/* 
   SCROLL-TRIGGERED ANIMATIONS
    */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 
   EMPTY STATE
    */
.empty-state {
    text-align: center;
    padding: 80px 32px;
    color: var(--ink-400);
}

.empty-state i {
    font-size: 48px;
    color: var(--ink-200);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink-600);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 15px;
}

/*
   SAYFA HERO (Kategoriler, Arama)
    */
.sayfa-hero {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ink-900) 0%, #1a2744 50%, var(--ink-800) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sayfa-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") repeat;
}

.sayfa-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--gap);
}

.sayfa-hero-content h1 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.sayfa-hero-content h1 i {
    margin-right: 8px;
    opacity: 0.7;
}

.sayfa-hero-alt {
    font-size: 15px;
    color: var(--ink-300);
    font-weight: 400;
}

.sayfa-hero-breadcrumb {
    font-size: 13px;
    color: var(--ink-400);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sayfa-hero-breadcrumb a {
    color: var(--accent-light);
}

.sayfa-hero-breadcrumb i {
    font-size: 12px;
}

/*
   KATEGORI SAYFALARI
    */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.kategori-kart {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.kategori-kart:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.kategori-kart-ikon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.kategori-kart-ikon i {
    font-size: 22px;
    color: var(--accent);
}

.kategori-kart:hover .kategori-kart-ikon {
    background: var(--accent);
}

.kategori-kart:hover .kategori-kart-ikon i {
    color: var(--white);
}

.kategori-kart-icerik {
    flex: 1;
}

.kategori-kart h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink-800);
    margin-bottom: 2px;
}

.kategori-kart-sayi {
    font-size: 13px;
    color: var(--ink-400);
}

.kategori-kart-ok {
    font-size: 20px;
    color: var(--ink-300);
    transition: all 0.3s ease;
}

.kategori-kart:hover .kategori-kart-ok {
    color: var(--accent);
    transform: translateX(3px);
}

/*
   ARAMA SAYFASI
    */
.arama-formu-alani {
    margin-bottom: 32px;
}

.arama-formu {
    display: flex;
    gap: 12px;
    max-width: 640px;
}

.arama-input-wrapper {
    flex: 1;
    position: relative;
}

.arama-input-ikon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--ink-400);
}

.arama-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 15px;
    font-family: var(--font-body);
    border: 2px solid var(--ink-100);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink-800);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.arama-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.arama-buton {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--white);
    background: var(--accent);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
}

.arama-buton:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/*
   ARTICLE HERO
    */
.article-hero {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: var(--ink-900);
}

.article-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: saturate(0.8);
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,15,26,0.15) 0%, rgba(10,15,26,0.75) 60%, rgba(10,15,26,0.95) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--gap);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 56px;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    width: fit-content;
    margin-bottom: 16px;
    background: rgba(74, 94, 189, 0.2);
    color: #8fa4ed;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 94, 189, 0.3);
    animation: fadeSlideUp 0.5s ease both;
    animation-delay: 0.15s;
}

/* Article detail — baslik (gorsel ustunde) + meta badge (gorsel altinda) */
.article-detail-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.adm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
}

.adm-badge i { font-size: 14px; }

.adm-badge-kategori {
    background: rgba(57, 3, 92, 0.1);
    color: #39035c;
}

.adm-badge-tarih {
    background: rgba(186, 148, 84, 0.12);
    color: #8a6d2b;
}

.adm-badge-okuma {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.adm-badge-goruntulenme {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.adm-badge-yazar {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    color: var(--ink-300);
    font-size: 14px;
    animation: fadeSlideUp 0.6s ease both;
    animation-delay: 0.4s;
}

.article-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-hero-meta i { font-size: 16px; }

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* 
   ARTICLE LAYOUT
    */
.article-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px var(--gap) 64px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: start;
}

/* 
   ARTICLE CONTENT (CKEditor Output)
    */
.article-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
    padding: 48px;
    box-shadow: var(--shadow-card);
    animation: fadeSlideUp 0.6s ease both;
    animation-delay: 0.2s;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 36px 0 16px;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 18px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: var(--accent);
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink-800);
    margin: 28px 0 12px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-600);
    margin-bottom: 18px;
}

.article-content p:last-child { margin-bottom: 0; }

.article-content strong { color: var(--ink-800); font-weight: 600; }
.article-content em { color: var(--ink-500); }

.article-content ul,
.article-content ol {
    margin: 12px 0 18px 24px;
    color: var(--ink-600);
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--ink-50);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--ink-600);
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
}

.article-content blockquote p { margin-bottom: 0; }

.article-featured-image {
    margin-bottom: 32px;
}

.article-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.article-content img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
    box-shadow: var(--shadow-md);
}

.article-content iframe {
    max-width: 100%;
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.article-content .embed-responsive {
    position: relative;
    margin: 24px 0;
}

.article-content .img-caption {
    text-align: center;
    font-size: 13px;
    color: var(--ink-400);
    margin-top: -16px;
    margin-bottom: 24px;
    font-style: italic;
}

.article-content code {
    font-family: var(--font-mono);
    background: var(--ink-50);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--accent-dark);
}

.article-content pre {
    background: var(--ink-900);
    color: var(--ink-200);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 20px 0;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* 
   ARTICLE TAGS & SHARE
    */
.article-tags {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-100);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tags-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-500);
    margin-right: 4px;
}

.share-bar {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ink-100);
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-bar-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-500);
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    border: 1.5px solid var(--ink-100);
    color: var(--ink-500);
    background: var(--white);
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn.twitter:hover { color: #1da1f2; border-color: #1da1f2; }
.share-btn.facebook:hover { color: #4267b2; border-color: #4267b2; }
.share-btn.whatsapp:hover { color: #25d366; border-color: #25d366; }
.share-btn.link:hover { color: var(--accent); border-color: var(--accent); }

/* 
   AUTHOR CARD
    */
.author-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-align: center;
    animation: fadeSlideUp 0.6s ease both;
    animation-delay: 0.3s;
}

.author-card-banner {
    height: 80px;
    background: var(--ink-100);
    position: relative;
}

.author-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    color: var(--accent);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
}

.author-card-avatar-img {
    object-fit: cover;
}

.author-card-body {
    padding: 44px 24px 24px;
}

.author-card-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
}

.author-card-role {
    font-size: 13px;
    color: var(--ink-400);
    margin-top: 2px;
}

.author-card-bio {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.6;
    margin-top: 12px;
}

.author-card-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ink-100);
}

.author-stat { text-align: center; }

.author-stat-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
}

.author-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 
   TABLE OF CONTENTS (TOC)
    */
.toc-list {
    list-style: none;
    padding: 16px 24px 20px;
}

.toc-list li { margin-bottom: 4px; }

.toc-list li a {
    display: block;
    padding: 7px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-500);
    border-radius: var(--radius);
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.toc-list li a:hover,
.toc-list li a.active {
    color: var(--accent);
    background: var(--accent-glow);
    border-left-color: var(--accent);
}

.toc-list li a.toc-h3 {
    padding-left: 28px;
    font-size: 13px;
}

/* 
   RELATED POSTS (Sidebar)
    */
.related-list {
    padding: 12px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 8px;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.related-item:hover { background: var(--ink-50); }

.related-item-img {
    width: 72px;
    height: 54px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.related-item-info h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-800);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.related-item:hover h4 { color: var(--accent); }

.related-item-info .related-meta {
    font-size: 12px;
    color: var(--ink-400);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 
   RELATED POSTS SECTION (Full Width)
    */
.related-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gap) 64px;
}

.related-section-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ink-100);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
}

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

.related-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

/* Hover zoom kaldirildi */

.related-card-body { padding: 20px; }

.related-card-cat {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.related-card-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.35;
    transition: color 0.2s ease;
}

.related-card:hover .related-card-title { color: var(--accent); }

.related-card-meta {
    font-size: 13px;
    color: var(--ink-400);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 
   BACK TO TOP
    */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: none;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 90;
}

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

.back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* 
   404 ERROR PAGE
    */
.error-page {
    text-align: center;
    padding: 100px var(--gap) 120px;
    max-width: 560px;
    margin: 0 auto;
}

.error-icon {
    font-size: 64px;
    color: var(--ink-200);
    margin-bottom: 16px;
}

.error-page h1 {
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 800;
    color: var(--ink-100);
    line-height: 1;
    letter-spacing: -4px;
}

.error-page h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--ink-800);
    margin-top: 8px;
}

.error-page p {
    font-size: 16px;
    color: var(--ink-500);
    margin-top: 12px;
    line-height: 1.6;
}

.error-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(196, 93, 62, 0.3);
}

.error-back-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(196, 93, 62, 0.4);
}

/* 
   RESPONSIVE
    */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 32px var(--gap) 48px;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .article-container {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner { height: 60px; }

    .nav-links,
    .nav-search { display: none; }

    .mobile-toggle { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px;
        border-bottom: 1px solid var(--ink-100);
        box-shadow: var(--shadow-md);
        z-index: 99;
    }

    .blog-card { grid-template-columns: 1fr; }
    .blog-card-body { padding: 20px; }
    /* featured kaldirildi */

    .sidebar { grid-template-columns: 1fr; }

    .hero { height: 340px; }
    .hero-content { padding-bottom: 40px; }

    .article-hero { height: 320px; }
    .article-hero-content { padding-bottom: 20px; }
    .article-hero-meta { font-size: 12px; }
    .adm-badge { font-size: 12px; padding: 4px 12px; }
    .article-content { padding: 28px 20px; }
    .article-content h2 { font-size: 20px; }

    .related-grid { grid-template-columns: 1fr; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .hero { height: 280px; }
    .hero-content { padding-bottom: 36px; }
    .article-hero { height: 260px; }
    .article-hero-content { padding-bottom: 16px; }
    .article-hero-meta { flex-wrap: wrap; gap: 8px; font-size: 11px; }
    .article-category { font-size: 10px; padding: 4px 10px; }
    .adm-badge { font-size: 11px; padding: 4px 10px; }
    .article-detail-meta { gap: 8px; }
    .article-detail-title { margin-bottom: 16px; }
    .error-page h1 { font-size: 72px; }
}

/* Footer Brand Title */
.footer-brand-title {
    color: var(--ink-100);
    font-family: var(--font-display);
    font-size: 20px;
}

/* Bot Yazilar - Orijinal Link */
.bot-orijinal-link {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
}

.bot-orijinal-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bot-orijinal-link a:hover {
    color: var(--accent-dark);
}

.bot-orijinal-link a i {
    font-size: 18px;
}

/* =============================================
   SKELETON SHIMMER (gorsel placeholder)
   ============================================= */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-img {
    position: relative;
    overflow: hidden;
    background: #e8e8ee;
}

.skeleton-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 1.6s ease-in-out infinite;
    will-change: transform;
    z-index: 1;
}

.skeleton-img img {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skeleton-img.yuklendiis img {
    opacity: 1;
}

.skeleton-img.yuklendiis {
    background: none;
}

.skeleton-img.yuklendiis::after {
    display: none;
}

/* Article hero icin: img'nin kendi opacity degeri korunur */
.article-hero.skeleton-img img {
    opacity: 0;
}

.article-hero.skeleton-img.yuklendiis img {
    opacity: 0.5;
}

/* Sidebar related-item gorsel sarmalayicisi */
.related-item-img-wrap {
    width: 72px;
    height: 54px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

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

/* Featured image skeleton min-height */
.article-featured-image.skeleton-img {
    min-height: 300px;
    border-radius: var(--radius-lg);
}

/* Skeleton metin satirlari */
.skeleton-satir {
    height: 14px;
    border-radius: 6px;
    background: #e8e8ee;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.skeleton-satir::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 1.6s ease-in-out infinite;
    will-change: transform;
}

/* Skeleton kart (icerik yuklenene kadar gosterilen placeholder) */
.skeleton-kart .blog-card-image {
    background: #e8e8ee;
    position: relative;
    overflow: hidden;
}

.skeleton-kart .blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 1.6s ease-in-out infinite;
    will-change: transform;
}

/* Sidebar skeleton */
.skeleton-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--ink-100);
}

.article-featured-image.skeleton-img.yuklendiis {
    min-height: auto;
}

/* Kirik gorsel fallback */
.blog-card-image img[src*="bestepe-bloggers"],
.related-card-img img[src*="bestepe-bloggers"] {
    object-fit: contain !important;
    padding: 24px;
    background: var(--ink-50);
}

/* Skeleton kart mobil uyum */
@media (max-width: 768px) {
    .skeleton-kart .blog-card-body {
        padding: 16px !important;
    }
    .skeleton-satir { height: 12px; }
}

/* Blog detay skeleton */
.skeleton-hero {
    height: 480px;
    background: var(--ink-900);
    position: relative;
    overflow: hidden;
}

.skeleton-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 1.6s ease-in-out infinite;
    will-change: transform;
}

.skeleton-hero-icerik {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 820px;
    padding: 0 var(--gap);
}

.skeleton-makale {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--ink-100);
}

@media (max-width: 768px) {
    .skeleton-hero { height: 420px; }
    .skeleton-hero-icerik { bottom: 28px; }
    .skeleton-makale { padding: 20px; }
}

@media (max-width: 480px) {
    .skeleton-hero { height: 380px; }
    .skeleton-hero-icerik { bottom: 20px; }
}

/* Screen reader only — SEO icin gorunmez H1 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
