/* Genel Sayfa Düzeni ve Kapsayıcılar */
body {
    background-color: #f0f2f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #333;
}
/* Tekil İlan Sayfası Arka Planı */
body.single-ilan {
    background-color: #f0f2f5;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23e8e8e8" fill-opacity="0.2"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 14v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM20 42v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 14v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM16 2v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 14v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM20 2v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 14v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm20 0v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 14v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-4 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM20 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM16 44v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 14v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM44 2v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 14v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM40 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM44 44v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 44v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 58v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM40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4h-4v2h4v4h2v-4h4v-2h-4zM40 16v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM40 44v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM28 2v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM28 16v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM28 44v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM28 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM28 44v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM44 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM44 56v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 2v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 16v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM52 2v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM52 16v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM52 44v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM24 2v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM24 16v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM24 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM24 56v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM16 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM16 56v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM40 2v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM40 16v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM40 44v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM40 56v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Filtreleme Alanı Stilleri */
.ilan-filtre-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.ilan-filtre-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
}
.ilan-filtre-form select,
.ilan-filtre-form button {
    padding: 0.75rem 1rem;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    flex: 1 1 200px;
}
.ilan-filtre-form select {
    background-color: #f9f9f9;
    cursor: pointer;
}
.ilan-filtre-form button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    flex: 1 1 150px;
}
.ilan-filtre-form button:hover {
    background-color: #0056b3;
}

/* İlan Listesi Kapsayıcı ve Öğeleri */
.ilan-listesi-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}
.ilan-listesi {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}
.ilan-ozet {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
}
.ilan-ozet:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Sol Taraftaki Logo ve Bilgiler (Liste Sayfası) */
.ilan-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
}
.ilan-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Orta Bölümdeki İlan Bilgileri (Liste Sayfası) */
.ilan-bilgiler {
    flex-grow: 1;
    text-align: left;
}
.ilan-ozet h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}
.ilan-ozet h3 a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}
.ilan-ozet h3 a:hover {
    color: #007bff;
}
.ilan-ozet p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
}
.ilan-ozet .ilan-kontenjan {
    font-weight: 500;
    color: #495057;
}

/* Sağ Taraftaki İl ve Tarih Bilgileri (Liste Sayfası) */
.ilan-sag {
    text-align: right;
    white-space: nowrap;
    line-height: 1.6;
}
.ilan-ozet .ilan-il {
    font-weight: 500;
    color: #343a40;
}
.ilan-ozet .ilan-tarihler {
    font-weight: bold;
    color: #e65200;
}

/* İlan Detay Sayfası Stilleri */
.single-ilan .ilan-detay-icerik-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.single-ilan .ilan-header-detay {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.single-ilan .header-container-logo-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.single-ilan .ilan-detay-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.single-ilan .ilan-detay-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.single-ilan .entry-title {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.2;
    color: #212529;
    flex-grow: 1;
}

/* İlan Detay Bilgi Kutusu */
.ilan-detay-kutusu {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.8;
}
.ilan-detay-kutusu:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.ilan-detay-kutusu p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #495057;
}
.ilan-detay-kutusu strong {
    color: #212529;
    font-weight: 600;
}


/* İlan İçeriği ve Diğer Bölümler */
.single-ilan .ilan-icerigi-detay,
.single-ilan .ilan-sartlari,
.single-ilan .ilan-kontenjan-detaylari {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.single-ilan .ilan-icerigi-detay h3,
.single-ilan .ilan-sartlari h3,
.single-ilan .ilan-kontenjan-detaylari h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.single-ilan table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}
.single-ilan table th, .single-ilan table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}
.single-ilan table thead th {
    background-color: #f4f4f4;
    font-weight: bold;
    color: #333;
}
.single-ilan table tbody tr:nth-child(even) {
    background-color: #f8f8f8;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .ilan-filtre-form {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    .ilan-filtre-form select,
    .ilan-filtre-form button {
        flex: 1 1 100%;
    }
    .ilan-ozet {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .ilan-sol, .ilan-bilgiler, .ilan-sag {
        width: 100%;
        text-align: left;
    }
    .ilan-sag {
        margin-top: 1rem;
    }
    .single-ilan .header-container-logo-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .single-ilan .entry-title {
        font-size: 1.8rem;
        text-align: left;
    }
    .single-ilan .ilan-detay-logo {
        width: 70px;
        height: 70px;
    }
}
/* Başvuru linki stili */
.ilan-detay-kutusu .basvuru-linki {
    color: #007bff; /* Mavi renk */
    text-decoration: none;
    border-bottom: 2px solid #007bff;
    transition: all 0.3s ease;
}

.ilan-detay-kutusu .basvuru-linki:hover {
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
}

/* Filtreleme Alanı için Modern Stiller */
.ilan-filtre-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Kutunun etrafına hafif gölge ekler */
    margin-bottom: 30px;
    display: flex;
    justify-content: center; /* Filtreleri ortaya hizalar */
    align-items: center;
    flex-wrap: wrap; /* Küçük ekranlarda alt satıra geçmesini sağlar */
}

.ilan-filtre-form {
    display: flex;
    gap: 15px; /* Form elemanları arasına boşluk ekler */
    align-items: center;
    width: 100%;
    justify-content: center;
}

.ilan-filtre-form select {
    flex-grow: 1; /* Esnek büyüme sağlar */
    max-width: 200px; /* Maksimum genişlik belirler */
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px; /* Yuvarlak köşeler */
    background-color: #f9f9f9;
    color: #555;
    font-size: 1rem;
    cursor: pointer;
    -webkit-appearance: none; /* Varsayılan stilini kaldırır */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 16px;
}

.ilan-filtre-form select:focus {
    border-color: #007bff;
    outline: none;
}

.ilan-filtre-form button {
    height: 45px;
    padding: 0 25px;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
}

.ilan-filtre-form button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .ilan-filtre-form {
        flex-direction: column;
        gap: 10px;
    }
    .ilan-filtre-form select,
    .ilan-filtre-form button {
        width: 100%;
        max-width: none;
    }
}