/* Самостоятельный блок: подключается только вместе с landing_links.php. */
.ll { background: var(--night-900); }
.ll-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.ll-list li { min-width: 0; }
.ll-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: var(--panel-border); border-radius: var(--r-media); background: var(--panel-bg); text-decoration: none; transition: border-color 180ms, background 180ms; }
.ll-link img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.ll-copy { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.ll-title { color: var(--gold); font-size: 17px; line-height: 1.4; font-weight: 600; }
.ll-text { color: var(--ice-2); font-size: 13px; line-height: 1.65; }
.ll-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.ll--chips .ll-list { display: flex; flex-wrap: wrap; gap: 12px; }
.ll--chips .ll-link { border-radius: 999px; }
.ll--chips .ll-copy { padding: 14px 22px; }
.ll--chips .ll-title { font-size: 14px; }
/* Подписи доступны скринридеру, ряд ссылок остаётся компактным. */
.ll--chips .ll-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) { .ll-link:hover { border-color: var(--gold); background: rgb(236 201 120 / .06); } }
@media (min-width: 768px) and (max-width: 1023px) { .ll-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ll-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ll-copy { padding: 14px; gap: 8px; }
  .ll-title { font-size: 14px; }
  .ll-text { font-size: 12px; }
  /* пять карточек в две колонки: последняя без пары — на всю ширину, картинка слева, текст справа */
  .ll--cards .ll-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ll--cards .ll-list li:last-child:nth-child(odd) .ll-link { flex-direction: row; align-items: center; }
  .ll--cards .ll-list li:last-child:nth-child(odd) img { width: 42%; flex: none; }
  .ll--chips .ll-list { gap: 10px; }
  .ll--chips .ll-copy { padding: 12px 16px; }
  .ll--chips .ll-title { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ll-link { transition: none; } }
