.article-content {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

.article-content h2 {
  font-size: 26px;
  color: #0056b3;
  margin-top: 40px;
  margin-bottom: 15px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  padding: 0 10px;
  margin-bottom: 10px;
}

.article-content li::before {
  content: none;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
}

.process-list li::before {
  content: "➡️";
}

.advantages-list li::before {
  content: none !important;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.table-wrapper table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

/* Фикс для обычных таблиц на мобильных */
@media (max-width: 640px) {
  .table-wrapper table {
    min-width: 100%;
    font-size: 14px;
  }
  
  .table-wrapper th,
  .table-wrapper td {
    padding: 6px 8px;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere;
  }
  
  /* Убираем фиксированную ширину у таблиц, чтобы они адаптировались */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.table-wrapper th,
.table-wrapper td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  white-space: nowrap;
}

.table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 3px;
}

.article-image {
  text-align: center;
  margin: 30px 0;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.article-image figcaption {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

.article-toc {
  background: #f3f8ff;
  border: 1px solid #d3e7ff;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 25px;
  margin-bottom: 30px;
}
/* TOC: не разрывать пункты и ссылки между колонками */
.article-toc li > a {
  break-inside: avoid-column !important;       /* современное свойство */
  -webkit-column-break-inside: avoid !important; /* Safari/старые WebKit */
  page-break-inside: avoid !important;         /* запасной вариант для печати */
}

/* Чтобы длинные слова переносились внутри колонки, а не «пихали» перенос через колонку */
.article-toc li > a {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.article-toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  color: #0056b3;
  position: relative;
  padding-left: 26px;
}

.article-toc strong::before {
  content: "📌";
  position: absolute;
  left: 0;
  top: 0;
}

.article-toc ul {
  margin: 0;
  padding-left: 18px;
  list-style: none;
}

.article-toc li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-toc li::before {
  content: none !important;
}



.article-toc a:hover {
  background-color: rgba(0, 86, 179, 0.1);
  text-decoration: underline;
}



.article-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  background-color: rgba(0, 86, 179, 0.1); /* чуть темнее фон */
  color: #0056b3;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.article-toc a:hover {
  background-color: rgba(0, 86, 179, 0.2); /* темнее при наведении */
  color: #003a80;
  box-shadow: 0 2px 6px rgba(0, 86, 179, 0.2); /* лёгкая тень при наведении */
}




html {
  scroll-behavior: smooth;
}

.cta-box {
  background-color: #e9f4ff;
  border: 1px solid #1e90ff;
  border-radius: 6px;
  padding: 25px 20px;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-box p,
.cta-box strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #000;
  text-align: center;
}

.cta-button {
  background: linear-gradient(90deg, #007bff, #0056b3) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  opacity: 1 !important;
  padding: 16px 28px !important;
  border-radius: 8px !important;
  font-size: 20px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(0,123,255,0.25) !important;
  /*
   * Centre-align the text content within the CTA button. Without this,
   * multi‑line labels tended to align left when combined with flexbox.
   */
  text-align: center !important;
}

.cta-button:hover {
  background: linear-gradient(90deg, #0056b3, #004080) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 6px 15px rgba(0,123,255,0.35) !important;
}

.article-content a {
  color: #007bff;
  text-decoration: underline;
}

.article-content a:hover {
  color: #0056b3;
}

.tip-box {
  background-color: #f9f9f9;
  border-left: 4px solid #4caf50;
  padding: 12px 16px;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.6;
  border-radius: 4px;
}

.tip-box strong {
  font-weight: bold;
  margin-right: 4px;
}

.date-wrapper .date-item,
.date-wrapper .reading-time {
  color: #666;
  opacity: 0.8;
}

.faq-item {
  margin-bottom: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  background: #f9f9f9;
  transition: background 0.3s, border-color 0.3s;
}

.faq-item summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  background: #f0f7ff;
  border-color: #aac8f0;
}

.faq-item p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.navigation nav.breadcrumbs {
  display: inline-block;
  background: #e9f4ff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.6em;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.15);
}

.navigation nav.breadcrumbs a {
  position: relative;
}

.navigation nav.breadcrumbs a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.navigation nav.breadcrumbs span:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  color: #0056b3;
  font-weight: bold;
}

.navigation nav.breadcrumbs span:last-child {
  color: #333;
  font-weight: 500;
}



.trustpilot-box {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 25px 0;
  padding: 8px 14px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
}

.trustpilot-box:hover {
  background: #f1f3f5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.trustpilot-box img {
  height: 22px;
  margin-right: 8px;
  flex-shrink: 0;
}

.trustpilot-box a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 15px;
  flex-wrap: wrap;
}

.trustpilot-box a:hover {
  color: #007600;
}

.trustpilot-box .trustpilot-score {
  color: #007600;
  font-weight: 700;
  margin-right: 6px;
}

.trustpilot-box .trustpilot-votes {
  color: #666;
  font-weight: normal;
  font-size: 14px;
  white-space: nowrap;
}

.checklist-box {
  background: #f0f9ff;
  border: 1px solid #cce7ff;
  border-radius: 6px;
  padding: 15px 20px;
  margin: 25px 0;
}

.checklist-box p {
  font-weight: 700;
  margin: 0 0 10px 0;
  font-size: 16px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 16px;
  text-align: left;
  word-break: break-word;
}

.checklist li::before {
  /*
   * Use a bolder, more vibrant checkmark for checklist items. The previous
   * checkmark symbol (\2713) appeared thin and less visible, which users
   * described as "not juicy enough". Replace it with the heavier tick
   * character (\2714) and increase its size. Apply a bright green colour
   * to match the style seen in the reference file "лучшие пропы.txt".
   */
  content: "\2714";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 22px;
  color: #28a745;
}

.article-toc li ul {
  column-count: 1;
}

.cta-upgraded {
  background: linear-gradient(135deg, #e6f3ff 0%, #ffffff 100%);
  border: 1px solid #1e90ff;
  border-radius: 10px;
  padding: 25px 20px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-title {
  font-size: 22px;
  font-weight: 800;
  color: #004080;
  margin: 0 0 10px 0;
}

.cta-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin: 0 0 18px 0;
}

.cta-button-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-arrow {
  font-size: 24px !important;
  transition: transform 0.3s ease !important;
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px) !important;
}

.requirements-list {
  margin-top: 12px !important;
}

.requirements-list li {
  all: unset;
  display: block !important;
  position: relative !important;
  margin: 0 0 16px 0 !important;
  padding-left: 56px !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: break-word !important;
  font-style: italic !important;
}

.requirements-list li::before {
  all: unset;
  content: attr(data-icon) !important;
  position: absolute !important;
  left: 24px !important;
  top: 0.05em !important;
  font-size: 22px !important;
  line-height: 1.6 !important;
  /* Harmonise requirement icons with checklist icons using the same vivid
     green colour. The individual data-icon characters will still be pulled
     from HTML but now share a consistent styling. */
  color: #28a745 !important;
}

.article-toc .checklist li::before,
.article-toc ul li::before {
  content: none !important;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,123,255,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0,123,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,123,255,0); }
}

@media (max-width: 768px) {
  .table-wrapper table {
    min-width: unset;
    width: 100%;
  }

  .table-wrapper th,
  .table-wrapper td {
    white-space: normal;
    font-size: 14px;
    padding: 6px;
  }

}

@media (min-width: 900px) {
  .article-toc ul {
    column-count: 2;
    column-gap: 40px;
  }

}

