/* =========================
   ROOT DEĞİŞKENLER
========================= */

/* =========================
   GENEL AYARLAR
========================= */
html,
body {
    font-family: var(--font-family);
    background-color: var(--body-bg);
    color: var(--body-color);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
}

/* =========================
   İÇERİK YAPISI – 2 SÜTUNLU
========================= */
.two-column {
    display: flex;
    gap: 20px;
}

/* SOL %80 */
.left-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 15px;
}

.left-content .main-img {
    width: 40%;
    height: auto;
    border-radius: 8px;
}

.left-content .text-area {
    width: 60%;
}

.left-content a {
    transition: color 0.2s;
    color: var(--secondary-color);
    text-decoration: underline;
}

.left-content a:hover {
    color: var(--primary-color);
}

/* Başlık ve metin */
.main-title {
    font-size: 2rem;
    font-weight: 700;
}

.main-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* SAĞ %20 */
.right-sidebar {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* BLOG KUTULARI */
.blog-item {
    background: #EAE9FF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s;
}

.blog-item:hover {
    transform: translateY(-3px);
}

.blog-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.blog-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px;
}

/* =========================
   RESPONSIVE (MOBİL)
========================= */
@media (max-width: 900px) {
    .two-column {
        flex-direction: column;
    }

    .left-content {
        flex-direction: column;
        width: 100%;
    }

    .left-content .main-img {
        width: 100%;
        height: auto;
    }

    .left-content .text-area {
        width: 100%;
    }

    .right-sidebar {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .blog-item {
        width: 100%;
        margin-bottom: 5px;
    }

    .blog-item img {
        height: 160px;
    }
}