/* INFO SECTION 2026-09-24
   Menu «Инфо»: category hubs (edu / youth / bolnici / postindexes notes)
   + static #info-hub-2026 (КГД). Separate module — do not merge into adaptive tip
   or any *-lock.css. */

.infoh {
  --infoh-ink: #1a2330;
  --infoh-muted: #5c6876;
  --infoh-line: #d5dde6;
  --infoh-bg: #eef2f6;
  --infoh-card: #ffffff;
  --infoh-accent: #1f5f74;
  --infoh-accent-soft: #e4f1f5;
  --infoh-warm: #8a4b2a;
  --infoh-warm-soft: #f6ebe4;
  --infoh-ok: #1f6b4a;
  --infoh-warn: #8a5a12;
  color: var(--infoh-ink);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

#info-hub-2026.infoh {
  animation: infoh-fade 0.5s ease both;
}

@keyframes infoh-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes infoh-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.infoh__hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.05rem;
  border: 1px solid var(--infoh-line);
  background: var(--infoh-bg);
}

.infoh__hero-media {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center 40%;
}

.infoh__hero-body {
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid var(--infoh-line);
  background:
    linear-gradient(125deg, rgba(31, 95, 116, 0.12), rgba(238, 242, 246, 0.96) 52%, #e8edf2);
}

.infoh__hero--edu .infoh__hero-body {
  background:
    linear-gradient(125deg, rgba(31, 107, 74, 0.1), rgba(238, 242, 246, 0.96) 50%, #e8eef0);
}

.infoh__hero--youth .infoh__hero-body {
  background:
    linear-gradient(125deg, rgba(138, 75, 42, 0.12), rgba(238, 242, 246, 0.96) 50%, #efe9e4);
}

.infoh__hero--health .infoh__hero-body {
  background:
    linear-gradient(125deg, rgba(31, 95, 116, 0.1), rgba(238, 242, 246, 0.96) 48%, #e7eef3);
}

.infoh__kicker {
  margin: 0 0 0.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--infoh-accent);
}

.infoh__hero--edu .infoh__kicker { color: var(--infoh-ok); }
.infoh__hero--youth .infoh__kicker { color: var(--infoh-warm); }

.infoh__title {
  margin: 0 0 0.4rem;
  font-size: 1.42rem;
  line-height: 1.2;
  font-weight: 700;
}

.infoh__lead {
  margin: 0;
  max-width: 42rem;
  color: var(--infoh-muted);
  font-size: 0.97rem;
}

.infoh__credit {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--infoh-muted);
}

.infoh__credit a { color: var(--infoh-accent); }

.infoh__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin: 0 0 1.05rem;
  padding: 0;
  list-style: none;
  animation: infoh-rise 0.55s ease 0.05s both;
}

.infoh__nav a {
  display: inline-block;
  padding: 0.32rem 0.65rem;
  border: 1px solid var(--infoh-line);
  background: var(--infoh-card);
  color: var(--infoh-accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.infoh__nav a:hover,
.infoh__nav a.is-active {
  background: var(--infoh-accent-soft);
  border-color: #b7d0d8;
}

.infoh__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  animation: infoh-rise 0.55s ease 0.1s both;
}

.infoh__card {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--infoh-line);
  background: var(--infoh-card);
}

.infoh__card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.infoh__card p {
  margin: 0 0 0.45rem;
  color: var(--infoh-muted);
  font-size: 0.92rem;
}

.infoh__card p:last-child { margin-bottom: 0; }

.infoh__tel {
  display: inline-block;
  margin: 0.1rem 0.35rem 0.1rem 0;
  padding: 0.15rem 0.45rem;
  background: var(--infoh-accent-soft);
  color: var(--infoh-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
}

.infoh__tel:hover { background: #d5e9ef; }

.infoh__meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--infoh-muted);
}

.infoh__section {
  margin: 0 0 1.15rem;
}

.infoh__section > h2 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  border-bottom: 1px solid var(--infoh-line);
  padding-bottom: 0.35rem;
}

.infoh__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.infoh__linkcard {
  display: block;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--infoh-line);
  background: var(--infoh-card);
  text-decoration: none;
  color: inherit;
}

