/*
Theme Name: Genius SPA & Sauna
Description: Премиальная адаптивная тема для энциклопедии бань, саун и спа-оздоровления
Version: 1.0.0
Author: Genius SPA Team
*/
:root {
  --bg-primary: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --color-brand: #059669;
  --color-brand-dark: #064e3b;
  --color-accent: #d97706;
  --border-light: #e2e8f0;
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background: var(--bg-primary); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { color: var(--color-brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-brand-dark); }

/* Header */
.site-header { background: #064e3b; color: #ffffff; padding: 18px 0; border-bottom: 3px solid #10b981; }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.site-brand { display: flex; align-items: center; gap: 12px; }
.site-logo-icon { font-size: 32px; line-height: 1; }
.site-title { font-size: 24px; font-weight: 800; color: #ffffff; letter-spacing: -0.5px; }
.site-title span { color: #34d399; }
.site-tagline { font-size: 13px; color: #a7f3d0; margin-top: 2px; }
.nav-links { display: flex; list-style: none; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: #e2e8f0; font-weight: 500; font-size: 15px; padding: 6px 10px; border-radius: 6px; }
.nav-links a:hover, .nav-links a.active { color: #ffffff; background: rgba(255,255,255,0.12); }

/* Hero */
.hero-section { background: linear-gradient(135deg, #064e3b 0%, #047857 100%); color: #ffffff; padding: 48px 0 40px; text-align: center; }
.hero-title { font-size: 36px; font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.hero-subtitle { font-size: 17px; color: #d1fae5; max-width: 720px; margin: 0 auto; line-height: 1.6; }

/* Grid & Cards */
.content-area { padding: 48px 0 64px; }
.section-title { font-size: 26px; font-weight: 700; color: #0f172a; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.article-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.card-category { font-size: 12px; text-transform: uppercase; font-weight: 700; color: var(--color-brand); margin-bottom: 8px; letter-spacing: 0.5px; }
.card-title { font-size: 19px; font-weight: 700; line-height: 1.35; margin-bottom: 12px; color: #0f172a; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--color-brand); }
.card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; flex-grow: 1; }
.card-footer { font-size: 13px; color: #94a3b8; border-top: 1px solid #f1f5f9; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; }

/* Single Article */
.article-single { background: var(--bg-card); border-radius: 16px; padding: 48px 40px; border: 1px solid var(--border-light); box-shadow: 0 4px 16px rgba(0,0,0,0.04); margin-bottom: 40px; }
.article-header { border-bottom: 1px solid #f1f5f9; padding-bottom: 24px; margin-bottom: 32px; }
.article-header h1 { font-size: 34px; font-weight: 800; line-height: 1.25; color: #0f172a; margin-bottom: 14px; }
.article-meta { font-size: 14px; color: var(--text-muted); display: flex; gap: 20px; align-items: center; }
.article-content { font-size: 17px; line-height: 1.8; color: #334155; }
.article-content p { margin-bottom: 22px; }
.article-content h2 { font-size: 26px; font-weight: 700; color: #0f172a; margin: 38px 0 16px; border-bottom: 2px solid #e2e8f0; padding-bottom: 8px; }
.article-content h3 { font-size: 21px; font-weight: 600; color: #1e293b; margin: 28px 0 12px; }
.article-content ul, .article-content ol { margin: 0 0 22px 28px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid var(--color-brand); background: #f0fdf4; padding: 16px 20px; border-radius: 0 8px 8px 0; margin-bottom: 24px; font-style: italic; color: #166534; }

/* Footer */
.site-footer { background: #0f172a; color: #94a3b8; padding: 48px 0 24px; border-top: 4px solid var(--color-brand); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 36px; }
.footer-brand { font-size: 20px; font-weight: 800; color: #ffffff; margin-bottom: 10px; }
.footer-brand span { color: #34d399; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #34d399; }
.footer-disclaimer { max-width: 520px; font-size: 13px; line-height: 1.6; color: #64748b; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; text-align: center; font-size: 13px; color: #64748b; }

@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .article-single { padding: 28px 20px; }
  .article-header h1 { font-size: 26px; }
}
