:root {
  --bg: #f6efe6;
  --surface: #fffaf4;
  --ink: #172033;
  --muted: #687184;
  --accent: #3d3d3d;
  --gold: #d49a45;
  --line: rgba(23, 32, 51, 0.12);
  --shadow: 0 24px 70px rgba(54, 45, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 9%, rgba(212, 154, 69, 0.22), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(60, 60, 60, 0.2), transparent 32%),
    linear-gradient(135deg, #fff8ed 0%, #f3efe9 48%, #edf4ff 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(54, 45, 35, 0.1);
}

main {
  padding-bottom: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #2a2a2a);
  color: var(--surface);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.08);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  background: var(--accent);
  color: var(--surface);
}

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
  align-items: stretch;
  padding: 26px 0 18px;
}

.hero-text,
.hero-visual,
.page-head,
.price-card,
.steps article,
.contact-grid article,
.rules article,
.archive-list article,
.publish-form,
.facts,
.document {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-text,
.page-head,
.price-card,
.steps article,
.contact-grid article,
.rules article,
.archive-list article,
.publish-form,
.facts,
.document,
.short-note {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.96)),
    var(--surface);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  padding: clamp(30px, 5vw, 56px);
}

.label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 58px);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.lead {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.main-button,
.ghost-button,
.price-card a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  cursor: pointer;
}

.hero .main-button {
  width: min(100%, 520px);
  min-height: 72px;
  border-radius: 34px;
  font-size: 19px;
  box-shadow: 0 18px 38px rgba(60, 60, 60, 0.26);
}

.main-button,
.price-card a {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
}

.ghost-button {
  background: rgba(60, 60, 60, 0.1);
  color: #3d3d3d;
}

.main-button:hover,
.price-card a:hover {
  background: #1d4ed8;
  color: #fff;
}

.ghost-button:hover {
  background: var(--gold);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 560px;
  padding: 26px;
  background:
    linear-gradient(160deg, rgba(23, 32, 51, 0.16), rgba(23, 32, 51, 0.78)),
    url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--surface);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 250, 242, 0.32);
  border-radius: 22px;
  pointer-events: none;
}

.hero-prices {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.hero-prices article {
  border: 1px solid rgba(60, 60, 60, 0.18);
  border-radius: 22px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(54, 45, 35, 0.08);
}

.hero-prices span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero-prices strong {
  display: block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.issue-badge {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.92);
  color: var(--ink);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.issue-badge span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.issue-badge strong {
  display: block;
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.issue-badge p {
  margin: 0;
  color: var(--muted);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.quick-strip div {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.78);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(54, 45, 35, 0.08);
}

.quick-strip span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.quick-strip p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section {
  padding: 36px 0;
}

.compact-section {
  padding-top: 12px;
  display: flex;
  justify-content: center;
}

.short-note {
  max-width: 780px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  padding: 32px;
  box-shadow: var(--shadow);
}

.short-note p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-title {
  max-width: 720px;
  margin-bottom: 24px;
}

.price-grid,
.steps,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card,
.steps article,
.contact-grid article {
  padding: 28px;
}

.price-card {
  display: grid;
  gap: 16px;
}

.price-card.premium {
  border-color: rgba(212, 154, 69, 0.58);
}

.price-card span,
.contact-grid span,
.archive-list span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1;
}

.price-card p,
.steps p,
.info-layout p,
.page-head p,
.document p,
.rules li,
.contact-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.facts {
  overflow: hidden;
}

.facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 0;
}

.facts strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(212, 154, 69, 0.22);
  color: var(--ink);
  font-weight: 900;
}

.page-head {
  margin-top: 34px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(34px, 6vw, 62px);
}

.page-head h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 38px);
}

/* page-head с логотипом справа */
.page-head--with-logo {
  position: relative;
}

.page-head-text {
  max-width: 58%;
}

.page-head-logo {
  position: absolute;
  right: clamp(24px, 5vw, 70px);
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.page-head-logo img {
  width: clamp(200px, 24vw, 400px);
  height: clamp(200px, 24vw, 400px);
  object-fit: contain;
  opacity: 0.90;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.28));
}

