
:root {
  --red: #cb0000;
  --red-dark: #9c0000;
  --ink: #1f2328;
  --muted: #5b636d;
  --bg: #f4f5f7;
  --card: #ffffff;
  --line: #e3e5e8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, "Times New Roman", Times, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
}
.site-header {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 18px 20px;
  border-bottom: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.site-header .brand {
  font-size: 1.35rem;
  font-weight: bold;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header .tagline {
  font-size: .85rem;
  opacity: .9;
  letter-spacing: .08em;
  margin-top: 2px;
}
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.navbar ul {
  max-width: 1100px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 6px 10px;
}
.navbar li { margin: 0; }
.navbar a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .06em;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.navbar a:hover { color: var(--red); border-bottom-color: var(--red); }
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 20px 50px;
}
h1 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.2;
  color: var(--red);
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--red);
}
article {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  overflow-wrap: break-word;
}
article h2, article h3, article h4 {
  color: var(--red-dark);
  line-height: 1.3;
  margin: 1.4em 0 .5em;
}
article h2 { font-size: 1.6rem; }
article h3 { font-size: 1.3rem; }
article h4 { font-size: 1.1rem; }
article > :first-child { margin-top: 0; }
article p { margin-bottom: 1.1em; }
article ul, article ol { margin: 0 0 1.1em 1.5em; }
article a { color: var(--red); }
article img { max-width: 100%; height: auto; }
.transition {
  margin-top: 30px;
  padding: 24px 28px;
  background: #fff;
  border-left: 5px solid var(--red);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  overflow-wrap: break-word;
}
.transition p { margin-bottom: 1em; }
.transition p:last-child { margin-bottom: 0; }
.links-block {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.links-block h3 {
  color: var(--red);
  font-size: 1.2rem;
  margin: 1.2em 0 .6em;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
}
.links-block h3:first-child { margin-top: 0; }
.links-block ul {
  list-style: none;
  columns: 2;
  column-gap: 40px;
  margin-bottom: 1em;
}
.links-block li {
  break-inside: avoid;
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px dotted var(--line);
  overflow-wrap: break-word;
}
.links-block li::before {
  content: "»";
  color: var(--red);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.links-block a {
  color: var(--ink);
  text-decoration: none;
}
.links-block a:hover { color: var(--red); text-decoration: underline; }
.site-footer {
  background: #23272b;
  color: #d5d8dc;
  border-top: 4px solid var(--red);
  padding: 28px 20px;
}
.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.site-footer .name {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .9rem;
  margin-bottom: 14px;
  color: #fff;
}
.site-footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
}
.site-footer a {
  color: #d5d8dc;
  text-decoration: none;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 700px) {
  body { font-size: 16px; }
  main { padding: 24px 14px 40px; }
  article, .links-block { padding: 20px 16px; }
  .transition { padding: 18px 16px; }
  .links-block ul { columns: 1; }
  .navbar ul { justify-content: flex-start; }
  .navbar a { padding: 9px 10px; font-size: .75rem; }
}
