* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-green: #2d5a27;
    --secondary-green: #3d8c40;
    --light-green: #f5f9f5;
    --accent-green: #4a7c42;
    --dark-green: #1e3a1a;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #888;
    --white: #ffffff;
    --off-white: #f8fdf8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 6px 15px rgba(42, 89, 52, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-color: #e0f2e0;
    
    /* Футер цвета */
    --footer-bg: #2c3e50;
    --footer-accent: #3498db;
    --footer-text: #ecf0f1;
    --footer-hover: #bdc3c7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-green);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* УНИВЕРСАЛЬНОЕ МЕНЮ (одинаковое для всех страниц) */
.navbar {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(30, 60, 30, 0.25);
    border-bottom: 3px solid var(--accent-green);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 5px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h2 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
}

/* Меню навигации */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 30px;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid var(--accent-green);
    font-weight: 600;
}

.login-btn {
    background: linear-gradient(to right, var(--accent-green), var(--secondary-green));
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(61, 148, 64, 0.3);
    flex-shrink: 0;
    text-decoration: none;
}

.login-btn:hover {
    background: linear-gradient(to right, var(--secondary-green), #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(61, 148, 64, 0.4);
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Адаптивность меню */
@media (max-width: 992px) {
    .nav-container {
        flex-direction: row;
        gap: 15px;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        margin-top: 15px;
        background: rgba(30, 58, 26, 0.98);
        padding: 15px;
        border-radius: var(--radius);
    }
    
   
    .nav-menu.show {
    display: flex;
}
    .nav-link {
        width: 100%;
        text-align: center;
        border-radius: var(--radius-sm);
        padding: 12px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-text p {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h2 {
        font-size: 1.2rem;
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn {
        padding: 10px 15px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.9) 0%, rgba(74, 124, 66, 0.8) 100%),
                url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.1) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===== ПОДПИСКА НА НОВОСТИ (не зеленый вариант) ===== */
.newsletter-section {
    background: linear-gradient(135deg, #4a6fa5, #2c3e50);
    color: var(--white);
    padding: 70px 0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1556761175-4a46e7b35a72?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.newsletter-content h2 i {
    color: #FFD700;
    font-size: 2.5rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
    color: #e0f2ff;
}

.newsletter-benefits {
    list-style: none;
    margin-top: 30px;
}

.newsletter-benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #e0f2ff;
}

.newsletter-benefits i {
    color: #FFD700;
    font-size: 1.1rem;
}

/* Форма подписки */
.newsletter-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e3e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    background: #f8fafc;
    color: #2c3e50;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: #4a6fa5;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.15);
    background: white;
}

.form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a6fa5;
    font-size: 1.1rem;
}

.checkbox-group {
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #4a6fa5;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #5d6d7e;
    line-height: 1.5;
    cursor: pointer;
}

.subscribe-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #4a6fa5, #3498db);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.subscribe-btn:hover::before {
    left: 100%;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #3498db, #4a6fa5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 111, 165, 0.3);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.subscribe-btn .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.subscribe-btn.loading .btn-text {
    opacity: 0;
}

.form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #7f8c8d;
    text-align: center;
}

.policy-link {
    color: #4a6fa5;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.policy-link:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Подписка в футере */
.footer-newsletter {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-newsletter input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.footer-subscribe-btn {
    background: white;
    color: #2c3e50;
    border: none;
    border-radius: 6px;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    min-width: 45px;
}

.footer-subscribe-btn:hover {
    background: #f1f2f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-newsletter-note {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 10px;
    line-height: 1.4;
}

/* Адаптивность подписки */
@media (max-width: 992px) {
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 50px 0;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-form {
        padding: 25px;
    }
    
    .footer-newsletter {
        flex-direction: column;
    }
    
    .footer-subscribe-btn {
        padding: 12px;
        width: 100%;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .newsletter-section {
        background: linear-gradient(135deg, #1a2530, #2c3e50);
    }
    
    .newsletter-form {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .form-group input {
        background: #34495e;
        color: white;
        border-color: #4a6278;
    }
    
    .form-group input:focus {
        border-color: #4a6fa5;
        background: #3a5068;
    }
    
    .form-icon {
        color: #3498db;
    }
    
    .checkbox-group label {
        color: #bdc3c7;
    }
    
    .subscribe-btn {
        background: linear-gradient(135deg, #3498db, #2980b9);
    }
    
    .form-note {
        color: #95a5a6;
    }
    
    .policy-link {
        color: #3498db;
    }
}
/* Эколента */
.feed-section {
    padding: 0 20px 80px;
}

.feed-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 25px;
    color: var(--primary-green);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    color: var(--white);
}

.search-box {
    position: relative;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid var(--accent-green);
    border-radius: 25px;
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 3px rgba(74, 124, 66, 0.2);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feed-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-slow);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.feed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    opacity: 0;
    transition: opacity 0.3s;
}

.feed-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feed-card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.feed-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-green);
    color: var(--primary-green);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
    transition: var(--transition);
}

.feed-card:hover .card-category {
    background: var(--accent-green);
    color: var(--white);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-green);
    line-height: 1.3;
    transition: var(--transition);
}

.feed-card:hover .card-title {
    color: var(--primary-green);
}

.card-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s;
}

.read-more:hover {
    color: var(--dark-green);
    gap: 8px;
}

.read-more:hover::after {
    width: 100%;
}

.load-more {
    display: block;
    margin: 0 auto;
    padding: 15px 40px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.load-more:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.load-more .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
    margin-top: 60px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--footer-accent);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--footer-accent);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--footer-accent);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 10px;
    font-size: 0.8rem;
    color: var(--footer-accent);
}