@media (max-width: 640px) {
  .page-head-logo { display: none; }
  .page-head-text { max-width: 100%; }
}


.page-head p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.archive-list {
  display: grid;
  gap: 18px;
}

.archive-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 26px;
}

.archive-list a,
.contact-grid a,
.publish-form a,
.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

.rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rules article {
  padding: 28px;
}

.rules ul {
  margin: 0;
  padding-left: 20px;
}

.rules li + li {
  margin-top: 10px;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid a,
.contact-grid p {
  overflow-wrap: anywhere;
}

.publish-form {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.publish-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.publish-form input,
.publish-form select,
.publish-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  font-weight: 400;
}

.publish-form input:focus,
.publish-form select:focus,
.publish-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(60, 60, 60, 0.14);
}

.wide {
  grid-column: 1 / -1;
}

.req {
  color: #e03e3e;
  font-weight: 900;
}

.form-required-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
}

.form-required-note span {
  color: #e03e3e;
  font-weight: 900;
}

.field-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: -2px;
}

.field-hint::before {
  content: "ℹ";
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 12px !important;
  margin: 24px 0;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.form-button {
  border-radius: 999px;
}

.form-note {
  margin: 18px 0 0;
  color: var(--accent);
  font-weight: 800;
}

.document {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(28px, 5vw, 54px);
}

.document h2 {
  margin-top: 32px;
}

.document h2:first-child {
  margin-top: 0;
}

.doc-meta {
  font-size: 12px !important;
  color: rgba(0, 0, 0, 0.38) !important;
  margin-bottom: 28px !important;
  letter-spacing: 0.03em;
}

.document p {
  line-height: 1.75;
  margin-bottom: 14px !important;
}

.document h2 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.doc-list {
  margin: 10px 0 14px 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-list li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.document strong {
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .info-layout,
  .archive-list article {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .price-grid,
  .steps,
  .rules,
  .contact-grid,
  .form-grid,
  .quick-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1160px);
  }

  .nav a {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: 38px;
  }

  .hero-text,
  .hero-visual,
  .price-card,
  .steps article,
  .contact-grid article,
  .publish-form,
  .rules article,
  .archive-list article {
    padding: 22px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }
}

/* ================================================================
   ВЫСОТЫ ЗНАНИЙ — ДОПОЛНЕНИЯ
   ================================================================ */

/* Логотип в шапке */
.brand-logo {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Шапка — фиксированная высота, одинакова на всех страницах */
.site-header {
  height: 100px !important;
  min-height: 0 !important;
  flex-shrink: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 12px !important;
  background: rgba(183, 132, 209, 0.92) !important;
  border-color: rgba(160, 100, 190, 0.3) !important;
}

/* Текст навигации — тёмный (светлый хедер) */
.site-header .brand strong {
  color: var(--ink);
}

.site-header .brand small {
  color: var(--muted);
}

.site-header .nav a {
  color: var(--ink) !important;
}

.site-header .nav a:hover,
.site-header .nav a.active {
  background: var(--accent) !important;
  color: #fff !important;
}

.site-header .nav-toggle span {
  background: var(--ink);
}

/* Теги направлений на странице О журнале */
.topic-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .topic-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .topic-tags { grid-template-columns: 1fr; }
}

.topic-tag {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  text-align: left;
}

.topic-tag .t-num {
  color: rgba(255, 255, 255, 0.55);
  font-family: Georgia, serif;
  font-weight: 700;
  flex-shrink: 0;
  min-width: 20px;
  text-align: right;
  line-height: 1.55;
}

/* Кнопка мобильного меню */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Сетка из 20 направлений */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(54, 45, 35, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.96)), var(--surface);
}

.topic-num {
  display: block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.topic-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.topic-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

/* Редколлегия */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.board-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.96)), var(--surface);
}

.board-role {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.board-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.board-degree {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.board-org {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  margin-bottom: 0;
}

/* Индексация */
.indexing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.indexing-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.96)), var(--surface);
}

.index-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), #2a2a2a);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(60, 60, 60, 0.28);
  line-height: 1.2;
  text-align: center;
  padding: 8px;
}

.indexing-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.index-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 8px 0 10px;
}

