/* =====================================================================
   «Кстати» — «Удивительный мир»
   Игривый, но дорогой журнал любопытных фактов: кремовая бумага, баухаус-фигуры,
   пузыри реплик, цвет рубрики ведёт карточку. Rubik (заголовки), Onest (текст), Comfortaa (акценты).
   ===================================================================== */

.theme-kstati {
  --ks-cream: #FFFCF2;
  --ks-paper: #FBF4DF;
  --ks-white: #FFFFFF;
  --ks-ink: #161616;
  --ks-ink-2: #2A2A2A;
  --ks-muted: #66625A;
  --ks-yellow: #FFCC00;
  --ks-blue: #2D5BFF;
  --ks-coral: #FF6B4A;
  --ks-mint: #4CD39B;
  --ks-lilac: #A994FF;
  --ks-line: rgba(22, 22, 22, .12);
  --ks-line-2: rgba(22, 22, 22, .2);
  --ks-display: var(--f-rubik), 'Rubik', system-ui, sans-serif;
  --ks-body: var(--f-onest), 'Onest', system-ui, sans-serif;
  --ks-round: var(--f-comfortaa), var(--f-onest), system-ui, sans-serif;
  --ks-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ks-ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--ks-cream);
  color: var(--ks-ink);
  font-family: var(--ks-body);
}
.theme-kstati ::selection { background: var(--ks-yellow); color: var(--ks-ink); }
.theme-kstati a:focus-visible, .theme-kstati button:focus-visible, .theme-kstati input:focus-visible, .theme-kstati textarea:focus-visible {
  outline: 3px solid var(--ks-blue); outline-offset: 3px; border-radius: 10px;
}

/* ---------- Цвета рубрик: тон + фигура ---------- */
.theme-kstati .ks-t-blue   { --t: var(--ks-blue);   --t-on: #FFFFFF; --t-soft: #E3E9FF; --t-ink: #2349D9; --t-lite: #8EA8FF; }
.theme-kstati .ks-t-coral  { --t: var(--ks-coral);  --t-on: #161616; --t-soft: #FFE6DD; --t-ink: #C9401F; --t-lite: #FF8F74; }
.theme-kstati .ks-t-mint   { --t: var(--ks-mint);   --t-on: #161616; --t-soft: #DCF5E9; --t-ink: #13814F; --t-lite: #6FE3B1; }
.theme-kstati .ks-t-ink    { --t: var(--ks-ink);    --t-on: #FFFCF2; --t-soft: #ECE8DC; --t-ink: #161616; --t-lite: #FFFCF2; }
.theme-kstati .ks-t-yellow { --t: var(--ks-yellow); --t-on: #161616; --t-soft: #FFF2BF; --t-ink: #8A6A00; --t-lite: #FFCC00; }
.theme-kstati .ks-t-lilac  { --t: var(--ks-lilac);  --t-on: #161616; --t-soft: #ECE6FF; --t-ink: #5B3FD6; --t-lite: #C3B4FF; }

.theme-kstati .ks-dot, .theme-kstati .ks-shape {
  display: inline-block; flex: none; width: 11px; height: 11px; background: var(--t, var(--ks-ink)); border-radius: 50%;
}
.theme-kstati .ks-shape { width: 26px; height: 26px; }
/* у каждой рубрики своя фигура */
.theme-kstati .ks-t-coral .ks-dot, .theme-kstati .ks-t-coral.ks-dot, .theme-kstati .ks-t-coral .ks-shape { border-radius: 22%; transform: rotate(12deg); }
.theme-kstati .ks-t-mint .ks-dot, .theme-kstati .ks-t-mint .ks-shape { border-radius: 0; clip-path: polygon(50% 4%, 100% 96%, 0 96%); transform: scale(1.15); }
.theme-kstati .ks-t-ink .ks-dot, .theme-kstati .ks-t-ink .ks-shape { border-radius: 999px 999px 0 0; height: 6px; margin-top: 4px; }
.theme-kstati .ks-t-ink .ks-shape { height: 14px; margin-top: 10px; }
.theme-kstati .ks-t-yellow .ks-dot, .theme-kstati .ks-t-yellow .ks-shape { border-radius: 2px; transform: rotate(45deg) scale(.86); }
.theme-kstati .ks-t-lilac .ks-dot, .theme-kstati .ks-t-lilac .ks-shape { background: transparent; box-shadow: inset 0 0 0 3px var(--t); }
.theme-kstati .ks-t-lilac .ks-shape { box-shadow: inset 0 0 0 7px var(--t); }

/* ---------- Общие мелочи ---------- */
.theme-kstati .ks-sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; flex: none; }
.theme-kstati .ks-ico { display: inline-flex; align-items: center; gap: 5px; }
.theme-kstati .ks-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 13px/1.2 var(--ks-body); opacity: .72; }
.theme-kstati .ks-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 12px;
  font: 700 14px/1 var(--ks-round); letter-spacing: .01em; color: var(--ks-ink);
}
.theme-kstati .ks-kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ks-coral); box-shadow: 14px 0 0 var(--ks-yellow), 28px 0 0 var(--ks-blue); margin-right: 30px; }
.theme-kstati .ks-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px;
  border-radius: 999px; background: var(--ks-white); color: var(--ks-ink); border: 1.5px solid var(--ks-ink);
  font: 700 12px/1 var(--ks-round); letter-spacing: .01em; white-space: nowrap;
  transform: rotate(-3deg); box-shadow: 2px 2px 0 var(--ks-ink); transition: transform .4s var(--ks-bounce);
}
.theme-kstati .ks-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px;
  font: 700 15px/1 var(--ks-body); white-space: nowrap; transition: transform .35s var(--ks-bounce), background .2s, color .2s;
}
.theme-kstati .ks-pill:hover { transform: translateY(-3px) rotate(-1deg); }
.theme-kstati .ks-pill-ink { background: var(--ks-ink); color: var(--ks-cream); }
.theme-kstati .ks-pill-yellow { background: var(--ks-yellow); color: var(--ks-ink); }
.theme-kstati .ks-pill-line { box-shadow: inset 0 0 0 2px var(--ks-ink); color: var(--ks-ink); }
.theme-kstati .btn {
  border-radius: 999px; font: 700 15px/1 var(--ks-body); padding: 15px 24px; background: var(--ks-ink); color: var(--ks-cream);
  transition: transform .35s var(--ks-bounce), background .2s;
}
.theme-kstati .btn:hover { transform: translateY(-3px) rotate(-1deg); opacity: 1; background: var(--ks-blue); color: #fff; }
.theme-kstati .btn.ghost { background: var(--ks-white); color: var(--ks-ink); box-shadow: inset 0 0 0 1.5px var(--ks-line-2); }
.theme-kstati .btn.ghost:hover { background: var(--ks-yellow); box-shadow: inset 0 0 0 1.5px var(--ks-ink); }
.theme-kstati .kicker { font: 700 13px/1 var(--ks-round); letter-spacing: .01em; text-transform: none; color: var(--ks-blue); }
.theme-kstati .meta { font-family: var(--ks-body); }

/* =====================================================================
   ШАПКА
   ===================================================================== */
.theme-kstati .ks-hdr { position: relative; z-index: 20; background: var(--ks-cream); }
.theme-kstati .ks-hdr-top { display: flex; align-items: center; gap: 26px; padding-top: 24px; padding-bottom: 20px; }
.theme-kstati .ks-logo { display: inline-flex; flex: none; padding-bottom: 14px; margin-bottom: -14px; transition: transform .45s var(--ks-bounce); }
.theme-kstati .ks-logo:hover { transform: rotate(-4deg) scale(1.04); }

/* логотип-пузырь */
.theme-kstati .ks-bubble { position: relative; display: inline-block; color: var(--ks-yellow); }
.theme-kstati .ks-bubble-text {
  display: block; position: relative; z-index: 1;
  background: var(--ks-yellow); color: var(--ks-ink); border: 2.6px solid var(--ks-ink); border-radius: 18px;
  padding: 5px 17px 9px 16px; font: 800 34px/1 var(--ks-display); letter-spacing: -.035em;
}
.theme-kstati .ks-comma { color: var(--ks-coral); margin-left: .01em; -webkit-text-stroke: .6px var(--ks-coral); }
.theme-kstati .ks-bubble-tail { position: absolute; z-index: 2; left: 15px; top: calc(100% - 3px); width: 24px; height: 18px; overflow: visible; }

.theme-kstati .ks-tagline {
  margin: 0; max-width: 210px; padding-left: 22px; border-left: 1.5px solid var(--ks-line-2);
  font: 700 13.5px/1.45 var(--ks-round); color: var(--ks-muted);
}
.theme-kstati .ks-hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-kstati .ks-search {
  display: flex; align-items: center; width: 330px; height: 52px; padding: 0 6px 0 22px; border-radius: 999px;
  background: var(--ks-white); box-shadow: inset 0 0 0 1.5px var(--ks-line-2); transition: box-shadow .2s;
}
.theme-kstati .ks-search:focus-within { box-shadow: inset 0 0 0 2px var(--ks-ink), 4px 4px 0 var(--ks-yellow); }
.theme-kstati .ks-search input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0;
  font: 500 15.5px/1 var(--ks-body); color: var(--ks-ink);
}
.theme-kstati .ks-search input::placeholder { color: #8C877C; }
.theme-kstati .ks-search input::-webkit-search-cancel-button { display: none; }
.theme-kstati .ks-search button {
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ks-blue); color: #fff; transition: transform .35s var(--ks-bounce);
}
.theme-kstati .ks-search button:hover { transform: rotate(-12deg) scale(1.08); }
.theme-kstati .ks-search-link, .theme-kstati .ks-round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--ks-white); color: var(--ks-ink); box-shadow: inset 0 0 0 1.5px var(--ks-line-2);
  transition: transform .35s var(--ks-bounce), background .2s;
}
.theme-kstati .ks-search-link { display: none; }
.theme-kstati .ks-search-link.on, .theme-kstati .ks-search-link:hover, .theme-kstati .ks-round-btn:hover { background: var(--ks-yellow); transform: rotate(-8deg); }

