/* ===================================================================================

* Theme Name: Xolio Child
* Theme URI: https://www.themedox.com/xolio/
* Author: ThemeDox
* Author URI: https://themeforest.net/user/themedox/
* Description: Xolio - Creative Agency & Portfolio WordPress Theme
* Version: 1.1
* Template: xolio
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */
/* Sözlük Sayfası Stilleri */
.sozluk-kelime {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Kelime Başlığı */
.sozluk-kelime h1 {
    font-size: 32px;
    color: #333333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
}

/* Kelime Detayları */
.sozluk-kelime p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 15px;
    padding: 10px 0;
}

/* Etiketler (Anlam, Örnek gibi) */
.sozluk-kelime strong {
    color: #2c3e50;
    font-weight: 600;
    margin-right: 10px;
    display: inline-block;
    min-width: 100px;
}

/* Kategori Stilleri */
.sozluk-kelime .categories {
    margin-top: 20px;
    padding-top: 15px;
    /border-top: 1px solid #f0f0f0;
}

/* Mobil Cihazlar için Düzenlemeler */
@media (max-width: 768px) {
    .sozluk-kelime {
        margin: 20px 15px;
        padding: 20px;
    }

    .sozluk-kelime h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .sozluk-kelime p {
        font-size: 15px;
    }

    .sozluk-kelime strong {
        min-width: 80px;
    }
}

/* Tablet Cihazlar için Düzenlemeler */
@media (min-width: 769px) and (max-width: 1024px) {
    .sozluk-kelime {
        margin: 30px auto;
        max-width: 90%;
    }
}

/* Hover Efektleri */
.sozluk-kelime p:hover {
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

/* Kategori Linkleri */
.sozluk-kelime a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sozluk-kelime a:hover {
    color: #ff0000;
}

/* Sayfa Arkaplanı */
body.single-sozluk {
    background-color: #f5f6fa;
}

/* İçerik Bölümü Düzenlemeleri */
.sozluk-anlam,
.sozluk-ornek,
.sozluk-kategori {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border-left: 3px solid #3498db;
}

/* Farklı Bölümler için Farklı Renkler */
.sozluk-anlam {
    border-left-color: #3498db;
}

.sozluk-ornek {
    border-left-color: #2ecc71;
}

.sozluk-kategori {
    border-left-color: #e74c3c;
}

/* Arama ve Filtreleme Stilleri */
.sozluk-arama-alani {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#sozlukArama {
    padding: 10px 15px;
    width: 300px;
    border: 2px solid #000000; /* Mavi kenar */
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#sozlukArama:focus {
    border-color: #000000; /* Koyu mavi kenar */
    outline: none; /* Kenar çizgisi kaybolsun */
}

#sozlukSiralama {
    padding: 10px;
    border: 2px solid #ff0000; /* Mavi kenar */
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#sozlukSiralama:focus {
    border-color: #ff0000; /* Koyu mavi kenar */
    outline: none; /* Kenar çizgisi kaybolsun */
}

/* Harf Filtreleme Stilleri */
.harfler-filtre {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin: 20px 0;
    padding: 10px;
    background: #f5f5f5; /* Açık gri arka plan */
    border-radius: 5px;
}

.harf-link {
    padding: 5px 10px;
    background: #007bff; /* Mavi arka plan */
    color: white; /* Beyaz yazı rengi */
    border: none; /* Kenar yok */
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.harf-link:hover {
    background: #0056b3; /* Koyu mavi arka plan */
    transform: scale(1.05); /* Hover efekti */
}

.harf-link.aktif {
    background: #0056b3; /* Koyu mavi arka plan */
    color: white; /* Beyaz yazı rengi */
}

/* Kelime Listesi Stilleri */
.sozluk-liste {
    margin-top: 20px;
}

.sozluk-kelime {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd; /* Gri kenar */
    border-radius: 5px;
    transition: all 0.3s ease;
    background: #ffffff; /* Beyaz arka plan */
}

.sozluk-kelime:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Hafif gölge */
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .sozluk-arama-alani {
        flex-direction: column;
        align-items: center;
    }

    #sozlukArama {
        width: 100%;
        max-width: 300px;
    }

    .harfler-filtre {
        gap: 3px;
    }

    .harf-link {
        padding: 3px 8px;
        font-size: 14px;
    }
}
.sozluk-kelime p:has(strong:contains("Kategori:")) {
    display: none;
}