@media (max-width: 600px) {
  .article-content {
    padding: 0 16px;
    font-size: 18px;
    line-height: 1.3;
    /* Предотвращаем горизонтальное переполнение */
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .article-content h2 {
    font-size: 20px;
    margin-top: 12px;
    margin-bottom: 8px;
  }

  .article-content p {
    margin-bottom: 10px;
  }

  .article-content ul {
    margin-bottom: 12px;
    padding-left: 20px;
  }

  .article-content li {
    margin-bottom: 6px;
  }

  .cta-box {
    padding: 12px 10px;
    margin: 18px 0;
  }

  .cta-box p,
  .cta-box strong {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .cta-button {
    font-size: 17px;
    padding: 14px 20px;
  }

  .tip-box {
    margin: 12px 0;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.3;
  }

  .article-toc {
    padding: 8px 10px;
    margin-top: 20px;
    margin-bottom: 18px;
  }

  .article-toc strong {
    font-size: 16px;
    margin-bottom: 6px;
  }



}

@media (max-width: 480px) {
  .trustpilot-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 10px;
  }

  .trustpilot-box img {
    margin-right: 0;
    margin-bottom: 6px;
    height: 20px;
  }

  .trustpilot-box a {
    font-size: 14px;
    line-height: 1.4;
  }

  .trustpilot-box .trustpilot-score {
    margin-right: 4px;
    font-size: 14px;
  }

  .trustpilot-box .trustpilot-votes {
    font-size: 13px;
  }

}

@media (max-width: 480px) {
  .checklist-box {
    padding: 12px 14px;
  }

  .checklist-box p {
    font-size: 15px;
  }

  .checklist li {
    font-size: 14px;
    padding-left: 24px;
  }

  .checklist li::before {
    font-size: 16px;
  }

}

@media (max-width: 768px) {
  .article-toc {
    background: #f5f9ff;
    border: 1px solid #d0e3ff;
    border-radius: 8px;
    padding: 15px 0;
    margin: 20px 0 30px 0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    box-sizing: border-box;
  }

  .article-toc .toc-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3e7c;
    display: block;
    margin-bottom: 12px;
  }

  .article-toc .toc-main {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px 0;
  }

  .article-toc .toc-main > li {
    flex: 1 1 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  .article-toc li {
    break-inside: avoid;
  }

  .article-toc li a {
    display: block;
    text-decoration: none;
    color: #0056d2;
    transition: color 0.3s ease;
    padding: 4px 18px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .article-toc li a:hover {
    color: #003a99;
    text-decoration: underline;
  }

  .article-toc .toc-sublist {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: -6px !important;
    padding-left: 6px !important;
  }

  .article-toc .toc-sublist li a {
    font-size: 15px;
    padding-left: 0 !important;
  }

}

@media (max-width: 600px) {
  .cta-upgraded {
    position: relative;
    background: linear-gradient(135deg, #d6ebff 0%, #ffffff 100%);
    padding: 14px 12px;
    margin: 18px 0;
    border-left: 5px solid #007bff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    text-align: left;
  }

  .cta-title {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .cta-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .cta-button {
    font-size: 15px !important;
    padding: 10px 14px !important;
    /*
     * Ensure call‑to‑action buttons occupy the full available width and
     * centre their contents. On narrow screens the previous inline‑flex
     * setting caused the label and arrow to float left inside a narrow
     * container, making the text appear off‑centre. Setting display to
     * flex with 100% width, centring via justify‑content, and aligning
     * items vertically fixes the issue.
     */
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .cta-arrow {
    font-size: 18px !important;
  }

}

@media (max-width: 600px) {
  .article-single .article-item {
    padding: 12px;
    margin-top: 20px;
  }

}

@media (max-width: 600px) {
  .checklist li {
    font-size: 15px;
    line-height: 1.6;
    padding-left: 24px;
  }

  .checklist li::before {
    font-size: 16px;
    top: 1px;
  }

}

@media (max-width: 600px) {
  .requirements-list li {
    display: block;
    position: relative;
    padding-left: 26px;
    gap: 0;
    word-break: normal;
    white-space: normal;
  }

  .requirements-list li::before {
    position: absolute;
    left: 0;
    top: 2px;
  }

}

@media (max-width: 600px) {
  .requirements-list {
    margin-top: 14px !important;
  }

  .requirements-list li {
    padding-left: 38px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .requirements-list li::before {
    left: 10px !important;
    font-size: 18px !important;
  }

  .requirements-list li strong {
    display: block !important;
    margin-bottom: 2px !important;
    font-style: normal !important;
  }

}


details.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 12px 18px;
  background-color: #f9f9f9;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

details.faq-item:hover {
  background-color: #f0f8ff;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.1);
}

details.faq-item[open] {
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.15);
}

details.faq-item summary {
  font-weight: 600;
  font-size: 18px;
  color: #0056b3;
  list-style: none;
  position: relative;
  padding-right: 20px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 14px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  color: #888;
}

details.faq-item[open] summary::after {
  transform: rotate(180deg);
}

details.faq-item div {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}



.article-content h3 {
  margin-bottom: 18px; /* вместо 10px */
}




/* Дополнительные стили для статьи о стейблкоинах */

/* Выделенный блок в заключении (импортирован из merged-styles.css) */
.conclusion-highlight {
  background: #e6f0ff;
  border-left: 4px solid #0056b3;
  padding: 16px 20px;
  font-size: 16px;
  margin-top: 20px;
  border-radius: 8px;
}

/* Универсальные отступы для разделов (контейнер контента) */
.content-part {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Секция FAQ: отступы сверху и снизу, чтобы отделить от основного текста */
.faq-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Дополнительный отступ для вложенных пунктов оглавления на десктопе */
.desktop-indent {
  margin-left: 16px;
}




.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  color: #222;
  background-color: #fff;
  border: 1px solid #dbe8ff;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  border: 1px solid #dbe8ff;
  text-align: left;
}

.article-content thead th {
  background-color: #f0f6ff;
  color: #0056b3;
  font-weight: 600;
}

.article-content tbody tr:nth-child(even) {
  background-color: #f9fbff;
}



.article-content table {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.05);
  overflow: hidden;
}




.article-content ul.checklist li.no-icon::before {
  display: none !important;
  content: none !important;
}


.lead-highlight {
  background: #f5faff;
  border-left: 4px solid #1e90ff;
  padding: 18px 22px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,86,179,0.05);
  font-size: 18px;
  line-height: 1.6;
}
.lead-highlight p {
  margin: 0;
}


/* Центрирование и выравнивание колонок SWIFT (3) и Онлайн (5) */
.crypto-cards-table table thead th:nth-child(3),
.crypto-cards-table table tbody td:nth-child(3),
.crypto-cards-table table thead th:nth-child(5),
.crypto-cards-table table tbody td:nth-child(5) {
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

/* Ширины колонок */
.crypto-cards-table table thead th:nth-child(3),
.crypto-cards-table table tbody td:nth-child(3) {
  width: 80px;
}

.crypto-cards-table table thead th:nth-child(5),
.crypto-cards-table table tbody td:nth-child(5) {
  width: 90px;
}

/* Иконки в колонках SWIFT и Онлайн */
.crypto-cards-table table tbody td:nth-child(3),
.crypto-cards-table table tbody td:nth-child(5) {
  font-size: 18px; /* крупнее для лучшей читаемости */
  line-height: 1;
}




/* Кастомная нумерация для process-list */
.article-content ol.process-list {
  counter-reset: process-counter;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.article-content ol.process-list li {
  counter-increment: process-counter;
  position: relative;
  padding-left: 46px; /* Отступ под кружок с номером */
  margin-bottom: 14px;
  line-height: 1.6;
}

.article-content ol.process-list li::before {
  content: counter(process-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #0056b3; /* синий в фирменном стиле */
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}


/* Базовый стиль бейджа */
.badge {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.4;
  vertical-align: middle;
  color: #fff;
  text-transform: uppercase;
}

/* Варианты цветов */
.badge-global {
  background-color: #0056b3; /* синий — глобальный охват */
}

.badge-eea {
  background-color: #28a745; /* зелёный — EEA */
}

.badge-uk {
  background-color: #6f42c1; /* фиолетовый — UK */
}

/* Адаптив для мобильных — чуть крупнее текст */
@media (max-width: 600px) {
  .badge {
    font-size: 11px;
    padding: 2px 6px;
  }
}


/* Общая база для всех боксов */
.note-box,
.info-box,
.warning-box {
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Note-box */
.note-box {
  background-color: #f9f9f9;
  border-left: 4px solid #0056b3;
}
.note-box strong {
  color: #0056b3;
}

/* Info-box */
.info-box {
  background-color: #f9fff9;
  border-left: 4px solid #28a745;
}
.info-box strong {
  color: #28a745;
}

/* Warning-box */
.warning-box {
  background-color: #fff4d6;
  border-left: 4px solid #ffc107;
}
.warning-box strong {
  color: #d48806;
}

/* Секция с метриками и сценариями */
.metrics-section h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.metrics-section h3::before {
  content: attr(data-icon);
  font-size: 20px;
}

.metrics-section p {
  margin-bottom: 14px;
}


/* Metrics-section: ровные иконки и отступы */
.metrics-section h3{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:18px;
  margin-top:24px;
  margin-bottom:12px;
  line-height:1.35;
}
.metrics-section h3::before{
  content:attr(data-icon);
  font-size:20px;
  translate:0 1px;          /* лёгкое выравнивание по базовой линии */
}

/* Чуть компактнее абзацы внутри секции */
.metrics-section p{ margin-bottom:14px; }
@media (max-width:640px){
  .metrics-section h3{ margin-top:20px; margin-bottom:10px; }
  .metrics-section p{ margin-bottom:12px; }
}


/* Security-architecture: иконка из data-icon перед h3 */
.security-architecture h3{
  display:flex;
  align-items:center;
  gap:8px;
  line-height:1.35;
  font-size:18px;
  margin-top:24px;
  margin-bottom:6px;
}

/* Показываем иконку ТОЛЬКО если атрибут задан и не пустой */
.security-architecture h3[data-icon]:not([data-icon=""])::before{
  content:attr(data-icon);
  font-size:20px;
  translate:0 1px; /* ровняем по базовой линии */
}

/* Чуть компактнее на мобилках — как в metrics-section */
@media (max-width:640px){
  .security-architecture h3{
    margin-top:20px;
    margin-bottom:10px;
  }
}


/* Стиль ссылок в оглавлении как псевдокнопок */
.article-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  background-color: rgba(0, 86, 179, 0.05); /* светло-синий фон */
  color: #0056b3;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.article-toc a img {
  flex-shrink: 0;
}

.article-toc a svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  flex-shrink: 0;
}

.article-toc a:hover {
  background-color: rgba(0, 86, 179, 0.15); /* темнее при наведении */
  color: #003a80; /* чуть темнее текст */
}


/* FIX: не добавляем разделитель псевдоэлементом */
.navigation nav.breadcrumbs span:not(:last-child)::after {
  content: none !important;
}

/* Если тема печатает разделители отдельными узлами */
.navigation nav.breadcrumbs .separator,
.navigation nav.breadcrumbs .breadcrumbs__separator {
  display: none !important;
}

/* На всякий случай не показываем пустые элементы */
.navigation nav.breadcrumbs span:empty,
.navigation nav.breadcrumbs a:empty {
  display: none !important;
}



:root { --h1-color: #0056b3; }

/* Единый цвет H1 на обзорах бирж и обычных статьях */
.single-post .title-wrapper .title-item,
.single-articles .title-wrapper .title-item,
.article-content h1,
h1.entry-title,
h1.title-item {
  color: var(--h1-color) !important;
  -webkit-text-fill-color: var(--h1-color) !important; /* Safari */
}

/* Снять градиенты/оверлеи, если применялись в теме */
.single-post .title-wrapper .title-item,
.single-articles .title-wrapper .title-item,
h1.title-item {
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  mix-blend-mode: normal !important;
}

/* Если заголовок — ссылка */
h1 a { color: inherit !important; }

/* Базовый стиль для всех крошек на сайте */
.navigation nav.breadcrumbs,
.breadcrumbs,
.breadcrumb,
.breadcrumbs__list {
  font-size: 16px;
  line-height: 1.4;
}

/* Синие жирные ссылки (как на биржах) */
.navigation nav.breadcrumbs a,
.breadcrumbs a,
.breadcrumb a {
  color: #0056b3;
  font-weight: 700;
  text-decoration: none;
}
.navigation nav.breadcrumbs a:hover,
.breadcrumbs a:hover,
.breadcrumb a:hover {
  text-decoration: underline;
}
.navigation nav.breadcrumbs a:visited,
.breadcrumbs a:visited,
.breadcrumb a:visited {
  color: #0056b3; /* без фиолетового */
}

/* Текущая страница (последняя крошка) — ещё жирнее и чёрная */
.navigation nav.breadcrumbs li:last-child,
.navigation nav.breadcrumbs li:last-child > a,
.navigation nav.breadcrumbs li:last-child > span,
.breadcrumbs li:last-child,
.breadcrumbs li:last-child > a,
.breadcrumbs li:last-child > span,
.breadcrumbs .current,
.breadcrumbs .breadcrumb_last,
.breadcrumbs .current-item {
  color: #111;
  font-weight: 800;
}


/* FIX: H1 на страницах бирж — мобильный вид */
@media (max-width: 768px) {
  .single-post .container .title-wrapper .title-item,
  #single-post .container .title-wrapper .title-item,
  h1.title-item {
    max-width: 100% !important;   /* убираем calc(100% - 472px) */
    width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-wrap: initial !important;
  }

  /* на всякий случай у родителя не даём ограничений */
  .single-post .container .title-wrapper { min-width: 0 !important; }

  /* если рядом есть правая карточка/блок — кладём её ниже */
  .single-wrapper.d-flex { flex-direction: column !important; }
}


/* Компактная сравнительная таблица: разрешить перенос строк и чуть уплотнить */
.table-wrapper.compact-compare th,
.table-wrapper.compact-compare td {
  white-space: normal;         /* переопределяем nowrap из .table-wrapper */
  word-break: break-word;
}

.table-wrapper.compact-compare table {
  table-layout: fixed;         /* равномерное распределение ширины */
}

/* добавлять зазор только к первому абзацу после лида */
.lead-highlight + p { margin-top: 16px; }







/* fix: не даём коллапсировать нижним margin у последнего ребёнка */
.note-box,
.tip-box,
.checklist-box,
.warning-box {
  display: flow-root; /* создаёт BFC и гасит коллапс */
}

/* обнуляем нижний отступ у последнего элемента внутри коробки */
.note-box > *:last-child,
.tip-box > *:last-child,
.warning-box > *:last-child,
.checklist-box > *:last-child {
  margin-bottom: 0;
}

/* заодно уберём стандартные внешние отступы у списков внутри коробок */
.note-box ul,
.note-box ol,
.checklist-box ul,
.checklist-box ol {
  margin-top: 0;
  margin-bottom: 0;
}





.checklist-box{
    padding:16px 18px; border:1px solid #dbe7f5; border-radius:12px;
    background:#f3faff; margin:18px 0;
  }
  .checklist-box p{ margin:0 0 10px; font-weight:700; }

  /* Плюсы — зелёный фон */
  .checklist-box.pros{
    background:#eafaf1;           /* мягко-зелёный */
    border-color:#bfe7cc;
  }
  .checklist-box.pros p{ color:#0f5132; }  /* заголовок темно-зелёный */

  /* Минусы — красный фон */
  .checklist-box.cons{
    background:#ffefef;           /* мягко-красный */
    border-color:#f5b5b5;
  }
  .checklist-box.cons p{ color:#842029; }  /* заголовок темно-бордовый */





/* ===== Карточки профилей ===== */
.card-profile {
  display: flex;
  align-items: flex-start;         /* выравнивание иконки и текста по верхней линии */
  gap: 12px;                        /* отступ между иконкой и текстом */
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #f9fbff;
  border: 1px solid #dbe8ff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.08);
  font-size: 16px;
  line-height: 1.55;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;                  /* вся карточка кликабельная */
}

/* Hover карточки */
.card-profile:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.14);
  background: #f0f6ff;
  border-color: #cfe1ff;
}

.card-profile:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.18);
  background: #eef4ff;
}

/* Иконка слева */
.card-profile .cp-ico {
  flex: 0 0 28px;                   /* фиксированная ячейка под иконку */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  translate: 0 1px;                 /* лёгкое выравнивание по базовой линии */
}

/* Контент справа */
.card-profile .cp-text {
  flex: 1 1 auto;
  line-height: 1.55;
}

/* Ссылки внутри карточек */
.article-content .card-profile a,
.article-content .card-profile strong a {
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  color: #0056b3 !important;
  transition: color .18s ease;
}

.article-content .card-profile a:hover,
.article-content .card-profile a:focus {
  color: #003a80 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}

.article-content .card-profile a:visited {
  color: #0056b3 !important;
}

/* Клик по всей карточке */
.card-profile[data-link]:hover {
  cursor: pointer;
}
.card-profile[data-link]:active {
  transform: translateY(0);
}

/* Мобилки */
@media (max-width: 600px) {
  .card-profile { 
    padding: 12px 14px; 
    margin-bottom: 10px;
    border-radius: 10px;
  }
}

/* Выравнивание фона в первой строке вертикальных таблиц */
.summary-table-block.compact table thead th,
.summary-table-block.compact table thead td {
  background-color: #f9fbff !important;
}

/* Чередование фона для строк вертикальных таблиц */
.summary-table-block.compact table tbody tr:nth-child(even) th,
.summary-table-block.compact table tbody tr:nth-child(even) td {
  background-color: #f4f8ff !important;
}

/* Плавный переход цвета для ячеек */
.summary-table-block.compact table th,
.summary-table-block.compact table td {
  transition: background-color 0.15s ease;
}


/* Рекомендации по выбору кошелька — лёгкий стиль */
#recommendations {
  margin-top: 24px;
}

#recommendations h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

/* Карточки рекомендаций */
#recommendations .checklist-box {
  background: #f9fbff;
  border: 1px solid #dbe8ff;
  border-left: 4px solid #28a745; /* акцентная полоса */
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,86,179,0.06);
  padding: 14px 16px;
  margin: 14px 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

#recommendations .checklist-box:hover {
  box-shadow: 0 4px 10px rgba(0,86,179,0.08);
  transform: translateY(-1px);
}

/* Списки внутри */
#recommendations .checklist.no-icon {
  padding-left: 0;
  margin: 8px 0 0;
}

#recommendations .checklist.no-icon li {
  margin: 6px 0;
  line-height: 1.5;
}
#recommendations .checklist-box {
  border-left: 4px solid #3ec96f; /* мягче, менее кричащий */
}







