
:root {
    --primary: #5b8fa8;
    --primary-light: #e8f4f8;
    --accent: #a8c5b5;
    --text: #2d3748;
    --muted: #718096;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Georgia', serif;
    color: var(--text);
    background: #fafaf9;
}
.navbar {
    background: white !important;
    border-bottom: 1px solid #eee;
    padding: 0.8rem 0;
}
.navbar-brand {
    font-size: 1.2rem;
    color: var(--primary) !important;
    font-weight: 600;
}
.nav-link {
    color: var(--text) !important;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--primary) !important; }
.btn-donate {
    background: var(--primary);
    color: white !important;
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}
.btn-donate:hover { opacity: 0.85; color: white !important; }

/* Мобильное меню — по центру */
@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
        padding: 1rem 0;
    }
    .navbar-nav {
        align-items: center !important;
    }
    .btn-donate {
        margin-top: 0.5rem;
    }
}

.main-content { flex: 1; }
.footer {
    background: white;
    border-top: 1px solid #eee;
    padding: 2rem 0;
    margin-top: 4rem;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--primary); }

/* Герой — компактнее */
.hero-card img {
    max-height: 320px;
    object-fit: cover;
    width: 100%;
}
.hero-card .card-body {
    padding: 2rem 2.5rem;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.card-img-top {
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.category-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.category-badge:hover { background: var(--primary); color: white; }
.read-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.read-more:hover { text-decoration: underline; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }
