/* Стили сайта IT Break */
:root {
  --color-bg: #fafafa;
  --color-text: #222;
  --color-muted: #666;
  --color-link: #2563eb;
  --color-border: #e5e7eb;
  --font-sans: system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.site-nav {
  margin-top: 0.75rem;
}

.site-nav a {
  margin-right: 1.25rem;
  color: var(--color-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-link);
}

.page-content {
  padding: 2rem 0 4rem;
}

.page-heading {
  margin-top: 0;
  font-size: 2rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.post-list li {
  margin-bottom: 0.75rem;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-right: 0.75rem;
}

.post-link {
  color: var(--color-link);
  text-decoration: none;
  font-weight: 500;
}

.post-link:hover {
  text-decoration: underline;
}

.post-header {
  margin-bottom: 1.5rem;
}

.post-title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.post-content {
  margin-top: 1rem;
}

.post-content pre,
.post-content code {
  background: #f1f5f9;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.post-content pre {
  padding: 1rem;
  overflow-x: auto;
}

.post-content pre code {
  padding: 0;
  background: none;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-muted);
}

.site-footer p {
  margin: 0;
}

.home h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}
