:root {
    --yesil-koyu: #2b5236;
    --yesil: #2f6b47;
    --yesil-acik: #e9efe6;
    --krem: #f6f3ec;
    --metin: #243127;
}
body { color: var(--metin); font-family: -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, .site-baslik { font-family: Georgia, "Times New Roman", serif; }

.site-header { background: #fff; border-bottom: 1px solid #e3e3dc; }
.site-header .navbar-brand {
    display: flex; align-items: center; gap: .75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700; font-size: 1.4rem; line-height: 1.1;
    color: var(--yesil-koyu);
}
.site-logo { height: 64px; width: auto; }

.site-menu .nav-link { color: var(--metin); padding: .5rem .9rem; border-radius: .5rem; }
.site-menu .nav-link:hover { color: var(--yesil); }
.site-menu .nav-link.aktif { background: var(--yesil); color: #fff; }

.btn-yesil { background: var(--yesil); color: #fff; border: 0; }
.btn-yesil:hover { background: var(--yesil-koyu); color: #fff; }

.site-footer { background: var(--yesil-koyu); color: var(--yesil-acik); margin-top: 3rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .footer-baslik { font-family: Georgia, serif; font-weight: 600; margin-bottom: .5rem; }
.site-footer .footer-logo { height: 56px; width: auto; }
.site-footer .telif { border-top: 1px solid rgba(255,255,255,.2); font-size: .875rem; }
.site-footer .sosyal a { margin-right: 1rem; }

/* ---- Ana sayfa ---- */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--yesil-koyu), var(--yesil)) center / cover no-repeat;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15));
}
.hero-icerik { position: relative; padding: 2rem 2.5rem; max-width: 720px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; margin-bottom: .75rem; }
.hero-alt { font-size: 1.25rem; margin-bottom: 1.5rem; }
.hero-buton { color: var(--yesil-koyu); font-weight: 600; }

.kutu {
    background: var(--yesil-acik);
    border-radius: 1rem;
    padding: 1.5rem;
}
.kutu h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.kutu-link { color: var(--yesil-koyu); font-weight: 600; text-decoration: none; }
.kutu-link:hover { text-decoration: underline; }

.hos-gorsel { width: 100%; border-radius: 1rem; display: block; }
.ust-baslik { color: var(--yesil); font-family: Georgia, serif; margin-bottom: .25rem; }

/* ---- Duyuru ve haber ---- */
.sayfa-baslik {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: center;
    color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--yesil-koyu), var(--yesil)) center / cover no-repeat;
}
.sayfa-baslik::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.2));
}
.sayfa-baslik-icerik { position: relative; padding: 1.5rem 2rem; }
.sayfa-baslik-ad {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
}
.sayfa-baslik-cizgi { width: 64px; height: 3px; background: #9bc28a; margin-top: .6rem; border-radius: 2px; }

.kirinti { font-size: .9rem; color: #5a6b5e; margin: .85rem 0 1.5rem; }
.kirinti a { color: var(--yesil-koyu); text-decoration: none; }
.kirinti a:hover { text-decoration: underline; }
.kirinti .ayrac { margin: 0 .5rem; color: #9aa89d; }

.yazi-kart {
    display: flex;
    background: #fff;
    border: 1px solid #e3e3dc;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.yazi-kart-gorsel { flex: 0 0 280px; display: block; }
.yazi-kart-gorsel img {
    width: 100%; height: 100%; min-height: 170px;
    object-fit: cover; display: block;
}
.yazi-kart-metin { flex: 1 1 auto; min-width: 0; padding: 1.1rem 1.4rem; }
.yazi-kart-metin h2 { font-weight: 700; margin-bottom: .4rem; }
.yazi-kart-metin h2 a { color: var(--metin); text-decoration: none; }
.yazi-kart-metin h2 a:hover { color: var(--yesil); }
.yazi-kart-metin p { color: #4a574d; margin-bottom: .6rem; }
.yazi-tarih { color: #6b7a6f; font-size: .875rem; margin-bottom: .3rem; }

.yan-kutu { background: var(--yesil-acik); border-radius: 1rem; overflow: hidden; }
.yan-kutu-baslik {
    padding: 1rem 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700; font-size: 1.25rem;
    color: var(--yesil-koyu);
    background: #dde8d9;
}
.yan-oge {
    display: flex; justify-content: space-between; align-items: center; gap: .75rem;
    padding: .9rem 1.25rem;
    color: var(--metin); text-decoration: none;
    border-top: 1px solid rgba(0,0,0,.08);
}
.yan-oge:hover { background: rgba(255,255,255,.55); }
.yan-oge-baslik { display: block; font-weight: 600; line-height: 1.3; }
.yan-oge-tarih { display: block; font-size: .85rem; color: #6b7a6f; margin-top: .2rem; }
.yan-ok { font-size: 1.6rem; line-height: 1; color: var(--yesil-koyu); }
.yan-tumu {
    display: block; padding: .8rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,.08);
    color: var(--yesil-koyu); font-weight: 600; text-decoration: none;
}
.yan-tumu:hover { text-decoration: underline; }

.yazi-kapak { width: 100%; max-height: 420px; object-fit: cover; border-radius: 1rem; display: block; }
.yazi-icerik { line-height: 1.7; }
.yazi-icerik img { max-width: 100%; height: auto; }
.pagination .page-link { color: var(--yesil-koyu); }

@media (max-width: 767.98px) {
    .sayfa-baslik { min-height: 140px; }
    .yazi-kart { flex-direction: column; }
    .yazi-kart-gorsel { flex: 0 0 auto; }
    .yazi-kart-gorsel img { height: 190px; }
}

/* ---- İletişim ---- */
.iletisim-kart { background: #fff; border: 1px solid #e3e3dc; border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.iletisim-baslik {
    padding: 1rem 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700; font-size: 1.25rem;
    color: #2b5236; background: #dde8d9;
}
.iletisim-satir { padding: .9rem 1.25rem; border-top: 1px solid #eceae2; }
.iletisim-satir:first-of-type { border-top: 0; }
.iletisim-etiket { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7a6f; margin-bottom: .2rem; }
.iletisim-deger { color: #243127; text-decoration: none; font-weight: 600; }
.iletisim-deger:hover { color: #2f6b47; text-decoration: underline; }
.iletisim-sosyal a { margin-right: 1rem; color: #2b5236; font-weight: 600; text-decoration: none; }
.iletisim-sosyal a:hover { text-decoration: underline; }

/* ---- İçerik (editörden gelen tablo, görsel, bağlantı) ---- */
.yazi-icerik { overflow-wrap: anywhere; }
.yazi-icerik a { color: #2f6b47; }
.yazi-icerik h2 { margin-top: 1.5rem; }
.yazi-icerik h3 { margin-top: 1.25rem; }
.yazi-icerik table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.yazi-icerik td, .yazi-icerik th { border: 1px solid #d5d8d0; padding: .5rem .75rem; vertical-align: top; }
.yazi-icerik th { background: #e9efe6; text-align: left; }
.yazi-icerik img { max-width: 100%; height: auto; border-radius: .5rem; }