/* Социальные иконки в футере */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--footer-accent);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s;
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

.social-links a:hover::before {
    transform: scale(1);
}

/* Подписка в футере */
.footer-newsletter {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-newsletter input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--footer-accent);
}

.footer-subscribe-btn {
    background: var(--footer-accent);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-subscribe-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.footer-newsletter-note {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 10px;
    line-height: 1.4;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-card {
    animation: fadeInUp 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Задержка для карточек */
.feed-card:nth-child(1) { animation-delay: 0.1s; }
.feed-card:nth-child(2) { animation-delay: 0.2s; }
.feed-card:nth-child(3) { animation-delay: 0.3s; }
.feed-card:nth-child(4) { animation-delay: 0.4s; }
.feed-card:nth-child(5) { animation-delay: 0.5s; }
.feed-card:nth-child(6) { animation-delay: 0.6s; }

/* Адаптивность подписки */
@media (max-width: 992px) {
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .feed-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 50px 0;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-form {
        padding: 25px;
    }
    
    .hero {
        padding: 60px 20px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .feed-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .footer-newsletter {
        flex-direction: column;
    }
    
    .footer-subscribe-btn {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .logo-text h2 {
        font-size: 1rem;
    }
    
    .logo-text p {
        display: none;
    }
    
    .feed-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* Улучшенная доступность */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Стили для уведомлений (добавлены в HTML) */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #2d5a27;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: #4CAF50;
}

.notification-error {
    border-left-color: #f44336;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: #4CAF50;
}

.notification-error .notification-content i {
    color: #f44336;
}

.notification-content span {
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.notification-close:hover {
    color: #333;
}

@media (max-width: 768px) {
    .notification {
        top: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        transform: translateY(-150%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    :root {
        --light-green: #1a2a1a;
        --white: #2a2a2a;
        --off-white: #1e1e1e;
        --text-dark: #e0e0e0;
        --text-light: #888888;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.4);
        --shadow-card: 0 6px 15px rgba(0, 0, 0, 0.3);
        --border-color: #333;
    }
    
    .feed-card {
        background: #333;
        border: 1px solid #444;
    }
    
    .card-title {
        color: #d0e7d0;
    }
    
    .card-excerpt {
        color: #aaa;
    }
    
    .filter-btn {
        background: #333;
        color: #d0e7d0;
        border-color: #444;
    }
    
    .filter-btn.active {
        background: var(--accent-green);
        color: white;
    }
    
    .search-input {
        background: #333;
        color: #e0e0e0;
        border-color: #555;
    }
    
    .newsletter-form {
        background: #333;
    }
    
    .form-group input {
        background: #444;
        color: #e0e0e0;
        border-color: #555;
    }
    
    .checkbox-group label {
        color: #aaa;
    }
}