/*
Theme Name: EBO RF Theme
Template: twentytwentyfive
Description: Дочерняя тема для Единой базы ограничений РФ
Author: Antigravity
Version: 1.0.0
*/

/* =========================================
   Реестр: Премиальные Карточки (UX/UI)
   ========================================= */

.ebo-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 32px;
    margin-bottom: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ebo-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.ebo-ai-summary {
    background: linear-gradient(145deg, #f9fafb 0%, #ffffff 100%);
    border-left: 4px solid #b91c1c;
    padding: 24px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 24px;
    position: relative;
}

.ebo-badge {
    display: inline-block;
    background: #b91c1c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.ebo-ai-summary p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

.ebo-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
}

.ebo-meta-item {
    display: flex;
    flex-direction: column;
}

.ebo-meta-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.ebo-meta-value {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
}

/* HEADER STYLES */
.ebo-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f3f4f6;
}
.ebo-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ebo-logo {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
}
.ebo-header-search form {
    display: flex;
    gap: 8px;
}
.ebo-header-search input {
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.ebo-header-search input:focus {
    border-color: #b91c1c;
}
.ebo-header-search button {
    background: #b91c1c;
    color: white;
    border: none;
    padding: 0 16px;
    border-radius: 8px;
    cursor: pointer;
}

/* BREADCRUMBS */
.ebo-breadcrumbs {
    max-width: 1400px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #6b7280;
}
.ebo-breadcrumbs a {
    color: #b91c1c;
    text-decoration: none;
    font-weight: 600;
}
.ebo-breadcrumbs .ebo-separator {
    margin: 0 8px;
    color: #d1d5db;
}

/* FOOTER STYLES */
.ebo-footer {
    background: #111827;
    color: #9ca3af;
    padding: 60px 0 30px 0;
    margin-top: 80px;
}
.ebo-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.ebo-footer-legal {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #374151;
}
.ebo-footer-legal h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 700;
}
.ebo-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.ebo-back-to-top {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    background: #374151;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}
.ebo-back-to-top:hover {
    background: #b91c1c;
}
