/*
 * /relocation/ — переезд за границу на криптобалансе (seo-1108, зона aud-1).
 * Только токены r26 (assets/r26.css): тёмная тема — без атрибута, светлая — html[data-theme="light"].
 * Приставка rlc-. Телефон: 899 / 719 / 359 px, без боковой прокрутки на 320. RTL — логические свойства.
 */

.rlc .r-wrap :is(h1, h2) { text-wrap: balance; }
.rlc-top { padding-top: 12px; }
.rlc bdi { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }
.rlc-h2s { font-size: clamp(24px, 1.5vw + 14px, 32px); }
.rlc-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--r-brand-tint); color: var(--r-link);
}

/* ══ Первый экран: куда уходят деньги ═════════════════════════════════════ */
.rlc-hero { grid-template-columns: 1.15fr 0.85fr; }
.rlc-chips { padding-top: 4px; }
.rlc-hero-art { min-width: 0; }
.rlc-map {
  width: 100%; max-width: 370px; box-sizing: border-box; padding: 20px; border-radius: 24px;
  background: var(--r-surface-3); border: 1px solid var(--r-line-2); box-shadow: var(--r-pop-shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.rlc-map-top { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--r-line-3); }
.rlc-map-ico {
  flex: none; width: 44px; height: 44px; border-radius: 99px; display: grid; place-items: center;
  background: var(--r-green-tint); color: var(--r-green);
}
.rlc-map-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rlc-map-tt b { font-size: 16px; font-weight: 800; color: var(--r-text); }
.rlc-map-tt > span { font-size: 12px; color: var(--r-muted); }
.rlc-map-row {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px;
  background: var(--r-fill-2); border: 1px solid var(--r-line);
}
.rlc-map-i {
  flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--r-brand-tint); color: var(--r-link);
}
.rlc-map-i svg { width: 18px; height: 18px; }
.rlc-map-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rlc-map-tx b { font-size: 14px; font-weight: 800; color: var(--r-text); }
.rlc-map-tx span { font-size: 12px; color: var(--r-muted); line-height: 1.35; }
.rlc-map-cur { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.rlc-map-cur bdi {
  height: 26px; padding: 0 9px; border-radius: 8px; display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--r-text-2);
  background: var(--r-fill-3); border: 1px solid var(--r-line-2);
}