/* рубрики-чипсы */
.theme-kstati .ks-nav { border-bottom: 1.5px solid var(--ks-line); }
.theme-kstati .ks-nav-row {
  display: flex; align-items: center; gap: 8px; padding-top: 4px; padding-bottom: 18px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gap);
}
.theme-kstati .ks-nav-row::-webkit-scrollbar { display: none; }
.theme-kstati .ks-chip {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 17px 0 14px; flex: none;
  border-radius: 999px; background: var(--ks-white); color: var(--ks-ink); box-shadow: inset 0 0 0 1.5px var(--ks-line);
  font: 600 15px/1 var(--ks-body); white-space: nowrap; scroll-snap-align: start;
  transition: transform .4s var(--ks-bounce), background .2s, color .2s, box-shadow .2s;
}
.theme-kstati .ks-chip:hover { transform: translateY(-3px) rotate(-1.5deg); background: var(--t-soft, #F1EDE2); box-shadow: inset 0 0 0 1.5px var(--t, var(--ks-ink)); }
.theme-kstati .ks-chip.on { background: var(--t); color: var(--t-on); box-shadow: inset 0 0 0 1.5px var(--t); }
.theme-kstati .ks-chip.on .ks-dot { background: var(--t-on); }
.theme-kstati .ks-chip.on.ks-t-lilac .ks-dot { background: transparent; box-shadow: inset 0 0 0 3px var(--t-on); }
.theme-kstati .ks-chip-home { --t: var(--ks-ink); --t-on: var(--ks-cream); --t-soft: #F1EDE2; }
.theme-kstati .ks-spark { width: 15px; height: 15px; color: var(--ks-coral); transition: transform .5s var(--ks-bounce); }
.theme-kstati .ks-chip-home.on .ks-spark { color: var(--ks-yellow); }
.theme-kstati .ks-chip-home:hover .ks-spark { transform: rotate(90deg) scale(1.15); }
.theme-kstati .ks-nav-about {
  margin-left: auto; padding: 0 4px; flex: none; font: 700 13.5px/1 var(--ks-round); color: var(--ks-muted);
  text-decoration: underline; text-decoration-color: var(--ks-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.theme-kstati .ks-nav-about:hover { color: var(--ks-ink); }

/* =====================================================================
   ГЛАВНАЯ
   ===================================================================== */
.theme-kstati .ks-home { overflow-x: clip; }
.theme-kstati .ks-sec { padding-top: clamp(48px, 6vw, 88px); }
.theme-kstati .ks-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.theme-kstati .ks-head h2 { font: 800 clamp(36px, 4.6vw, 64px)/.98 var(--ks-display); letter-spacing: -.035em; }
.theme-kstati .ks-q {
  display: inline-grid; place-items: center; width: .92em; height: .92em; margin-left: .1em; border-radius: 50%;
  background: var(--ks-yellow); font-size: .78em; line-height: 1; vertical-align: .04em; transform: rotate(12deg);
}
.theme-kstati .ks-head-note { margin: 0 0 6px; display: flex; align-items: center; gap: 12px; font: 600 15px/1.2 var(--ks-body); color: var(--ks-muted); }
.theme-kstati .ks-head-note b {
  display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 12px; border-radius: 999px;
  background: var(--ks-ink); color: var(--ks-yellow); font: 700 18px/1 var(--ks-round); transform: rotate(-6deg);
}

/* ---------- Факт дня ---------- */
.theme-kstati .ks-hero { padding-top: 22px; }
.theme-kstati .ks-fact {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: center; gap: 28px;
  min-height: 580px; padding: 58px 56px 58px 64px; border-radius: 48px;
  background: var(--ks-blue); color: #fff;
}
.theme-kstati .ks-fact:has(.ks-stretch:focus-visible) { outline: 3px solid var(--ks-ink); outline-offset: 4px; }
.theme-kstati .ks-fact .ks-stretch:focus-visible { outline: 0; }
.theme-kstati .ks-fact-art, .theme-kstati .ks-top-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.theme-kstati .ks-fact-art > * { position: absolute; pointer-events: none; }
.theme-kstati .ks-fact-dots {
  left: 47%; top: 34px; width: 100px; height: 76px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .5) 2.6px, transparent 3.2px); background-size: 24px 24px;
}
.theme-kstati .ks-fact-half { right: 30%; bottom: -1px; width: 210px; height: 105px; border-radius: 210px 210px 0 0; background: var(--ks-coral); }
.theme-kstati .ks-fact-ring { left: -34px; bottom: -34px; width: 120px; height: 120px; border-radius: 50%; box-shadow: inset 0 0 0 16px var(--ks-ink); }
.theme-kstati .ks-fact-sq { right: 40px; top: 40px; width: 58px; height: 58px; border-radius: 14px; background: var(--ks-yellow); transform: rotate(16deg); }
.theme-kstati .ks-fact-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.theme-kstati .ks-fact-top { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.theme-kstati .ks-sticker {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--ks-yellow); color: var(--ks-ink); border: 2px solid var(--ks-ink); box-shadow: 3px 3px 0 var(--ks-ink);
  font: 700 15px/1 var(--ks-round); transform: rotate(-5deg);
}
.theme-kstati .ks-fact-no { font: 700 15px/1 var(--ks-round); color: rgba(255, 255, 255, .72); }
.theme-kstati .ks-fact-title { font: 800 clamp(34px, 4.1vw, 60px)/1.02 var(--ks-display); letter-spacing: -.032em; color: #fff; text-wrap: balance; }
.theme-kstati .ks-stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 48px; }
.theme-kstati .ks-fact-lead {
  margin: 22px 0 0; max-width: 50ch; font: 400 clamp(17px, 1.35vw, 19.5px)/1.55 var(--ks-body); color: rgba(255, 255, 255, .86);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-kstati .ks-fact-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 34px; }
.theme-kstati .ks-fact-btn {
  display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 7px 0 26px; border-radius: 999px;
  background: var(--ks-yellow); color: var(--ks-ink); font: 700 16.5px/1 var(--ks-body);
  transition: transform .4s var(--ks-bounce);
}
.theme-kstati .ks-fact-btn-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ks-ink); color: var(--ks-yellow); transition: transform .4s var(--ks-bounce); }
.theme-kstati .ks-fact:hover .ks-fact-btn { transform: translateY(-3px) rotate(-1.5deg); }
.theme-kstati .ks-fact:hover .ks-fact-btn-ico { transform: translateX(4px) rotate(-12deg); }
.theme-kstati .ks-fact-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font: 600 14px/1 var(--ks-body); color: rgba(255, 255, 255, .8); }
.theme-kstati .ks-fact-cat {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; margin-right: 4px;
  border-radius: 999px; background: #fff; color: var(--ks-ink); font: 700 13px/1 var(--ks-round); transition: transform .35s var(--ks-bounce);
}
.theme-kstati .ks-fact-cat:hover { transform: rotate(-4deg) scale(1.05); }

/* лупа с обложкой */
.theme-kstati .ks-fact-visual { position: relative; justify-self: center; width: min(100%, 430px); aspect-ratio: 1; margin-right: 26px; }
.theme-kstati .ks-fact-comma { position: absolute; z-index: 0; width: 34%; left: -19%; top: -15%; color: var(--ks-coral); transform: rotate(-8deg); transition: transform .6s var(--ks-bounce); }
.theme-kstati .ks-lens {
  position: absolute; inset: 0; z-index: 2; border-radius: 50%; overflow: hidden; background: var(--ks-cream);
  border: 16px solid var(--ks-yellow); outline: 3px solid var(--ks-ink); outline-offset: -1px;
  box-shadow: 0 30px 60px -20px rgba(10, 20, 80, .55);
}
.theme-kstati .ks-lens::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--ks-ink); z-index: 2; pointer-events: none; }
.theme-kstati .ks-lens .cover { position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; background: var(--ks-cream); }
.theme-kstati .ks-lens .cover img { transition: transform 1.2s var(--ks-ease); }
.theme-kstati .ks-fact:hover .ks-lens .cover img { transform: scale(1.12); }
.theme-kstati .ks-lens-handle {
  position: absolute; z-index: 1; left: calc(85.4% - 26px); top: 85.4%; width: 52px; height: 190px; border-radius: 26px;
  background: var(--ks-ink); transform-origin: 50% 0; transform: rotate(-45deg);
  box-shadow: inset -10px 0 0 rgba(255, 255, 255, .08);
}
.theme-kstati .ks-lens-handle::before { content: ''; position: absolute; left: -7px; right: -7px; top: 0; height: 36px; border-radius: 10px; background: var(--ks-ink); }
.theme-kstati .ks-fact:hover .ks-fact-comma { transform: rotate(-16deg) translateY(-6px); }

