/* Общие стили мини-сайтов газет (поддомены ru/rc/rt/tu) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #1a1a1a;
  background: #f5f0e8;
  line-height: 1.5;
}

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

.masthead {
  border-bottom: 3px double #333;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.masthead h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.masthead-logo {
  display: block;
  width: auto;
  max-width: min(100%, 420px);
  max-height: 140px;
  height: auto;
  margin: 0.75rem auto 0.5rem;
  object-fit: contain;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.btn-primary {
  display: inline-block;
  text-align: center;
  padding: 0.85rem 1.25rem;
  background: #1f2937;
  color: #fff !important;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #374151;
}

.footer-nav {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--color-primary);
}

.footer-nav a:hover {
  text-decoration: underline;
}
