/* THEME 9: YELLOW POP-ART (NEO-BRUTALISM) */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;600;700&display=swap');

:root {
  --bg-main: #FFC033; /* Фирменный желтый из референса */
  --bg-card: #FFFFFF;
  --bg-header: #FFC033;
  --accent: #FF1A1A; /* Яркий красный */
  --accent-2: #0066FF; /* Яркий синий */
  --text-main: #000000;
  --text-gray: #111111;
  --border-color: #000000;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Archivo Black', sans-serif;
  --shadow-sm: 6px 6px 0px 0px #000000; /* Жесткая плоская тень */
}

* { 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: all 0.15s ease; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4 { color: var(--text-main); font-family: var(--font-heading); text-transform: uppercase; line-height: 1.1; }

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

.site-header { 
  background: var(--bg-header); 
  border-bottom: 4px solid var(--border-color); 
  position: sticky; top: 0; z-index: 100; 
}
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; max-width: 1300px; margin: 0 auto; }
.logo { font-size: 2.2rem; font-family: var(--font-heading); color: var(--text-main); text-transform: uppercase; letter-spacing: -1px; }

.header-nav { background: #fff; border-bottom: 4px solid var(--border-color); }
.nav-links { display: flex; justify-content: center; gap: 40px; padding: 15px 20px; }
.nav-links a { color: var(--text-main); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; }
.nav-links a:hover { color: var(--accent); transform: scale(1.05); }

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

.post-thumb-card { 
  position: relative; background: var(--bg-card); 
  border: 4px solid var(--border-color); 
  border-radius: 0; /* Острые углы */
  display: flex; flex-direction: column; justify-content: space-between; 
  padding: 30px; transition: transform 0.1s ease; 
  box-shadow: var(--shadow-sm); 
  min-height: 280px; 
}
.post-thumb-card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0px 0px #000000; }

.cat-badge { 
  background: var(--accent); 
  color: #fff; padding: 6px 14px; font-size: 0.85rem; font-family: var(--font-heading); 
  border: 2px solid var(--border-color); display: inline-block; margin-bottom: 20px; width: fit-content; 
}
.post-thumb-card:nth-child(even) .cat-badge { background: var(--accent-2); }

.post-thumb-title { color: var(--text-main); font-size: 1.6rem; }

.post-container { max-width: 850px; margin: 60px auto; background: var(--bg-card); padding: 50px; border: 4px solid var(--border-color); box-shadow: var(--shadow-sm); }
.post-h1 { font-size: 4rem; margin-bottom: 30px; }
.post-meta-info { display: flex; align-items: center; gap: 15px; border-top: 4px solid var(--border-color); border-bottom: 4px solid var(--border-color); padding: 15px 0; margin-bottom: 40px; font-weight: 700; font-size: 1rem; }
.post-meta-info img { width: 55px; height: 55px; border: 3px solid var(--border-color); border-radius: 0; object-fit: cover; }
.post-content { font-size: 1.25rem; line-height: 1.7; font-weight: 600; }
.post-content h2 { font-size: 2.5rem; margin: 50px 0 20px; }
.post-content p { margin-bottom: 25px; }
.post-content a { color: var(--text-main); background: var(--accent-2); color: #fff; padding: 0 4px; text-decoration: none; border: 2px solid var(--border-color); }
.post-content a:hover { background: var(--accent); }

.pagination { display: flex; justify-content: center; gap: 15px; margin: 40px 0 80px; }
.page-link { width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border: 3px solid var(--border-color); background: var(--bg-card); font-weight: 700; box-shadow: 4px 4px 0px 0px #000; font-family: var(--font-heading); font-size: 1.2rem; }
.page-link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0px 0px #000; }
.page-link.active { background: var(--text-main); color: var(--bg-main); }

.site-footer { background: var(--bg-card); border-top: 4px solid var(--border-color); padding: 80px 0 30px; margin-top: auto; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1300px; margin: 0 auto; padding: 0 30px; }
.footer-title { margin-bottom: 25px; font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-main); }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 4px solid var(--border-color); font-weight: 700; font-size: 1rem; color: var(--text-main); }