/* ---------- А вы знали? ---------- */
.theme-kstati .ks-know { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.theme-kstati .ks-kcard {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 12px 12px 24px; border-radius: 32px;
  background: var(--t); color: var(--t-on);
  transition: transform .5s var(--ks-bounce), box-shadow .35s var(--ks-ease);
}
.theme-kstati .ks-kcard:hover { transform: translateY(-7px) rotate(-.7deg); box-shadow: 0 26px 44px -26px rgba(22, 22, 22, .55); }
.theme-kstati .ks-kcard:nth-child(even):hover { transform: translateY(-7px) rotate(.7deg); }
.theme-kstati .ks-kcard-media { position: relative; display: block; }
.theme-kstati .ks-kcard-media .cover { aspect-ratio: 4 / 3; border-radius: 22px; background: var(--ks-cream); }
.theme-kstati .ks-kcard-body { display: flex; flex-direction: column; gap: 12px; padding: 0 12px; flex: 1; }
.theme-kstati .ks-kcard .ks-badge { margin-top: -34px; margin-left: -2px; position: relative; z-index: 2; }
.theme-kstati .ks-kcard:hover .ks-badge { transform: rotate(-8deg) scale(1.06); }
.theme-kstati .ks-kcard h3 { font: 700 21px/1.16 var(--ks-display); letter-spacing: -.015em; color: inherit; margin-top: 2px; }
.theme-kstati .ks-kcard .ks-meta { margin-top: auto; padding-top: 4px; }
.theme-kstati .ks-kcard p {
  margin: 0; font: 400 16px/1.55 var(--ks-body); opacity: .82;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-kstati .ks-kcard.is-wide { grid-column: span 2; }
.theme-kstati .ks-kcard.is-wide .cover { aspect-ratio: 21 / 8; }
.theme-kstati .ks-kcard.is-wide .ks-kcard-body { padding: 0 16px; }
.theme-kstati .ks-kcard.is-wide h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.08; letter-spacing: -.025em; max-width: 22em; }
.theme-kstati .ks-kcard.is-wide p { -webkit-line-clamp: 2; max-width: 60ch; }
.theme-kstati .ks-kcard.ks-t-ink .ks-badge { border-color: var(--ks-white); box-shadow: 2px 2px 0 var(--ks-yellow); }

/* ---------- 10 удивительных историй ---------- */
.theme-kstati .ks-top {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 48px;
  background: var(--ks-ink); color: var(--ks-cream); padding: 60px 64px 44px;
}
.theme-kstati .ks-top-art > * { position: absolute; z-index: -1; pointer-events: none; }
.theme-kstati .ks-top-art .a { right: -70px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: var(--ks-blue); }
.theme-kstati .ks-top-art .b { right: 236px; top: 58px; width: 36px; height: 36px; border-radius: 8px; background: var(--ks-coral); transform: rotate(18deg); }
.theme-kstati .ks-top-art .c {
  right: 150px; top: 150px; width: 120px; height: 48px;
  background-image: radial-gradient(circle, rgba(255, 204, 0, .7) 2.4px, transparent 3px); background-size: 20px 20px;
}
.theme-kstati .ks-top-head { margin-bottom: 26px; padding-bottom: 30px; border-bottom: 1.5px dashed rgba(255, 252, 242, .2); }
.theme-kstati .ks-top-head h2 { display: flex; align-items: center; gap: 24px; font: 800 clamp(34px, 4.4vw, 62px)/.98 var(--ks-display); letter-spacing: -.035em; color: var(--ks-cream); }
.theme-kstati .ks-top-num {
  display: grid; place-items: center; flex: none; width: 1.75em; height: 1.75em; border-radius: 50%;
  background: var(--ks-yellow); color: var(--ks-ink); font-size: 1.12em; letter-spacing: -.05em; transform: rotate(-9deg);
}
.theme-kstati .ks-top-word { max-width: 8.5em; }
.theme-kstati .ks-top-head p { margin: 18px 0 0; max-width: 46ch; font: 400 16.5px/1.5 var(--ks-body); color: rgba(255, 252, 242, .62); }
.theme-kstati .ks-top-list {
  list-style: none; margin: 0; padding: 0; counter-reset: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 64px;
}
.theme-kstati .ks-top-list li { border-bottom: 1px solid rgba(255, 252, 242, .1); }
.theme-kstati .ks-top-list li:nth-child(5), .theme-kstati .ks-top-list li:last-child { border-bottom: 0; }
.theme-kstati .ks-top-list a { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px 0; }
.theme-kstati .ks-num {
  display: grid; place-items: center; width: 60px; height: 60px; background: var(--t); color: var(--t-on);
  font: 700 23px/1 var(--ks-round); transition: transform .45s var(--ks-bounce);
}
.theme-kstati .ks-num.s0 { border-radius: 50%; }
.theme-kstati .ks-num.s1 { border-radius: 16px; transform: rotate(8deg); }
.theme-kstati .ks-num.s2 { border-radius: 50% 50% 50% 10px; }
.theme-kstati .ks-num.s3 { border-radius: 999px 999px 14px 14px; }
.theme-kstati .ks-top .ks-t-ink .ks-num { background: var(--ks-cream); color: var(--ks-ink); }
.theme-kstati .ks-top .ks-t-lilac .ks-num { background: var(--ks-lilac); }
.theme-kstati .ks-top-list a:hover .ks-num { transform: rotate(-12deg) scale(1.1); }
.theme-kstati .ks-top-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.theme-kstati .ks-top-cat { font: 700 12.5px/1 var(--ks-round); color: var(--t-lite); }
.theme-kstati .ks-top-list h3 { font: 600 19px/1.24 var(--ks-display); letter-spacing: -.01em; color: var(--ks-cream); transition: color .2s; }
.theme-kstati .ks-top-list a:hover h3 { color: var(--ks-yellow); }
.theme-kstati .ks-top-meta { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--ks-body); color: rgba(255, 252, 242, .45); }

/* ---------- О чём спорят ---------- */
.theme-kstati .ks-talk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.theme-kstati .ks-say { display: flex; flex-direction: column; gap: 36px; transition: transform .5s var(--ks-bounce); }
.theme-kstati .ks-say-bubble {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 220px; padding: 24px 26px 30px;
  background: var(--ks-white); border: 2px solid var(--ks-ink); border-radius: 30px; box-shadow: 7px 7px 0 var(--t);
  transform: rotate(-1deg); transition: transform .5s var(--ks-bounce), box-shadow .3s;
}
.theme-kstati .ks-say:nth-child(2) .ks-say-bubble { transform: rotate(1.2deg); }
.theme-kstati .ks-say:nth-child(3) .ks-say-bubble { transform: rotate(-.4deg); }
.theme-kstati .ks-say:hover .ks-say-bubble { transform: translateY(-6px) rotate(0); box-shadow: 10px 12px 0 var(--t); }
.theme-kstati .ks-say-tail { position: absolute; left: 34px; top: calc(100% - 2.5px); width: 40px; height: 30px; overflow: visible; }
.theme-kstati .ks-say-count {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border-radius: 999px; background: var(--t); color: var(--t-on); font: 700 13px/1 var(--ks-round);
}
.theme-kstati .ks-say h3 { font: 700 23px/1.16 var(--ks-display); letter-spacing: -.02em; }
.theme-kstati .ks-say-foot { display: flex; align-items: center; gap: 9px; padding-left: 82px; font: 600 14px/1 var(--ks-body); color: var(--ks-muted); }
.theme-kstati .ks-say-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ks-ink); font-weight: 700; }
.theme-kstati .ks-say:hover .ks-say-go svg { transform: translateX(3px); }
.theme-kstati .ks-say-go svg { transition: transform .3s var(--ks-bounce); }

/* ---------- Полки рубрик ---------- */
.theme-kstati .ks-shelves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.theme-kstati .ks-shelf {
  position: relative; display: flex; flex-direction: column; padding: 28px 30px 16px; border-radius: 40px;
  background: var(--t-soft); color: var(--ks-ink);
}
.theme-kstati .ks-shelf.ks-t-ink {
  background-color: var(--ks-ink); color: var(--ks-cream);
  background-image:
    radial-gradient(circle at 52% 26px, var(--ks-yellow) 0 2.4px, transparent 3px),
    radial-gradient(circle at 63% 64px, rgba(255, 252, 242, .8) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 44% 70px, rgba(255, 252, 242, .55) 0 1.4px, transparent 2px),
    radial-gradient(circle at calc(100% - 22px) 18px, var(--ks-coral) 0 2.2px, transparent 2.8px),
    radial-gradient(circle at 74% 22px, rgba(255, 252, 242, .5) 0 1.2px, transparent 1.8px);
}
.theme-kstati .ks-shelf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.theme-kstati .ks-shelf-head h2 { font: 800 clamp(26px, 2.4vw, 34px)/1 var(--ks-display); letter-spacing: -.03em; }
.theme-kstati .ks-shelf-head h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--t); }
.theme-kstati .ks-shelf.ks-t-ink .ks-shape { background: var(--ks-yellow); }
.theme-kstati .ks-shelf.ks-t-ink .ks-shelf-head h2 a:hover { text-decoration-color: var(--ks-yellow); }
.theme-kstati .ks-shelf-more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px;
  background: var(--t); color: var(--t-on); font: 700 14px/1 var(--ks-body); transition: transform .35s var(--ks-bounce);
}
.theme-kstati .ks-shelf.ks-t-ink .ks-shelf-more { background: var(--ks-yellow); color: var(--ks-ink); }
.theme-kstati .ks-shelf-more:hover { transform: translateX(3px) rotate(-3deg); }
.theme-kstati .ks-shelf-lead {
  display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 20px; align-items: center; padding: 10px;
  border-radius: 28px; background: var(--ks-white); transition: transform .5s var(--ks-bounce), box-shadow .3s;
}
.theme-kstati .ks-shelf.ks-t-ink .ks-shelf-lead { background: #262626; }
.theme-kstati .ks-shelf-lead:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 20px 34px -24px rgba(22, 22, 22, .5); }
.theme-kstati .ks-shelf-lead .cover { border-radius: 20px; background: var(--ks-cream); }
.theme-kstati .ks-shelf-lead-txt { display: flex; flex-direction: column; gap: 12px; padding-right: 10px; }
.theme-kstati .ks-shelf-lead h3 { font: 700 20px/1.18 var(--ks-display); letter-spacing: -.015em; }
.theme-kstati .ks-shelf-list { list-style: none; margin: 8px 0 0; padding: 0; }
.theme-kstati .ks-shelf-list li + li { border-top: 1.5px dashed var(--ks-line-2); }
.theme-kstati .ks-shelf.ks-t-ink .ks-shelf-list li + li { border-top-color: rgba(255, 252, 242, .16); }
.theme-kstati .ks-shelf-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 15px 4px; }
.theme-kstati .ks-shelf-list h3 { font: 500 17px/1.3 var(--ks-display); letter-spacing: -.005em; transition: color .2s; }
.theme-kstati .ks-shelf-list a:hover h3 { color: var(--t-ink); }
.theme-kstati .ks-shelf.ks-t-ink .ks-shelf-list a:hover h3 { color: var(--ks-yellow); }
.theme-kstati .ks-shelf-list time { flex: none; font: 700 12px/1 var(--ks-round); opacity: .55; white-space: nowrap; }

