/* btc-obmen: дополнения дизайна (28.10.2026) — страница KYC и новости с обложками. Всё под body.btco-design. */

/* ---------- KYC: каркас ---------- */
body.btco-design.btco-kyc .aside { display: none !important; }
body.btco-design.btco-kyc .inner.grid.premium-3-1 { grid-template-columns: minmax(0, 1fr) !important; }
body.btco-design.btco-kyc .page_wrap { padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.btco-design.btco-kyc .page_wrap .text { max-width: none; }
body.btco-design .btco-kyc-page { display: flex; flex-direction: column; gap: 22px; color: var(--c-text); }
body.btco-design .btco-kyc-page h2, body.btco-design .page_wrap .text .btco-kyc-page h2 { margin: 0 0 10px !important; font: 800 clamp(22px, 2.4vw, 30px)/1.2 var(--font-head); color: #fff; letter-spacing: -.01em; }
body.btco-design .btco-kyc-page h3, body.btco-design .page_wrap .text .btco-kyc-page h3 { margin: 0 0 6px !important; font: 800 17px/1.3 var(--font-head); color: #fff; }
body.btco-design .btco-kyc-page p, body.btco-design .page_wrap .text .btco-kyc-page p { margin: 0; color: #cfd4ea; line-height: 1.6; }
body.btco-design .btco-kyc-sec { padding: 28px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
body.btco-design .btco-kyc-intro { max-width: 760px; margin-bottom: 18px !important; color: var(--c-muted) !important; }

/* первый экран */
body.btco-design .btco-kyc-hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: center; padding: 32px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(124, 108, 246, .2), rgba(255, 255, 255, .03) 60%); border: 1px solid var(--c-border-2);
}
body.btco-design .btco-kyc-hero__lead { font-size: 18px; line-height: 1.6 !important; color: var(--c-text) !important; margin: 10px 0 20px !important; }
body.btco-design .btco-kyc-hero__art { width: 100%; max-width: 340px; height: auto; justify-self: center; animation: btco-bob 5s ease-in-out infinite; }
body.btco-design .btco-kyc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body.btco-design .btco-kyc-fact { padding: 14px; border-radius: 16px; background: rgba(18, 24, 39, .55); border: 1px solid var(--c-border); }
body.btco-design .btco-kyc-fact b { display: block; margin-bottom: 4px; font: 800 16px/1.25 var(--font-head); color: var(--c-gold); }
body.btco-design .btco-kyc-fact span { display: block; color: var(--c-muted); font-size: 13px; line-height: 1.4; }

/* карточки «когда» и «сроки» */
body.btco-design .btco-kyc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.btco-design .btco-kyc-grid--terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.btco-design .btco-kyc-card { position: relative; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid var(--c-border); transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s; }
body.btco-design .btco-kyc-card:hover { transform: translateY(-3px); border-color: var(--c-border-2); }
body.btco-design .btco-kyc-card p { font-size: 14px; }
body.btco-design .btco-kyc-num { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 9px; background: var(--c-gold); color: #1a1407; font: 800 14px var(--font-head); }

/* документы */
body.btco-design .btco-kyc-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.btco-design .btco-kyc-doc { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid var(--c-border); transition: border-color .25s; }
body.btco-design .btco-kyc-doc:hover { border-color: var(--c-border-2); }
body.btco-design .btco-kyc-doc img { width: 56px; height: 56px; flex: none; transition: transform .3s cubic-bezier(.2, .9, .3, 1.4); }
body.btco-design .btco-kyc-doc:hover img { transform: rotate(-6deg) scale(1.05); }
body.btco-design .btco-kyc-doc p { font-size: 14px; }
body.btco-design .btco-kyc-check { margin: 10px 0 0 !important; padding: 0 !important; list-style: none; }
body.btco-design .btco-kyc-check li { position: relative; margin: 0 0 6px !important; padding-left: 24px !important; color: var(--c-text); font-size: 14px; line-height: 1.5; }
body.btco-design .btco-kyc-check li::before {
  content: '' !important; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(61, 220, 151, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233ddc97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat !important;
}

/* шаги */
body.btco-design .btco-kyc-steps { counter-reset: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0 !important; padding: 0 !important; list-style: none; position: relative; }
body.btco-design .btco-kyc-steps::before { content: ''; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: repeating-linear-gradient(90deg, var(--c-border-2) 0 6px, transparent 6px 12px); }
body.btco-design .btco-kyc-steps li { position: relative; margin: 0 !important; padding: 0 !important; }
body.btco-design .btco-kyc-steps li::before { display: none !important; }
body.btco-design .btco-kyc-steps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 14px; background: var(--c-violet); color: #fff; font: 800 18px var(--font-head); }
body.btco-design .btco-kyc-steps li:last-child .btco-kyc-steps__n { background: var(--c-gold); color: #1a1407; }
body.btco-design .btco-kyc-steps p { font-size: 14px; }

/* сроки */
body.btco-design .btco-kyc-terms__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
body.btco-design .btco-kyc-terms__head img { width: 56px; height: 56px; }
body.btco-design .btco-kyc-terms__head h2 { margin: 0 !important; }

/* возврат / AML / данные */
body.btco-design .btco-kyc-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; background: transparent; border: 0; }
body.btco-design .btco-kyc-panel { padding: 22px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
body.btco-design .btco-kyc-panel img { width: 52px; height: 52px; margin-bottom: 10px; }
body.btco-design .btco-kyc-panel h2 { font-size: 21px !important; }
body.btco-design .btco-kyc-panel p { font-size: 14px; }

/* когда обмен невозможен */
body.btco-design .btco-kyc-refuse ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 6px 0 0 !important; padding: 0 !important; list-style: none; }
body.btco-design .btco-kyc-refuse li { position: relative; margin: 0 !important; padding: 10px 12px 10px 40px !important; border-radius: 12px; background: rgba(255, 107, 107, .06); border: 1px solid rgba(255, 107, 107, .2); color: var(--c-text); font-size: 14px; line-height: 1.45; }
body.btco-design .btco-kyc-refuse li::before {
  content: '' !important; position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 107, 107, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%23ff8f8f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat !important;
}

/* вопросы и призыв */
body.btco-design .btco-kyc-page .btco-faq__list { display: grid; gap: 10px; }
body.btco-design .btco-kyc-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; border-radius: var(--r-lg);
  background: #5b4fd6; position: relative; overflow: hidden;
}
body.btco-design .btco-kyc-cta::after { content: ''; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: #6a5cf0; }
body.btco-design .btco-kyc-cta > * { position: relative; z-index: 1; }
body.btco-design .btco-kyc-cta p { color: rgba(255, 255, 255, .88) !important; }
body.btco-design .btco-kyc-cta__btn {
  flex: none; padding: 15px 24px; border-radius: 14px; background: var(--c-gold); color: #1a1407 !important; font: 800 16px var(--font-head);
  text-decoration: none !important; transition: transform .2s;
}
body.btco-design .btco-kyc-cta__btn:hover { transform: translateY(-2px); }

@media (max-width: 991px) {
  body.btco-design .btco-kyc-hero { grid-template-columns: 1fr; }
  body.btco-design .btco-kyc-hero__art { max-width: 240px; order: -1; }
  body.btco-design .btco-kyc-grid, body.btco-design .btco-kyc-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.btco-design .btco-kyc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.btco-design .btco-kyc-steps::before { display: none; }
}
@media (max-width: 640px) {
  body.btco-design .btco-kyc-sec, body.btco-design .btco-kyc-hero { padding: 20px; }
  body.btco-design .btco-kyc-facts, body.btco-design .btco-kyc-grid, body.btco-design .btco-kyc-grid--terms, body.btco-design .btco-kyc-docs,
  body.btco-design .btco-kyc-trio, body.btco-design .btco-kyc-steps, body.btco-design .btco-kyc-refuse ul { grid-template-columns: 1fr; }
  body.btco-design .btco-kyc-doc { flex-direction: column; }
  body.btco-design .btco-kyc-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- новости: обложки ---------- */
body.btco-design .news-block__wrapper { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 0; }
body.btco-design .news-block { padding: 0 !important; overflow: hidden; }
body.btco-design .news-block__left { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; }
body.btco-design .news-block__img { margin: 0 !important; aspect-ratio: 16 / 8; overflow: hidden; background: #1a2238; border-radius: 0 !important; }
body.btco-design .news-block__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
body.btco-design .news-block:hover .news-block__img img { transform: scale(1.04); }
body.btco-design .news-block .news-breadcrumb { display: none; }
body.btco-design .news-block__right { padding: 20px 22px 22px !important; width: auto !important; }
body.btco-design .news-block .text-content p { color: var(--c-muted); font-size: 15px; line-height: 1.55; margin: 0; }
body.btco-design .news-block__more a { color: var(--c-violet-2) !important; font-weight: 700; text-decoration: none !important; }
body.btco-design .many_news_wrap { display: block !important; }
body.btco-design .many_news_wrap > div:not(.pagenavi) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; margin: 0 0 18px !important; }
body.btco-design .many_news_wrap .news-block { display: flex; flex-direction: column; height: auto !important; margin: 0 !important; }
body.btco-design .many_news_wrap .news-block__wrapper { flex: 1; align-content: start; }
body.btco-design .pagenavi_ins { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
body.btco-design .pagenavi_ins > * { display: grid !important; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px !important; background: var(--c-surface) !important; border: 1px solid var(--c-border) !important; color: var(--c-text) !important; text-decoration: none !important; font-weight: 700; transition: border-color .2s; }
body.btco-design .pagenavi_ins > a:hover { border-color: var(--c-violet-2) !important; }
body.btco-design .pagenavi_ins > .current { background: var(--c-violet) !important; border-color: var(--c-violet) !important; color: #fff !important; }
body.btco-design .many_news_wrap .news-block__title a { font-size: 19px !important; line-height: 1.3; }

/* одна новость */
body.btco-design .single_news_wrap .news-block.single { padding: 0 !important; overflow: hidden; border-radius: var(--r-lg) !important; background: var(--c-surface) !important; border: 1px solid var(--c-border) !important; }
body.btco-design .single_news_wrap .news-block__image { aspect-ratio: 16 / 7; overflow: hidden; background: #1a2238; margin: 0 !important; }
body.btco-design .single_news_wrap .news-block__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.btco-design .single_news_wrap .news-block__image img[src=""] { display: none; }
body.btco-design .single_news_wrap .news-block__right { padding: 28px 34px 30px !important; }
body.btco-design .single_news_wrap .text-content { max-width: 74ch; font-size: 16px; line-height: 1.75; }
body.btco-design .single_news_wrap .text-content p, body.btco-design .single_news_wrap .text-content li { color: #cfd4ea; }
body.btco-design .single_news_wrap .text-content h2 { margin: 28px 0 10px !important; font: 800 22px/1.25 var(--font-head); color: #fff; }
body.btco-design .single_news_wrap .text-content ul, body.btco-design .single_news_wrap .text-content ol { margin: 0 0 16px; padding-left: 22px; }
body.btco-design .single_news_wrap .text-content li { margin: 0 0 8px; }
body.btco-design .single_news_wrap .text-content a { color: var(--c-violet-2) !important; }
body.btco-design .single_news_wrap .text-content strong { color: #fff; }
body.btco-design .single_news_wrap .news-breadcrumb { display: none; }
body.btco-design .single_news_wrap .time { display: block; margin-top: 16px; color: var(--c-muted); font-size: 13px; }

@media (max-width: 760px) {
  body.btco-design .many_news_wrap > div:not(.pagenavi) { grid-template-columns: 1fr; }
  body.btco-design .single_news_wrap .news-block__right { padding: 20px !important; }
}

/* хлебные крошки: разделитель «/» вместо точки темы у средних пунктов */
body.btco-design .breadcrumb ul li:not(.first)::before {
  content: '/' !important; position: static !important; display: inline !important; width: auto !important; height: auto !important;
  margin: 0 8px 0 2px; border-radius: 0 !important; background: none !important; color: var(--c-border-2); transform: none !important;
}
body.btco-design .breadcrumb ul li { display: inline-flex; align-items: center; }

/* ---------- 28.10: правки по скринам ---------- */
/* поиск в раскрытом списке: непрозрачное поле на месте заголовка */
body.btco-design .select_js_search { padding: 0 !important; }
body.btco-design .select_js_search input {
  height: 54px !important; padding: 0 14px 0 44px !important; border-radius: 14px !important; border: 1px solid var(--c-violet) !important;
  background-color: #fff !important; background-position: 14px 50% !important; color: var(--c-input-text) !important; font-size: 16px !important;
  box-shadow: 0 0 0 4px rgba(124, 108, 246, .28) !important;
}
body.btco-design .select_js_search input::placeholder { color: #8a90ad; }

/* пагинация */
body.btco-design .pagenavi_ins > .clear { display: none !important; }
body.btco-design .pagenavi_ins > * { width: auto !important; white-space: nowrap; font-size: 14px !important; }
body.btco-design .pagenavi_ins > .next_navi, body.btco-design .pagenavi_ins > .prev_navi { font-size: 16px !important; }
body.btco-design .pagenavi_ins > .last_navi, body.btco-design .pagenavi_ins > .first_navi { padding: 0 16px !important; }

/* «Заявка → Реквизиты → Оплата → BTC»: роадмэп вместо кнопок */
body.btco-design .btco-flow { position: relative; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; margin: 24px 0 0 !important; padding: 0; list-style: none; }
body.btco-design .btco-flow::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; border-radius: 2px; background: rgba(169, 155, 255, .35); }
body.btco-design .btco-flow::after {
  content: ''; position: absolute; top: 6px; left: 12.5%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--c-gold);
  animation: btco-travel 3.6s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes btco-travel { 0% { left: 12.5%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { left: 87.5%; opacity: 0; } }
body.btco-design .btco-flow li, body.btco-design .btco-tile--hero:hover .btco-flow li {
  position: relative; flex: none; margin: 0 !important; padding: 30px 4px 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important;
  text-align: center; color: var(--c-text) !important; font-size: 13px !important; font-weight: 700; transform: none !important;
}
body.btco-design .btco-flow li::before {
  content: ''; position: absolute; left: 50%; top: 0; z-index: 1; width: 20px; height: 20px; margin-left: -10px; box-sizing: border-box;
  border-radius: 50%; border: 2px solid var(--c-violet-2); background: #1b2340; transition: transform .3s cubic-bezier(.2, .9, .3, 1.4);
}
body.btco-design .btco-flow li::after { content: ''; position: absolute; left: 50%; top: 6px; z-index: 2; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--c-violet-2); }
body.btco-design .btco-flow li:last-child { color: var(--c-gold) !important; }
body.btco-design .btco-flow li:last-child::before { border-color: var(--c-gold); background: var(--c-gold); }
body.btco-design .btco-flow li:last-child::after {
  top: 5px; width: 4px; height: 7px; margin-left: -2px; border-radius: 0; background: none; border: solid #1a1407; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
body.btco-design .btco-tile--hero:hover .btco-flow li::before { transform: scale(1.12); }
body.btco-design .btco-tile--hero:hover .btco-flow li:nth-child(2)::before { transition-delay: .06s; }
body.btco-design .btco-tile--hero:hover .btco-flow li:nth-child(3)::before { transition-delay: .12s; }
body.btco-design .btco-tile--hero:hover .btco-flow li:nth-child(4)::before { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { body.btco-design .btco-flow::after { display: none; } }

/* крупные заголовки: запас по высоте строки, чтобы буквы нигде не обрезались */
body.btco-design h1.main-title { line-height: 1.12 !important; padding-bottom: .08em; position: relative; z-index: 1; overflow: visible !important; }
