/* THEME 11: CLICON E-COMMERCE STYLE */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #F2F4F5; /* Светло-серый фон сайта */
  --bg-card: #FFFFFF;
  --bg-header: #1B6392; /* Глубокий синий из Clicon */
  --accent: #FA8232; /* Фирменный оранжевый */
  --text-main: #191C1F; /* Почти черный для текста */
  --text-gray: #5F6C72; /* Серый текст */
  --border-color: #E4E7E9;
  --font-main: 'Public Sans', sans-serif;
  --font-heading: 'Public Sans', sans-serif;
  --shadow-sm: 0 2px 4px 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.5; display: flex; flex-direction: column; min-height: 100vh; }

a { text-decoration: none; color: inherit; transition: color 0.2s 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: 1320px; margin: 0 auto; padding: 0 20px; width: 100%; }

.site-header { background: var(--bg-header); color: #fff; position: relative; z-index: 100; }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 25px 20px; max-width: 1320px; margin: 0 auto; }
.logo { font-size: 2rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
/* Эмулируем оранжевый кружок логотипа Clicon */
.logo::before { content: ''; display: inline-block; width: 24px; height: 24px; border: 5px solid var(--accent); border-radius: 50%; }

.header-nav { background: #FFFFFF; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.nav-links { display: flex; justify-content: center; gap: 30px; padding: 15px 20px; }
.nav-links a { color: var(--text-gray); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }

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

.post-thumb-card { 
  position: relative; background: var(--bg-card); 
  border: 1px solid var(--border-color); 
  border-radius: 4px; 
  display: flex; flex-direction: column; justify-content: flex-start; 
  padding: 20px; transition: border-color 0.2s ease, box-shadow 0.2s; 
  min-height: 250px; 
}
.post-thumb-card:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(250, 130, 50, 0.1); }

.cat-badge { background: #FFF3EB; color: var(--accent); padding: 4px 10px; font-size: 0.75rem; font-weight: 600; border-radius: 2px; 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.4; font-weight: 600; }

.post-container { max-width: 900px; margin: 40px auto; background: var(--bg-card); padding: 40px; border: 1px solid var(--border-color); border-radius: 4px; }
.post-h1 { font-size: 2.2rem; line-height: 1.3; margin-bottom: 20px; color: var(--text-main); }
.post-meta-info { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; font-size: 0.9rem; }
.post-meta-info img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-color); }
.post-content { font-size: 1.05rem; line-height: 1.7; color: var(--text-gray); }
.post-content h2 { font-size: 1.6rem; margin: 40px 0 15px; color: var(--text-main); }
.post-content p { margin-bottom: 20px; }
.post-content a { color: #1B6392; font-weight: 500; text-decoration: underline; }

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

.site-footer { background: #191C1F; color: #ADB7BC; padding: 70px 0 30px; margin-top: auto; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.footer-title { margin-bottom: 20px; font-weight: 600; color: #FFFFFF; font-size: 1rem; text-transform: uppercase; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 25px; border-top: 1px solid #303639; font-size: 0.85rem; color: #77878F; }