/* Универсальные карточки для описания типов кошельков */
.wallet-type-card {
  background: #f9fbff;
  border: 1px solid #dbe8ff;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.05);
}

.wallet-type-card h3 {
  margin-top: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-type-card p {
  margin: 10px 0;
}

.wallet-type-card ul {
  margin: 12px 0 0 0;
  padding-left: 20px;
}

.wallet-type-card li {
  margin: 6px 0;
}

/* Мобильная адаптация */
@media (max-width: 640px) {
  .wallet-type-card {
    padding: 14px 16px;
  }
  .wallet-type-card ul {
    padding-left: 18px;
  }
}

/* 2) Тире — аккуратные короткие маркеры */
ul.list-dash { list-style: none; padding-left: 0; }
ul.list-dash li { position: relative; padding-left: 20px; }
ul.list-dash li::before {
  content: "–"; /* en dash */
  position: absolute; left: 0; top: 0;
}

/* Жёлтый блок для итогов */
.conclusion-box {
  background-color: #fff8e5; /* мягкий жёлтый фон */
  border-left: 4px solid #ffc107; /* жёлтая полоса */
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0 0; /* отделение от контента сверху */
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.conclusion-box strong {
  color: #d48806; /* тёплый тёмно-жёлтый */
}

.conclusion-box::before {
  content: "💡";
  font-size: 18px;
  line-height: 1.4;
}




/* Сетка для минусов */
.cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .cons-grid { grid-template-columns: 1fr; }
}

/* Карточка минуса (узкая вариация) */
.cons-card {
  background: #fffefe;
  border: 1px solid #f0dada;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(200,0,0,0.03);
}

/* Заголовок внутри cons-card */
.cons-card h4 {
  margin: 0 0 8px 0;
  display: flex; gap: 8px; align-items: center;
  font-weight: 700;
}

/* Список с тире (совместим с нашим подходом) */
ul.list-dash { list-style: none; padding-left: 0; margin: 10px 0 0 0; }
ul.list-dash li { position: relative; padding-left: 20px; margin: 6px 0; }
ul.list-dash li::before { content: "–"; position: absolute; left: 0; top: 0; }

/* Сворачиваемые подробности */
details.cons-details { margin-top: 8px; }
details.cons-details summary {
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  padding: 6px 0;
}
details.cons-details[open] summary { opacity: 0.9; }






.cons-light {
  background: #fff6f6; /* очень светло-красный */
  border: 1px solid #f5c2c2;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(255,0,0,0.02);
}
.cons-light h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.warning-box {
  background-color: #ffe4a3 !important; /* насыщенный жёлтый фон */
  border-left: 4px solid #ff9800 !important;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.warning-box::before {
  content: "⚠️";
  font-size: 18px;
  line-height: 1.4;
}
.warning-box strong {
  color: #d46b08 !important;
}








.conclusion-box{
  background-color:#fff8e5;
  border-left:4px solid #ffc107;
  border-radius:10px;
  padding:14px 18px;
  margin:20px 0 0;
  font-size:15px;
  line-height:1.6;
  display:flex;
  align-items:flex-start; /* выравниваем по верху первой строки */
  gap:8px;
}

.conclusion-box::before{
  content:"💡";
  font-size:18px;
  line-height:1;   /* убираем лишнюю высоту у иконки */
  flex:0 0 auto;
  margin-top:2px;  /* микро-тюнинг под кап-высоту шрифта */
}

/* главный фикс — убрать внешние отступы у контента внутри бокса */
.conclusion-box > p{
  margin:0;        /* у тебя именно <p> даёт 10px сверху/снизу */
}

/* на всякий случай — если внутри не <p>, а другой элемент */
.conclusion-box > :first-child{ margin-top:0; }
.conclusion-box > :last-child { margin-bottom:0; }

.conclusion-box strong{ color:#d48806; }





/* === Conclusion Box — финальная версия === */
.article-content .conclusion-box{
  background-color:#fff8e5;            /* мягкий жёлтый фон */
  border-left:4px solid #ffc107;       /* жёлтая полоса слева */
  border-radius:12px;
  padding:14px 18px;
  margin:20px 0;
  font-size:15px;
  line-height:1.6;
  color:#222;

  /* ВАЖНО: гасим наследованный justify, чтобы не было огромных пробелов */
  text-align:left;

  /* Иконка и текст в одну линию, красиво выровнять по базовой */
  display:flex;
  align-items:flex-start;
  gap:8px;
}

/* Иконка лампочки слева */
.article-content .conclusion-box::before{
  content:"💡";
  flex:0 0 auto;
  font-size:20px;
  line-height:1;
  translate:0 1px;                     /* лёгкая подстройка по базовой линии */
}

/* Акцент для «Главное:» */
.article-content .conclusion-box strong{
  color:#d48806;
  margin-right:6px;
}

/* Мобилки */
@media (max-width:600px){
  .article-content .conclusion-box{
    padding:12px 14px;
    border-radius:10px;
    font-size:14px;
    line-height:1.5;
  }
  .article-content .conclusion-box::before{ font-size:18px; }
}

/* Хелпер, если нужно склеить «3–6% APY» на одной строке */
.nowrap{ white-space:nowrap; }




/* === Conclusion Box — фикс v2 (без flex/justify) === */
.article-content .conclusion-box{
  background:#fff8e5;
  border-left:4px solid #ffc107;
  border-radius:12px;
  margin:20px 0;
  padding:14px 18px 14px 48px; /* место под иконку слева */
  color:#222;
  font-size:15px;
  line-height:1.6;

  /* Глушим глобальное выравнивание по ширине */
  text-align:left !important;
  text-justify:auto;
  word-spacing:normal;
  letter-spacing:normal;

  /* Возвращаем нормальный поток */
  display:block;
  position:relative;
}
.article-content .conclusion-box::before{
  content:"💡";
  position:absolute;
  left:18px;
  top:14px;
  font-size:20px;
  line-height:1;
}
.article-content .conclusion-box strong{
  color:#d48806;
  display:inline;       /* «Главное:» идёт в строку с текстом */
  margin-right:6px;
}
/* На случай жёстких правил justify в теме */
.article-content .conclusion-box *{
  text-align:left !important;
}

@media (max-width:600px){
  .article-content .conclusion-box{
    padding:12px 14px 12px 44px;
    border-radius:10px;
  }
  .article-content .conclusion-box::before{
    left:14px; top:12px; font-size:18px;
  }
}

/* Хелпер — склеивать короткие фразы на одной строке */
.nowrap{ white-space:nowrap; }





/* --- NOTE & CONCLUSION: оставить только текстовые маркеры (🔸 и т.п.) --- */
.note-box ul,
.conclusion-box ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}

.note-box ul > li,
.conclusion-box ul > li {
  position: static;      /* сброс relative из универсального правила */
  padding-left: 0;       /* убираем поле под псевдо-иконку */
  text-indent: 0;        /* никаких «висячих» отступов */
  overflow: visible;     /* ничего не прячем */
  line-height: 1.55;
  margin: 6px 0;
}

/* убираем любые автоподставленные маркеры */
.note-box ul > li::before,
.conclusion-box ul > li::before,
.note-box ul > li::marker,
.conclusion-box ul > li::marker {
  content: none !important;
  display: none !important;
}





/* ==== Ровное выравнивание галочек в списках ==== */

/* FAQ */
.faq-item ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}
.faq-item li {
  display: flex;
  align-items: flex-start; /* галка прижата к первой строке */
  gap: 8px;
  margin: 6px 0;
  line-height: 1.55;
}
.faq-item li::before {
  content: "✔️";       /* или "✅" если нужна яркая */
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
  translate: 0 .05em;  /* микро-тюнинг вертикали */
}

