/* Блок «Возможно, вам будет интересно» (перекрёстные ссылки внутри группы). Генерирует deploy/build.py */
.xs { padding-block: clamp(56px, 7vw, 120px); }
.xs-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 2.6vw, 44px); }
.xs-kicker { font: 600 12px/1 var(--body, sans-serif); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.xs-title { font-family: var(--body, sans-serif); font-weight: 700; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.1; margin: 0; }
.xs-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 28px); }
.xs-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.xs-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.xs-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.xs-img.xs-plaster { background: radial-gradient(120% 90% at 20% 15%, #efe6d8 0%, #d9ccb8 45%, #bcae98 100%); }
.xs-img.xs-plaster::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,.25) 0 2px, transparent 2px 7px), repeating-linear-gradient(115deg, rgba(0,0,0,.04) 0 3px, transparent 3px 11px); }
.xs-tag { position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 999px; font: 600 11px/1 var(--body, sans-serif); letter-spacing: .08em; text-transform: uppercase; }
.xs-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.xs-name { font: 700 clamp(18px, 1.3vw, 22px)/1.2 var(--body, sans-serif); }
.xs-text { font-size: 15px; line-height: 1.5; flex: 1; }
.xs-more { margin-top: 6px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.xs-more b { font-weight: 400; transition: transform .3s ease; }
.xs-card:hover { transform: translateY(-4px); }
.xs-card:hover .xs-img img { transform: scale(1.05); }
.xs-card:hover .xs-more b { transform: translateX(5px); }
/* тёмные сайты */
.xs-dark .xs-kicker { color: var(--neon, #ffb35c); }
.xs-dark .xs-title { color: #fff; }
.xs-dark .xs-card { background: rgba(255,255,255,.035); border: 1px solid rgba(255,233,201,.16); }
.xs-dark .xs-card:hover { border-color: rgba(255,233,201,.5); box-shadow: 0 0 30px rgba(255,170,80,.16), 0 20px 50px rgba(0,0,0,.4); }
.xs-dark .xs-tag { background: rgba(8,10,16,.72); color: #ffe9c9; border: 1px solid rgba(255,233,201,.3); }
.xs-dark .xs-name { color: #fff; }
.xs-dark .xs-text { color: #a9a49b; }
.xs-dark .xs-more { color: #ffe9c9; }
/* светлые сайты */
.xs-light .xs-kicker { color: var(--accent, #b4551f); }
.xs-light .xs-title { color: var(--ink, #14171b); }
.xs-light .xs-card { background: var(--paper, #fff); border: 1px solid var(--line, #e3ddd2); box-shadow: 0 1px 2px rgba(20,23,27,.04), 0 14px 40px -18px rgba(20,23,27,.18); }
.xs-light .xs-card:hover { box-shadow: 0 2px 4px rgba(20,23,27,.05), 0 24px 54px -18px rgba(20,23,27,.28); }
.xs-light .xs-tag { background: rgba(255,255,255,.92); color: var(--ink, #14171b); }
.xs-light .xs-name { color: var(--ink, #14171b); }
.xs-light .xs-text { color: var(--muted, #6b6f74); }
.xs-light .xs-more { color: var(--accent, #b4551f); }
@media (max-width: 900px) { .xs-grid { grid-template-columns: 1fr; } .xs-card { flex-direction: row; } .xs-img { aspect-ratio: auto; width: 38%; flex: none; min-height: 150px; }
  .xs-body { padding: 16px; gap: 6px; } .xs-text { font-size: 14px; } .xs-tag { display: none; } }
.xs-g2 { --n: 2; } .xs-g3 { --n: 3; }
