/* THEME 10: MARKETING ANALYTICS DASHBOARD */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #0B0F19; /* Очень глубокий сине-черный */
  --bg-card: #131A2B; /* Темно-синий для панелей */
  --bg-header: #0B0F19;
  --accent: #E11D48; /* Яркий розово-красный (Rose) */
  --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #E11D48 100%);
  --text-main: #F8FAFC; /* Бело-голубой */
  --text-gray: #94A3B8; /* Приглушенный сизо-серый */
  --border-color: #1E293B; /* Цвет тонких рамок */
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

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

body { 
  font-family: var(--font-main); 
  background-color: var(--bg-main); 
  /* Добавляем легкий фоновый светящийся блюр-эффект как на скрине */
  background-image: radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 25%), 
                    radial-gradient(circle at 85% 30%, rgba(225, 29, 72, 0.08) 0%, transparent 25%);
  color: var(--text-gray); 
  line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; 
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
a:hover { color: #fff; text-shadow: 0 0 8px rgba(225, 29, 72, 0.5); }

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

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

.site-header { 
  background: var(--bg-header); 
  border-bottom: 1px solid var(--border-color); 
  position: sticky; top: 0; z-index: 100; 
}
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; max-width: 1400px; margin: 0 auto; }
.logo { font-size: 1.4rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; letter-spacing: 1px; }
.logo::before { content: ''; display: inline-block; width: 12px; height: 12px; background: var(--accent-gradient); border-radius: 50%; }

.header-nav { background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.nav-links { display: flex; justify-content: center; gap: 30px; padding: 10px 20px; }
.nav-links a { color: var(--text-gray); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover { color: #fff; }

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

.post-thumb-card { 
  position: relative; background: var(--bg-card); 
  border: 1px solid var(--border-color); 
  border-radius: 8px; /* Стиль интерфейсных панелей */
  display: flex; flex-direction: column; justify-content: space-between; 
  padding: 25px; transition: border-color 0.3s; 
  box-shadow: var(--shadow-sm); 
  min-height: 240px; 
}
.post-thumb-card:hover { border-color: rgba(139, 92, 246, 0.5); }

.cat-badge { 
  background: rgba(225, 29, 72, 0.1); 
  color: var(--accent); padding: 4px 10px; font-size: 0.7rem; font-weight: 600; 
  border-radius: 4px; display: inline-block; margin-bottom: 15px; width: fit-content; text-transform: uppercase; 
}

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

.post-container { max-width: 900px; margin: 40px auto; background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.post-h1 { font-size: 2.2rem; line-height: 1.3; margin-bottom: 20px; color: #fff; }
.post-meta-info { display: flex; align-items: center; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; margin-bottom: 30px; }
.post-meta-info img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.post-content { font-size: 1.05rem; line-height: 1.8; color: #CBD5E1; }
.post-content h2 { font-size: 1.6rem; margin: 40px 0 15px; color: #fff; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: #8B5CF6; font-weight: 500; }

.pagination { display: flex; justify-content: center; gap: 8px; margin: 20px 0 60px; }
.page-link { width: 36px; height: 36px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border-color); background: var(--bg-card); border-radius: 6px; font-size: 0.9rem; transition: 0.2s; }
.page-link:hover { background: #1E293B; color: #fff; }
.page-link.active { background: var(--accent-gradient); color: #fff; border: none; }

.site-footer { background: var(--bg-card); border-top: 1px solid var(--border-color); padding: 50px 0 20px; margin-top: auto; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.footer-title { margin-bottom: 20px; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 0.8rem; color: #64748B; }