.index-status.active {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.index-status.pending {
  background: rgba(212, 154, 69, 0.16);
  color: #92660d;
}

/* Страница статьи */
.article-page-head {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.96)), var(--surface);
  padding: clamp(30px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.article-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}

.article-meta-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(60, 60, 60, 0.07);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.article-body {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.96)), var(--surface);
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.article-body h2 {
  font-size: 26px;
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-abstract {
  border-left: 3px solid var(--accent);
  padding: 14px 20px;
  margin: 18px 0;
  background: rgba(60, 60, 60, 0.04);
  border-radius: 0 14px 14px 0;
}

.article-abstract p {
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

.article-keywords {
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
}

.article-keywords strong {
  color: var(--ink);
}

.article-doi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(60, 60, 60, 0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}

.article-refs {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.article-refs li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
}

/* Текущий выпуск */
.issue-articles {
  display: grid;
  gap: 16px;
}

.issue-article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.96)), var(--surface);
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(54, 45, 35, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.article-topic-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.issue-article h3 {
  font-size: 19px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.issue-article .article-authors {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* Рецензирование */
.review-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.review-step {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 26px;
  box-shadow: 0 8px 32px rgba(54, 45, 35, 0.08);
}

/* ── Фон всего сайта ── */
body {
  background:
    radial-gradient(circle at 12% 9%, rgba(212, 154, 69, 0.15), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(60, 60, 60, 0.12), transparent 32%),
    url("../images/bg.jpg") center/cover fixed !important;
}

/* ── Стеклянный эффект для всех карточек ── */
.hero-text,
.page-head,
.price-card,
.steps article,
.contact-grid article,
.rules article,
.archive-list article,
.publish-form,
.facts,
.document,
.short-note,
.board-card,
.indexing-card,
.topic-card,
.info-block,
.issue-article {
  background: rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 8px 32px rgba(54, 45, 35, 0.08) !important;
}

.step-circle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #2a2a2a);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(60, 60, 60, 0.28);
}

.review-step h3 {
  margin-bottom: 8px;
}

/* О журнале */
.info-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-block {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.96)), var(--surface);
  padding: 28px;
  box-shadow: var(--shadow);
}

.info-block h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.info-block ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.info-block li + li {
  margin-top: 8px;
}

/* Адаптивность для новых компонентов */
@media (max-width: 900px) {
  .site-header {
    position: sticky !important;
    top: 0;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
  }

  /* Логотип на мобильных */
  .brand-logo {
    width: 72px !important;
    height: 72px !important;
  }

  .site-header {
    height: auto !important;
    min-height: 72px !important;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    order: 3;
    justify-content: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .topic-grid,
  .review-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-grid,
  .indexing-grid,
  .info-blocks {
    grid-template-columns: 1fr;
  }

  .issue-article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topic-grid,
  .review-steps {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   ГЛАВНАЯ — editorial-стиль (текст на фоне страницы)
   ══════════════════════════════════════════════ */

/* Убираем карточку у hero-text на главной */
body.page-home .hero-text {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 40px 0 0;
  justify-content: center;
  min-height: 0;
}

/* Герой: два столбца, вертикальное выравнивание */
body.page-home .hero {
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: center;
  padding: 48px 0 40px;
}

/* Правая колонка — крупная и высокая */
body.page-home .hero-visual {
  min-height: 600px !important;
  border-radius: 32px !important;
}

/* Заголовок крупнее */
body.page-home h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  margin-bottom: 16px;
}

/* Подзаголовок */
body.page-home .lead {
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 480px;
}

/* Строка: цены + кнопка рядом */
body.page-home .hero-bottom-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

/* Цены — две отдельные чёткие карточки */
body.page-home .hero-prices {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  width: auto;
}

body.page-home .hero-prices article {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12) !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 130px;
}

body.page-home .hero-prices article span {
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

body.page-home .hero-prices article strong {
  font-size: 26px !important;
  color: #fff !important;
  font-family: Georgia, serif !important;
  line-height: 1 !important;
}

/* Кнопка рядом с ценами */
body.page-home .hero-bottom-row .main-button {
  min-height: 56px;
  width: auto !important;
  flex-shrink: 0;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 14px;
  white-space: nowrap;
}

/* Фичи */
body.page-home .hero-features {
  margin-bottom: 24px;
}

/* Футер главной страницы: компактный, по центру */
.home-footer {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 62px !important;
  padding: 10px 0;
}

.home-footer-links {
  display: flex;
  gap: 28px;
}

.home-footer-links a {
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

.home-footer-links a:hover {
  color: var(--ink);
}

.home-footer .home-copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* Список преимуществ в герое */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  padding: 16px 20px;
  background: rgba(60, 60, 60, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(60, 60, 60, 0.1);
}

.hero-features li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.hero-features li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat,
    linear-gradient(135deg, var(--accent), #2a2a2a);
}


/* ── Бейдж выпуска: карточка вверху + стеклянный фон ── */
.hero-visual {
  justify-content: center !important;
  align-items: center !important;
}

.issue-badge {
  max-width: 340px;
  background: rgba(255, 255, 255, 0.13) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
  color: #fff !important;
}

.issue-badge > span:first-child {
  color: #fff !important;
  font-size: 11px !important;
}

.issue-badge strong {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.issue-badge p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.issue-badge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 14px;
}

.issue-chip {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none !important;
}

.issue-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  padding-bottom: 2px;
}

/* ── Визуальный polish главной страницы ── */

/* Лейбл-пилюля на главной — компактная */
body.page-home .hero-text .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(60, 60, 60, 0.08);
  border: 1px solid rgba(60, 60, 60, 0.18);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  color: var(--accent);
  width: fit-content;
  margin-bottom: 20px;
}

body.page-home .hero-text .label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}


