/* ==========================================================================
   İç içerik sayfaları (sayfa_kat / sayfa_kayit)
   Kök font-size bu sitede 12px olduğundan ölçüler px ile verilir.
   Sitenin kendi .anabsalik / .sayfaicerik sınıflarıyla birlikte çalışır.
   ========================================================================== */

.is-alan {
    background: #f5f8fa;
    padding: 34px 0 60px;
}

.is-giris { margin-bottom: 24px; }

/* Sitenin .anabsalik sınıfı başlık ölçüsünü veriyor; burada yalnızca
   iç sayfa bağlamındaki boşlukları düzenliyoruz. */
.is-alan .anabsalik {
    padding-top: 0;
    margin: 0 0 10px;
    color: #181c32;
    line-height: 1.25;
}

.is-spot {
    font-size: 15px;
    color: #5e6278;
    line-height: 1.65;
    max-width: 760px;
    margin: 0;
}

/* ------------------------------------------------------------- Kartlar */

.is-kart {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow .18s, transform .18s, border-color .18s;
}
.is-kart:hover {
    border-color: #009ef7;
    box-shadow: 0 10px 28px rgba(24, 28, 50, .10);
    transform: translateY(-2px);
}

.is-kart-gorsel {
    height: 160px;
    background: #eef3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.is-kart-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.is-kart-ikon { font-size: 40px; color: #9aa6c0; }

.is-kart-govde {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.is-kart-kat .is-kart-govde { padding: 22px; }

.is-kart-ad {
    font-size: 16px;
    font-weight: 700;
    color: #181c32;
    margin: 0 0 6px;
    line-height: 1.35;
}
.is-kart-ozet {
    font-size: 13px;
    color: #7e8299;
    line-height: 1.55;
    margin: 0 0 14px;
    flex: 1 1 auto;
}
.is-kart-oku {
    font-size: 13px;
    font-weight: 600;
    color: #009ef7;
    margin-top: auto;
}
.is-kart-oku i { transition: transform .15s; display: inline-block; }
.is-kart:hover .is-kart-oku i { transform: translateX(3px); }

/* -------------------------------------------------------------- İçerik */

.is-icerik-kutu {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    padding: 28px 30px 32px;
}

.is-tarih {
    font-size: 13px;
    color: #a1a5b7;
    margin-bottom: 16px;
}

.is-kapak {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 0 22px;
    display: block;
}

/* Yönetim panelinden gelen zengin metin */
.is-metin {
    color: #3f4254;
    line-height: 1.8;
}
.is-metin h1, .is-metin h2, .is-metin h3, .is-metin h4 {
    color: #181c32;
    font-weight: 700;
    line-height: 1.3;
    margin: 26px 0 12px;
}
.is-metin h1 { font-size: 26px; }
.is-metin h2 { font-size: 22px; }
.is-metin h3 { font-size: 19px; }
.is-metin h4 { font-size: 17px; }
.is-metin p { margin: 0 0 16px; }
.is-metin a { color: #009ef7; }
.is-metin a:hover { text-decoration: underline; }
.is-metin ul, .is-metin ol { margin: 0 0 16px; padding-left: 22px; }
.is-metin li { margin-bottom: 7px; }
.is-metin img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0; }
.is-metin blockquote {
    margin: 0 0 16px;
    padding: 12px 18px;
    border-left: 4px solid #009ef7;
    background: #f5f8fa;
    border-radius: 0 8px 8px 0;
    color: #5e6278;
}
.is-metin table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
    font-size: 14px;
}
.is-metin table td, .is-metin table th {
    border: 1px solid #e4e6ef;
    padding: 9px 12px;
    vertical-align: top;
}
.is-metin table th { background: #f5f8fa; font-weight: 600; text-align: left; }
.is-metin iframe, .is-metin video { max-width: 100%; border-radius: 10px; }

.is-bos-metin { color: #a1a5b7; font-style: italic; }

/* ------------------------------------------------------------ Yan sütun */

.is-yan {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    padding: 22px;
    position: sticky;
    top: 20px;
}
.is-yan-baslik {
    font-size: 16px;
    font-weight: 700;
    color: #181c32;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef0f6;
}
.is-yan-liste { list-style: none; margin: 0 0 16px; padding: 0; }
.is-yan-liste li { margin-bottom: 2px; }
.is-yan-liste a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #3f4254;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.is-yan-liste a:hover { background: #f1faff; color: #009ef7; }
.is-yan-liste i { font-size: 11px; color: #a1a5b7; margin-right: 4px; }
.is-yan-liste a:hover i { color: #009ef7; }

.is-yan-tumu {
    display: inline-block;
    font-size: 13px;
    color: #7e8299;
    text-decoration: none;
}
.is-yan-tumu:hover { color: #009ef7; }

/* -------------------------------------------------------- Boş durumlar */

.is-bos {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    padding: 60px 24px;
    text-align: center;
    color: #7e8299;
}
.is-bos i { font-size: 46px; color: #d7dae6; display: block; margin-bottom: 14px; }
.is-bos-baslik { font-size: 18px; font-weight: 700; color: #181c32; margin-bottom: 8px; }
.is-bos p { max-width: 520px; margin: 0 auto 20px; font-size: 14px; line-height: 1.6; }

/* ----------------------------------------------------------- Duyarlılık */

@media (max-width: 991.98px) {
    .is-yan { position: static; }
}
@media (max-width: 575.98px) {
    .is-alan { padding: 22px 0 40px; }
    .is-icerik-kutu { padding: 20px 18px 24px; }
    .is-kapak { max-height: 220px; }
}

/* ==========================================================================
   İletişim sayfası
   ========================================================================== */

.il-kart {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    padding: 22px;
    height: 100%;
    transition: box-shadow .18s, transform .18s, border-color .18s;
}
.il-kart:hover {
    border-color: #009ef7;
    box-shadow: 0 10px 28px rgba(24, 28, 50, .08);
    transform: translateY(-2px);
}
.il-kart-ikon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: #f1faff;
    color: #009ef7;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.il-kart-baslik {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a1a5b7;
    margin-bottom: 6px;
}
.il-kart-deger { font-size: 14px; color: #3f4254; line-height: 1.6; }
.il-kart-deger a { color: #3f4254; text-decoration: none; }
.il-kart-deger a:hover { color: #009ef7; }
.il-ikincil { color: #a1a5b7; font-size: 13px; }

/* ---------------------------------------------------- Harita / yan panel */

.il-panel {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}
.il-kurum {
    font-size: 16px;
    font-weight: 700;
    color: #181c32;
    margin-bottom: 14px;
}
.il-harita {
    border-radius: 10px;
    overflow: hidden;
    background: #eef3f7;
    height: 300px;
}
.il-harita iframe { width: 100%; height: 100%; border: 0; display: block; }

.il-yol {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #009ef7;
    text-decoration: none;
}
.il-yol:hover { text-decoration: underline; }

.il-sosyal { display: flex; gap: 8px; margin-top: 16px; }
.il-sosyal a {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: #f5f8fa;
    color: #5e6278;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.il-sosyal a:hover { background: #f1faff; color: #009ef7; }

/* ---------------------------------------------------------------- Form */

.il-form-kutu {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    padding: 24px 26px 28px;
    height: 100%;
}
.il-form-baslik {
    font-size: 18px;
    font-weight: 700;
    color: #181c32;
    margin: 0 0 18px;
}
.il-uyari { font-size: 14px; }

/* Mesaj alanı form-floating içinde; yükseklik elle verilmeli */
.ortka-form .form-floating > textarea.il-mesaj {
    height: 150px;
    min-height: 150px;
    padding-top: 26px;
}

/* Bal küpü — ekran okuyucudan da uzak, gözden tamamen gizli */
.il-tuzak {
    position: absolute !important;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .il-form-kutu { padding: 18px; }
    .il-harita { height: 220px; }
}

/* ==========================================================================
   Duyurular
   ========================================================================== */

.dy-arama { min-width: 280px; }
.dy-arama .input-group { flex-wrap: nowrap; }
.dy-arama .form-control { height: 44px; }
.dy-arama .btn { height: 44px; display: flex; align-items: center; }

.dy-kategoriler { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.dy-kat {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    border: 1px solid #e4e6ef;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    color: #5e6278;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}
.dy-kat:hover { border-color: #009ef7; color: #009ef7; }
.dy-kat.secili { background: #009ef7; border-color: #009ef7; color: #fff; }
.dy-kat span { font-size: 11px; opacity: .7; }

/* ------------------------------------------------------------- Liste */

.dy-liste {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    overflow: hidden;
}
.dy-satir {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid #eef0f6;
    text-decoration: none;
    transition: background .15s;
}
.dy-satir:last-child { border-bottom: 0; }
.dy-satir:hover { background: #f8fbfe; }

.dy-tarih {
    flex: 0 0 64px;
    text-align: center;
    border-right: 1px solid #eef0f6;
    padding-right: 14px;
    color: #009ef7;
    line-height: 1.15;
}
.dy-gun { display: block; font-size: 22px; font-weight: 700; }
.dy-ay  { display: block; font-size: 12px; font-weight: 600; }
.dy-yil { display: block; font-size: 11px; color: #a1a5b7; }

.dy-govde { flex: 1 1 auto; min-width: 0; }
.dy-ad { font-size: 15px; font-weight: 600; color: #181c32; line-height: 1.45; }
.dy-satir:hover .dy-ad { color: #009ef7; }
.dy-ozet { font-size: 13px; color: #7e8299; margin-top: 3px; line-height: 1.5; }

.dy-tip {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 7px;
    padding: 3px 9px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
}
.dy-tip-dosya { background: #eef6ff; color: #0b6ea8; }
.dy-tip-link  { background: #fff4e6; color: #a56200; }

.dy-ok { flex: 0 0 auto; color: #c8cce0; font-size: 16px; }
.dy-satir:hover .dy-ok { color: #009ef7; }

/* --------------------------------------------------------- Sayfalama */

.dy-sayfalama { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 24px; }
.dy-sayfalama a {
    min-width: 38px;
    padding: 8px 12px;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: #5e6278;
    text-align: center;
    text-decoration: none;
}
.dy-sayfalama a:hover { border-color: #009ef7; color: #009ef7; }
.dy-sayfalama a.secili { background: #009ef7; border-color: #009ef7; color: #fff; }

/* ------------------------------------------------------------- Detay */

.dy-detay-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.dy-kat-rozet {
    font-size: 12px; font-weight: 600;
    background: #f1faff; color: #0b6ea8;
    padding: 4px 11px; border-radius: 14px;
}
.dy-etiket { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 14px; }
.dy-etiket-gri     { background: #f1f3f8; color: #5e6278; }
.dy-etiket-mavi    { background: #eaf6ff; color: #0b6ea8; }
.dy-etiket-efl     { background: #f3f0ff; color: #5a3ec8; }
.dy-etiket-yesil   { background: #e8fff3; color: #1b7a4b; }
.dy-etiket-turuncu { background: #fff4e6; color: #a56200; }

.dy-ek {
    display: flex; align-items: center; gap: 12px;
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid #e4e6ef;
    border-radius: 10px;
    background: #f8fbfe;
    text-decoration: none;
    transition: border-color .15s;
}
.dy-ek:hover { border-color: #009ef7; }
.dy-ek i { font-size: 24px; color: #009ef7; }
.dy-ek strong { display: block; font-size: 14px; color: #181c32; }
.dy-ek small { font-size: 12px; color: #7e8299; word-break: break-all; }

.dy-galeri { margin-top: 28px; }
.dy-foto { display: block; border-radius: 10px; overflow: hidden; border: 1px solid #e4e6ef; }
.dy-foto img { width: 100%; height: 150px; object-fit: cover; display: block; }

/* ------------------------------------------- Ana sayfadaki duyuru bloğu */

.tumduyuru { text-align: right; padding: 10px 4px 0; }
.tumduyuru a {
    font-size: 13px;
    font-weight: 600;
    color: #0b6ea8;
    text-decoration: none;
}
.tumduyuru a:hover { text-decoration: underline; }

@media (max-width: 575.98px) {
    .dy-arama { width: 100%; }
    .dy-satir { gap: 12px; padding: 14px; }
    .dy-tarih { flex: 0 0 52px; padding-right: 10px; }
    .dy-gun { font-size: 18px; }
}

/* ==========================================================================
   Etkinlik takvimi
   ========================================================================== */

.etk-lejant { display: flex; flex-wrap: wrap; gap: 14px; }
.etk-lejant-oge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #5e6278; }
.etk-lejant-oge i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.etk-takvim-kutu {
    position: relative;
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    padding: 20px;
}
.etk-yukleniyor {
    position: absolute; inset: 0;
    display: none;
    align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .7);
    font-size: 14px; color: #5e6278;
    border-radius: 12px;
    z-index: 5;
}
.etk-yukleniyor[style*="display: none"] { display: none !important; }

/* FullCalendar'ı sitenin ölçeğine getir (kök font-size 12px) */
.etk-takvim-kutu .fc { font-size: 13px; }
.etk-takvim-kutu .fc .fc-toolbar-title { font-size: 20px; font-weight: 700; color: #181c32; }
.etk-takvim-kutu .fc .fc-button {
    background: #f5f8fa; border-color: #e4e6ef; color: #5e6278;
    font-size: 13px; padding: 6px 12px; text-transform: none; box-shadow: none;
}
.etk-takvim-kutu .fc .fc-button:hover { background: #eef3f7; color: #009ef7; }
.etk-takvim-kutu .fc .fc-button-primary:not(:disabled).fc-button-active,
.etk-takvim-kutu .fc .fc-button-primary:not(:disabled):active {
    background: #009ef7; border-color: #009ef7; color: #fff;
}
.etk-takvim-kutu .fc .fc-daygrid-day-number { font-size: 13px; color: #5e6278; padding: 6px 8px; }
.etk-takvim-kutu .fc .fc-col-header-cell-cushion { font-size: 12px; font-weight: 600; color: #a1a5b7; padding: 8px 4px; }
.etk-takvim-kutu .fc .fc-day-today { background: #f1faff !important; }
.etk-takvim-kutu .fc .fc-event { border-radius: 5px; padding: 1px 5px; font-size: 12px; cursor: pointer; }
.etk-takvim-kutu .fc .fc-event:hover { filter: brightness(1.06); }
.etk-takvim-kutu .fc .fc-list-event:hover td { background: #f1faff; }
.etk-takvim-kutu .fc-theme-standard td,
.etk-takvim-kutu .fc-theme-standard th { border-color: #eef0f6; }

/* ------------------------------------------------------------- Modal */

.etk-modal .modal-title { font-size: 17px; font-weight: 700; color: #181c32; }
.etk-modal-gorsel { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }

.etk-modal-kunye { margin-bottom: 16px; }
.etk-satir { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; padding: 6px 0; font-size: 14px; }
.etk-satir i { color: #009ef7; width: 18px; }
.etk-satir-ad { color: #a1a5b7; min-width: 78px; font-size: 13px; }
.etk-satir-deger { color: #181c32; font-weight: 500; }

.etk-modal-ozet { font-size: 14px; color: #5e6278; line-height: 1.7; margin-bottom: 14px; }
.etk-modal-icerik { font-size: 14px; }
.etk-modal-alt-baslik {
    font-size: 14px; font-weight: 700; color: #181c32;
    margin: 20px 0 10px; padding-bottom: 8px; border-bottom: 1px solid #eef0f6;
}

.etk-program-satir { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #eef0f6; }
.etk-program-satir:last-child { border-bottom: 0; }
.etk-program-saat {
    flex: 0 0 96px; font-size: 13px; font-weight: 600; color: #009ef7; white-space: nowrap;
}
.etk-program-govde { font-size: 14px; color: #3f4254; }
.etk-program-govde small { display: block; font-size: 12px; color: #7e8299; margin-top: 2px; }

.etk-modal-harita { margin-top: 18px; border-radius: 10px; overflow: hidden; height: 220px; }
.etk-modal-harita iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 575.98px) {
    .etk-takvim-kutu { padding: 12px; }
    .etk-takvim-kutu .fc .fc-toolbar { flex-direction: column; gap: 10px; }
    .etk-program-saat { flex: 0 0 74px; font-size: 12px; }
}
