/* Подраздел «Ты не одна: реальные истории» — стили страницы */

.st-formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.st-formats .tag { background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 13px; padding: 5px 12px; }
.st-formats svg { width: 15px; height: 15px; }

.st-hero-text { margin-top: 12px; max-width: 760px; color: var(--ink-2); font-size: 16.5px; }

/* рубрики-фильтры */
.st-rubrics { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-rubric { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; text-align: left; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.st-rubric:hover { border-color: var(--accent-300); transform: translateY(-2px); }
.st-rubric__n { font-family: Georgia, 'Times New Roman', serif; font-size: 16px; color: var(--accent); }
.st-rubric__t { font-family: var(--ff-display); font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.st-rubric__d { font-size: 14px; line-height: 1.45; color: var(--muted); }
.st-rubric.is-active { background: var(--plum); border-color: var(--plum); }
.st-rubric.is-active .st-rubric__t { color: #fff; }
.st-rubric.is-active .st-rubric__d { color: rgba(255,255,255,.75); }
.st-rubric.is-active .st-rubric__n { color: var(--accent-300); }
.st-rubric--all { justify-content: center; background: var(--surface-pink); border-color: transparent; box-shadow: none; }
@media (max-width: 899px) { .st-rubric--all { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
@media (max-width: 420px) { .st-rubric { padding: 14px 12px; } .st-rubric__t { font-size: 14.5px; } .st-rubric__d { font-size: 13px; } }
@media (min-width: 900px) { .st-rubrics { grid-template-columns: repeat(4, minmax(0, 1fr)); } .st-rubric--all { grid-row: span 2; } }

.st-soon { margin-top: 36px; }
.st-soon__head { max-width: 760px; display: grid; gap: 10px; justify-items: start; margin-bottom: 18px; }
.st-soon__head p { color: var(--ink-2); }
.st-count:empty { display: none; }
.st-count { margin-bottom: 12px; }
.st-ph__rub { background: var(--plum); color: #fff; }
.st-empty { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.st-empty[hidden] { display: none; }
.st-empty__t { font-family: var(--ff-display); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.st-grid[hidden] { display: none; }

/* почему истории разные */
.st-why .h2 { max-width: 640px; }
.st-why__grid { display: grid; gap: 18px; margin-top: 22px; }
.st-why__grid p { font-size: 16.5px; line-height: 1.65; margin: 0; }
.st-why__big { font-family: var(--ff-display); font-weight: 600; font-size: clamp(19px, 2.2vw, 23px) !important; line-height: 1.45 !important; color: #fff !important; }
@media (min-width: 900px) { .st-why__grid { grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; } }

.st-intake__lead { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink) !important; }
.st-intake__lead svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.st-topics__lead { margin-top: 10px; color: var(--ink-2); }

/* восемь тем — розовые нумерованные карточки */
.st-topics { list-style: none; margin: 0; padding: 0; gap: 12px; }
.st-topic { background: var(--surface-pink); border-color: transparent; padding: 18px 20px 20px; display: flex; flex-direction: column; }
.st-topic .num-card__n { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 17px; color: var(--accent); margin-bottom: 8px; }
.st-topic p { color: var(--ink); font-weight: 500; font-size: 15.5px; line-height: 1.45; }
@media (min-width: 1100px) { .st-topic { min-height: 132px; } .st-topics { gap: 16px; } }

/* заглушки историй */
.st-ph { display: flex; flex-direction: column; gap: 18px; padding: 26px 26px 24px; }
.st-ph__quote { color: var(--accent-300); }
.st-ph__quote svg { width: 40px; height: 40px; }
.st-ph__lines { display: grid; gap: 9px; }
.st-ph__lines span { height: 9px; border-radius: 99px; background: linear-gradient(90deg, var(--accent-100), #f8eaf2); }
.st-ph__lines span:nth-child(1) { width: 92%; }
.st-ph__lines span:nth-child(2) { width: 80%; }
.st-ph__lines span:nth-child(3) { width: 88%; }
.st-ph__lines span:nth-child(4) { width: 46%; }
.st-ph__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.st-fmt::before { display: none; }
.st-ph p { margin-top: auto; }

/* как поделиться */
.st-share { display: grid; gap: 28px; align-items: start; }
.st-steps { margin-top: 24px; }
.st-steps li { font-size: 16px; line-height: 1.55; }
@media (min-width: 980px) { .st-share { grid-template-columns: 1.1fr .9fr; gap: 48px; } }

.st-intake { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.st-intake__ico { background: #fff; }
.st-intake h3 { font-size: 21px; }
.st-intake p { margin: 0; }
.st-intake__sub { margin-top: 14px; }
.st-intake .dots { font-size: 15px; line-height: 1.55; }
.st-intake .dots b { color: var(--ink); }

/* отступы секций страницы: у .section--tight на десктопе иначе 80–96px */
body[data-page="stories"] .section--tight { padding-block: 32px; }
@media (min-width: 720px) { body[data-page="stories"] .section--tight { padding-block: 56px; } }
.page-end { margin-top: 20px; }
.st-intake__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 18px; }
.st-intake__mail b { font-size: 15px; color: var(--ink); word-break: break-all; }
.st-intake .tag--ok { margin: 4px 0 10px; }