/* ── Секции — прозрачное матовое стекло, текст белый ── */
.section {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 24px !important;
  padding: 36px 40px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

/* Весь текст в секциях — белый */
.section h1, .section h2, .section h3, .section h4,
.section p, .section li, .section span,
.section label, .section td, .section th {
  color: #fff !important;
}

.section .label {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #fff !important;
}

/* page-head — тоже матовое */
.page-head {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  margin-bottom: 20px !important;
}

.page-head h1, .page-head p, .page-head .label {
  color: #fff !important;
}

/* Футер — матовое */
.site-footer {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 22px !important;
  margin-bottom: 16px !important;
  padding: 18px 28px !important;
}

.site-footer p, .site-footer a {
  color: rgba(255, 255, 255, 0.85) !important;
}

.site-footer a:hover {
  color: #fff !important;
}

/* ── Видимость текста на фоновом изображении ── */

/* Главная: текст в герое белый (нет карточки-фона) */
body.page-home .hero-text h1,
body.page-home .hero-text .lead {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

body.page-home .hero-text .label {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: #fff !important;
}

body.page-home .hero-text .label::before {
  background: #fff !important;
  animation: pulse-dot 2s ease-in-out infinite;
}

body.page-home .hero-features {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.page-home .hero-features li {
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* Все страницы: вложенные карточки — матовое стекло */
.price-card,
.steps article,
.rules article,
.archive-list article,
.publish-form,
.facts,
.document,
.short-note,
.board-card,
.indexing-card,
.topic-card,
.info-block,
.issue-article {
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.review-step {
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

/* ── Переопределяем переменные — весь текст белый ── */
:root {
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
}

/* Поля формы — тёмный текст (на светлом фоне инпутов) */
input, select, textarea {
  color: #172033 !important;
}


/* ── Шапка — матовое стекло ── */
.site-header {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

.site-header .brand strong,
.site-header .brand small,
.site-header .nav a {
  color: #fff !important;
}

.site-header .nav a:hover,
.site-header .nav a.active {
  background: rgba(255, 255, 255, 0.20) !important;
  color: #fff !important;
}

/* ── Страница контактов: всё умещается без скролла ── */
body.page-contacts {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.page-contacts .site-header {
  flex-shrink: 0;
}

body.page-contacts main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 0;
  gap: 14px;
}

body.page-contacts .page-head {
  padding: 22px 32px !important;
  margin-bottom: 0 !important;
}

body.page-contacts .page-head h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 8px 0 6px;
}

body.page-contacts .section {
  padding: 24px 32px !important;
  margin-bottom: 0 !important;
}

body.page-contacts .site-footer {
  flex-shrink: 0;
  margin-bottom: 10px !important;
}

/* ── Контакты: убираем двойной фон ── */
.section.contact-grid {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  align-items: stretch !important;
}

.contact-grid article {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10) !important;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.contact-grid article:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16) !important;
}

.contact-grid article span,
.contact-grid article a,
.contact-grid article p {
  color: #fff !important;
}

/* ── Белый текст во всех вложенных карточках ── */
.price-card h3, .price-card p, .price-card span, .price-card strong,
.steps article h3, .steps article p, .steps article span,
.rules article h3, .rules article p, .rules article li,
.archive-list article h2, .archive-list article p, .archive-list article span,
.board-card h3, .board-card p, .board-card span,
.indexing-card h3, .indexing-card p, .indexing-card span,
.info-block h3, .info-block p, .info-block li, .info-block ul,
.review-step h3, .review-step p,
.facts strong, .facts span,
.topic-tag, .index-status,
.section-title, .section > p, .section > h2,
.authors-intro h2, .authors-intro p {
  color: #fff !important;
}

/* Приглушённый текст — полупрозрачный белый */
.section [style*="color:var(--muted)"],
.section [style*="color: var(--muted)"] {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Лейбл с цифрой в topic-tag */
.t-num {
  color: rgba(255, 255, 255, 0.60) !important;
}


/* Кнопка «Открыть выпуск» в архиве — белая рамка */
/* ── Кнопка «Открыть выпуск» в архиве ── */
.archive-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.60);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.archive-list a:hover {
  background: rgba(255, 255, 255, 0.20) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20);
  transform: translateY(-1px);
}

.archive-list a:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ── Кнопки месяцев в архиве ── */
.archive-months {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.month-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 18px 28px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  text-decoration: none;
  min-width: 130px;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.month-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.45);
}

.month-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.month-num {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  font-family: Georgia, serif;
  line-height: 1;
}

.month-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

/* ── Карточки недель на страницах месяцев ── */
.week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 640px) {
  .week-grid { grid-template-columns: 1fr; }
}

.week-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  overflow: hidden;
}