/* Чеклист */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.55;
}
.checklist li::before {
  content: "\2714";    /* тяжёлая галка (✓), без квадрата-emoji */
  font-size: 20px;
  color: #28a745;
  line-height: 1;
  flex: 0 0 auto;
  translate: 0 .05em;
}
@media (max-width:600px) {
  .checklist li { font-size: 15px; line-height: 1.6; }
  .checklist li::before { font-size: 18px; translate: 0 .06em; }
}

/* Рекомендации */
#recommendations ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}
#recommendations ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0;
  line-height: 1.55;
}
#recommendations ul li::before {
  content: "✔️";
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
  translate: 0 .05em;
}

/* === Единый гутер слева для всех боксов === */
:root{ --box-gutter:48px; }
@media (max-width:600px){
  :root{ --box-gutter:44px; }
}

/* Жёстко задаём левый отступ (перебивает шортхенд padding) */
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box){
  padding: 14px 18px 14px var(--box-gutter) !important;
  position: relative; /* безопасно для ::before-иконок */
}

/* Чистим внутренние отступы элементов по краям,
   чтобы заголовок/последний абзац не «прыгали» */
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box) > :first-child{ margin-top:0; }
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box) > :last-child{  margin-bottom:0; }

/* «Примечание:», «Совет:» и т.п. в строку с текстом */
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box) strong{
  display:inline;
  margin-right:6px;
}



/* === TIP BOX (жёлтый !, не треугольник) === */
.tip-box{
  background:#fffdf0;                 /* очень светло-жёлтый фон */
  border:1px solid #ffe8a3;
  border-left:4px solid #ffd54f;      /* акцентная полоса слева */
  border-radius:12px;
  padding:14px 18px;
  margin:20px 0;
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.6;
  color:#222;
}

.tip-box::before{
  content:"!";                        /* сам знак (без эмодзи) */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:50%;                  /* круглый значок */
  background:#ffd54f;                 /* жёлтый круг */
  color:#7a4e00;                      /* тёмно-жёлтый/коричневый текст */
  font-weight:800;
  font-size:16px;
  line-height:1;                      /* чтобы «!» был по центру */
  margin-top:2px;                     /* лёгкое выравнивание по тексту */
  box-shadow:inset 0 0 0 2px #fff3;   /* тонкое внутреннее кольцо (необяз.) */
}

.tip-box strong{
  color:#d48806;                      /* тёплый акцент под жёлтую гамму */
}

@media (max-width:640px){
  .tip-box{ padding:14px 16px; }
}

/* === STAR LIST — списки с золотой звёздой === */
.star-list{
  list-style:none;
  padding-left:0;
  margin:0;
}
.star-list li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:8px 0;
  line-height:1.55;
  font-size:16px;
}
.star-list li::before{
  content:"⭐";          /* авто-иконка */
  flex:0 0 auto;
  font-size:18px;
  color:#f5a623;        /* мягкое «золото» */
  line-height:1;
  translate:0 .05em;    /* микро-выравнивание по базовой линии */
}

@media (max-width:600px){
  .star-list li{ font-size:15px; }
  .star-list li::before{ font-size:17px; translate:0 .06em; }
}






/* === GLOBAL LIST WRAP FIX =============================================== */
/* Универсальные параметры отступа и размера иконки */
:root{
  --li-left-pad: 28px;
  --li-icon-size: 20px;
  --li-top-offset: .25em;
}

/* 1) Вернуть «обычный» блочный режим для проблемных списков */
.article-content :where(
  .checklist,
  .star-list,
  .faq-item ul,
  #recommendations ul
) li{
  display: block !important;              /* вместо flex */
  position: relative !important;
  padding-left: var(--li-left-pad) !important;
  margin: 10px 0 !important;
  line-height: 1.6 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere;                 /* мягкие переносы длинных слов */
  gap: 0 !important;
}

/* 2) Иконки делаем абсолютными (общее правило) */
.article-content :where(
  .checklist,
  .star-list,
  .faq-item ul,
  #recommendations ul
) li::before{
  position: absolute !important;
  left: 0 !important;
  top: var(--li-top-offset) !important;
  line-height: 1 !important;
}

/* 3) Фоллбэк на случай потери content у чеклиста/звёздного списка */
.article-content .checklist li::before{
  content: "\2714" !important;            /* тяжёлая галка (✓) */
  font-size: var(--li-icon-size) !important;
  color: #28a745 !important;
}
.article-content .star-list li::before{
  content: "⭐" !important;
  font-size: 18px !important;
}

/* 4) Заголовок внутри пункта держим вместе с точкой,
      чтобы не «рвало» на две строки; на мобилке — можно переносить */
.article-content :where(
  .checklist,
  .star-list,
  .faq-item ul,
  #recommendations ul
) li > strong{
  display: inline-block !important;
  margin-right: .35em !important;
  white-space: nowrap;                     /* «Стабильность курса.» в одной строке */
}
@media (max-width: 720px){
  .article-content :where(
    .checklist,
    .star-list,
    .faq-item ul,
    #recommendations ul
  ) li > strong{
    white-space: normal;                   /* разрешаем перенос на узких экранах */
  }
}

