/* Genel konteyner */
.education-search-container {
    background: #fff;
    border-radius: var(--tlm-radius-xl, 1rem);
    padding: 5px 24px;
    max-width: 1400px;
    margin: 30px auto;
}

.education-search-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2746;
    margin-bottom: 30px;
}

.education-search-container .desc {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 720px;
}

/* Ana düzen: sol sidebar + sağ içerik */
.search-section {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.search-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.search-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Arama kutusu */
.search-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--tlm-radius-lg, 0.75rem);
    padding: 18px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.search-row input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 1rem;
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    color: #222;
    background: #ffffff;
    text-transform: none;
    font-family: 'Roboto', sans-serif;
}

.search-row input[type="text"]:focus {
    outline: none;
    border-color: #074d78;
    box-shadow: 0 0 0 1px #074d78;
}

.search-row button[type="submit"] {
    width: 100%;
    height: 48px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--tlm-radius-md-px, 8px);
    border: none;
    background: #074d78;
    color: #ffffff;
    padding: 0 24px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-row button[type="submit"]:hover {
    background: #053a5a;
}

/* Filtre kartları */
.filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.filter-dropdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--tlm-radius-lg, 0.75rem);
    padding: 16px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.filter-dropdown label {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.filter-dropdown select {
    height: 40px;
    border-radius: var(--tlm-radius-md-px, 8px);
    border: 1px solid #cbd5f5;
    background: #f8fafc;
    padding: 0 12px;
    font-size: 0.95rem;
    color: #1f2937;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: #074d78;
    box-shadow: 0 0 0 3px rgba(7, 77, 120, 0.15);
}

/* Aktif filtreler */
.active-filters {
    display: none;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 15px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.clear-filters-btn {
    width: 100%;
    padding: 8px;
    background: #ffffff;
    color: #074d78;
    border: 1.5px solid #074d78;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-filters-btn:hover {
    background: #074d78;
    color: #ffffff;
}

/* Sonuç sayacı */
.search-result-count {
    margin: 0 0 18px 0;
    font-size: 0.9rem;
    color: #1a2746;
    font-weight: 500;
}

.search-result-count b {
    color: #074d78;
}

/* Eğitim listesi */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.education-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.education-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px 28px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--tlm-radius-md, 0.5rem);
    padding: 24px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.25s ease;
}

.education-item-link:hover .education-item {
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.09);
}

.education-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--tlm-radius-md-px, 8px);
    background: radial-gradient(circle at top, #eef2ff, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #074d78;
    padding: 10px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.education-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.education-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b303b;
    line-height: 1.3;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.education-item-link:hover .education-title {
    color: #074d78;
    text-decoration: underline;
}

.education-desc {
    font-size: 0.95rem;
    color: #556070;
    line-height: 1.5;
}

.education-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 24px;
    margin-top: 6px;
}

.education-meta.stacked {
    grid-template-columns: 1fr;
}

.education-meta-item {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.education-meta-label {
    font-weight: 600;
    color: #0f172a;
    min-width: 110px;
}

.education-meta-value {
    color: #475569;
}

/* Sonuç yok mesajı: `site.css` içindeki `.tlm-search-noresult` kullanılır */

.btn-blue {
    background: #074d78;
    color: #ffffff;
    border: none;
    border-radius: var(--tlm-radius-md-px, 8px);
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-blue:hover {
    background: #053a5a;
}

.btn-outline {
    background: transparent;
    color: #074d78;
    border: 1.5px solid #074d78;
    border-radius: var(--tlm-radius-md-px, 8px);
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #074d78;
    color: #ffffff;
}

/* Responsive düzen */
@media (max-width: 1200px) {
    .education-item {
        grid-template-columns: 90px 1fr;
        padding: 20px;
    }

    .education-thumb {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 992px) {
    .search-section {
        flex-direction: column;
    }

    .search-sidebar {
        width: 100%;
    }

    .search-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .education-item {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .education-thumb {
        width: 70px;
        height: 70px;
        justify-self: flex-start;
    }
}

@media (max-width: 640px) {
    .education-search-container {
        padding: 20px 16px;
    }

    .search-row {
        padding: 16px;
    }

    .education-title {
        font-size: 1.3rem;
    }
}