.week-card-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.week-card-cover {
  flex-shrink: 0;
  width: 120px;
  border-radius: 10px;
  overflow: hidden;
  align-self: center;
}

.week-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .week-card { flex-direction: column; }
  .week-card-cover { width: 100%; height: 160px; }
}

.week-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.week-num {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.week-dates {
  display: flex;
  gap: 32px;
}

.week-date-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.week-date-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
}

.week-date-val {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.week-date-day {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.week-card .main-button {
  align-self: flex-start;
  min-height: 42px;
  padding: 0 22px;
  font-size: 14px;
  margin: 0;
}

.week-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.week-card-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.50);
  margin: 0;
}

/* Кнопка месяца — ещё не вышел */
.month-btn--upcoming {
  background: #4a5568;
  border: 1px solid #5a6478;
  box-shadow: none;
  opacity: 1;
}
.month-btn--upcoming:hover {
  background: #566070;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.month-btn--upcoming .month-num,
.month-btn--upcoming .month-name {
  color: rgba(255, 255, 255, 0.80);
}

/* Кнопка «Скоро» для неопубликованных выпусков */
.week-btn-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.40);
  font-size: 14px;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
  align-self: flex-start;
}

.week-date-label--soon {
  color: rgba(255, 200, 80, 0.80) !important;
}

/* ── Переработанный бейдж выпуска ── */
.issue-badge-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.issue-badge-eyebrow span:not(.issue-live-dot) {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.issue-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
  flex-shrink: 0;
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.08); }
}

.issue-badge-title {
  display: block !important;
  font-family: Georgia, serif;
  font-size: 40px !important;
  line-height: 1 !important;
  color: #fff !important;
  margin: 0 0 14px !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.issue-badge-topics {
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.70) !important;
  margin: 0 0 14px !important;
}

.issue-badge-deadline {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
}

.issue-badge-deadline svg {
  flex-shrink: 0;
  opacity: 0.72;
}