/* ---------- Облако тем + подписка ---------- */
.theme-kstati .ks-end { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.theme-kstati .ks-cloud {
  position: relative; padding: 46px 48px 50px; border-radius: 40px; text-align: center;
  background-color: var(--ks-white); box-shadow: inset 0 0 0 1.5px var(--ks-line);
  background-image: radial-gradient(circle, rgba(22, 22, 22, .07) 1.4px, transparent 1.8px); background-size: 22px 22px;
}
.theme-kstati .ks-cloud h2 { font: 800 clamp(30px, 3.4vw, 46px)/1.02 var(--ks-display); letter-spacing: -.03em; margin: 0 auto 30px; max-width: 14em; }
.theme-kstati .ks-cloud .ks-kicker { justify-content: center; }
.theme-kstati .ks-cloud-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 10px; }
.theme-kstati .ks-cchip {
  display: inline-flex; align-items: center; gap: 11px; padding: 14px 24px 14px 17px; border-radius: 999px;
  background: var(--t); color: var(--t-on); font: 700 clamp(19px, 1.9vw, 25px)/1 var(--ks-display); letter-spacing: -.02em;
  transition: transform .45s var(--ks-bounce);
}
.theme-kstati .ks-cchip .ks-shape { width: 18px; height: 18px; background: var(--t-on); }
.theme-kstati .ks-cchip.ks-t-ink .ks-shape { height: 10px; margin-top: 6px; background: var(--ks-yellow); }
.theme-kstati .ks-cchip.ks-t-lilac .ks-shape { background: transparent; box-shadow: inset 0 0 0 5px var(--t-on); }
.theme-kstati .ks-tchip {
  display: inline-flex; align-items: center; padding: 10px 15px; border-radius: 999px; background: var(--ks-cream);
  box-shadow: inset 0 0 0 1.5px var(--ks-line-2); font: 700 14px/1 var(--ks-round); color: var(--ks-ink);
  transition: transform .45s var(--ks-bounce), background .2s;
}
.theme-kstati .ks-tchip:hover { background: var(--ks-yellow); }
.theme-kstati .r0 { transform: rotate(-3deg); }
.theme-kstati .r1 { transform: rotate(2deg); }
.theme-kstati .r2 { transform: rotate(-1deg); }
.theme-kstati .r3 { transform: rotate(3deg); }
.theme-kstati .r4 { transform: rotate(-2deg); }
.theme-kstati .ks-cchip:hover, .theme-kstati .ks-tchip:hover { transform: translateY(-5px) rotate(0) scale(1.05); }
.theme-kstati .ks-cta {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 400px; padding: 44px 42px; border-radius: 40px; background: var(--ks-yellow); color: var(--ks-ink);
}
.theme-kstati .ks-cta-comma { position: absolute; z-index: -1; right: 28px; top: -46px; width: 150px; color: var(--ks-white); transform: rotate(-6deg); transition: transform .6s var(--ks-bounce); }
.theme-kstati .ks-cta::before { content: ''; position: absolute; z-index: -1; left: -50px; top: 40px; width: 120px; height: 120px; border-radius: 50%; box-shadow: inset 0 0 0 14px var(--ks-ink); }
.theme-kstati .ks-cta:hover .ks-cta-comma { transform: rotate(-14deg) translateY(8px); }
.theme-kstati .ks-cta .ks-kicker::before { background: var(--ks-ink); box-shadow: 14px 0 0 var(--ks-coral), 28px 0 0 var(--ks-blue); }
.theme-kstati .ks-cta h2 { font: 800 clamp(28px, 2.6vw, 37px)/1.05 var(--ks-display); letter-spacing: -.03em; }
.theme-kstati .ks-cta-txt { margin: 14px 0 26px; font: 500 16.5px/1.5 var(--ks-body); color: rgba(22, 22, 22, .74); }
.theme-kstati .ks-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   ПОДВАЛ
   ===================================================================== */
.theme-kstati .ks-ftr {
  position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(64px, 8vw, 110px);
  padding: 70px 0 150px; border-radius: 56px 56px 0 0; background: var(--ks-ink); color: var(--ks-cream);
}
.theme-kstati .ks-ftr-sky { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 120px; overflow: hidden; pointer-events: none; }
.theme-kstati .ks-ftr-sky > * { position: absolute; bottom: 0; }
.theme-kstati .ks-ftr-sky .s1 { left: 4%; width: 220px; height: 110px; border-radius: 220px 220px 0 0; background: var(--ks-blue); bottom: -20px; }
.theme-kstati .ks-ftr-sky .s2 { left: calc(4% + 196px); width: 74px; height: 74px; border-radius: 16px; background: var(--ks-coral); transform: rotate(14deg); bottom: -10px; }
.theme-kstati .ks-ftr-sky .s3 { left: 30%; width: 120px; height: 104px; background: var(--ks-mint); clip-path: polygon(50% 0, 100% 100%, 0 100%); bottom: -14px; }
.theme-kstati .ks-ftr-sky .s4 { left: 46%; width: 64px; height: 64px; border-radius: 50%; background: var(--ks-yellow); bottom: 18px; }
.theme-kstati .ks-ftr-sky .s5 { left: calc(46% + 40px); width: 180px; height: 90px; border-radius: 0 0 0 0; border-radius: 180px 180px 0 0; background: var(--ks-lilac); bottom: -30px; }
.theme-kstati .ks-ftr-sky .s6 { left: 70%; width: 130px; height: 130px; border-radius: 50%; box-shadow: inset 0 0 0 18px var(--ks-yellow); bottom: -64px; }
.theme-kstati .ks-ftr-sky .s7 { right: 3%; width: 260px; height: 130px; border-radius: 260px 260px 0 0; background: var(--ks-coral); bottom: -26px; }
.theme-kstati .ks-ftr-sky .s8 { right: calc(3% + 210px); width: 46px; bottom: 30px; color: var(--ks-cream); transform: rotate(-8deg); }
.theme-kstati .ks-ftr-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, 1.1fr); gap: 44px; }
.theme-kstati .ks-ftr .ks-bubble-tail path { stroke: var(--ks-yellow); }
.theme-kstati .ks-ftr .ks-bubble-text { border-color: var(--ks-yellow); }
.theme-kstati .ks-ftr-desc { margin: 26px 0 24px; max-width: 34ch; font: 400 16px/1.55 var(--ks-body); color: rgba(255, 252, 242, .68); }
.theme-kstati .ks-ftr-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-kstati .ks-ftr .ks-pill { height: 46px; }
.theme-kstati .ks-ftr .ks-pill-line { box-shadow: inset 0 0 0 2px rgba(255, 252, 242, .3); color: var(--ks-cream); }
.theme-kstati .ks-ftr .ks-pill-line:hover { box-shadow: inset 0 0 0 2px var(--ks-yellow); color: var(--ks-yellow); }
.theme-kstati .ks-ftr-h { margin: 8px 0 18px; font: 700 13.5px/1 var(--ks-round); color: var(--ks-yellow); letter-spacing: .02em; }
.theme-kstati .ks-ftr-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.theme-kstati .ks-ftr-cats a {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 12px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 252, 242, .16); font: 600 14px/1 var(--ks-body);
  transition: transform .4s var(--ks-bounce), background .2s, color .2s;
}
.theme-kstati .ks-ftr-cats a:hover { background: var(--t); color: var(--t-on); box-shadow: none; transform: rotate(-3deg); }
.theme-kstati .ks-ftr-cats a:hover .ks-dot { background: var(--t-on); }
.theme-kstati .ks-ftr .ks-t-ink .ks-dot { background: var(--ks-cream); }
.theme-kstati .ks-ftr .ks-t-ink:hover { background: var(--ks-cream) !important; color: var(--ks-ink) !important; }
.theme-kstati .ks-ftr .ks-t-ink:hover .ks-dot { background: var(--ks-ink); }
.theme-kstati .ks-ftr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font: 500 15px/1.3 var(--ks-body); }
.theme-kstati .ks-ftr-list a { color: rgba(255, 252, 242, .8); transition: color .2s; }
.theme-kstati .ks-ftr-list a:hover { color: var(--ks-yellow); }
.theme-kstati .ks-ftr-net .ks-ftr-list { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.theme-kstati .ks-ftr-bottom {
  position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 22px;
  font: 500 13px/1.4 var(--ks-body); color: rgba(255, 252, 242, .5);
}
.theme-kstati .ks-ftr-bottom::before { content: ''; position: absolute; top: 0; left: var(--gap); right: var(--gap); height: 1px; background: rgba(255, 252, 242, .12); }
.theme-kstati .ks-ftr-motto { font: 700 13px/1.4 var(--ks-round); color: rgba(255, 252, 242, .7); }

/* =====================================================================
   СТАТЬЯ
   ===================================================================== */
.theme-kstati .article { overflow-x: clip; }
.theme-kstati .progress { height: 5px; background: var(--ks-coral); border-radius: 0 6px 6px 0; }
.theme-kstati .breadcrumbs { padding-top: 30px; font: 700 13px/1 var(--ks-round); color: var(--ks-muted); gap: 10px; }
.theme-kstati .breadcrumbs a { transition: color .2s; }
.theme-kstati .breadcrumbs a:hover { color: var(--ks-blue); }
.theme-kstati .breadcrumbs span { color: var(--ks-line-2); }
.theme-kstati .ks-ahead { padding-top: 26px; }
.theme-kstati .ks-ahead-top { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.theme-kstati .ks-ahead-date { font: 700 13.5px/1 var(--ks-round); color: var(--ks-muted); }
.theme-kstati .ks-ahead h1 { font: 800 clamp(36px, 5.4vw, 64px)/1.03 var(--ks-display); letter-spacing: -.035em; color: var(--ks-ink); }
.theme-kstati .ks-squiggle { display: block; width: 210px; height: 21px; margin: 28px 0 36px; overflow: visible; }
.theme-kstati .ks-brief {
  position: relative; margin: 0 0 30px; padding: 34px 32px 28px; border-radius: 30px; background: var(--ks-yellow);
}
.theme-kstati .ks-brief::after {
  content: ''; position: absolute; right: 22px; bottom: -14px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ks-coral); box-shadow: -30px 8px 0 -8px var(--ks-blue);
}
.theme-kstati .ks-brief-label {
  position: absolute; left: 26px; top: -17px; display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border-radius: 999px; background: var(--ks-ink); color: var(--ks-yellow); font: 700 14px/1 var(--ks-round); transform: rotate(-4deg);
}
.theme-kstati .ks-brief .lead { margin: 0; font: 500 clamp(18px, 1.5vw, 21px)/1.52 var(--ks-body); color: var(--ks-ink); }
.theme-kstati .ks-byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.theme-kstati .author { font-family: var(--ks-body); gap: 13px; }
.theme-kstati .author .avatar { border-radius: 15px; transform: rotate(-4deg); font-family: var(--ks-round); }
.theme-kstati .author b { font: 700 15.5px/1.25 var(--ks-body); }
.theme-kstati .author span { font-size: 13.5px; }
.theme-kstati .ks-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.theme-kstati .ks-facts li {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--ks-white); box-shadow: inset 0 0 0 1.5px var(--ks-line); font: 600 13.5px/1 var(--ks-body); color: var(--ks-ink-2);
}
.theme-kstati .ks-recipe-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.theme-kstati .ks-recipe-facts div { padding: 18px 14px; border-radius: 24px; background: var(--ks-white); box-shadow: inset 0 0 0 1.5px var(--ks-line); text-align: center; }
.theme-kstati .ks-recipe-facts b { display: block; font: 800 30px/1.1 var(--ks-display); color: var(--ks-blue); }
.theme-kstati .ks-recipe-facts b.is-word { font-size: 20px; padding: 5px 0; }
.theme-kstati .ks-recipe-facts span { font: 700 12.5px/1 var(--ks-round); color: var(--ks-muted); }

