/* Единый исправленный слой вёрстки статей блога AllPro.
   Подключается последним, поэтому перекрывает сломанный инлайн-CSS страниц.
   Правки — только здесь, страницы не трогаем. v1 14.11.2026 */

/* ---------- Hero статьи ---------- */
.post-hero .crumbs{margin-bottom:32px}
.post-hero .meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.post-hero .date{font-size:14px;color:#9aa6b0;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.post-hero .date svg{width:15px;height:15px;flex:0 0 15px;max-width:15px;max-height:15px}
.post-hero .lead{max-width:720px;color:#9aa6b0;font-size:17px;line-height:1.65;margin-bottom:32px}
.post-hero .hero-actions{display:flex;gap:14px;flex-wrap:wrap}

/* ---------- Обложка ---------- */
.post-cover{padding:0 0 56px}
.post-cover .cover-img{display:block;border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.09);background:#1b1f23}
.post-cover .cover-img img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;object-position:center;aspect-ratio:16/9}

/* ---------- Сетка статьи ---------- */
.art-body{position:relative;padding:0 0 80px}
.art-cols{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:56px;align-items:start}
.art-main{max-width:760px;min-width:0}
.art-main h2{font-family:'Unbounded',sans-serif;font-size:clamp(20px,2.4vw,26px);line-height:1.25;margin:44px 0 16px;font-weight:600;color:#eef3f5}
.art-main h3{font-family:'Unbounded',sans-serif;font-size:clamp(16px,1.9vw,20px);line-height:1.3;margin:30px 0 12px;font-weight:600;color:#eef3f5}
.art-main p{color:#c7d1d8;font-size:16px;line-height:1.75;margin:0 0 18px}
.art-main b,.art-main strong{color:#eef3f5}
.art-main p a{color:#4ecdc4;text-decoration:none;border-bottom:1px solid rgba(78,205,196,.35)}
.art-main p a:hover{color:#8ff5ea;border-bottom-color:#8ff5ea}
.art-main ul.tips{margin:0 0 20px;padding:0;list-style:none}
.art-main ul.tips li{position:relative;padding-left:26px;color:#c7d1d8;font-size:15.5px;line-height:1.65;margin-bottom:10px}
.art-main ul.tips li::before{content:'✓';position:absolute;left:0;top:0;color:#4ecdc4;font-weight:800}
.art-main>p:first-child{margin-top:0}

/* ---------- Фото в статье ---------- */
.art-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:36px 0 8px}
.art-photos--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.art-photo{margin:0;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.09);background:#1b1f23}
.art-photo img{display:block;width:100%;height:300px;object-fit:cover;object-position:center}

/* ---------- Таблицы цен ---------- */
.price-note{border:1px solid rgba(255,255,255,.09);border-radius:16px;overflow-x:auto;margin:20px 0 12px}
table.pt{width:100%;border-collapse:collapse;font-size:14.5px}
table.pt th,table.pt td{padding:12px 16px;text-align:left;border-bottom:1px solid rgba(255,255,255,.07);color:#c7d1d8;vertical-align:top}
table.pt th{background:rgba(255,255,255,.04);color:#eef3f5;font-weight:700;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase}
table.pt tr:last-child td{border-bottom:none}

/* ---------- Сайдбар статьи ---------- */
.art-aside{min-width:0}
.art-aside .mini-cta{background:linear-gradient(160deg,#1b1f23,#22272b);border:1px solid rgba(255,255,255,.09);border-radius:20px;padding:26px;margin-bottom:24px}
.art-aside .mini-cta b{display:block;font-family:'Unbounded',sans-serif;font-size:15px;line-height:1.4;margin-bottom:10px;color:#eef3f5}
.art-aside .mini-cta p{color:#9aa6b0;font-size:13.5px;line-height:1.6;margin:0 0 18px}
.art-aside .mini-cta .btn{width:100%;justify-content:center;padding:13px 20px;font-size:14px}
.mini-links{display:flex;flex-direction:column;gap:2px}
.mini-links b{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#4ecdc4;margin-bottom:8px}
.mini-links a{padding:8px 0;color:#c7d1d8;font-size:14px;line-height:1.4;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.07);transition:color .2s,padding-left .2s}
.mini-links a:hover{color:#4ecdc4;padding-left:5px}

/* старая плавающая карточка дублирует CTA из сайдбара — скрываем, она вылезала за сетку */
.art-body>.art-side{display:none!important}

/* ---------- FAQ по центру ---------- */
.art-faq{grid-column:1/-1;width:100%;max-width:900px;margin:64px auto 0}
.art-faq h2{font-family:'Unbounded',sans-serif;font-size:clamp(20px,2.6vw,28px);line-height:1.25;margin:0 0 28px;text-align:center;color:#eef3f5}
.art-faq .faq__list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.art-faq .faq__item{border:1px solid rgba(255,255,255,.09);border-radius:16px;background:linear-gradient(160deg,#1b1f23,#22272b);overflow:hidden}
.art-faq .faq__item.is-open{border-color:rgba(78,205,196,.45)}
.art-faq .faq__q{width:100%;display:flex;align-items:center;gap:16px;padding:18px 22px;background:none;border:none;cursor:pointer;text-align:left;color:#eef3f5;font:inherit}
.art-faq .faq__num{flex:0 0 30px;font-family:'Unbounded',sans-serif;font-weight:700;font-size:15px;color:#4ecdc4}
.art-faq .faq__qtext{flex:1;font-weight:600;font-size:15.5px;line-height:1.4}
.art-faq .faq__a-inner{overflow:hidden}
.art-faq .faq__a-body{padding:0 22px 20px 68px;color:#9aa6b0;font-size:14.5px;line-height:1.7}

/* ---------- Адаптив ---------- */
@media (max-width:1200px){
  .art-cols{gap:40px}
}
@media (max-width:1100px){
  .art-cols{grid-template-columns:minmax(0,1fr);gap:32px}
  .art-main{max-width:none}
  .art-aside{position:static}
}
@media (max-width:760px){
  .post-hero{padding:152px 0 56px}
  .post-cover{padding-bottom:40px}
  .post-cover .cover-img{border-radius:14px}
  .post-cover .cover-img img{aspect-ratio:16/10;max-height:none}
  .art-body{padding-bottom:56px}
  .art-photos,.art-photos--two{grid-template-columns:1fr;gap:12px}
  .art-photo img,.art-photos--two .art-photo img{height:220px}
  .art-main h2{margin:32px 0 12px}
  .art-faq{margin-top:40px}
  .art-faq .faq__a-body{padding:0 18px 18px 18px}
  table.pt{font-size:13.5px}
  table.pt th,table.pt td{padding:10px 12px}
}
