/* Страницы «О проекте» (/info/) и «Авторам маршрутов» (/info/routes/), 2026-11-16. Каркас tm-tpage из tm-base. */
.tm-info__sec { margin-top: var(--tm-sp-7); }
.tm-info__sec--first { margin-top: var(--tm-sp-4); }
.tm-info__h2 { margin: 0 0 var(--tm-sp-4); font-size: var(--tm-fs-2xl); font-weight: 700; line-height: var(--tm-lh-tight); color: var(--tm-text); }

.tm-info__story { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--tm-sp-6); align-items: start; }
.tm-info__story .tm-prose p { margin: 0 0 1em; }
.tm-info__founder { margin: 0; }
.tm-info__founder img { display: block; width: 100%; height: auto; border-radius: 16px; }
.tm-info__founder figcaption { margin-top: var(--tm-sp-2); font-size: var(--tm-fs-sm); color: var(--tm-text-muted); }
.tm-info__founder a { color: var(--tm-green-text); text-decoration: underline; text-underline-offset: 2px; }

.tm-info__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tm-sp-5); }
.tm-info__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--tm-bg); box-shadow: var(--tm-shadow); }
.tm-info__card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tm-info__card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: var(--tm-sp-3); padding: var(--tm-sp-5); }
.tm-info__card h3 { margin: 0; font-size: var(--tm-fs-xl); font-weight: 700; }
.tm-info__card p { flex: 1; margin: 0; font-size: var(--tm-fs-md); line-height: 1.6; }
.tm-info__card p a { color: var(--tm-green-text); text-decoration: underline; }

.tm-info__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tm-sp-4); margin: 0; padding: 0; list-style: none; }
.tm-info__stats li { display: flex; flex-direction: column; align-items: center; gap: var(--tm-sp-2); margin: 0; padding: var(--tm-sp-5) var(--tm-sp-4); border-radius: 16px; background: var(--tm-bg-soft); text-align: center; }
.tm-info__stats li::before { content: none; }
.tm-info__stats img { width: 72px; height: 72px; }
.tm-info__stats b { font-size: var(--tm-fs-2xl); font-weight: 700; color: var(--tm-green-text); }
.tm-info__stats span { max-width: 240px; font-size: var(--tm-fs-md); color: var(--tm-text-muted); }
.tm-info__stats--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--tm-sp-5); }

.tm-info__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tm-sp-3); }
.tm-info__gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

.tm-info__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tm-sp-4); margin: 0; padding: 0; list-style: none; }
.tm-info__points li { margin: 0; padding: var(--tm-sp-4) var(--tm-sp-5); border-left: 4px solid var(--tm-green); border-radius: 4px 12px 12px 4px; background: var(--tm-bg-soft); }
.tm-info__points li::before { content: none; }
.tm-info__points b { display: block; margin-bottom: var(--tm-sp-1); font-size: var(--tm-fs-lg); }
.tm-info__points span { font-size: var(--tm-fs-md); color: var(--tm-text-muted); }

.tm-info__math { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--tm-sp-6); align-items: center; }
.tm-info__math > img { display: block; width: 100%; height: auto; border-radius: 16px; }

.tm-info__people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--tm-sp-4); margin: 0; padding: 0; list-style: none; }
.tm-info__people li { display: flex; flex-direction: column; align-items: center; gap: var(--tm-sp-2); margin: 0; font-weight: 500; }
.tm-info__people li::before { content: none; }
.tm-info__people img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }

.tm-info__routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tm-sp-5); }
.tm-info__route { display: flex; flex-direction: column; gap: var(--tm-sp-1); color: var(--tm-text); text-decoration: none; }
.tm-info__route img { display: block; width: 100%; height: auto; margin-bottom: var(--tm-sp-2); border-radius: 12px; aspect-ratio: 338 / 237; object-fit: cover; }
.tm-info__route b { font-size: var(--tm-fs-lg); }
.tm-info__route span { font-size: var(--tm-fs-sm); color: var(--tm-text-muted); }
.tm-info__route:hover b { color: var(--tm-green-text); }
.tm-info__more { margin: var(--tm-sp-5) 0 0; text-align: center; }

@media (max-width: 1024px) {
  .tm-info__story { grid-template-columns: minmax(0, 1fr) 280px; }
  .tm-info__people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tm-info__story, .tm-info__cards, .tm-info__math, .tm-info__points, .tm-info__routes { grid-template-columns: minmax(0, 1fr); }
  .tm-info__founder { max-width: 320px; }
  .tm-info__stats { grid-template-columns: minmax(0, 1fr); }
  .tm-info__stats--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-info__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-info__people img { width: 96px; height: 96px; }
  .tm-info__h2 { font-size: var(--tm-fs-xl); }
}
