/* Общая читабельность в духе лендинга: Montserrat, тот же фон. */
*, *::before, *::after { box-sizing: border-box; }

html {
  zoom: 1.1;
  overflow-x: auto;
}

@media (max-width: 900px) {
  html { zoom: 1; }
}

body.article-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  color: #fff;
  line-height: 1.6;
  background: #a8327a url("/design/background.png") center / cover no-repeat fixed;
}

.article-shell {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4.5rem clamp(1.25rem, 4vw, 2rem) 3.5rem;
}

.article-header {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem) 0;
}

.breadcrumbs {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 600;
  line-height: 1.4;
}

.breadcrumbs a {
  color: #e8f17a;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs-sep {
  margin: 0 0.35em;
  opacity: 0.75;
}

.breadcrumbs-current {
  color: rgba(255, 255, 255, 0.92);
}

.article-main {
  background: rgba(5, 5, 8, 0.42);
  border: 1px solid rgba(232, 241, 122, 0.35);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.article-main h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
}

.article-meta {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.article-body {
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  font-weight: 500;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

.article-body hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 1.5rem 0;
}

.article-body strong {
  font-weight: 700;
}

.article-body em {
  font-style: italic;
}

.article-body a {
  color: #e8f17a;
  font-weight: 700;
  text-decoration: none;
}

.article-body a:hover {
  text-decoration: underline;
}

.article-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 241, 122, 0.35);
  text-align: center;
}

.article-cta-text {
  margin: 0 0 1rem;
  font-weight: 600;
}

.cta-telegram {
  display: inline-block;
  padding: 0.85em 1.75em;
  background: linear-gradient(180deg, #5ecfff 0%, #3da9f5 45%, #2080d0 100%);
  color: #0b1a2c;
  font-weight: 800;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  text-decoration: none;
  border-radius: 999px;
  border: 6px solid #e8f17a;
  box-shadow:
    0 0 0 3px rgba(232, 241, 122, 0.45),
    0 0 22px rgba(232, 241, 122, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-telegram:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 8px rgba(232, 241, 122, 0.55),
    0 0 0 14px rgba(232, 241, 122, 0.28),
    0 0 36px rgba(232, 241, 122, 0.85),
    0 0 64px rgba(255, 248, 160, 0.55),
    0 8px 28px rgba(0, 0, 0, 0.32);
}

.cta-telegram:focus-visible {
  outline: 3px solid #fff8a8;
  outline-offset: 6px;
}

.articles-corner-link {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  padding: 0.65em 1.25em;
  background: rgba(5, 5, 8, 0.45);
  color: #e8f17a;
  font-weight: 700;
  font-size: clamp(0.85rem, 1vw, 1rem);
  text-decoration: none;
  border: 2px solid #e8f17a;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.articles-corner-link:hover {
  background: rgba(61, 169, 245, 0.55);
  transform: translateY(-1px);
}

.articles-corner-link:focus-visible {
  outline: 2px solid #e8f17a;
  outline-offset: 3px;
}

.article-related {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(232, 241, 122, 0.35);
}

.article-related-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
}

.article-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  font-weight: 600;
}

.article-related-links a {
  color: #e8f17a;
  text-decoration: none;
}

.article-related-links a:hover {
  text-decoration: underline;
}

.listing-page .listing-intro {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  font-weight: 500;
}

.listing-page .listing-note {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.listing-page .listing-note a {
  color: #e8f17a;
  text-decoration: none;
}

.listing-page .listing-note a:hover {
  text-decoration: underline;
}

.listing-ul {
  margin: 0;
  padding: 0;
  list-style: none;
  column-count: 2;
  column-gap: clamp(1.5rem, 4vw, 2.5rem);
}

.listing-ul li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 600;
}

.listing-ul a {
  color: #e8f17a;
  text-decoration: none;
}

.listing-ul a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .listing-ul {
    column-count: 1;
  }
}
