/*
Theme Name: Jüdische Namen
Theme URI: https://juedische-namen.de
Author: Liron
Description: Ein sauberes Block Theme für eine lexikalische Namensdatenbank mit jüdischen und hebräischen Vornamen. Full Site Editing, Yoast SEO optimiert.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: juedische-namen
*/

/* Custom CSS ergänzend zu theme.json */

/* Breadcrumbs Styling */
.breadcrumbs {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.breadcrumbs a {
    color: #2c5282;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Datenbox / Key-Value Table */
.name-data-table {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.name-data-table table {
    width: 100%;
    border-collapse: collapse;
}

.name-data-table th,
.name-data-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.name-data-table th {
    background: #f7fafc;
    font-weight: 600;
    font-size: 0.875rem;
    width: 35%;
}

.name-data-table td {
    font-size: 0.9375rem;
}

.name-data-table tr:last-child th,
.name-data-table tr:last-child td {
    border-bottom: none;
}

/* Info/Hinweis Box */
.info-box {
    background: #edf2f7;
    border-left: 4px solid #2c5282;
    padding: 1.5rem;
    border-radius: 0.375rem;
    margin: 2rem 0;
}

/* Related Names Links */
.related-names-list a {
    background: #edf2f7;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #2c5282;
    font-size: 0.9375rem;
    transition: all 0.2s;
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
}

.related-names-list a:hover {
    background: #2c5282;
    color: white;
}

/* Name Cards in Grid */
.name-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 1.5rem;
    transition: all 0.2s;
}

.name-card:hover {
    border-color: #2c5282;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.name-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.name-card h3 a {
    color: #2c5282;
    text-decoration: none;
}

.name-card h3 a:hover {
    text-decoration: underline;
}

/* Category Cards */
.category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 2rem;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.2s;
    display: block;
}

.category-card:hover {
    border-color: #2c5282;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.category-card h3 {
    margin: 0 0 0.5rem;
    color: #2c5282;
}

/* Name Links (beliebte Namen) */
.name-link {
    background: #edf2f7;
    padding: 1rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #2c5282;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
    display: block;
}

.name-link:hover {
    background: #2c5282;
    color: white;
}

/* Tags */
.name-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.name-tag {
    background: #edf2f7;
    color: #2d3748;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Search Hero */
.search-hero {
    text-align: center;
    padding: 3rem 0;
    background: #f7fafc;
    border-radius: 0.375rem;
    margin-bottom: 3rem;
}

.search-hero input[type="search"] {
    width: 100%;
    max-width: 600px;
    padding: 1.5rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.375rem;
    transition: border-color 0.2s;
}

.search-hero input[type="search"]:focus {
    outline: none;
    border-color: #2c5282;
}

/* Alphabet Navigation */
.alphabet-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.alphabet-nav a {
    padding: 0.5rem 1rem;
    background: #edf2f7;
    color: #2c5282;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.alphabet-nav a:hover,
.alphabet-nav a.current {
    background: #2c5282;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .name-data-table th {
        width: 40%;
    }
}