.theme-kstati .ks-acover { position: relative; max-width: 1104px; margin: clamp(34px, 4.6vw, 60px) auto clamp(36px, 4.6vw, 60px); padding: 0 var(--gap); }
.theme-kstati .ks-acover .ks-acover-img { position: relative; z-index: 1; border-radius: 40px; background: var(--ks-paper); box-shadow: 0 0 0 2px var(--ks-ink); }
.theme-kstati .ks-acover > span[class^='ks-acover-'] { position: absolute; z-index: 0; pointer-events: none; }
.theme-kstati .ks-acover-a { right: calc(var(--gap) - 34px); top: -34px; width: 150px; height: 150px; border-radius: 50%; background: var(--ks-yellow); }
.theme-kstati .ks-acover-b { left: calc(var(--gap) - 30px); bottom: -30px; width: 130px; height: 130px; border-radius: 30px; background: var(--ks-blue); transform: rotate(-12deg); }
.theme-kstati .ks-acover-c { left: calc(var(--gap) + 90px); bottom: -24px; width: 120px; height: 60px; border-radius: 120px 120px 0 0; background: var(--ks-coral); transform: rotate(180deg); }

/* текст статьи */
.theme-kstati .article-body { padding-top: 6px; }
.theme-kstati .prose { font-family: var(--ks-body); font-size: clamp(17.5px, 1.3vw, 19.5px); line-height: 1.72; color: #1E1E1E; }
.theme-kstati .prose > * + * { margin-top: 1.1em; }
.theme-kstati .prose:not(.prose-cont) > p:first-child { font-size: 1.09em; line-height: 1.66; }
.theme-kstati .prose:not(.prose-cont) > p:first-child::first-letter {
  float: left; margin: .1em .16em 0 0; padding: .12em .2em .12em; border-radius: .3em;
  font: 800 2.6em/1 var(--ks-display); color: #fff; background: var(--ks-blue);
}
.theme-kstati .prose > h2 {
  font: 800 clamp(26px, 2.6vw, 34px)/1.1 var(--ks-display); letter-spacing: -.025em; margin-top: 1.9em; margin-bottom: -.1em;
}
.theme-kstati .prose > h2::before {
  content: ''; display: inline-block; width: .6em; height: .6em; margin-right: .38em; vertical-align: .02em;
  background: var(--ks-blue); border-radius: 50%;
}
.theme-kstati .prose > h2:nth-of-type(3n+2)::before { background: var(--ks-coral); border-radius: 22%; transform: rotate(12deg); }
.theme-kstati .prose > h2:nth-of-type(3n+3)::before { background: var(--ks-yellow); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.theme-kstati .prose > h3 { font: 700 23px/1.2 var(--ks-display); letter-spacing: -.015em; margin-top: 1.6em; }
.theme-kstati .prose strong, .theme-kstati .prose mark, .theme-kstati .prose b {
  font-weight: 700; color: var(--ks-ink); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(176deg, transparent 0 46%, rgba(255, 204, 0, .78) 46% 90%, transparent 90%);
}
.theme-kstati .prose a {
  color: var(--ks-blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  text-decoration-color: rgba(45, 91, 255, .35); transition: text-decoration-color .2s;
}
.theme-kstati .prose a:hover { text-decoration-color: var(--ks-blue); }
.theme-kstati .prose ul { list-style: none; padding-left: 0; }
.theme-kstati .prose ul > li { position: relative; padding-left: 36px; }
.theme-kstati .prose ul > li + li, .theme-kstati .prose ol > li + li { margin-top: .6em; }
.theme-kstati .prose ul > li::before {
  content: ''; position: absolute; left: 6px; top: .5em; width: 13px; height: 13px; border-radius: 50%; background: var(--ks-blue);
}
.theme-kstati .prose ul > li:nth-child(3n+2)::before { background: var(--ks-coral); border-radius: 3px; transform: rotate(14deg); }
.theme-kstati .prose ul > li:nth-child(3n+3)::before { background: var(--ks-yellow); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); width: 15px; height: 14px; left: 5px; }
.theme-kstati .prose ol { list-style: none; padding-left: 0; counter-reset: ks-ol; }
.theme-kstati .prose ol > li { position: relative; padding-left: 46px; counter-increment: ks-ol; }
.theme-kstati .prose ol > li::before {
  content: counter(ks-ol); position: absolute; left: 0; top: .12em; width: 31px; height: 31px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ks-ink); color: var(--ks-yellow); font: 700 14px/1 var(--ks-round);
}
.theme-kstati .prose ol > li:nth-child(even)::before { border-radius: 10px; background: var(--ks-blue); color: #fff; transform: rotate(-6deg); }
.theme-kstati .prose > blockquote {
  position: relative; margin: 2em 0; padding: 30px 32px 30px 96px; border: 0; border-radius: 30px;
  background: var(--ks-white); box-shadow: inset 0 0 0 2px var(--ks-ink), 7px 7px 0 var(--ks-yellow);
  font: 600 clamp(20px, 1.8vw, 24px)/1.42 var(--ks-display); letter-spacing: -.012em; color: var(--ks-ink);
}
.theme-kstati .prose > blockquote::before {
  content: ''; position: absolute; left: 28px; top: 30px; width: 46px; height: 74px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 190'%3E%3Ccircle cx='60' cy='58' r='56' fill='%23FF6B4A'/%3E%3Cpath d='M113 72 C112 128 82 168 26 188 L16 170 C52 152 70 126 72 98 Z' fill='%23FF6B4A'/%3E%3C/svg%3E");
}
.theme-kstati .prose blockquote p { margin: 0; }
.theme-kstati .prose blockquote p + p { margin-top: .6em; }
.theme-kstati .prose hr {
  height: 22px; margin: 2.4em auto; border: 0; background: no-repeat center / auto 22px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 22'%3E%3Ccircle cx='11' cy='11' r='8' fill='%232D5BFF'/%3E%3Cpath d='M38 15 L48 5 L58 15 L68 5 L78 15 L88 5 L98 15' fill='none' stroke='%23FF6B4A' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='117' y='3' width='16' height='16' rx='3' fill='%23FFCC00' transform='rotate(14 125 11)'/%3E%3C/svg%3E");
}
.theme-kstati .prose table { font-family: var(--ks-body); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--ks-line); }
.theme-kstati .prose th { background: var(--ks-yellow); font-weight: 700; }
.theme-kstati .prose th, .theme-kstati .prose td { padding: 10px 14px; }

.theme-kstati .inline-read {
  position: relative; margin: 2.2em 0; padding: 22px 28px 24px 26px; display: grid; gap: 10px;
  border: 2px solid var(--ks-ink); border-radius: 28px; background: var(--ks-white); box-shadow: 7px 7px 0 var(--ks-blue);
  transition: transform .45s var(--ks-bounce);
}
.theme-kstati .inline-read:hover { transform: translateY(-3px) rotate(-.4deg); }
.theme-kstati .inline-read-label {
  justify-self: start; display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px;
  background: var(--ks-blue); color: #fff; font: 700 12.5px/1 var(--ks-round); letter-spacing: .01em; text-transform: none; transform: rotate(-3deg);
}
.theme-kstati .inline-read a { font: 700 clamp(19px, 1.7vw, 23px)/1.22 var(--ks-display); letter-spacing: -.015em; }
.theme-kstati .inline-read a::after { content: ' →'; color: var(--ks-blue); }
.theme-kstati .inline-read a:hover { color: var(--ks-blue); }
.theme-kstati .jump .btn { background: var(--ks-blue); color: #fff; }

.theme-kstati .source-note { font: 600 13.5px/1.5 var(--ks-body); }
.theme-kstati .tags { gap: 8px; margin-top: 36px; }
.theme-kstati .tag {
  padding: 9px 14px; border-radius: 999px; background: var(--ks-white); box-shadow: inset 0 0 0 1.5px var(--ks-line-2);
  font: 700 13px/1 var(--ks-round); color: var(--ks-ink); transition: transform .4s var(--ks-bounce), background .2s;
}
.theme-kstati .tag:nth-child(5n+1) { transform: rotate(-2deg); }
.theme-kstati .tag:nth-child(5n+3) { transform: rotate(1.5deg); }
.theme-kstati .tag:hover { background: var(--ks-yellow); color: var(--ks-ink); transform: translateY(-3px) rotate(-3deg); }
.theme-kstati .share-row { margin-top: 26px; }
.theme-kstati .share { font: 700 13.5px/1 var(--ks-round); color: var(--ks-muted); gap: 9px; }
.theme-kstati .share a, .theme-kstati .share button {
  width: 44px; height: 44px; background: var(--ks-white); color: var(--ks-ink); box-shadow: inset 0 0 0 1.5px var(--ks-ink);
  font: 700 12.5px/1 var(--ks-round); transition: transform .4s var(--ks-bounce), background .2s;
}
.theme-kstati .share a:nth-of-type(1):hover { background: var(--ks-blue); color: #fff; }
.theme-kstati .share a:nth-of-type(2):hover { background: var(--ks-coral); color: var(--ks-ink); }
.theme-kstati .share a:nth-of-type(3):hover { background: var(--ks-mint); color: var(--ks-ink); }
.theme-kstati .share button:hover { background: var(--ks-yellow); color: var(--ks-ink); }
.theme-kstati .share a:hover, .theme-kstati .share button:hover { transform: translateY(-4px) rotate(-8deg); }
.theme-kstati .inline-cta {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 44px; padding: 26px 28px; border-radius: 30px;
  background: var(--ks-yellow); box-shadow: none; font-family: var(--ks-body);
}
.theme-kstati .inline-cta::before { content: ''; position: absolute; z-index: -1; right: -26px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.theme-kstati .inline-cta b { font: 800 21px/1.2 var(--ks-display); letter-spacing: -.015em; }
.theme-kstati .inline-cta .muted { color: rgba(22, 22, 22, .7); margin-top: 4px; }

/* комментарии */
.theme-kstati .comments { margin-top: clamp(48px, 6vw, 72px); padding-top: 0; border-top: 0; font-family: var(--ks-body); }
.theme-kstati .comments h2 { font: 800 clamp(30px, 3vw, 38px)/1 var(--ks-display); letter-spacing: -.03em; align-items: center; }
.theme-kstati .comments h2 small:not(:empty) {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px;
  background: var(--ks-yellow); color: var(--ks-ink); font: 700 16px/1 var(--ks-round); transform: rotate(-6deg);
}
.theme-kstati .c-form {
  margin: 26px 0 40px; padding: 20px; gap: 12px; border-radius: 30px; background: var(--ks-white);
  box-shadow: inset 0 0 0 2px var(--ks-ink), 7px 7px 0 var(--ks-yellow);
}
.theme-kstati .c-form input, .theme-kstati .c-form textarea {
  font-family: var(--ks-body); padding: 14px 18px; border-radius: 18px; border: 1.5px solid var(--ks-line); background: var(--ks-cream); transition: border-color .2s, background .2s;
}
.theme-kstati .c-form input:focus, .theme-kstati .c-form textarea:focus { outline: 0; border-color: var(--ks-blue); background: var(--ks-white); }
.theme-kstati .c-form .c-note { font-size: 13.5px; }
.theme-kstati .c-list { gap: 26px; }
.theme-kstati .c-item { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.theme-kstati .c-item .avatar { width: 44px !important; height: 44px !important; border-radius: 15px; font-family: var(--ks-round); font-size: 15px !important; }
.theme-kstati .c-item:nth-child(even) > .avatar { transform: rotate(5deg); }
.theme-kstati .c-item:nth-child(odd) > .avatar { transform: rotate(-4deg); }
.theme-kstati .c-item .c-head { align-items: center; padding-top: 2px; }
.theme-kstati .c-item .c-head b { font: 700 15px/1.2 var(--ks-body); }
.theme-kstati .c-item .c-head time { font: 700 12px/1 var(--ks-round); }
.theme-kstati .c-badge { background: var(--ks-ink); color: var(--ks-yellow); font: 700 11px/1 var(--ks-round); padding: 5px 9px; }
.theme-kstati .c-text {
  display: inline-block; max-width: 100%; margin: 8px 0 8px; padding: 14px 18px; border-radius: 4px 22px 22px 22px;
  background: var(--ks-white); box-shadow: inset 0 0 0 1.5px var(--ks-line); font-size: 15.5px;
}
.theme-kstati .c-actions { padding-left: 6px; font-weight: 600; }
.theme-kstati .c-actions button:hover, .theme-kstati .c-actions button.liked { color: var(--ks-coral); }
.theme-kstati .c-replies { border-left: 2px dashed var(--ks-line-2); padding-left: 20px; margin-top: 18px; }
.theme-kstati .c-replies .c-text { background: var(--ks-paper); box-shadow: none; }

/* «Читайте также» после статьи */
.theme-kstati .related { padding-top: clamp(48px, 6vw, 80px); }
.theme-kstati .section-head { align-items: flex-end; margin-bottom: 26px; flex-wrap: wrap; }
.theme-kstati .section-head h2 { font: 800 clamp(30px, 3.6vw, 48px)/1 var(--ks-display); letter-spacing: -.035em; }
.theme-kstati .section-head a {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ks-white);
  box-shadow: inset 0 0 0 1.5px var(--ks-line-2); color: var(--ks-ink); font: 700 14px/1 var(--ks-body); transition: background .2s, transform .35s var(--ks-bounce);
}
.theme-kstati .section-head a:hover { background: var(--ks-yellow); transform: rotate(-2deg); }
.theme-kstati .related-grid { gap: 20px; }
.theme-kstati .related-card {
  --rc: var(--ks-blue); --rc-on: #fff;
  gap: 14px; padding: 10px 10px 22px; border-radius: 30px; background: var(--rc); color: var(--rc-on);
  transition: transform .5s var(--ks-bounce), box-shadow .3s;
}
.theme-kstati .related-card:nth-child(4n+2) { --rc: var(--ks-yellow); --rc-on: var(--ks-ink); }
.theme-kstati .related-card:nth-child(4n+3) { --rc: var(--ks-coral); --rc-on: var(--ks-ink); }
.theme-kstati .related-card:nth-child(4n+4) { --rc: var(--ks-ink); --rc-on: var(--ks-cream); }
.theme-kstati .related-card:hover { transform: translateY(-6px) rotate(-.7deg); box-shadow: 0 24px 40px -26px rgba(22, 22, 22, .55); }
.theme-kstati .related-card .cover { border-radius: 22px; background: var(--ks-cream); }
.theme-kstati .related-card .kicker {
  justify-self: start; margin: -30px 0 0 8px; position: relative; z-index: 1; display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--ks-white); color: var(--ks-ink); border: 1.5px solid var(--ks-ink); box-shadow: 2px 2px 0 var(--ks-ink);
  font-size: 12px; transform: rotate(-3deg);
}
.theme-kstati .related-card h3 { padding: 0 10px; font: 700 19px/1.2 var(--ks-display); letter-spacing: -.015em; color: inherit; }
.theme-kstati .related-card:hover h3 { color: inherit; }

/* =====================================================================
   ЛИСТИНГИ: рубрика, поиск, «О проекте»
   ===================================================================== */
.theme-kstati .listing { padding-bottom: 10px; }
.theme-kstati .page-head {
  --ph: var(--ks-yellow); --ph-on: var(--ks-ink); --ph-sub: rgba(22, 22, 22, .66);
  position: relative; isolation: isolate; overflow: hidden; margin: 18px 0 34px; padding: clamp(36px, 5vw, 64px) clamp(26px, 5vw, 64px);
  border: 0; border-radius: 44px; background: var(--ph); color: var(--ph-on);
}
.theme-kstati:has(.ks-nav .ks-chip.on.ks-t-blue) .page-head { --ph: var(--ks-blue); --ph-on: #fff; --ph-sub: rgba(255, 255, 255, .78); }
.theme-kstati:has(.ks-nav .ks-chip.on.ks-t-coral) .page-head { --ph: var(--ks-coral); }
.theme-kstati:has(.ks-nav .ks-chip.on.ks-t-mint) .page-head { --ph: var(--ks-mint); }
.theme-kstati:has(.ks-nav .ks-chip.on.ks-t-ink) .page-head { --ph: var(--ks-ink); --ph-on: var(--ks-cream); --ph-sub: rgba(255, 252, 242, .7); }
.theme-kstati:has(.ks-nav .ks-chip.on.ks-t-lilac) .page-head { --ph: var(--ks-lilac); }
.theme-kstati .page-head::before {
  content: ''; position: absolute; z-index: -1; right: -70px; top: -90px; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}
.theme-kstati .page-head::after {
  content: ''; position: absolute; z-index: -1; right: 170px; bottom: -1px; width: 150px; height: 75px; border-radius: 150px 150px 0 0;
  background: var(--ks-ink);
}
.theme-kstati:has(.ks-nav .ks-chip.on.ks-t-ink) .page-head::after { background: var(--ks-yellow); }
.theme-kstati:has(.ks-nav .ks-chip.on.ks-t-ink) .page-head::before { background: var(--ks-blue); }
.theme-kstati .page-head .kicker {
  display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border-radius: 999px;
  background: var(--ks-white); color: var(--ks-ink); border: 2px solid var(--ks-ink); box-shadow: 3px 3px 0 var(--ks-ink);
  font-size: 13.5px; transform: rotate(-4deg); margin-bottom: 18px;
}
.theme-kstati .page-head h1 { font: 800 clamp(46px, 7.4vw, 104px)/.92 var(--ks-display); letter-spacing: -.045em; color: inherit; }
.theme-kstati .page-head p { margin-top: 16px; font: 700 15px/1.4 var(--ks-round); color: var(--ph-sub); }
.theme-kstati .search-form { margin-top: 26px; max-width: 640px; gap: 10px; }
.theme-kstati .search-form input {
  min-width: 0; height: 58px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--ks-ink); background: var(--ks-white);
  font: 500 17px/1 var(--ks-body); color: var(--ks-ink);
}
.theme-kstati .search-form input:focus { outline: 0; box-shadow: 4px 4px 0 var(--ks-ink); }
.theme-kstati .search-form .btn { height: 58px; padding: 0 28px; }

.theme-kstati .list-row {
  grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: center; margin-bottom: 16px; padding: 12px 30px 12px 12px;
  border: 0; border-radius: 32px; background: var(--ks-white); box-shadow: inset 0 0 0 1.5px var(--ks-line);
  transition: transform .5s var(--ks-bounce), box-shadow .3s;
}
.theme-kstati .list-row .cover { border-radius: 22px; background: var(--ks-cream); }
.theme-kstati .list-row h2 { font: 700 clamp(20px, 2vw, 27px)/1.14 var(--ks-display); letter-spacing: -.02em; margin: 10px 0 10px; transition: color .2s; }
.theme-kstati .list-row p { font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-kstati .list-row .meta { font: 700 12.5px/1 var(--ks-round); gap: 8px; }
.theme-kstati .list-row:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: inset 0 0 0 2px var(--ks-ink), 7px 7px 0 var(--ks-yellow); }
.theme-kstati .list-row:nth-child(4n+2):hover { box-shadow: inset 0 0 0 2px var(--ks-ink), 7px 7px 0 var(--ks-blue); }
.theme-kstati .list-row:nth-child(4n+3):hover { box-shadow: inset 0 0 0 2px var(--ks-ink), 7px 7px 0 var(--ks-coral); }
.theme-kstati .list-row:nth-child(4n+4):hover { box-shadow: inset 0 0 0 2px var(--ks-ink), 7px 7px 0 var(--ks-mint); }
.theme-kstati .list-row:hover h2 { color: var(--ks-ink); }
/* рубрика: сетка в две колонки, первый материал — крупно */
.theme-kstati .listing .list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.theme-kstati .listing .list .list-row { margin: 0; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: 24px; padding: 10px 24px 10px 10px; align-items: stretch; }
.theme-kstati .listing .list .list-row > div { align-self: center; padding: 10px 0; }
.theme-kstati .listing .list .list-row .cover { height: 100%; min-height: 190px; aspect-ratio: auto !important; }
.theme-kstati .listing .list .list-row h2 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.16; }
.theme-kstati .listing .list .list-row p { font-size: 15px; }
.theme-kstati .listing .list .list-row:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; padding: 12px 44px 12px 12px; }
.theme-kstati .listing .list .list-row:first-child .cover { border-radius: 26px; }
.theme-kstati .listing .list .list-row:first-child h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.06; letter-spacing: -.03em; margin: 14px 0 14px; }
.theme-kstati .listing .list .list-row:first-child p { font-size: 17px; -webkit-line-clamp: 3; }
.theme-kstati .listing > .list-row p { max-width: 68ch; }
.theme-kstati .pager { align-items: center; gap: 14px; margin-top: 40px; font: 700 14px/1 var(--ks-round); }

