/*
Theme Name: Silver Hill Child
Theme URI: https://www.silverhill-tekes.com
Description: Child theme for Silver Hill Akhal-Tekes
Author: Silver Hill
Template: twentytwentyfive
Version: 1.0
*/

/* Silver Hill Horse Templates */
.silverhill-horse .horse-meta table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.silverhill-horse .horse-meta th,
.silverhill-horse .horse-meta td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}
.silverhill-horse .horse-meta th {
    background: #f5f5f5;
    width: 220px;
}

.silverhill-horse .pedigree-section {
    margin: 2rem 0;
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 8px;
}
.silverhill-horse .pedigree-tree .pedigree-row {
    display: flex;
    margin-bottom: 8px;
}
.silverhill-horse .pedigree-label {
    width: 200px;
    font-weight: 600;
}
.silverhill-horse .pedigree-value a {
    color: #0066cc;
    text-decoration: none;
}
.silverhill-horse .pedigree-value a:hover {
    text-decoration: underline;
}

.silverhill-horse .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}
.silverhill-horse .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Archive Grid */
.horse-archive .horse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.horse-archive .horse-card {
    border: 1px solid #eee;
    padding: 1rem;
    text-align: center;
}
.horse-archive .horse-card h2 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}
.horse-archive .horse-card .color {
    color: #666;
    font-size: 0.9rem;
}
.horse-archive .view-button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 6px 12px;
    background: #222;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Homepage Styles */
.silverhill-home .home-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(data:image/svg+xml,...); /* placeholder */
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}
.silverhill-home .home-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.silverhill-home .home-hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
.silverhill-home .hero-buttons .button {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 8px;
    background: white;
    color: #222;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}
.silverhill-home .hero-buttons .button-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.silverhill-home .home-about,
.silverhill-home .home-featured,
.silverhill-home .home-links {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.silverhill-home .featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.silverhill-home .featured-group ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.silverhill-home .featured-group li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}
.silverhill-home .meta {
    color: #666;
    font-size: 0.9em;
}
.silverhill-home .view-all {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.silverhill-home .links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.silverhill-home .link-card {
    display: block;
    padding: 1.5rem;
    background: #f8f8f8;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #eee;
}
.silverhill-home .link-card strong {
    display: block;
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 4px;
}
.silverhill-home .link-card span {
    color: #666;
    font-size: 0.9rem;
}
