@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1e3a8a;
    --accent: #38bdf8;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-dim: #64748b;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7; /* Uzun makaleler için ideal okuma aralığı */
}

/* --- HEADER (Ana Sayfa ile Birebir Aynı) --- */
header {
    background: radial-gradient(circle at top right, var(--primary-dark), #0f172a);
    color: white;
    padding: 60px 20px 100px;
    text-align: center;
}

header h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* --- LAYOUT SİSTEMİ --- */
.layout {
    max-width: 1440px;
    margin: -60px auto 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
}

@media (min-width: 1200px) {
    .layout {
        display: grid;
        /* Blog odaklı: Sol (180px) | Orta (1.5fr) | Sağ (180px) */
        grid-template-columns: 180px 1fr 220px; 
        margin-top: -80px;
        padding: 0 20px;
        gap: 24px;
        align-items: start;
    }
}

/* --- MAKALE KARTI (CONTENT) --- */
.content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: clamp(20px, 5vw, 45px);
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.content h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 30px 0 15px;
    font-weight: 600;
}

.content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-main);
}

/* --- YAN PANELLER --- */
.side-panel {
    display: none; /* Mobilde gizle */
}

@media (min-width: 1200px) {
    .side-panel {
        display: block;
        position: sticky;
        top: 20px;
    }
}

.promo-box {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.promo-tag {
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.promo-button {
    display: block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.2s;
}

.promo-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- TABLO VE BİLGİ KUTULARI --- */
.info-box {
    background: #eff6ff;
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0;
    border-left: 5px solid var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
}

th { background: #f8fafc; font-weight: 700; }

/* --- FOOTER --- */
footer {
    margin-top: 60px;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: white;
}