/* ══ Короткий ответ ═══════════════════════════════════════════════════════ */
.rlc-ans {
  display: flex; gap: 22px; align-items: flex-start; padding: 30px 32px; border-radius: 28px;
  background: var(--r-brand-tint); border: 1px solid var(--r-line-2);
}
.rlc-ans-ic {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--r-brand); color: #FFFFFF;
}
.rlc-ans-tx { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rlc-ans-p { margin: 0; max-width: 82ch; font-size: 17px; color: var(--r-text); line-height: 1.65; }

/* ══ Таймлайн ═════════════════════════════════════════════════════════════ */
.rlc-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; position: relative; max-width: 940px; }
.rlc-tl::before {
  content: ''; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 23px; width: 2px;
  background: linear-gradient(var(--r-brand-2), var(--r-line-3));
}
.rlc-tl-i { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.rlc-tl-dot {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 99px; display: grid; place-items: center;
  background: var(--r-surface); color: var(--r-link); border: 2px solid var(--r-brand-2);
}
.rlc-tl-card { flex: 1 1 auto; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.rlc-tl-when { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--r-accent); }
.rlc-tl-t { margin: 0; font-size: 20px; font-weight: 800; color: var(--r-text); letter-spacing: -0.01em; }
.rlc-tl-ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rlc-tl-ul li { position: relative; padding-inline-start: 18px; font-size: 15px; color: var(--r-text-2); line-height: 1.6; }
.rlc-tl-ul li::before {
  content: ''; position: absolute; inset-inline-start: 2px; top: 0.66em; width: 6px; height: 6px; border-radius: 99px; background: var(--r-accent);
}

/* ══ Таблица стран ════════════════════════════════════════════════════════ */
.rlc-tbl-wrap {
  overflow-x: auto; border-radius: 24px; border: 1px solid var(--r-line); background: var(--r-surface);
  box-shadow: var(--r-block-shadow); -webkit-overflow-scrolling: touch;
}
.rlc-tbl-wrap:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.rlc-tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.rlc-tbl :is(th, td) { padding: 14px 20px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--r-line); }
.rlc-tbl tbody tr:last-child :is(th, td) { border-bottom: 0; }
.rlc-tbl thead th { font-size: 13px; font-weight: 800; color: var(--r-muted); background: var(--r-fill-1); }
.rlc-tbl tbody th { font-weight: 800; white-space: nowrap; }
.rlc-tbl tbody th a { color: var(--r-link); text-decoration: none; }
.rlc-tbl tbody th a:hover { color: var(--r-link-hover); text-decoration: underline; }
.rlc-td-cur bdi { font-weight: 800; letter-spacing: 0.04em; color: var(--r-text); }
.rlc-ms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rlc-ms li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--r-muted); font-size: 14px; }
.rlc-ms b { color: var(--r-text); font-weight: 800; font-size: 15px; }
.rlc-ms bdi { white-space: normal; }
.rlc-eta {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 99px;
  font-size: 12px; font-weight: 800; color: var(--r-text-2); background: var(--r-fill-3); white-space: nowrap;
}
.rlc-eta--f { color: var(--r-green); background: var(--r-green-tint); }
.rlc-inv { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--r-faint); }
.rlc-inv--y { color: var(--r-green); font-weight: 800; }
.rlc-foot { margin: 14px 0 0; font-size: 13px; color: var(--r-faint); line-height: 1.55; }