.infoh__linkcard:hover {
  border-color: #b7d0d8;
  background: var(--infoh-accent-soft);
}

.infoh__linkcard strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--infoh-accent);
  font-size: 1rem;
}

.infoh__linkcard span {
  color: var(--infoh-muted);
  font-size: 0.88rem;
}

.infoh__note {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--infoh-line);
  border-left: 3px solid var(--infoh-warn);
  background: #fff8ee;
  font-size: 0.92rem;
}

.infoh__note strong { color: var(--infoh-warn); }

.infoh__facts {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--infoh-line);
  background: var(--infoh-card);
}

.infoh__facts dt {
  margin: 0.45rem 0 0.1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.infoh__facts dt:first-child { margin-top: 0; }

.infoh__facts dd {
  margin: 0;
  color: var(--infoh-muted);
  font-size: 0.92rem;
}

/* Category archive notes with hero */
.archive-note.info-cat-2026 {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--infoh-line);
  background: var(--infoh-card);
  color: var(--infoh-ink);
  font-size: 0.95rem;
  line-height: 1.5;
  animation: infoh-fade 0.45s ease both;
}

.archive-note.info-cat-2026 .info-cat__media {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  object-position: center 40%;
}

.archive-note.info-cat-2026 .info-cat__body {
  padding: 0.85rem 1rem 1rem;
  background:
    linear-gradient(120deg, rgba(31, 95, 116, 0.08), #f4f7fa 55%);
}

.archive-note.info-cat-2026 strong {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--infoh-ink);
}

.archive-note.info-cat-2026 .info-cat__credit {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
  color: var(--infoh-muted);
}

.archive-note.info-cat-2026 .info-cat__credit a {
  color: var(--infoh-accent);
}

.archive-note.info-cat-2026 .edu-subnav,
.archive-note.info-cat-2026 .youth-subnav,
.archive-note.info-cat-2026 .bolnici-subnav,
.archive-note.info-cat-2026 .postix-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin: 0.65rem 0 0;
}

.archive-note.info-cat-2026 .edu-subnav a,
.archive-note.info-cat-2026 .youth-subnav a,
.archive-note.info-cat-2026 .bolnici-subnav a,
.archive-note.info-cat-2026 .postix-subnav a {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--infoh-line);
  background: #fff;
  color: var(--infoh-accent);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.archive-note.info-cat-2026 .edu-subnav a:hover,
.archive-note.info-cat-2026 .youth-subnav a:hover,
.archive-note.info-cat-2026 .bolnici-subnav a:hover,
.archive-note.info-cat-2026 .postix-subnav a:hover,
.archive-note.info-cat-2026 a.is-active {
  background: var(--infoh-accent-soft);
  border-color: #b7d0d8;
}

/* Listing readability bump for Info archive cats (raise-only) */
.mid_col:has(#archive-note-edu-2026) article.shortstory > a,
.mid_col:has(#archive-note-youth-2026) article.shortstory > a,
.mid_col:has(#archive-note-bolnici-2026) article.shortstory > a,
.mid_col:has(#archive-note-postindexes-2026) article.shortstory > a {
  gap: 0.75rem;
}

.mid_col:has(#archive-note-edu-2026) article.shortstory .post_img,
.mid_col:has(#archive-note-youth-2026) article.shortstory .post_img,
.mid_col:has(#archive-note-postindexes-2026) article.shortstory .post_img {
  width: 120px;
  min-height: 90px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 720px) {
  .infoh__grid,
  .infoh__links {
    grid-template-columns: 1fr;
  }
  .infoh__hero-media,
  .archive-note.info-cat-2026 .info-cat__media {
    max-height: 180px;
  }
  .infoh__title { font-size: 1.25rem; }
  .mid_col:has(#archive-note-edu-2026) article.shortstory .post_img,
  .mid_col:has(#archive-note-youth-2026) article.shortstory .post_img,
  .mid_col:has(#archive-note-postindexes-2026) article.shortstory .post_img {
    width: 100%;
    min-height: 150px;
  }
}