/* 5) Дополнительно: списки внутри карточек минусов и «типов кошельков» */
.article-content :where(.cons-card ul, .wallet-type-card ul) li{
  display: block !important;
  position: relative !important;
  padding-left: var(--li-left-pad) !important;
  margin: 8px 0 !important;
  line-height: 1.55 !important;
}
.article-content :where(.cons-card ul, .wallet-type-card ul) li::before{
  position: absolute !important;
  left: 0 !important;
  top: var(--li-top-offset) !important;
  line-height: 1 !important;
}
/* (иконки для этих списков указываются в контенте вручную — правило лишь выравнивает) */
/* ======================================================================= */




/* TIP BOX: глобально заменить «!» на «★» */
.tip-box::before{ content: "★" !important; font-size:15px; color:#7a4e00; }



/* === GLOBAL WRAP FIX for emphasized text in lists & tip-box ============= */
/* 0) Базовые параметры отступа/иконки (если ещё не заданы) */
:root{
  --li-left-pad: 28px;
  --li-top-offset: .25em;
}

/* 1) Единый блочный режим для проблемных списков (без flex) */
.article-content :where(
  .checklist,
  .star-list,
  .faq-item ul,
  #recommendations ul
) li{
  display:block !important;
  position:relative !important;
  padding-left:var(--li-left-pad) !important;
  margin:10px 0 !important;
  line-height:1.6 !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:anywhere;              /* мягкие переносы длинных слов */
  text-align:left !important;          /* на случай наследованного justify */
}

/* 2) Иконки слева — абсолютом (универсально) */
.article-content :where(
  .checklist,
  .star-list,
  .faq-item ul,
  #recommendations ul
) li::before{
  position:absolute !important;
  left:0 !important;
  top: 3px !important;
  line-height:1 !important;
}

/* 3) ЭМФАЗА: не давать strong/em/i становиться «блоками» или nowrap */
.article-content :where(
  .checklist,
  .star-list,
  .faq-item ul,
  #recommendations ul,
  .tip-box
) :where(b,strong,em,i){
  display:inline !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
  hyphens:auto;                        /* если включена рус. расстановка */
}

/* 4) Заголовок внутри пункта — обычный inline + аккуратный зазор */
.article-content :where(
  .checklist,
  .star-list,
  .faq-item ul,
  #recommendations ul
) li > strong{
  display:inline !important;           /* снимаем inline-block из прошлых фиксов */
  margin-right:.35em !important;       /* небольшой отступ после точки/двоеточия */
}

/* 5) Tip-box — полностью без flex + левый текст (под звезду/иконку) */
.article-content .tip-box{
  display:block !important;            /* было flex, из-за этого «рвало» */
  position:relative !important;
  text-align:left !important;
  text-justify:auto !important;
  word-spacing:normal !important;
  letter-spacing:normal !important;
}
/* иконка tip-box мы уже ставим в левом гутере ::before — оставляем как есть */
/* ======================================================================= */



:where(.tip-box,.note-box,.info-box,.warning-box,.conclusion-box).no-icon::before{
  content:none !important;
  display:none !important;
}
/* Если tip-box используется как blockquote с цитатой — без иконки */
blockquote.tip-box::before{
  content:none !important;
  display:none !important;
}


/* Отступ иконки tip-box от текста */
.article-content .tip-box::before{
  margin-right:8px !important;  /* можно 6–10px по вкусу */
}


/* === Единый отступ для иконок слева у боксов === */
:root{ --box-gutter:48px; }
@media (max-width:600px){
  :root{ --box-gutter:44px; }
}

.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box){
  padding:14px 18px 14px var(--box-gutter) !important;
  position:relative;
}

.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box)::before{
  position:absolute;
  left:18px;          /* фиксированное положение иконки слева */
  top:14px;           /* выравнивание по первой строке */
}

/* === UNIVERSAL TYPOGRAPHY FOR INFO BOXES =============================== */
/* Кладём в самый конец файла, чтобы перебить ранние варианты. */

.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box,.checklist-box){
  /* Одинаковый шрифт и межстрочный интервал для всех коробок */
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #222 !important;
  text-align: left !important;        /* гасим возможное justify */
}

/* Параграфы внутри — те же параметры + ровные отступы */
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box,.checklist-box) p{
  font: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
  margin: 0 0 12px 0 !important;
}
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box,.checklist-box) > :last-child{
  margin-bottom: 0 !important;
}

/* Списки внутри коробок — те же кегль/межстрочный */
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box,.checklist-box) li{
  font: inherit !important;
  line-height: inherit !important;
}

/* Мобилки: чуть компактнее, но одинаково для всех */
@media (max-width:600px){
  .article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box,.checklist-box){
    font-size: 18px !important;
    line-height: 1.5 !important;
  }
}
/* FIX: разрешаем тире в списках .list-dash даже внутри боксов */
:where(.note-box,.info-box,.warning-box,.conclusion-box) ul.list-dash > li::before{
  content: "–" !important;
  display: inline-block !important;
  position: absolute; left: 0; top: 0;
}
:where(.note-box,.info-box,.warning-box,.conclusion-box) ul.list-dash > li{
  position: relative; padding-left: 20px;
}



/* === NOTE/INFO/WARNING/TIP: внутри боксов чеклисты без авто-галочек и без flex === */
.article-content :where(.note-box,.info-box,.warning-box,.tip-box) .checklist {
  list-style: none;
  padding-left: 0 !important;
  margin: 0;
}

.article-content :where(.note-box,.info-box,.warning-box,.tip-box) .checklist > li {
  display: block !important;     /* отменяем flex из общих правил */
  position: static !important;
  padding-left: 0 !important;    /* убираем искусственный отступ слева */
  text-indent: 0 !important;
  margin: 6px 0;
  gap: 0 !important;
  align-items: initial !important;
}

.article-content :where(.note-box,.info-box,.warning-box,.tip-box) .checklist > li::before {
  content: none !important;      /* никаких авто-иконок внутри боксов */
  display: none !important;
}

@media (max-width: 767px) {
  .article-content :where(.cons-card ul, .wallet-type-card ul) li{
    padding-left: 0!important;
  }
}


/* === TIP BOX: обычная звезда (без круга) ============================= */
.article-content .tip-box::before{
  content: "★" !important;        /* можно заменить на "⭐" при желании */
  background: none !important;     /* без жёлтого круга */
  border-radius: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  color: #7a5b00 !important;       /* «золотой» оттенок звезды */
}


/* WARNING BOX — стабильный вариант без flex */
.article-content .warning-box{
  display: block !important;
  position: relative !important;
  background: #ffe4a3 !important;
  border-left: 4px solid #ff9800 !important;
  border-radius: 12px !important;
  margin: 20px 0 !important;
  /* место под иконку слева */
  padding: 14px 18px 14px 48px !important;

  /* глушим возможные наследованные выравнивания */
  text-align: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;

  /* на всякий случай — обнуляем «следы» от flex-версии */
  align-items: unset !important;
  gap: 0 !important;
}

.article-content .warning-box::before{
  content: "⚠️";
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 20px;
  line-height: 1;
}

