/* THEME 4: NEXCENT STYLE */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #FFFFFF;
  --bg-card: #F5F7FA; /* Очень светлый серо-синий оттенок для карточек */
  --bg-header: #FFFFFF;
  --accent: #4CAF4F; /* Свежий зеленый */
  --text-main: #4D4D4D; /* Мягкий темно-серый вместо черного */
  --text-gray: #717171;
  --border-color: #E8E8E8;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --shadow-sm: 0px 2px 8px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: var(--font-main); background-color: var(--bg-main); color: var(--text-gray); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { color: var(--text-main); font-family: var(--font-heading); font-weight: 600; }

.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; width: 100%; }

.site-header { background: var(--bg-header); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 20px; max-width: 1150px; margin: 0 auto; }
.logo { font-size: 1.8rem; font-weight: 700; color: #263238; display: flex; align-items: center; gap: 8px; }
.logo::before { content: '❖'; color: var(--accent); font-size: 2rem; }

.header-nav { background: var(--bg-header); border-top: 1px solid var(--border-color); }
.nav-links { display: flex; justify-content: center; gap: 35px; padding: 15px 20px; }
.nav-links a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; }

.bottom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin: 50px 0; }

.post-thumb-card { 
  position: relative; background: var(--bg-card); 
  border: none; border-radius: 8px; 
  display: flex; flex-direction: column; justify-content: flex-end; 
  padding: 25px; transition: all 0.3s ease; 
  min-height: 240px; 
}
.post-thumb-card:hover { transform: translateY(-3px); box-shadow: 0px 8px 16px rgba(76, 175, 79, 0.1); background: #FFFFFF; border: 1px solid var(--accent); }

.cat-badge { background: #E8F5E9; color: var(--accent); padding: 5px 12px; font-size: 0.75rem; font-weight: 600; border-radius: 4px; display: inline-block; margin-bottom: 15px; width: fit-content; }

.post-thumb-title { color: var(--text-main); font-size: 1.1rem; line-height: 1.5; font-weight: 600; }

.post-container { max-width: 750px; margin: 50px auto; background: var(--bg-main); padding: 0; border: none; }
.post-h1 { font-size: 2.8rem; line-height: 1.3; margin-bottom: 20px; color: #263238; text-align: center; }
.post-meta-info { display: flex; align-items: center; justify-content: center; gap: 15px; border: none; padding-bottom: 30px; font-size: 0.95rem; color: var(--text-gray); }
.post-meta-info img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.post-content { font-size: 1.05rem; line-height: 1.8; }
.post-content h2 { font-size: 1.8rem; margin: 40px 0 15px; color: #263238; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--accent); font-weight: 500; }

.pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0 60px; }
.page-link { width: 35px; height: 35px; display: flex; justify-content: center; align-items: center; border: none; background: var(--bg-card); color: var(--text-main); border-radius: 4px; font-weight: 500; transition: 0.2s; }
.page-link:hover { background: #E8F5E9; color: var(--accent); }
.page-link.active { background: var(--accent); color: #fff; }

.site-footer { background: #263238; color: #F5F7FA; padding: 60px 0 20px; margin-top: auto; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.footer-title { margin-bottom: 20px; font-weight: 600; color: #FFFFFF; font-size: 1.1rem; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #89939E; }