﻿/* --- 0. SAYFA ARKA PLANI --- */
.es-page-wrapper {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .es-page-wrapper {
        padding: 10px;
        width: 100%;
        border-radius: 0;
    }
}

/* Genel Yazı Ayarı */
.es-container {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* 1. EĞİTİM KARTI */
.es-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 20px;
}

    .es-card h2 {
        color: #29303B;
        margin-top: 0;
        font-size: 1.8rem;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

/* 2. GÜN BAŞLIKLARI */
.es-day-title {
    background-color: #e6f2ff;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0 10px 0;
    font-weight: bold;
}

/* --- 3. İLETİŞİM BUTONLARI (Güncel - İnce ve Şık Versiyon) --- */
a.es-btn-tel, a.es-btn-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 15px);
    margin: 5px;
    box-sizing: border-box;
    background-color: #29303B;
    color: #fff !important;
    padding: 12px 20px;
    font-size: 16px !important;
    line-height: 1.2;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

    a.es-btn-tel:hover, a.es-btn-mail:hover {
        background-color: #3e4754;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    a.es-btn-tel::before, a.es-btn-mail::before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-right: 10px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    a.es-btn-tel::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.85 21 3 13.15 3 3a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.24 1.01l-2.21 2.2z'/%3E%3C/svg%3E");
    }

    a.es-btn-mail::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    }

@media (max-width: 768px) {
    a.es-btn-tel, a.es-btn-mail {
        width: 100%;
        margin: 5px 0;
        display: flex;
    }
}

/* --- 4. ACCORDION (Modern <details> Yapısı) --- */
.es-accordion {
    border-top: 1px solid #eee;
}

details.es-accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

summary.es-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    font-weight: bold;
    color: #29303B;
    list-style: none;
    outline: none;
}

    summary.es-accordion-header::-webkit-details-marker {
        display: none;
    }

    summary.es-accordion-header::after {
        content: "+";
        font-size: 1.5rem;
        font-weight: normal;
        margin-left: 10px;
        transition: transform 0.2s ease;
    }

details.es-accordion-item[open] summary.es-accordion-header::after {
    content: "-";
}

.es-accordion-content {
    padding: 0 0 15px 0;
    color: #555;
    line-height: 1.6;
}

.cke_editable details.es-accordion-item {
    margin: 5px 0;
}

.cke_editable .es-accordion-content {
    border: 1px dashed #ddd;
    padding: 10px;
    margin-top: 5px;
}

/* 5. LİSTE VE LİNKLER (Mavi Liste ve Link Biçemi İçin) */
.es-blue-list {
    list-style-type: disc;
    color: #0056b3;
    padding-left: 20px;
}

a.custom-link {
    color: #1a73e8;
    text-decoration: underline;
    font-weight: 500;
}

/* --- 6. SEO ÖZETİ (Sadece Arka Plan Değişimi - Yazı Boyutu Korumalı) --- */
.es-seo-snippet {
    background-color: #f3f4f6;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: inherit;
    border-left: 4px solid #29303B;
}
