/* THEME 2: WHITEPACE STYLE */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --bg-main: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-header: #043873; /* Глубокий синий */
  --accent: #4F9CF9; /* Светло-синий акцент */
  --text-main: #043873;
  --text-gray: #212529;
  --border-color: #E2E8F0;
  --font-main: 'DM Sans', sans-serif;
  --font-heading: 'DM Sans', sans-serif;
  --shadow-sm: 0 10px 40px rgba(4, 56, 115, 0.08); /* Мягкая размытая тень */
}

* { 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.7; display: flex; flex-direction: column; min-height: 100vh; }

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

h1, h2, h3, h4 { color: var(--text-main); font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; }

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

.site-header { background: var(--bg-header); position: relative; z-index: 100; color: #fff; }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.8rem; font-weight: 700; color: #ffffff; display: flex; align-items: center; gap: 8px; }
.logo::before { content: 'W'; background: var(--accent); color: #fff; padding: 2px 10px; border-radius: 6px; font-size: 1.4rem; }

.header-nav { background: var(--bg-header); }
.nav-links { display: flex; justify-content: center; gap: 40px; padding: 15px 20px; }
.nav-links a { color: #ffffff; font-weight: 500; font-size: 1rem; opacity: 0.9; }
.nav-links a:hover { color: #FFE492; opacity: 1; } /* Желтый акцент при наведении как на скрине */

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

.post-thumb-card { 
  position: relative; background: var(--bg-card); 
  border: none; /* Убираем рамки */
  border-radius: 8px; /* Легкое скругление */
  display: flex; flex-direction: column; justify-content: flex-start; 
  padding: 30px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
  box-shadow: var(--shadow-sm); 
  min-height: 280px; 
}
.post-thumb-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(4, 56, 115, 0.12); }

.cat-badge { background: #E2E8F0; color: var(--text-main); padding: 6px 12px; font-size: 0.75rem; font-weight: 700; border-radius: 4px; display: inline-block; margin-bottom: 20px; width: fit-content; text-transform: uppercase; letter-spacing: 0.05em; }

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

.post-container { max-width: 800px; margin: 80px auto; background: transparent; padding: 0; border: none; box-shadow: none; }
.post-h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 30px; text-align: center; }
.post-meta-info { display: flex; align-items: center; justify-content: center; gap: 15px; padding-bottom: 40px; font-size: 1rem; color: #4F5665; }
.post-meta-info img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.post-content { font-size: 1.15rem; line-height: 1.8; color: #4F5665; background: #fff; padding: 60px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.post-content h2 { font-size: 2rem; margin: 40px 0 20px; }
.post-content p { margin-bottom: 25px; }
.post-content a { color: var(--accent); font-weight: 500; text-decoration: none; }
.post-content a:hover { text-decoration: underline; }

.pagination { display: flex; justify-content: center; gap: 10px; margin: 40px 0 100px; }
.page-link { width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; border: none; border-radius: 6px; background: #F3F4F6; color: var(--text-main); font-weight: 500; transition: background 0.3s; }
.page-link:hover { background: #E2E8F0; }
.page-link.active { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(79, 156, 249, 0.4); }

.site-footer { background: var(--text-main); color: #fff; padding: 80px 0 30px; margin-top: auto; border-top: none; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-title { margin-bottom: 25px; font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #A0AAB4; }