/* Хабы разделов сайта (T-VT-411, Pages/Content/SiteHub.vue): группы карточек и блок «More on LogiRates» на каркасе
   text2610 (TextPage2610 wide). Токены — пакета (.tp: --ink, --line, --slate, --accent, --card). Префикс hb-.
   Переломы как у text2610: 1180, 980, 560 */
/* Колонка на всю ширину (как .tp-grid--wide в terms2610.css и pricing2610.css; хаб грузит только text2610.css) */
.tp .tp-grid--wide { grid-template-columns: minmax(0, 1fr); }
.tp .hb-group { display: flex; flex-direction: column; gap: 20px; }
.tp .hb-group__title { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.tp .hb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Карточка: заголовок — ссылка, растянутая на всю карточку (::after); вложенные ссылки — поверх неё */
.tp .hb-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--card); transition: transform .2s, box-shadow .2s; scroll-margin-top: 96px; }
.tp .hb-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 44px rgba(60, 30, 0, .12); }
/* Карточка без своей ссылки (перевозчик: только список ссылок) не поднимается при наведении */
.tp .hb-card--static:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line), var(--card); }
.tp .hb-card:has(.hb-card__link:focus-visible) { box-shadow: 0 0 0 3px var(--accent), var(--card); }
.tp .hb-card__logo { align-self: flex-start; height: 26px; width: auto; margin-bottom: 4px; }
.tp .hb-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lr-color-brand-accent-text, #9a6200); }
.tp .hb-card__title { font-size: 21px; line-height: 1.25; font-weight: 800; }
.tp .hb-card__link { text-decoration: none; }
.tp .hb-card__link:focus-visible { outline: none; }
.tp .hb-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tp .hb-card__text { font-size: 16px; line-height: 1.55; color: var(--slate); }
.tp .hb-card__links { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tp .hb-card__links a { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tp .hb-card__links a:hover { text-decoration-thickness: 2px; }
.tp .hb-card__arrow { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-top: auto; border-radius: 18px; background: #f6f6f7; color: var(--ink); transition: background-color .2s, transform .2s; }
.tp .hb-card__text + .hb-card__arrow, .tp .hb-card__links + .hb-card__arrow { margin-top: 12px; }
.tp .hb-card:hover .hb-card__arrow { background: var(--accent); transform: translateX(4px); }

/* Related: ссылки на соседние хабы */
.tp .hb-related { display: flex; flex-direction: column; gap: 16px; }
.tp .hb-related ul { display: flex; flex-wrap: wrap; gap: 10px; }
.tp .hb-related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; background: #f6f6f7; font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .2s; }
.tp .hb-related a:hover { background: #ececf0; }

@media (max-width: 1180px) {
  .tp .hb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .tp .hb-group__title { font-size: 24px; }
  .tp .hb-card { padding: 22px 22px 20px; border-radius: 18px; scroll-margin-top: 72px; }
  .tp .hb-card__title { font-size: 19px; }
  .tp .hb-card__text { font-size: 15px; }
}
@media (max-width: 560px) {
  .tp .hb-cards { grid-template-columns: 1fr; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp .hb-card:hover, .tp .hb-card:hover .hb-card__arrow { transform: none; }
}