.article-content .warning-box > p{ margin:0; }
.article-content .warning-box > :first-child{ margin-top:0; }
.article-content .warning-box > :last-child{  margin-bottom:0; }
.article-content .warning-box strong{ color:#d46b08 !important; display:inline; margin-right:6px; }




.article-content .conclusion-body{
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}




.article-content .goal-paragraph{
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
  margin: 18px 0;
  color: #444;
}


.article-content .goal-paragraph{
  background: #f9fbff;
  border: 1px solid #dbe8ff;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 16px;
  line-height: 1.6;
}



/* ===== Section Guide Paragraph — мягкое пояснение под заголовком раздела ===== */
.section-guide{
  background:#f9fbff;                 /* мягкий голубой, в тон статье */
  border:1px solid #dbe8ff;           /* та же рамка, что у наших карточек */
  border-left:4px solid #1e90ff;      /* акцентная полоса слева */
  border-radius:10px;
  padding:12px 16px;
  margin:12px 0 20px;
  font-size:16px;
  line-height:1.6;
  color:#222;
  display:flow-root;                  /* гасим коллапс отступов внутри */
}
.section-guide strong{ color:#0056b3; }
.section-guide em{ font-style:italic; }

/* компактнее на мобилках */
@media (max-width:600px){
  .section-guide{
    padding:10px 12px;
    margin:10px 0 16px;
    font-size:14px;
    line-height:1.5;
    border-radius:8px;
    border-left-width:4px;
  }
}

.wallet-type-card .card-intro {
  background: #e6f0ff;         /* более насыщенный голубой фон */
  border: 1px solid #bcd8f7;  
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0 14px 0;
  font-size: 15px;
  line-height: 1.6;
}
/* Все списки внутри карточек — одинаковый отступ */
.wallet-type-card ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}

.wallet-type-card ul li {
  padding-left: 1.8em;   /* фиксируем «гутер» слева */
  text-indent: -1.2em;   /* и выравниваем текст со 2-й строки */
  line-height: 1.55;
}
@media (max-width: 767px) {
  .wallet-type-card ul li {
    text-indent: 0;   /* и выравниваем текст со 2-й строки */
  }

}




/* ==== Legend Box (справочная легенда для таблиц/разделов) ==== */
.legend-box{
  background:#fffdf5;               /* мягкий бежевый фон */
  border:1px solid #ffe8a3;         /* светло‑жёлтая рамка */
  border-left:4px solid #ffb400;    /* акцентная полоса слева */
  border-radius:10px;
  padding:14px 18px 14px 48px;      /* место под иконку ❓ слева */
  margin:20px 0;
  font-size:15px;
  line-height:1.6;
  color:#333;
  position:relative;                /* для ::before */
  text-align:left;
}

/* Иконка вопроса — слева в «гутере», как у остальных боксов */
.legend-box::before{
  content:"❓";
  position:absolute;
  left:18px;
  top:14px;
  font-size:18px;
  line-height:1;
  color:#d46b08;                    /* тёплый акцент */
}

/* Типографика внутри — единые отступы и цветовые акценты */
.legend-box p{
  margin:0 0 12px 0;
}
.legend-box > :last-child{
  margin-bottom:0;
}
.legend-box strong{
  color:#d46b08;
}

/* Компактнее на мобилках */
@media (max-width:600px){
  .legend-box{
    padding:12px 14px 12px 44px;
    font-size:18px;
    line-height:1.5;
    border-radius:8px;
  }
  .legend-box .list-dash{
    margin-left: -22px;
  }
  .legend-box::before{
    left:14px;
    top:12px;
    font-size:18px;
  }
}

/* (Необязательно) Вариант .legend-box.neutral — без цветового акцента */
.legend-box.neutral{
  border-left-color:#dbe8ff;
}
.legend-box.neutral::before,
.legend-box.neutral strong{
  color:#0056b3;
}


.article-content .wallet-type-card {
  margin-top: 24px; /* сверху воздух */
  margin-bottom: 20px;
}








/* Пример (example) */
.article-content .example-box{
  background:#f0f7ff;           /* мягкий синий фон */
  border-left:4px solid #1d7af3;/* акцентная полоса слева */
  border-radius:10px;
  padding:12px 16px;
  margin:14px 0;
  line-height:1.6;
}

.article-content .example-box .example-title{
  font-weight:700;
  display:flex;
  align-items:center;
  margin-bottom:6px;
}

.article-content .example-box .example-title .icon{
  font-size:1.1em;
  margin-right:8px;
}

/* Внутренние абзацы примера без лишних отступов между строками */
.article-content .example-box p{
  margin:0;
}

/* Необязательные варианты — если пригодятся */
.article-content .example-box.success{
  background:#f6ffed;
  border-left-color:#52c41a;
}
.article-content .example-box.warning{
  background:#fff7e6;
  border-left-color:#fa8c16;
}
.article-content .example-box.neutral{
  background:#fafafa;
  border-left-color:#d9d9d9;
}

/*Vlad Fixes V2 start*/
@media (max-width: 767px) {
  /* скролл у таблицы */
  .summary-table-block .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
    overscroll-behavior-x: contain;
  }

  /* таблица шириной по содержимому, чтобы было что скроллить */
  .summary-table-block .table-wrapper table {
    border-collapse: collapse;
    width: max-content;      /* не ужимается до 100% контейнера */
    min-width: 640px;        /* можно подправить под себя */
  }

  /* базовая ширина колонок */
  .summary-table-block .table-wrapper th,
  .summary-table-block .table-wrapper td {
    min-width: 120px;
    white-space: nowrap;     /* чтобы буквы не шли столбиком */
    padding: 10px 12px;
  }

  /* последнюю колонку (Комментарий) позволяем переносить */
  .summary-table-block .table-wrapper td:last-child,
  .summary-table-block .table-wrapper th:last-child {
    min-width: 240px;
    white-space: normal;
  }

  /* по желанию — фиксируем шапку при прокрутке */
  .summary-table-block .table-wrapper thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  /* необязательно — аккуратный горизонтальный скроллбар */
  .summary-table-block .table-wrapper::-webkit-scrollbar { height: 8px; }
  .summary-table-block .table-wrapper::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 4px; }


  .checklist.no-icon{
    padding-left: 0!important;
  }
  .article-content :where( .checklist, .star-list, .faq-item ul, #recommendations ul ) li.no-icon{
    padding-left: 3px!important;
  }

}

/*Vlad Fixes V2 end*/


/* === FIX: выравниваем example-box под общий стандарт боксов === */
:root{ --box-gutter:48px; }       /* уже есть в теме — дублировать не страшно */
@media (max-width:600px){ :root{ --box-gutter:44px; } }

/* 1) Единый гутер/позиционирование иконки слева */
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box,.example-box){
  padding:14px 18px 14px var(--box-gutter) !important;
  position:relative !important;
  display:block !important;       /* на всякий случай, чтобы не было flex */
  text-align:left !important;
}
.article-content :where(.note-box,.tip-box,.info-box,.warning-box,.conclusion-box,.example-box)::before{
  position:absolute !important;
  left:18px !important;
  top:14px !important;
  line-height:1 !important;
}

/* 2) Собственно стиль example-box (фон/рамка/иконка) */
.example-box{
  background:#f5faff;
  border:1px solid #dbe8ff;
  border-left:4px solid #1e90ff;
  border-radius:10px;
  color:#222;
  font-size:15px;
  line-height:1.6;
}
.example-box::before{
  content:"📘";                    /* иконка примера */
  font-size:18px;
}
.example-box strong{
  color:#0056b3;
  margin-right:6px;
}

/* 3) Мобилки — компактнее, но с тем же гутером и позицией иконки */
@media (max-width:600px){
  .article-content :where(.example-box){ padding:12px 14px 12px var(--box-gutter) !important; }
  .article-content :where(.example-box)::before{ left:14px !important; top:12px !important; font-size:18px; }
}






/* === Case Result (итоги внутри кейсов) === */
.case-result {
  background: #f0f6ff;                /* мягкий голубой фон */
  border-left: 4px solid #1e90ff;     /* синяя полоса слева */
  border-radius: 8px;
  padding: 10px 14px 10px 40px;       /* место под иконку */
  margin: 12px 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #222;
  position: relative;
}

/* Иконка ⚡ слева */
.case-result::before {
  content: "⚡";
  position: absolute;
  left: 14px;
  top: 11px;
  font-size: 16px;
  color: #0056b3;
  line-height: 1;
}

/* Акцент на слове «Итого» */
.case-result strong {
  color: #0056b3;
  margin-right: 6px;
}

/* Мобилки — чуть компактнее */
@media (max-width:600px){
  .case-result {
    padding: 8px 12px 8px 36px;
    font-size: 14px;
    line-height: 1.5;
  }
  .case-result::before {
    font-size: 15px;
    top: 10px;
    left: 12px;
  }
}






/* ECON CALENDAR — точечная подстройка базовой линии эмодзи */
#econ-calendar .requirements-list li::before{
  top: 0 !important;
  line-height: 1 !important;
  font-size: 20px !important;     /* оставляем стабильный размер */
  translate: 0 -0.00em !important;/* было -0.08em глобально — опускаем чуть ниже */
}
@supports not (translate: 0){
  #econ-calendar .requirements-list li::before{
    transform: translateY(-0.04em) !important;
  }
}

/* мобильный микро-тюнинг для той же секции */
@media (max-width:600px){
  #econ-calendar .requirements-list li::before{
    font-size: 18px !important;
    translate: 0 -0.03em !important;
  }
}