/* «О проекте» */
.theme-kstati main.narrow > .page-head { margin-top: 30px; }
.theme-kstati main.narrow > .page-head::after { right: 34px; bottom: auto; top: 34px; width: 54px; height: 54px; border-radius: 14px; background: var(--ks-coral); transform: rotate(14deg); }
.theme-kstati main.narrow > .page-head h1 { font-size: clamp(46px, 7vw, 88px); }
.theme-kstati main.narrow > div[style] { gap: 12px !important; }
.theme-kstati main.narrow > div[style] > .author {
  padding: 12px 18px 12px 12px; border-radius: 24px; background: var(--ks-white); box-shadow: inset 0 0 0 1.5px var(--ks-line);
}

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (max-width: 1180px) {
  .theme-kstati .ks-tagline { display: none; }
  .theme-kstati .ks-fact { padding: 50px 44px 50px 48px; }
  .theme-kstati .ks-fact-comma { left: -4%; top: -13%; width: 26%; }
  .theme-kstati .ks-ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .theme-kstati .ks-know { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-kstati .ks-kcard-media .cover { aspect-ratio: 16 / 10; }
  .theme-kstati .ks-kcard.is-wide { flex-direction: row; gap: 0; padding: 12px; }
  .theme-kstati .ks-kcard.is-wide .ks-kcard-media { flex: 0 0 50%; }
  .theme-kstati .ks-kcard.is-wide .cover { aspect-ratio: 4 / 3; height: 100%; }
  .theme-kstati .ks-kcard.is-wide .ks-kcard-body { padding: 18px 20px 10px 26px; justify-content: center; }
  .theme-kstati .ks-kcard.is-wide .ks-badge { margin-top: 0; }
  .theme-kstati .ks-kcard.is-wide .ks-meta { margin-top: 6px; }
  .theme-kstati .ks-talk { grid-template-columns: 1fr 1fr; }
  .theme-kstati .ks-talk > :nth-child(3) { display: none; }
  .theme-kstati .ks-end { grid-template-columns: 1fr; }
  .theme-kstati .ks-cta { min-height: 0; }
  .theme-kstati .ks-cta::before { left: auto; top: auto; right: -46px; bottom: -46px; }
  .theme-kstati .ks-top { padding: 48px 40px 36px; }
  .theme-kstati .ks-top-list { column-gap: 36px; }
}
@media (max-width: 900px) {
  .theme-kstati .ks-fact { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 30px 28px 36px; border-radius: 36px; }
  .theme-kstati .ks-fact-visual { order: -1; width: min(72%, 330px); margin: 8px auto 34px; }
  .theme-kstati .ks-fact-ring { left: auto; right: 26px; top: auto; bottom: 30%; }
  .theme-kstati .ks-fact-half { right: -50px; bottom: -1px; }
  .theme-kstati .ks-fact-dots { left: auto; right: 24px; top: 26px; bottom: auto; width: 96px; height: 72px; }
  .theme-kstati .ks-fact-sq { right: auto; left: 22px; top: 24px; width: 42px; height: 42px; }
  .theme-kstati .ks-shelves { grid-template-columns: 1fr; }
  .theme-kstati .ks-top-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .theme-kstati .ks-top-list li:nth-child(5) { border-bottom: 1px solid rgba(255, 252, 242, .1); }
  .theme-kstati .ks-acover-a { width: 100px; height: 100px; top: -22px; right: -10px; }
  .theme-kstati .ks-acover-b { width: 80px; height: 80px; left: -8px; bottom: -18px; border-radius: 20px; }
  .theme-kstati .ks-acover-c { left: 70px; bottom: -14px; width: 76px; height: 38px; }
}
@media (max-width: 820px) {
  .theme-kstati .ks-hdr-top { padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .theme-kstati .ks-bubble-text { font-size: 27px; border-radius: 15px; padding: 4px 13px 7px 12px; border-width: 2.4px; }
  .theme-kstati .ks-bubble-tail { left: 12px; width: 20px; height: 15px; }
  .theme-kstati .ks-search { display: none; }
  .theme-kstati .ks-search-link { display: grid; }
  .theme-kstati .ks-search-link, .theme-kstati .ks-round-btn { width: 46px; height: 46px; }
  .theme-kstati .ks-nav-row { padding-bottom: 14px; gap: 7px; }
  .theme-kstati .ks-chip { height: 40px; font-size: 14.5px; padding: 0 15px 0 12px; }
  .theme-kstati .ks-nav-about { display: none; }
  .theme-kstati .ks-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .theme-kstati .ks-head-note { margin: 0; }
  .theme-kstati .ks-head-note b { min-width: 44px; height: 44px; font-size: 16px; }
  .theme-kstati .listing .list { grid-template-columns: 1fr; gap: 12px; }
  .theme-kstati .list-row, .theme-kstati .listing .list .list-row, .theme-kstati .listing .list .list-row:first-child { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 10px 16px 10px 10px; border-radius: 24px; margin-bottom: 12px; }
  .theme-kstati .listing .list .list-row, .theme-kstati .listing .list .list-row:first-child { margin-bottom: 0; }
  .theme-kstati .listing .list .list-row h2, .theme-kstati .listing .list .list-row:first-child h2 { font-size: 17.5px; line-height: 1.2; letter-spacing: -.015em; margin: 7px 0 0; }
  .theme-kstati .listing .list .list-row:first-child .cover { border-radius: 16px; }
  .theme-kstati .listing .list .list-row { align-items: center; }
  .theme-kstati .listing .list .list-row > div { padding: 0; }
  .theme-kstati .listing .list .list-row .cover { height: auto; min-height: 0; aspect-ratio: 1 / 1 !important; }
  .theme-kstati .list-row p, .theme-kstati .listing .list .list-row p { display: none; }
  .theme-kstati .list-row .cover { border-radius: 16px; aspect-ratio: 1 / 1 !important; }
  .theme-kstati .list-row h2 { font-size: 17.5px; line-height: 1.2; margin: 7px 0 0; }
  .theme-kstati .list-row .meta { font-size: 11.5px; }
  .theme-kstati .page-head { border-radius: 32px; margin-bottom: 24px; }
  .theme-kstati .page-head::before { width: 180px; height: 180px; right: -60px; top: -60px; }
  .theme-kstati .page-head::after { right: 40px; width: 90px; height: 45px; }
  .theme-kstati .search-form input, .theme-kstati .search-form .btn { height: 52px; }
  .theme-kstati .search-form .btn { padding: 0 20px; }
  .theme-kstati .ks-ftr { border-radius: 40px 40px 0 0; padding-top: 52px; }
  .theme-kstati .ks-ftr-in { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .theme-kstati .ks-ftr-brand, .theme-kstati .ks-ftr-in > nav { grid-column: 1 / -1; }
  .theme-kstati .ks-ftr-net .ks-ftr-list { grid-template-columns: 1fr; }
  .theme-kstati .ks-ftr { padding-bottom: 110px; }
  .theme-kstati .ks-ftr-sky { height: 90px; }
  .theme-kstati .ks-ftr-sky .s1 { left: -30px; width: 150px; height: 75px; bottom: -10px; }
  .theme-kstati .ks-ftr-sky .s2 { left: 100px; width: 46px; height: 46px; border-radius: 11px; }
  .theme-kstati .ks-ftr-sky .s3 { left: 38%; width: 76px; height: 66px; bottom: -8px; }
  .theme-kstati .ks-ftr-sky .s4, .theme-kstati .ks-ftr-sky .s5, .theme-kstati .ks-ftr-sky .s6 { display: none; }
  .theme-kstati .ks-ftr-sky .s7 { right: -40px; width: 170px; height: 85px; bottom: -14px; }
  .theme-kstati .ks-ftr-sky .s8 { right: 140px; width: 30px; bottom: 22px; }
  .theme-kstati .ks-ftr-bottom { flex-direction: column; margin-top: 40px; }
}
@media (max-width: 600px) {
  .theme-kstati .ks-sec { padding-top: 52px; }
  .theme-kstati .ks-hero { padding-top: 14px; }
  .theme-kstati .ks-fact { padding: 24px 22px 30px; border-radius: 32px; }
  .theme-kstati .ks-stretch::after { border-radius: 32px; }
  .theme-kstati .ks-fact-visual { width: 76%; margin-bottom: 30px; }
  .theme-kstati .ks-fact-ring, .theme-kstati .ks-fact-half { display: none; }
  .theme-kstati .ks-lens { border-width: 11px; }
  .theme-kstati .ks-lens-handle { width: 36px; height: 120px; left: calc(85.4% - 18px); border-radius: 18px; }
  .theme-kstati .ks-lens-handle::before { left: -5px; right: -5px; height: 24px; border-radius: 8px; }
  .theme-kstati .ks-fact-top { margin-bottom: 20px; }
  .theme-kstati .ks-fact-title { font-size: clamp(28px, 8.2vw, 36px); line-height: 1.04; }
  .theme-kstati .ks-fact-lead { font-size: 16.5px; margin-top: 16px; }
  .theme-kstati .ks-fact-foot { margin-top: 24px; }
  .theme-kstati .ks-fact-btn { height: 54px; font-size: 16px; padding-left: 22px; }
  .theme-kstati .ks-fact-btn-ico { width: 40px; height: 40px; }
  .theme-kstati .ks-head h2 { font-size: clamp(36px, 10.5vw, 44px); }
  .theme-kstati .ks-know {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gap)); padding: 4px var(--gap) 12px; scroll-padding-inline: var(--gap);
  }
  .theme-kstati .ks-know::-webkit-scrollbar { display: none; }
  .theme-kstati .ks-kcard, .theme-kstati .ks-kcard.is-wide { flex: 0 0 84%; scroll-snap-align: start; gap: 16px; padding: 10px 10px 20px; border-radius: 28px; }
  .theme-kstati .ks-kcard:hover, .theme-kstati .ks-kcard:nth-child(even):hover { transform: none; box-shadow: none; }
  .theme-kstati .ks-kcard.is-wide p { display: none; }
  .theme-kstati .ks-kcard.is-wide { flex-direction: column; padding: 10px 10px 20px; }
  .theme-kstati .ks-kcard.is-wide .ks-kcard-media { flex: none; }
  .theme-kstati .ks-kcard.is-wide .cover { height: auto; }
  .theme-kstati .ks-kcard.is-wide .ks-badge { margin-top: -34px; }
  .theme-kstati .ks-kcard.is-wide .ks-meta { margin-top: auto; }
  .theme-kstati .ks-kcard.is-wide .cover { aspect-ratio: 16 / 10; }
  .theme-kstati .ks-kcard.is-wide .ks-kcard-body { padding: 0 12px; }
  .theme-kstati .ks-kcard.is-wide h3 { font-size: 23px; }
  .theme-kstati .ks-kcard h3 { font-size: 21px; }
  .theme-kstati .ks-top { padding: 34px 20px 18px; border-radius: 34px; }
  .theme-kstati .ks-top-head h2 { flex-direction: column; align-items: flex-start; gap: 16px; font-size: clamp(32px, 9.4vw, 40px); }
  .theme-kstati .ks-top-num { font-size: 1.2em; }
  .theme-kstati .ks-top-head p { font-size: 15px; margin-top: 14px; }
  .theme-kstati .ks-top-art .a { width: 170px; height: 170px; right: -60px; top: -60px; }
  .theme-kstati .ks-top-art .b { right: 120px; top: 34px; width: 26px; height: 26px; }
  .theme-kstati .ks-top-art .c { display: none; }
  .theme-kstati .ks-top-list a { grid-template-columns: 50px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
  .theme-kstati .ks-num { width: 50px; height: 50px; font-size: 19px; }
  .theme-kstati .ks-top-list h3 { font-size: 17px; }
  .theme-kstati .ks-talk { grid-template-columns: 1fr; gap: 26px; }
  .theme-kstati .ks-talk > :nth-child(3) { display: flex; }
  .theme-kstati .ks-say-bubble { min-height: 0; padding: 22px 22px 26px; }
  .theme-kstati .ks-say h3 { font-size: 21px; }
  .theme-kstati .ks-say-foot { padding-left: 76px; font-size: 13px; }
  .theme-kstati .ks-shelf { padding: 22px 16px 10px; border-radius: 32px; }
  .theme-kstati .ks-shelf-head { margin-bottom: 18px; padding: 0 4px; }
  .theme-kstati .ks-shape { width: 22px; height: 22px; }
  .theme-kstati .ks-shelf-lead { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding: 8px; border-radius: 24px; align-items: center; }
  .theme-kstati .ks-shelf-lead .cover { aspect-ratio: 1 / 1 !important; border-radius: 17px; }
  .theme-kstati .ks-shelf-lead-txt { padding: 4px 6px 4px 0; gap: 8px; }
  .theme-kstati .ks-shelf-lead h3 { font-size: 16.5px; line-height: 1.2; }
  .theme-kstati .ks-shelf-lead .ks-meta { font-size: 12px; gap: 6px; }
  .theme-kstati .ks-shelf-list li:nth-child(n+3) { display: none; }
  .theme-kstati .ks-shelf-list a { flex-direction: column; gap: 6px; padding: 14px 6px; }
  .theme-kstati .ks-shelf-list h3 { font-size: 16px; }
  .theme-kstati .ks-cloud { padding: 34px 18px 38px; border-radius: 32px; }
  .theme-kstati .ks-cchip { padding: 12px 18px 12px 14px; font-size: 18px; }
  .theme-kstati .ks-tchip { font-size: 13px; padding: 9px 12px; }
  .theme-kstati .ks-cta { padding: 34px 24px 30px; border-radius: 32px; }
  .theme-kstati .ks-cta-comma { width: 104px; right: 16px; top: -30px; }
  .theme-kstati .ks-ahead { padding-top: 18px; }
  .theme-kstati .ks-ahead h1 { font-size: clamp(31px, 8.6vw, 40px); line-height: 1.06; }
  .theme-kstati .ks-squiggle { width: 170px; height: 17px; margin: 22px 0 32px; }
  .theme-kstati .ks-brief { padding: 30px 22px 24px; border-radius: 24px; }
  .theme-kstati .ks-brief-label { left: 18px; }
  .theme-kstati .ks-byline { align-items: flex-start; flex-direction: column; }
  .theme-kstati .ks-acover { margin-top: 30px; }
  .theme-kstati .ks-acover .ks-acover-img { border-radius: 26px; aspect-ratio: 4 / 3 !important; }
  .theme-kstati .prose > blockquote { padding: 70px 22px 24px; border-radius: 24px; }
  .theme-kstati .prose > blockquote::before { left: 22px; top: 20px; width: 26px; height: 40px; }
  .theme-kstati .prose ul > li { padding-left: 30px; }
  .theme-kstati .prose ul > li::before { left: 3px; }
  .theme-kstati .inline-cta { padding: 24px 22px; }
  .theme-kstati .c-form { padding: 14px; border-radius: 24px; }
  .theme-kstati .related-grid { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-kstati *, .theme-kstati *::before, .theme-kstati *::after { transition-duration: .01ms !important; animation: none !important; }
  .theme-kstati .ks-kcard:hover, .theme-kstati .ks-say:hover .ks-say-bubble, .theme-kstati .list-row:hover, .theme-kstati .related-card:hover,
  .theme-kstati .ks-shelf-lead:hover, .theme-kstati .ks-cchip:hover, .theme-kstati .ks-tchip:hover, .theme-kstati .ks-chip:hover { transform: none; }
}
