/* BosiObuvki — Earthy Barefoot Theme */
:root {
    --brown: #795548; --brown-dark: #4E342E; --brown-light: #EFEBE9; --brown-soft: #BCAAA4;
    --brown-accent: #8D6E63; --green: #558B2F; --green-light: #F1F8E9;
    --white: #fff; --gray-50: #FAFAFA; --gray-100: #F5F5F5; --gray-200: #EEE; --gray-300: #E0E0E0;
    --gray-500: #9E9E9E; --gray-600: #757575; --gray-700: #616161; --gray-800: #424242; --gray-900: #212121;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08); --shadow-md: 0 4px 12px rgba(0,0,0,0.1); --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
    --transition: 0.25s ease;
    --font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1100px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--gray-800); background: var(--gray-50); }
img { max-width: 100%; display: block; } a { color: var(--brown); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown-dark); } ul { list-style: none; }
h1,h2,h3,h4 { color: var(--gray-900); line-height: 1.3; font-weight: 700; }
h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.25rem; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.info-banner { background: var(--brown-light); color: var(--brown-dark); text-align: center; padding: 6px 20px; font-size: 0.78rem; font-weight: 600; border-bottom: 1px solid var(--brown-soft); position: relative; z-index: 1001; }

.navbar { background: var(--white); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--gray-200); transition: box-shadow var(--transition); }
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.nav-logo { display: flex; align-items: center; gap: 6px; font-size: 1.15rem; font-weight: 800; color: var(--brown-dark); white-space: nowrap; flex-shrink: 0; }
.nav-links { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; }
.nav-links a { padding: 6px 10px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; color: var(--gray-700); transition: all var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: var(--brown-light); color: var(--brown-dark); }
.nav-search input { padding: 6px 12px; border: 1px solid var(--gray-300); border-radius: 20px; font-size: 0.82rem; width: 130px; outline: none; font-family: var(--font); transition: all var(--transition); }
.nav-search input:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(121,85,72,0.15); width: 170px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 8px; }

.hero { background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 50%, #3E2723 100%); color: var(--white); padding: 60px 0; text-align: center; }
.hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.hero p { font-size: 1.1rem; opacity: 0.9; max-width: 650px; margin: 0 auto; line-height: 1.7; }

.section { padding: 50px 0; } .section-title { text-align: center; margin-bottom: 36px; }
.section-title p { color: var(--gray-600); } .section-brown { background: var(--brown-light); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.cat-card { background: var(--white); border-radius: var(--radius-md); padding: 28px; text-align: center; border: 1px solid var(--gray-200); transition: all var(--transition); }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brown-soft); }
.cat-icon { font-size: 2.5rem; margin-bottom: 12px; }
.cat-card h3 { font-size: 1rem; margin-bottom: 6px; }
.cat-card p { font-size: 0.85rem; color: var(--gray-600); }

.article-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); transition: all var(--transition); overflow: hidden; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.article-card-body { padding: 20px; }
.article-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.article-card-body h3 a { color: var(--gray-900); } .article-card-body h3 a:hover { color: var(--brown); }
.article-card-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--gray-500); margin-top: 10px; }
.category-badge { display: inline-block; background: var(--brown-light); color: var(--brown-dark); padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; }
.excerpt { color: var(--gray-600); font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.article-hero { background: linear-gradient(135deg, var(--brown-dark), var(--brown)); color: var(--white); padding: 40px 0; text-align: center; }
.article-hero h1 { color: var(--white); font-size: 2rem; max-width: 800px; margin: 0 auto; }
.article-content { background: var(--white); padding: 40px; border-radius: var(--radius-md); border: 1px solid var(--gray-200); margin-top: -20px; position: relative; z-index: 1; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.85; }
.article-content h2 { margin: 30px 0 14px; color: var(--brown-dark); border-bottom: 2px solid var(--brown-light); padding-bottom: 8px; }
.article-content h3 { margin: 24px 0 10px; } .article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 14px 0; padding-left: 24px; }
.article-content li { margin-bottom: 8px; list-style: disc; }
.article-content a { color: var(--brown); font-weight: 500; }

.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq-q { padding: 14px 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; background: var(--gray-50); }
.faq-q:hover { background: var(--brown-light); }
.faq-a { padding: 0 18px; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-a.open { padding: 14px 18px; max-height: 500px; }

.breadcrumbs { padding: 12px 0; font-size: 0.85rem; color: var(--gray-500); }
.breadcrumbs a { color: var(--gray-600); } .breadcrumbs a:hover { color: var(--brown); }

.page-with-sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 30px; align-items: start; }
.sidebar-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 18px; margin-bottom: 16px; }
.sidebar-box h4 { margin-bottom: 10px; }

.disclaimer-box { background: var(--green-light); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 18px 0; font-size: 0.88rem; color: #33691E; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer; transition: all var(--transition); font-family: var(--font); text-decoration: none; }
.btn-primary { background: var(--brown); color: var(--white); } .btn-primary:hover { background: var(--brown-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--brown); border: 2px solid var(--brown); } .btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-white { background: var(--white); color: var(--brown-dark); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--gray-300); color: var(--gray-700); }
.pagination .active { background: var(--brown); color: var(--white); border-color: var(--brown); }

.newsletter { background: linear-gradient(135deg, var(--brown-dark), var(--brown)); color: var(--white); padding: 40px 0; text-align: center; }
.newsletter h2 { color: var(--white); margin-bottom: 8px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 16px auto 0; }
.newsletter-form input { flex: 1; padding: 10px 16px; border: none; border-radius: var(--radius-sm); font-family: var(--font); }
.newsletter-form button { padding: 10px 20px; background: var(--white); color: var(--brown-dark); border: none; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; }

.footer { background: var(--gray-900); color: #aaa; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; margin-bottom: 24px; }
.footer h3, .footer h4 { color: var(--white); margin-bottom: 12px; }
.footer ul li { margin-bottom: 6px; } .footer ul a { color: #aaa; font-size: 0.9rem; } .footer ul a:hover { color: var(--white); }
.footer-disc { margin-top: 10px; font-size: 0.78rem; color: var(--brown-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; text-align: center; font-size: 0.82rem; }
.page-404 { text-align: center; padding: 80px 0; } .page-404 h1 { font-size: 5rem; color: var(--brown); }

@media (max-width: 768px) {
    h1 { font-size: 1.6rem; } .hero h1 { font-size: 1.9rem; } .hero { padding: 35px 0; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; } .page-with-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; } .article-content { padding: 20px; }
    .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); z-index: 999; }
    .nav-links.open { display: flex; } .nav-search { display: none; } .nav-toggle { display: block; }
}
