/* =========================================================
   Конференция и её сборник (portalpedagoga.ru)
   ========================================================= */

.kc-page { max-width: 1064px; margin: 0 auto; }

/* кнопки прокрутки на этой странице не нужны */
.s2026-scroll { display: none !important; }

/* ---------- шапка ---------- */
.kc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.kc-crumbs a { color: var(--brand); text-decoration: none; }
.kc-crumbs a:hover { text-decoration: underline; }
.kc-crumbs span { opacity: .5; }

.kc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.kc-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.s2026-main .kc-page .kc-head h1 {
  margin: 10px 0 10px;
  font-family: var(--font);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--heading);
  overflow-wrap: break-word;
}
.kc-lead {
  max-width: 70ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- факты ---------- */
.s2026-main .kc-page .kc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.s2026-main .kc-page .kc-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.kc-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-bg);
}
.kc-facts li:first-child::before { background: var(--yellow); }

/* ---------- раскладка ---------- */
.kc-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
  margin-top: clamp(20px, 3vw, 30px);
}
.kc-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---------- сайдбар ---------- */
.kc-side { position: sticky; top: 18px; display: grid; gap: 16px; }
.kc-side__card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.kc-side__bar {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-2);
  background: var(--tint-5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.kc-side__body { padding: 14px; text-align: center; }
.s2026-main .kc-page .kc-side .kc-doc {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  background-image: none;
  cursor: zoom-in;
  box-shadow: none;
  filter: none;
}
.s2026-main .kc-page .kc-side .kc-doc img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(23, 58, 82, .16);
}
.s2026-main .kc-page .kc-side .kc-doc:hover img { box-shadow: 0 6px 20px rgba(23, 58, 82, .24); }
.kc-cover img {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(23, 58, 82, .18);
}
.s2026-main .kc-page .kc-side__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand) !important;
  text-decoration: none !important;
}
.s2026-main .kc-page .kc-side__link:hover { text-decoration: underline !important; }
.kc-side__hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- блоки ---------- */
.kc-block {
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.s2026-main .kc-page .kc-block h2 {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--heading);
}

/* ---------- шаги ---------- */
.s2026-main .kc-page .kc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: kc-step;
  display: grid;
  gap: 18px;
}
.s2026-main .kc-page .kc-steps > li {
  position: relative;
  margin: 0;
  padding-left: 46px;
  counter-increment: kc-step;
}
.s2026-main .kc-page .kc-steps > li::before {
  content: counter(kc-step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tint-3);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
.s2026-main .kc-page .kc-steps > li > b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.s2026-main .kc-page .kc-steps p {
  margin: 3px 0 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- ссылки в шагах ---------- */
.s2026-main .kc-page .kc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand) !important;
  text-decoration: none !important;
}
.s2026-main .kc-page .kc-link:hover { text-decoration: underline !important; }
.s2026-main .kc-page .kc-link span { font-size: 15px; line-height: 1; }

/* ---------- кнопки ---------- */
.kc-cta {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--tint-2), var(--surface));
  box-shadow: var(--shadow-sm);
}
.s2026-main .kc-page a.kc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px !important;
  border: 1px solid var(--brand);
  border-radius: 11px;
  background: var(--brand-bg);
  background-image: none !important;
  color: #ffffff !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.s2026-main .kc-page a.kc-btn:hover {
  background: var(--brand-bg-hover);
  border-color: var(--brand-d);
  box-shadow: 0 6px 16px rgba(30, 98, 141, .2);
}
.s2026-main .kc-page a.kc-btn--primary {
  background: #1e628d !important;
  border-color: #1e628d !important;
}
.s2026-main .kc-page a.kc-btn--primary:hover {
  background: #154a6b !important;
  border-color: #154a6b !important;
}
.s2026-main .kc-page a.kc-btn--ghost {
  background: var(--surface) !important;
  border-color: var(--line);
  color: var(--brand) !important;
}
.s2026-main .kc-page a.kc-btn--ghost:hover {
  border-color: var(--brand);
  background: var(--tint-2) !important;
}
.kc-cta__note {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.kc-cta__note a { color: var(--brand) !important; }

/* тёмная тема */
html[data-theme="dark"] .s2026-main .kc-page a.kc-btn { color: #ffffff !important; }
html[data-theme="dark"] .s2026-main .kc-page a.kc-btn,
html[data-theme="dark"] .s2026-main .kc-page a.kc-btn--primary {
  background: #1f5d85 !important;
  border-color: #1f5d85 !important;
}
html[data-theme="dark"] .s2026-main .kc-page a.kc-btn:hover {
  background: #184a69 !important;
  border-color: #184a69 !important;
}
html[data-theme="dark"] .s2026-main .kc-page a.kc-btn--ghost {
  background: var(--surface) !important;
  border-color: #2e4a5e !important;
  color: #a9d6ef !important;
}
html[data-theme="dark"] .s2026-main .kc-page a.kc-btn--ghost:hover {
  background: var(--tint-2) !important;
  border-color: #6fb8e2 !important;
  color: #c9e7f8 !important;
}

/* ---------- назад ---------- */
.s2026-main .kc-page .kc-back {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.s2026-main .kc-page .kc-back a { color: var(--brand) !important; text-decoration: none !important; }
.s2026-main .kc-page .kc-back a:hover { text-decoration: underline !important; }

/* ---------- модальный просмотр ---------- */
.kc-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 16, 24, .84);
}
.kc-modal[hidden] { display: none; }
.kc-modal img {
  max-width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.kc-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #173a52;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- адаптив ---------- */
@media (max-width: 980px) {
  .kc-layout { grid-template-columns: minmax(0, 1fr); }
  .kc-main { order: 1; }
  .kc-side { position: static; order: 2; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 560px) {
  .s2026-main .kc-page a.kc-btn { font-size: 14px !important; padding: 11px 12px !important; }
  .kc-block, .kc-cta { padding: 16px; border-radius: 14px; }
  .kc-facts { gap: 6px; }
  .kc-facts li { font-size: 12.5px; padding: 6px 11px; }
  .kc-side { grid-template-columns: minmax(0, 1fr); }
  .kc-modal { padding: 14px; }
}