.issue-badge-deadline > span {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.issue-badge-deadline strong {
  display: inline !important;
  font-size: 13px !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-shadow: none !important;
  margin: 0 !important;
}

/* ── Страницы месяцев: компактная шапка ── */
body.page-month .page-head {
  padding: clamp(14px, 2vw, 20px) clamp(24px, 5vw, 48px) !important;
  margin-bottom: 14px !important;
}

body.page-month .page-head .label {
  margin-bottom: 6px !important;
  font-size: 11px !important;
}

body.page-month .page-head h1 {
  font-size: clamp(20px, 2.8vw, 30px) !important;
  margin-bottom: 6px !important;
}

body.page-month .page-head p:last-child {
  font-size: 13px !important;
  margin-bottom: 0 !important;
}

/* ── Архив: компактная шапка + крупные кнопки месяцев ── */
body.page-archive .page-head {
  padding: clamp(16px, 2.5vw, 24px) clamp(24px, 5vw, 48px) !important;
  margin-bottom: 14px !important;
}

body.page-archive .page-head .label {
  margin-bottom: 8px !important;
}

body.page-archive .page-head h1 {
  font-size: clamp(16px, 2vw, 22px) !important;
  margin-bottom: 6px !important;
}

body.page-archive .page-head p:last-child {
  font-size: 13px !important;
  margin-bottom: 0 !important;
}

body.page-archive .section {
  padding: 28px 36px 36px !important;
}

body.page-archive .archive-months {
  gap: 16px !important;
}

body.page-archive .month-btn {
  min-width: 170px !important;
  padding: 28px 20px !important;
  border-radius: 18px !important;
}

body.page-archive .month-num {
  font-size: 15px !important;
}

body.page-archive .month-name {
  font-size: 22px !important;
  font-weight: 800 !important;
}

/* ── Hero — левая сторона: красивее ── */

/* Градиентный заголовок: белый → голубой */
body.page-home .hero-text h1 {
  background: linear-gradient(148deg, #ffffff 20%, #bfdbfe 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  text-shadow: none !important;
}

/* Иконки чекмарков — ярко-зелёный */
body.page-home .hero-features li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat,
    linear-gradient(135deg, #22c55e, #16a34a) !important;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.45) !important;
}

/* Google Scholar карточка — синий акцент */
body.page-home .hero-prices article.hero-price-popular {
  border-color: rgba(99, 102, 241, 0.55) !important;
  background: rgba(60, 100, 220, 0.22) !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.28) !important;
}

/* Lead — чуть более видимый */
body.page-home .hero-text .lead {
  color: rgba(255, 255, 255, 0.88) !important;
}


/* ═══════════════════════════════════════════════════════════════
   МОБИЛЬНАЯ АДАПТАЦИЯ — планшет ≤ 760px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* Герой главной: стакируем в одну колонку */
  body.page-home .hero {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 16px 0 12px !important;
    align-items: stretch !important;
  }

  /* Hero-text — получает стеклянный фон (текст на фоне изображения иначе не читается) */
  body.page-home .hero-text {
    background: rgba(255, 255, 255, 0.10) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 22px !important;
    padding: 28px 24px !important;
    min-height: 0 !important;
  }

  /* Hero-visual: укорачиваем */
  body.page-home .hero-visual {
    min-height: 360px !important;
    border-radius: 22px !important;
  }

  /* Нижний ряд (цены + кнопка): стакируем вертикально */
  body.page-home .hero-bottom-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  body.page-home .hero-prices {
    width: 100% !important;
  }

  body.page-home .hero-prices article {
    flex: 1 !important;
    min-width: 0 !important;
  }

  body.page-home .hero-bottom-row .main-button {
    width: 100% !important;
    border-radius: 14px !important;
    justify-content: center !important;
  }

  /* Архив: кнопки месяцев — 2 в ряд */
  body.page-archive .month-btn {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 0 !important;
    max-width: calc(50% - 8px) !important;
    padding: 20px 12px !important;
    border-radius: 14px !important;
  }

  body.page-archive .month-name {
    font-size: 17px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   МОБИЛЬНАЯ АДАПТАЦИЯ — телефон ≤ 500px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 500px) {
  /* Контейнеры */
  .site-header,
  .site-footer,
  main {
    width: calc(100% - 18px);
  }

  /* ── Шапка ── */
  .site-header {
    margin-top: 8px !important;
    padding: 0 12px !important;
    border-radius: 16px !important;
    min-height: 60px !important;
    height: auto !important;
  }

  .brand-logo {
    width: 46px !important;
    height: 46px !important;
    border-radius: 10px !important;
  }

  .brand strong { font-size: 14px !important; }
  .brand small  { font-size: 10px !important; }

  /* Гамбургер — стеклянный стиль */
  .nav-toggle {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
  }

  /* Мобильное меню — ссылки на всю ширину */
  .nav.open {
    padding: 8px 0 4px;
    gap: 3px;
  }

  .nav a {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }

  /* ── Секции и заголовки ── */
  .section {
    padding: 18px 16px !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
  }

  .page-head {
    padding: 16px 18px !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
  }

  h1 {
    font-size: clamp(24px, 7.5vw, 34px) !important;
    line-height: 1.1 !important;
    margin-bottom: 14px !important;
  }

  h2 {
    font-size: clamp(19px, 5.5vw, 26px) !important;
  }

  /* ── Главная ── */
  body.page-home .hero {
    gap: 12px !important;
    padding: 10px 0 8px !important;
  }

  body.page-home .hero-text {
    padding: 22px 18px !important;
  }

  body.page-home h1 {
    font-size: clamp(24px, 7.5vw, 34px) !important;
  }

  body.page-home .lead {
    font-size: 14px !important;
    margin-bottom: 14px !important;
  }

  body.page-home .hero-visual {
    min-height: 290px !important;
    border-radius: 18px !important;
  }

  /* Бейдж выпуска */
  .issue-badge {
    max-width: 100% !important;
    padding: 20px !important;
  }

  .issue-badge-title {
    font-size: 34px !important;
  }

  /* ── Архив ── */
  body.page-archive .section {
    padding: 16px !important;
  }

  body.page-archive .archive-months {
    gap: 8px !important;
  }

  body.page-archive .month-btn {
    flex: 1 1 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    padding: 16px 8px !important;
    border-radius: 12px !important;
  }

  body.page-archive .month-name {
    font-size: 15px !important;
  }

  body.page-archive .month-num {
    font-size: 11px !important;
  }

  /* ── Страницы месяцев ── */
  body.page-month .page-head h1 {
    font-size: 22px !important;
  }

  /* ── Документы (условия / конфиденциальность) ── */
  .document {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .document h2 {
    font-size: 14px !important;
    margin-top: 22px !important;
    padding-bottom: 6px !important;
  }

  .document p,
  .doc-list li {
    font-size: 14px !important;
  }

  /* ── Контакты: убираем фиксированную высоту ── */
  body.page-contacts {
    height: auto !important;
    overflow: auto !important;
  }

  body.page-contacts main {
    padding-bottom: 20px !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  /* ── Кнопки — полная ширина ── */
  .hero .main-button {
    min-height: 60px !important;
    font-size: 16px !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .ghost-button {
    text-align: center;
    justify-content: center;
  }

  /* ── Форма публикации ── */
  .publish-form {
    padding: 18px 14px !important;
  }

  /* ── Футер ── */
  .site-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 16px 18px !important;
    border-radius: 16px !important;
    margin-bottom: 8px !important;
  }

  .site-footer div {
    gap: 12px 20px !important;
    flex-wrap: wrap !important;
  }

  .site-footer a {
    font-size: 13px !important;
  }

  /* ── Грид карточек архива ── */
  .archive-list article {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: flex-start !important;
    padding: 20px 18px !important;
  }

  /* ── Факты ── */
  .facts {
    padding: 20px 16px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   ОЧЕНЬ МАЛЕНЬКИЙ ЭКРАН — ≤ 360px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  body.page-home .hero-prices article strong {
    font-size: 20px !important;
  }

  body.page-archive .month-btn {
    padding: 13px 6px !important;
  }

  body.page-archive .month-name {
    font-size: 13px !important;
  }

  .issue-badge-title {
    font-size: 28px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   ГАМБУРГЕР → X АНИМАЦИЯ
   ═══════════════════════════════════════════════════════════════ */
.nav-toggle span {
  transition: transform 0.24s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