/* === FIX: ровные тире внутри карточек (.wallet-type-card + .list-dash) === */
.article-content .wallet-type-card ul.list-dash{ 
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.article-content .wallet-type-card ul.list-dash li{
  position: relative !important;
  /* гасим «висячую» разметку из общих правил карточек */
  text-indent: 0 !important;
  padding-left: 24px !important;   /* гутер под тире */
  margin: 8px 0 !important;
  line-height: 1.55 !important;
}

.article-content .wallet-type-card ul.list-dash li::before{
  content: "–" !important;
  position: absolute !important;
  left: 8px !important;            /* тире теперь внутри карточки, не «торчит» */
  top: .55em !important;           /* выравнивание по базовой линии текста */
  font-size: 14px !important;
  line-height: 1 !important;
  color: #666 !important;          /* мягкий серый, чтобы не спорил с текстом */
}




/* === Case Result — выровнять под общий стандарт боксов === */
:root{ --box-gutter:48px; }               /* уже есть выше; дубли безопасны */
@media (max-width:600px){ :root{ --box-gutter:44px; } }

.article-content .case-result{
  background:#f0f6ff;                     /* как было */
  border-left:4px solid #1e90ff;          /* как было */
  border-radius:8px;
  /* было: padding: 10px 14px 10px 40px; */
  padding:10px 14px 10px var(--box-gutter)!important;  /* единый левый гутер */
  margin:12px 0 18px;
  font-size:15px; line-height:1.55; color:#222;
  position:relative; display:block;       /* без flex; как у остальных */
  text-align:left;                         /* глушим возможный justify */
}
.article-content .case-result::before{
  content:"⚡";
  /* было: left:14px; top:11px; font-size:16px; */
  left:18px!important; top:14px!important; /* позиция иконки как у остальных */
  font-size:18px!important; line-height:1;
  position:absolute;
}
@media (max-width:600px){
  .article-content .case-result{
    /* было: padding-left:36px; */
    padding:8px 12px 8px var(--box-gutter)!important;
    font-size:14px; line-height:1.5;
  }
  .article-content .case-result::before{
    left:14px!important; top:12px!important; font-size:18px!important;
  }
}



/* Узкие сводные таблицы — принудительно разрешаем переносы */
.summary-table-block .table-wrapper { overflow-x: auto; }
.summary-table-block .table-wrapper table{
  width:100% !important;
  table-layout:fixed !important;
  min-width:0 !important;
}
.summary-table-block .table-wrapper th,
.summary-table-block .table-wrapper td{
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

/* Дополнительно: если где-то висит общий nowrap для .table-wrapper */
.table-wrapper th, .table-wrapper td { white-space: normal; }


/* Trustpilot остаётся без изменений */
.trustpilot-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* TradingView отдельный класс */
.tradingview-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tradingview-box img {
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}

.tradingview-box .trustpilot-score,
.tradingview-box .trustpilot-votes {
  position: relative;
  top: 2px; /* опускаем цифры чуть ниже для балансировки */
}


/* ==== TradingView box = Trustpilot box (визуально 1в1) ==== */
.tradingview-box{
  display:inline-flex;
  align-items:center;
  margin:10px 0 25px 0;
  padding:8px 14px;
  background:#f8f9fa;
  border:1px solid #ddd;
  border-radius:6px;
  box-shadow:0 1px 3px rgba(0,0,0,0.06);
  transition:background 0.3s ease, box-shadow 0.3s ease;
  max-width:100%;
  gap:0; /* как в trustpilot-box: отступ даёт img margin-right */
}
.tradingview-box:hover{
  background:#f1f3f5;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
}
.tradingview-box img{
  height:22px;
  margin-right:8px;
  flex-shrink:0;
  display:inline-block;
  vertical-align:middle; /* ровная базовая линия с цифрой */
}
/* используем те же классы для текста */
.tradingview-box .trustpilot-score{ color:#007600; font-weight:700; margin-right:6px; }
.tradingview-box .trustpilot-votes{ color:#666; font-weight:normal; font-size:14px; white-space:nowrap; }

/* Адаптив — сделаем как у trustpilot-box */
@media (max-width:480px){
  .tradingview-box{ flex-direction:column; align-items:flex-start; padding:8px 10px; }
  .tradingview-box img{ margin-right:0; margin-bottom:6px; height:20px; }
  .tradingview-box .trustpilot-score{ margin-right:4px; font-size:14px; }
  .tradingview-box .trustpilot-votes{ font-size:13px; }
}




.cons-card.pros {
  background: #eafaf1;           /* мягкий зелёный */
  border-color: #bfe7cc;
}
.cons-card.pros h4 { color: #0f5132; }

.cons-card.cons {
  background: #ffefef;           /* мягкий красный */
  border-color: #f5b5b5;
}
.cons-card.cons h4 { color: #842029; }


.wallet-type-card .cons-grid + .example-box {
  margin-top: 6px !important;   /* минимальный зазор */
  margin-bottom: 0 !important;  /* чтобы низ не «раздувался» */
}


/* Фикс отступов между cons-light блоками */
.article-content .cons-light {
  margin: 20px 0 !important; /* равный зазор сверху и снизу */
  display: flow-root;        /* предотвращает коллапс margin с соседями */
}
/* 1) Вариант с собственной иконкой у блока: читаем её из data-атрибута */
.example-box.no-auto-icon {
  position: relative;                /* опорный контейнер для ::before */
}

/* вместо "content:none" подставляем нашу иконку из data-icon */
.example-box.no-auto-icon::before{
  content: attr(data-icon) !important;
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 18px;
  line-height: 1;
}

/* 2) Чистим вариант со span, если где-то остался — чтобы он не мешал верстке */
.example-box.no-auto-icon .example-title .icon{
  display: none !important;
}

@media (max-width:600px){
  .example-box.no-auto-icon::before{
    left: 14px;
    top: 12px;
  }
}



.tradingview-box img,
.trustpilot-box img {
  height: 22px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}



.tradingview-box,
.trustpilot-box {
  min-height: 40px; /* одинаковая минимальная высота */
}


/* Симметричная правая полоса у блока итога */
.article-content .case-result{
  border-right: 4px solid #1e90ff;
}

/* Мобильные "карточки" для .summary-table-block.compact — чистая версия */
@media (max-width: 768px) {
  .summary-table-block.compact .table-wrapper { 
    overflow: visible; 
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  
  .summary-table-block.compact table,
  .summary-table-block.compact thead,
  .summary-table-block.compact tbody,
  .summary-table-block.compact th,
  .summary-table-block.compact td,
  .summary-table-block.compact tr {
    display: block;
    width: 100%;
    border: none;
    background: none;
  }

  /* Скрыть шапку */
  .summary-table-block.compact thead { 
    display: none; 
  }

  /* Каждая строка = красивая карточка */
  .summary-table-block.compact tbody tr {
    display: block;
    margin: 16px 0;
    padding: 0;
    border: 1px solid #dbe8ff;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,86,179,0.05);
    overflow: hidden;
  }

  /* Внутри карточки — чистые пары "лейбл: значение" */
  .summary-table-block.compact tbody td {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 16px;
    margin: 0;
    border: none;
    border-bottom: 1px solid #f0f6ff;
    white-space: normal;
    background: none;
  }
  
  .summary-table-block.compact tbody td:last-child {
    border-bottom: none;
  }

  /* Лейблы колонок — используем data-label из HTML */
  .summary-table-block.compact tbody td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    color: #0056b3;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .summary-table-block.compact tbody td > * {
    flex: 1 1 58%;
    margin: 0;
  }

  /* Мелкий текст в значениях */
  .summary-table-block.compact tbody td small {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 2px;
  }

  /* Ссылки в карточках */
  .summary-table-block.compact tbody td a {
    color: #0056b3;
    font-weight: 600;
    text-decoration: none;
  }
  
  .summary-table-block.compact tbody td a:hover {
    text-decoration: underline;
  }
}




/* === Trustpilot / TradingView — центр-версия === */
.trustpilot-box.center,
.tradingview-box.center {
  display: block;
  padding: 16px 18px;
  box-sizing: border-box;
  display: flow-root;        /* создаём BFC, чтобы не схлопывались margin'ы */
  text-align: center;        /* центрируем только лого */
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin: 10px 0 25px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.trustpilot-box.center:hover,
.tradingview-box.center:hover {
  background: #f1f3f5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Логотип сверху по центру */
.trustpilot-box.center > img:first-child,
.tradingview-box.center > img:first-child {
  display: block;
  height: 26px;
  margin: 0 auto 12px auto;
}

/* Контент карточки (шапка и списки) всегда влево */
.trustpilot-box.center > div,
.tradingview-box.center > div {
  text-align: left;
  margin: 0 auto;
}

/* Заголовок-«шапка» */
.trustpilot-box .tp-head,
.tradingview-box .tp-head {
  font-weight: 400;
  font-size: 16px;
  color: #222;
  line-height: 1.55;
  margin: 0 0 10px 0;
}

.trustpilot-box .tp-head strong,
.tradingview-box .tp-head strong {
  color: #0056b3;
  font-weight: 600;
}

/* Списки внутри карточек */
.trustpilot-box.center ul,
.tradingview-box.center ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0 0;
}

.trustpilot-box.center li,
.tradingview-box.center li {
  margin: 6px 0;
  line-height: 1.55;
}

/* Адаптив — компактнее на мобилке */
@media (max-width:480px) {
  .trustpilot-box.center,
  .tradingview-box.center {
    padding: 10px 12px;
  }
  .trustpilot-box.center > img:first-child,
  .tradingview-box.center > img:first-child {
    height: 22px;
    margin-bottom: 10px;
  }
}


.trustpilot-box.center,
.tradingview-box.center {
  display: flex;
  flex-direction: column;
  align-items: center;   /* центрируем лого */
  text-align: left;      /* текст внутри блока остаётся влево */
}
.trustpilot-box.center img,
.tradingview-box.center img {
  margin: 0 0 0px 0;
}



/* Убираем лишний воздух между cons-grid и conclusion-highlight */
.wallet-type-card .cons-grid + .conclusion-highlight {
  margin-top: 0px !important;
}




.article-content .conclusion-body .conclusion-highlight {
  margin-bottom: 24px; /* добавляем запас снизу */
}





/* ===== 1) Звёзды рейтинга из числа (0–5, шаг 0.1) ===== */
.stars {
  --rating: 0;           /* задаём инлайн style="--rating:3.9" */
  --size: 14px;
  --color: #ffb400;
  --bg: #e6e6e6;
  display: inline-block;
  font-size: var(--size);
  line-height: 1;
  letter-spacing: 2px;
  vertical-align: -1px;
}
.stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, var(--color) calc(var(--rating)/5*100%), var(--bg) calc(var(--rating)/5*100%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Микроразмеры для таблицы/карточек */
.stars.sm { --size: 12px; letter-spacing: 1.8px; }
.stars.lg { --size: 16px; }

/* ===== 2) Trustpilot / TradingView ряды — выравнивание и отступы ===== */
.ratings-row {
  display: flex;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}
.trustpilot-box,
.tradingview-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fbff;
  border: 1px solid #dbe8ff;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.45;
}
.trustpilot-box img { width: 92px; height: auto; display: block; }
.trustpilot-score { font-weight: 700; }
.trustpilot-votes { color: #666; }

/* Вариант «лого сверху по центру» и фикса избыточного паддинга */
.trustpilot-box.center,
.tradingview-box.center {
  flex-direction: column;
  align-items: center;
  text-align: left;
  padding-bottom: 12px; /* было избыточно — уменьшаем */
}
.trustpilot-box.center img,
.tradingview-box.center img { margin: 0 0 8px 0; }

/* Шапка первого предложения внутри блока отзывов — делаем аккуратнее */
.tp-head, .tv-head {
  font-weight: 600;
  font-size: 16px;
  color: #0056b3;
  margin: 0 0 8px 0;
}
.tp-head strong, .tv-head strong { color: #222; }

/* ===== 3) Компактная таблица — фикс для мобилок ===== */
.summary-table-block.compact .table-wrapper.compact-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.summary-table-block.compact table thead th { white-space: nowrap; }
.summary-table-block.compact table td, 
.summary-table-block.compact table th {
  padding: 10px 12px;
}

/* Горизонтальный скролл без «ломающегося» заголовка */
.table-wrapper.compact-compare { overflow-x: auto; }
.table-wrapper.compact-compare::-webkit-scrollbar { height: 8px; }
.table-wrapper.compact-compare::-webkit-scrollbar-thumb {
  background: #dbe8ff; border-radius: 8px;
}


/* ===== 4) Мелкие акценты ===== */
.section-guide { color: #333; }
.star-list li strong { color: #0056b3; }



/* Фикс для вложенных списков внутри шагов */
.process-list ul,
.process-list ul.list-dash {
  list-style: none;
  counter-reset: none !important;
  margin: 6px 0 10px 0;
  padding-left: 20px;
}

.process-list ul li,
.process-list ul.list-dash li {
  counter-increment: none !important;
  position: relative;
  padding-left: 18px;
  margin: 4px 0;
  font-size: 15px;
  line-height: 1.5;
}

/* убираем синие кружки у вложенных элементов */
.process-list ul li::before,
.process-list ul.list-dash li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0.35em;
  font-size: 14px;
  color: #555;
  background: none;
  border: none;
  width: auto;
  height: auto;
  display: inline;
}






/* Нумерованные кружки — только у верхнего уровня шагов */
.article-content ol.process-list { counter-reset: process-counter; }
.article-content ol.process-list > li {           /* только прямые дети */
  counter-increment: process-counter;
  position: relative;
  padding-left: 46px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.article-content ol.process-list > li::before {   /* только прямые дети */
  content: counter(process-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #0056b3;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

/* Вложенные списки внутри шагов — без кружков, только тире */
.article-content ol.process-list li ul,
.article-content ol.process-list li ul.list-dash {
  list-style: none;
  margin: 6px 0 10px;
  padding-left: 20px;
}
.article-content ol.process-list li ul li,
.article-content ol.process-list li ul.list-dash li {
  position: relative;
  padding-left: 18px !important;
  margin: 4px 0;
  line-height: 1.5;
}

/* Снимаем «овал» и ставим аккуратное тире у подпунктов */
.article-content ol.process-list li li::before {
  content: "–" !important;
  position: absolute;
  left: 0;
  top: .55em;
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  color: #555;
  font-size: 14px;
}





/* ---- Process-list: выравнивание дефисов у вложенных пунктов ---- */
/* Только вложенные li внутри шагов */
.article-content ol.process-list li > ul li::before,
.article-content ol.process-list li > ul.list-dash li::before{
  content: "–" !important;
  position: absolute !important;
  left: 0 !important;

  /* базовое выравнивание по строке текста */
  top: .35em !important;
  line-height: 1 !important;
  font-size: 14px !important;
  color: #555 !important;

  /* гасим «овалы»/фон от нумерации */
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
}

/* Точная подстройка вертикали (современные браузеры) */
@supports (translate: 0) {
  .article-content ol.process-list li > ul li::before,
  .article-content ol.process-list li > ul.list-dash li::before{
    translate: 0 -.04em !important;  /* чуть приподнять дефис */
  }
}
/* Фоллбэк для старых: та же подстройка через transform */
@supports not (translate: 0) {
  .article-content ol.process-list li > ul li::before,
  .article-content ol.process-list li > ul.list-dash li::before{
    transform: translateY(-0.04em) !important;
  }
}

/* На узких экранах межстрочный больше — компенсируем чуть-чуть */
@media (max-width: 720px){
  .article-content ol.process-list li > ul li::before,
  .article-content ol.process-list li > ul.list-dash li::before{
    top: .18em !important;
  }
}


.cons-grid > p {
  display: none;
}




.wallet-type-card h3 img {
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px; /* поднимаем на 2px */
}






/* фикс для заголовков с бейджами, чтобы бейджи шли в одну строку справа */
.h3-with-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;           /* не переносим бейджи вниз */
}

.h3-with-badge h3 {
  margin: 0;
  display: inline-flex !important; /* перебиваем .wallet-type-card h3 {display:flex} */
  flex: 0 0 auto;                  /* заголовок не растягивается на ширину */
  white-space: nowrap;             /* не ломать STFX на 2 строки */
}

.h3-with-badge .badge {
  flex: 0 0 auto;                  /* бейджи не сжимаем и не переносим */
  white-space: nowrap;             /* текст внутри бейджа в одну строку */
  transform: translateY(-3px);     /* приподнимаем бейдж на 2px */
}



/* Контейнер для кнопок в ряд */
.cta-buttons-row {
  display: flex;
  justify-content: center;
  gap: 14px;              /* расстояние между кнопками */
  flex-wrap: wrap;        /* на мобильных — кнопки могут переноситься */
  margin-top: 16px;
}

/* Кнопки внутри ряда */
.cta-buttons-row .cta-button {
  flex: 1 1 auto;         /* кнопки растягиваются равномерно */
  text-align: center;     /* текст по центру */
  max-width: 450px;       /* ограничение, чтобы не были слишком длинные */
}

/* Вариант для внутренних ссылок (Отзывы) */
.cta-buttons-row .cta-button.internal {
  background: #f0f6ff !important;
  color: #0056b3 !important;
  font-weight: 700 !important;
  border: 1px solid #bcd8f7 !important;
  box-shadow: 0 2px 6px rgba(0, 86, 179, 0.1) !important;
}

.cta-buttons-row .cta-button.internal:hover {
  background: #e0f0ff !important;
  color: #003a80 !important;
}

/* Внешняя кнопка остаётся градиентной (наша глобальная .cta-button) */




.tp-quote {
  background: #f9fbff;
  border-left: 4px solid #0056b3;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 20px 0;
  font-style: italic;
  color: #1a3b5d;
}

.tp-quote p {
  margin: 0 0 6px 0;
  line-height: 1.5;
}

.tp-quote cite {
  display: block;
  font-size: 14px;
  color: #555;
  font-style: normal;
}



.badge-local {
  background-color: #ff5722; /* ярко-оранжевый под локальные биржи */
}


.rating-good {
  color: #2e7d32; /* зелёный */
  font-weight: 600;
}
.rating-mid {
  color: #f9a825; /* жёлтый */
  font-weight: 600;
}
.rating-bad {
  color: #c62828; /* красный */
  font-weight: 600;
}


.rating-text{display:block;margin-top:2px;font-size:12px;color:#666;white-space:nowrap}











/* --- Рейтинг (текстовая метка под звёздами) --- */
.rating-text{ font-size: 13px; opacity:.9; margin-left: 6px; white-space: nowrap; }
.rating-text.low{  color:#d9534f; font-weight:600; }   /* Низкий */
.rating-text.mid{  color:#f0ad4e; font-weight:600; }   /* Средне */
.rating-text.high{ color:#5cb85c; font-weight:600; }   /* Выше среднего */

/* (опционально) компактнее ячейку рейтинга, если таблица очень узкая */
.summary-table-block td .stars.sm { vertical-align: middle; }
.summary-table-block td .rating-text{ vertical-align: middle; }




/* ===== H1 + Tagline: базовая типографика ===== */
.title-wrapper { margin-bottom: 22px; }
.title-wrapper .title-item { margin: 0 0 6px 0; line-height: 1.15; }
.article-tagline {
  margin: 6px 0 14px 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #5d6980;
  font-weight: 450;
  letter-spacing: .01em;
}

/* Небольшой «дыхательный» зазор перед метой (дата/reading-time) */
.date-wrapper { margin-top: 0; }

/* ===== Вариант 1 */
.article-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d2e3ff;
  color: #3c4a60;
  box-shadow: 0 2px 6px rgba(0,86,179,0.06);
}

.article-tagline::before {
  content: "✨";
  font-size: 1.1rem;
  line-height: 1;
}


/* ————————————————————
   Вариант по умолчанию (Soft)
   ———————————————————— */
.article-tagline--soft {
  background: #f9fbff;
  border: 1px solid #dbe8ff;
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-block;
  color: #425573;
  box-shadow: 0 3px 8px rgba(0,86,179,0.05);
}


/* ————————————————————
   Контекст с блоком даты/времени
   ———————————————————— */
.date-wrapper {
  margin-top: -6px; /* сближаем визуально с tagline */
  color: #718095;
  font-size: 0.95rem;
}

/* ————————————————————
   Адаптив
   ———————————————————— */
@media (max-width: 640px) {
  .title-wrapper { margin-bottom: 18px; }
  .title-wrapper .title-item { font-size: 1.8rem; }
  .article-tagline { font-size: 1rem; margin-bottom: 14px; }
  .article-tagline--underline::after { width: 60px; }
}

/* ————————————————————
   Тёмная тема
   ———————————————————— */
@media (prefers-color-scheme: dark) {
  .title-wrapper .title-item { color: #e6ebf5; }
  .article-tagline { color: #b2c2d8; }
  .article-tagline--soft {
    background: #111a28;
    border-color: #223045;
    box-shadow: 0 3px 8px rgba(0,0,0,0.35);
    color: #b7c5da;
  }
  .article-tagline--chip {
    background: #0f1828;
    border-color: #21324a;
    color: #c5d1e2;
  }
  .article-tagline--underline::after {
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
    box-shadow: 0 2px 6px rgba(96,165,250,0.28);
  }
}



/* ===============================
   Tagline: плавное появление
   =============================== */
.article-tagline {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeInUp 2.5s ease-out 0.2s forwards;
}

/* Ключевые кадры: лёгкий сдвиг вверх и проявление */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  60% {
    opacity: 1;
    transform: translateY(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Мобильная оптимизация: чуть быстрее и короче */
@media (max-width: 640px) {
  .article-tagline {
    animation: fadeInUp 0.45s ease-out 0.1s forwards;
  }
}

/* Плавное появление блока даты и времени чтения */
.date-wrapper {
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInUp 2.0s ease-out 1.35s forwards; /* +0.15s после tagline */
}

/* Тонкая подстройка для мобильных */
@media (max-width: 640px) {
  .date-wrapper {
    animation: fadeInUp 0.45s ease-out 0.25s forwards;
  }
}

.h3-with-badge h3 {
  white-space: nowrap;
}

.h3-with-badge h3 span img {
  vertical-align: middle;
}