/* ══ Схема ════════════════════════════════════════════════════════════════ */
.rlc-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rlc-split-i { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rlc-split-top { display: flex; justify-content: space-between; align-items: center; }
.rlc-split-n { font-size: 13px; font-weight: 800; color: var(--r-accent); letter-spacing: 0.08em; }
.rlc-split-t { margin: 0; font-size: 19px; font-weight: 800; color: var(--r-text); letter-spacing: -0.01em; }
.rlc-split-d { margin: 0; font-size: 14.5px; color: var(--r-muted); line-height: 1.6; }

/* ══ Чего нет ═════════════════════════════════════════════════════════════ */
.rlc-no { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.rlc-no-i { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--r-line-2); min-width: 0; }
.rlc-no-ic { flex: none; color: var(--r-red); margin-top: 2px; }
.rlc-no-i p { margin: 0; font-size: 14.5px; color: var(--r-muted); line-height: 1.55; }
.rlc-no-i b { color: var(--r-text); }

/* ══ Вопросы ══════════════════════════════════════════════════════════════ */
.rlc-qa { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.rlc-qa-i { border-radius: 20px; background: var(--r-surface); border: 1px solid var(--r-line); }
.rlc-qa-i summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-size: 16px; font-weight: 800; color: var(--r-text); line-height: 1.4;
}
.rlc-qa-i summary::-webkit-details-marker { display: none; }
.rlc-qa-i summary:focus-visible { outline: 2px solid var(--r-accent); outline-offset: -2px; border-radius: 20px; }
.rlc-qa-ic {
  flex: none; width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center;
  background: var(--r-fill-3); color: var(--r-text-2); transition: transform .2s ease;
}
.rlc-qa-i[open] .rlc-qa-ic { transform: rotate(45deg); }
.rlc-qa-i p { margin: 0; padding: 0 22px 20px; font-size: 15px; color: var(--r-text-2); line-height: 1.65; max-width: 75ch; }

/* ══ Блог и разделы ═══════════════════════════════════════════════════════ */
.rlc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rlc-link {
  position: relative; padding: 22px 52px 22px 22px; display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: var(--r-text); min-width: 0; transition: border-color .16s ease;
}
[dir="rtl"] .rlc-link { padding: 22px 22px 22px 52px; }
.rlc-link:hover { border-color: var(--r-brand-2); }
.rlc-link b { font-size: 16px; font-weight: 800; line-height: 1.35; }
.rlc-link span { font-size: 14px; color: var(--r-muted); line-height: 1.5; }
.rlc-link .rlc-arr { position: absolute; inset-inline-end: 22px; top: 24px; color: var(--r-link); }
[dir="rtl"] .rlc-arr { transform: scaleX(-1); }
.sx-next.rlc-rel { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }

/* ══ Финальный призыв ═════════════════════════════════════════════════════ */
.rlc-final { padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rlc-final-txt { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 640px; min-width: 0; }
.rlc-final .r-btns { position: relative; flex: none; }

/* ══ Планшет и телефон ════════════════════════════════════════════════════ */
@media (max-width: 899px) {
  .rlc-hero { grid-template-columns: 1fr; }
  .rlc-hero-art { justify-content: flex-start; }
  .rlc-split { grid-template-columns: 1fr; }
  .rlc-no { grid-template-columns: 1fr; }
  .rlc-links { grid-template-columns: 1fr; }
  .rlc-final { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 719px) {
  .rlc-map { max-width: none; }
  .rlc-map.r-float { animation: none; }
  .rlc-ans { flex-direction: column; gap: 14px; padding: 24px 20px; }
  .rlc-ans-p { font-size: 16px; }
  .rlc-tl::before { inset-inline-start: 17px; }
  .rlc-tl-i { gap: 12px; }
  .rlc-tl-dot { width: 36px; height: 36px; }
  .rlc-tl-dot svg { width: 18px; height: 18px; }
  .rlc-tl-card { padding: 18px; }
  .rlc-tl-ul li { font-size: 14.5px; }
  /* Таблица стран — карточками. */
  .rlc-tbl-wrap { overflow: visible; border: 0; background: none; box-shadow: none; }
  .rlc-tbl, .rlc-tbl tbody, .rlc-tbl tr, .rlc-tbl th, .rlc-tbl td { display: block; width: auto; }
  .rlc-tbl thead { display: none; }
  .rlc-tbl tr {
    display: grid; grid-template-columns: 1fr auto; margin-bottom: 10px; border-radius: 20px;
    border: 1px solid var(--r-line); background: var(--r-surface); overflow: hidden;
  }
  .rlc-tbl :is(th, td) { padding: 8px 16px; border-bottom: 0; }
  .rlc-tbl tbody th { padding-top: 14px; font-size: 17px; }
  .rlc-tbl .rlc-td-cur { padding-top: 15px; text-align: end; }
  .rlc-tbl td:nth-child(3), .rlc-tbl .rlc-td-inv { grid-column: 1 / -1; }
  .rlc-tbl .rlc-td-inv { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-bottom: 14px; border-top: 1px solid var(--r-line); padding-top: 10px; margin-top: 4px; }
  .rlc-tbl .rlc-td-inv::before { content: attr(data-t-l); font-size: 13px; font-weight: 800; color: var(--r-text-2); }
  .rlc-final { padding: 28px 20px; }
  .rlc-final .r-btns, .rlc-final .r-btn { align-self: stretch; width: 100%; }
  .rlc .r-hero-txt .r-btns .r-btn { flex: 1 1 100%; }
  .rlc-qa-i summary { padding: 16px 18px; font-size: 15px; }
  .rlc-qa-i p { padding: 0 18px 18px; }
  .rlc-split-i { padding: 20px; }
}
@media (max-width: 359px) {
  .rlc-map { padding: 16px; }
  .rlc-map-row { padding: 9px 10px; }
  .rlc .r-chip { white-space: normal; height: auto; min-height: 34px; padding: 6px 12px; }
}
@media (max-width: 379px) {
  .rlc .r-btn { white-space: normal; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; line-height: 1.25; text-align: center; }
}
