/* ===== Блог CRYPTOPAPA — список (.bl) і стаття (.bp). 2026-09-21. Нейтральна палітра: чорний/сірий, помаранчевий лише в шапці сайту. ===== */
.section-blog { padding: 10px 0 50px; }

/* ---------- список ---------- */
.bl { max-width: 1170px; margin: 0 auto; }
.bl__head { margin: 0 0 24px; }
.bl__title { margin: 0 0 8px !important; padding: 0 !important; background: none !important; color: #000 !important; font-size: 34px !important; font-weight: 800 !important; line-height: 1.15 !important; text-transform: none !important; text-align: left !important; }
.bl__intro { max-width: 720px; font-size: 16px; line-height: 1.55; color: #3a3a3a; }
.bl__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bl__card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.bl__card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.bl__cover { display: block; aspect-ratio: 3 / 2; background: #f0f0f0; overflow: hidden; }
.bl__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bl__body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; padding: 18px 20px 20px; }
.bl__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12.5px; color: #7a7a7a; }
.bl__chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #f1f1f1; color: #111; font-weight: 600; font-size: 12px; }
.bl__name { margin: 2px 0 0 !important; padding: 0 !important; background: none !important; font-size: 19px !important; font-weight: 800 !important; line-height: 1.3 !important; text-transform: none !important; text-align: left !important; }
.bl__name a { font: inherit !important; font-weight: 800 !important; line-height: inherit !important; color: #000; text-decoration: none; }
.bl__name a:hover { color: #444; text-decoration: none; }
.bl__excerpt { margin: 0; font-size: 14.5px; line-height: 1.6; color: #555; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl__read { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 6px; padding: 0 22px; height: 46px; border-radius: 12px; background: #111; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s; }
.bl__read::after { content: '→'; font-size: 16px; }
.bl__read:hover { background: #2b2b2b; color: #fff; text-decoration: none; }
.bl__read--sm { height: auto; padding: 0; margin-top: auto; padding-top: 8px; background: none !important; color: #000; }
.bl__read--sm:hover { color: #444; }

/* головна (перша) стаття — велика горизонтальна картка */
.bl__feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border-radius: 20px; overflow: hidden; margin-bottom: 20px; }
.bl__feat-cover { display: block; min-height: 100%; background: #f0f0f0; }
.bl__feat-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bl__feat-body { display: flex; flex-direction: column; gap: 14px; padding: 36px 40px; }
.bl__feat-body .bl__meta { font-size: 13.5px; }
.bl__feat-name { margin: 0 !important; padding: 0 !important; background: none !important; font-size: 28px !important; font-weight: 800 !important; line-height: 1.2 !important; text-transform: none !important; text-align: left !important; }
.bl__feat-name a { font: inherit !important; font-weight: 800 !important; line-height: inherit !important; color: #000; text-decoration: none; }
.bl__feat-name a:hover { color: #444; text-decoration: none; }
.bl__feat-excerpt { margin: 0; font-size: 16px; line-height: 1.6; color: #444; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bl__feat-body .bl__read { margin-top: auto; }
.bl__pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.bl__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; font-size: 18px; }
.bl__btn:hover { background: #2b2b2b; color: #fff; text-decoration: none; }
.bl__page { font-size: 14px; color: #616161; }
.bl__empty { padding: 40px 0; color: #616161; }

/* ---------- стаття ---------- */
.bp__preview { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fff3e0; border: 1px solid #ffcc80; color: #7a4a00; font-size: 13.5px; font-weight: 600; }
.bp { max-width: 960px; margin: 0 auto; }
.bp__head { margin: 0 0 22px; }
.bp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 14px; font-size: 13.5px; color: #7a7a7a; }
.bp__chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #111; color: #fff; font-weight: 600; font-size: 12.5px; text-decoration: none; }
.bp__chip:hover { background: #2b2b2b; color: #fff; text-decoration: none; }
.bp__title { margin: 0 !important; padding: 0 !important; background: none !important; color: #000 !important; font-size: 36px !important; font-weight: 800 !important; line-height: 1.15 !important; text-transform: none !important; text-align: left !important; }
.bp__head { margin: 0 0 22px; }
.bp__cover { margin: 0 0 28px; border-radius: 20px; overflow: hidden; background: #f4f4f4; }
.bp__cover img { display: block; width: 100%; height: auto; aspect-ratio: 2.2 / 1; max-height: 400px; object-fit: cover; object-position: 50% 42%; }

.bp__body { font-size: 16.5px; line-height: 1.65; color: #1f1f1f; }
.bp__body > * + * { margin-top: 16px; }
.bp__body p { margin: 0; }
.bp__lead { font-size: 18px; line-height: 1.6; color: #3a3a3a; }
.bp__body h2, .bp__h2 { margin: 40px 0 16px !important; padding: 0 0 0 16px !important; border-left: 4px solid #111; background: none !important; color: #000 !important; font-size: 24px !important; font-weight: 700 !important; line-height: 1.25 !important; text-transform: none !important; text-align: left !important; }
.bp__h2--plain { margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; }
.bp__body h3 { margin: 26px 0 10px !important; padding: 0 !important; background: none !important; color: #000 !important; font-size: 18.5px !important; font-weight: 600 !important; line-height: 1.3 !important; text-transform: none !important; text-align: left !important; }
.bp__body ul, .bp__body ol { margin: 0; padding-left: 22px; }
.bp__body li { margin: 0 0 6px; }
.bp__body li + li { margin-top: 0; }
.bp__body a { color: #000; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #bdbdbd; }
.bp__body a:hover { color: #444; text-decoration-color: #444; }
.bp__body strong, .bp__body b { font-weight: 700; }

/* картки з цифрами */
.bp__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bp__stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bp__stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border-radius: 16px; }
.bp__stat b { font-size: 24px; font-weight: 700; line-height: 1.1; color: #000; }
.bp__stat b small { font-size: 14px; font-weight: 600; color: #616161; }
.bp__stat span { font-size: 13px; line-height: 1.4; color: #616161; }

/* таблиці */
.bp__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: 16px; }
.bp__table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bp__table th, .bp__table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #ececec; vertical-align: top; }
.bp__table th { background: #f6f6f6; color: #616161; font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.bp__table td.num, .bp__table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bp__table tr:last-child td { border-bottom: 0; }
.bp__table td b { font-weight: 700; }
.bp__table .is-best td { background: #f8fff8; }
.bp__table .is-total td { background: #fafafa; font-weight: 600; }
.bp__table-note { margin-top: 8px !important; font-size: 13px; color: #7a7a7a; }

/* плюси / мінуси */
.bp__pm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bp__pm-card { padding: 18px 20px; background: #fff; border-radius: 16px; }
.bp__pm-card b { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.bp__pm-card ul { margin: 0; padding: 0; list-style: none; }
.bp__pm-card li { position: relative; margin: 0 0 8px; padding-left: 26px; font-size: 14.5px; line-height: 1.5; }
.bp__pm-card li:last-child { margin-bottom: 0; }
.bp__pm-card li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 10px; }
.bp__pm-card--ok li::before { background-color: #e8f7ec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3.5' fill='none' stroke='%2322B14C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.bp__pm-card--no li::before { background-color: #fdecec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%23d84a4a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* порівняльна матриця */
.bp__matrix td:first-child { font-weight: 600; color: #000; }
.bp__matrix .win { color: #1a8a3d; font-weight: 700; }
.bp__matrix .lose { color: #b33; }
.bp__matrix .draw { color: #7a7a7a; }

/* вердикт */
.bp__verdict { padding: 26px 30px; border-radius: 16px; background: linear-gradient(223deg, #2B2B2B 1.27%, #000 98.73%); color: #fff; }
.bp__verdict b { display: block; margin-bottom: 8px; font-size: 20px; font-weight: 600; line-height: 1.25; }
.bp__verdict p { color: #d9d9d9; font-size: 15.5px; }
.bp__verdict p + p { margin-top: 8px; }
.bp__verdict a { color: #fff; }

/* примітка */
.bp__note { padding: 18px 22px; background: #fff; border-radius: 16px; border-left: 4px solid #111; font-size: 14.5px; }
.bp__note b { font-weight: 600; }
.bp__body .bp__note p { margin: 0; }
.bp__body .bp__note p + p { margin-top: 10px; }

/* хто що обирає */
.bp__who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bp__who-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff; border-radius: 16px; }
.bp__who-card i { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #f1f1f1; color: #000; font-style: normal; font-size: 12.5px; font-weight: 600; }
.bp__who-card b { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.bp__who-card span { font-size: 14px; line-height: 1.5; color: #3a3a3a; }

/* джерела — згорнуті, розкриваються по кліку */
.bp__sources { font-size: 13px; color: #7a7a7a; background: #fff; border-radius: 12px; padding: 0; }
.bp__sources summary { list-style: none; cursor: pointer; padding: 14px 18px; font-size: 14px; font-weight: 600; color: #000; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bp__sources summary::-webkit-details-marker { display: none; }
.bp__sources summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); transition: transform .15s; flex: 0 0 auto; margin-right: 4px; }
.bp__sources[open] summary::after { transform: rotate(-135deg); }
.bp__sources ol { margin: 0; padding: 0 18px 14px 34px; }
.bp__sources li { margin-bottom: 4px; }
.bp__sources a { color: #616161; font-weight: 500; text-decoration-color: #d0d0d0; }

/* товари зі статті — стандартні картки каталогу (.product-thumb) */
.bp__products { margin-top: 40px; }
.bp__products .bp__grid { margin: 0; }
/* CTA */
.bp__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 26px 30px; border-radius: 16px; background: #fff; border: 1px solid #e6e6e6; }
.bp__cta-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bp__cta-txt b { font-size: 19px; font-weight: 600; line-height: 1.25; color: #000; }
.bp__cta-txt span { font-size: 14px; line-height: 1.5; color: #3a3a3a; }
.bp__cta-btns { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 470px; }
.bp__cta-note { flex-basis: 100%; font-style: normal; font-size: 12.5px; color: #8a8a8a; }
.bp__cta-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.bp__btn--calc { background: #111; } .bp__btn--calc:hover { background: #2b2b2b; color: #fff; text-decoration: none; }

/* ще статті */
.bp__more { margin-top: 40px; }
.bp__more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.bp__link { color: #000; font-weight: 600; text-decoration: none; }
.bp__link:hover { color: #444; text-decoration: none; }
.bp__more .bl__body { padding: 14px 16px 18px; }
.bp__more .bl__name { font-size: 15.5px !important; }

/* ---------- мобілка / планшет ---------- */
@media (max-width: 991px) {
  .bl__grid, .bl__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bl__feat { grid-template-columns: 1fr; }
  .bl__feat-cover { aspect-ratio: 3 / 2; min-height: 0; }
  .bl__feat-body { padding: 20px 20px 22px; gap: 10px; }
  .bl__feat-name { font-size: 22px !important; }
  .bl__feat-excerpt { font-size: 15px; }
  .bp__who { grid-template-columns: 1fr; }
  .bp__cta { flex-direction: column; align-items: stretch; }
  .bp__cta-btns { max-width: none; }
}
@media (max-width: 767px) {
  .section-blog { padding-bottom: 30px; }
  .bl__grid, .bl__grid--3 { grid-template-columns: 1fr; }
  .bl__title { font-size: 26px !important; }
  .bp__title { font-size: 26px !important; }
  .bp__cover { border-radius: 14px; margin-bottom: 20px; }
  .bp__cover img { aspect-ratio: 16 / 10; }
  .bp__body { font-size: 16px; }
  .bp__lead { font-size: 17px; }
  .bp__body h2, .bp__h2 { font-size: 20px !important; margin: 28px 0 12px !important; }
  .bp__stats, .bp__stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bp__stat { padding: 14px; }
  .bp__stat b { font-size: 20px; }
  .bp__pm { grid-template-columns: 1fr; }
  .bp__table { font-size: 13.5px; }
  .bp__table th, .bp__table td { padding: 10px 12px; }
  .bp__table td:first-child { min-width: 150px; }
  .bp__table td.num { min-width: 96px; }
  .bp__verdict { padding: 20px; }
  .bp__cta { padding: 20px; margin-top: 30px; }
  .bp__cta-btns { gap: 8px; }
  .bp__cta-btns .ip__btn { flex: 1 1 calc(50% - 8px); padding: 0 12px; }
  .bp__cta-btns .bp__btn--calc { flex-basis: 100%; }
  .bp__products, .bp__more { margin-top: 30px; }
}
@media (max-width: 400px) {
  .bp__stats, .bp__stats--4 { grid-template-columns: 1fr; }
}
