/* Блог Джин-Авто — дополнение к ../style.css */
.blogpage .header{top:0}
.blogpage .header .header__inner{background:rgba(16,16,20,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.nav a.is-active{color:#ff5a3c}

.post{padding:150px 0 80px}
.post p,.post h2,.post h3{padding:0}
.post img{margin-bottom:0}
.post__cover{margin-bottom:28px!important}
.post__wrap{max-width:860px}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;opacity:.65;margin-bottom:18px}
.crumbs a:hover{color:#ff5a3c;opacity:1}
.post__h1{font-size:clamp(28px,4.4vw,48px);line-height:1.15;font-weight:700;text-transform:uppercase;margin-bottom:14px;hyphens:auto;-webkit-hyphens:auto}
.post__meta{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;opacity:.6;margin-bottom:26px}
.post__cover{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:24px;margin-bottom:28px;background:#1a191e}
.post__lead{font-size:19px;line-height:1.6;margin-bottom:10px}
.post__lead strong{color:#fff}

.post__body{font-size:17px;line-height:1.7;color:rgba(255,255,255,.88)}
.post__body h2{font-size:clamp(22px,2.6vw,30px);line-height:1.25;color:#fff;margin:42px 0 14px;font-weight:700}
.post__body h3{font-size:20px;color:#fff;margin:26px 0 8px;font-weight:600}
.post__body p{margin-bottom:14px}
.post__body ul,.post__body ol{margin:0 0 18px;padding-left:0;list-style:none;display:grid;gap:8px}
.post__body ul li{position:relative;padding-left:28px}
.post__body ul li::before{content:"";position:absolute;left:4px;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--accent)}
.post__body ol{counter-reset:s}
.post__body ol li{position:relative;padding-left:40px;counter-increment:s}
.post__body ol li::before{content:counter(s);position:absolute;left:0;top:.1em;width:28px;height:28px;border-radius:50%;background:rgba(189,28,2,.18);color:#ff5a3c;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.post__body a{color:#ff5a3c;text-decoration:underline;text-underline-offset:3px}
.post__body strong{color:#fff}
.post__body blockquote{margin:28px 0;padding:18px 22px;border-left:3px solid var(--accent);background:rgba(255,255,255,.04);border-radius:0 16px 16px 0;font-style:italic}
.post__body blockquote cite{display:block;margin-top:8px;font-style:normal;font-size:14px;opacity:.6}

.post__cta{margin:40px 0;padding:28px;border-radius:24px;background:linear-gradient(135deg,rgba(189,28,2,.22),rgba(189,28,2,.06));box-shadow:inset 0 0 0 1px rgba(189,28,2,.45);display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center}
.post__cta-k{font-size:14px;text-transform:uppercase;letter-spacing:.05em;opacity:.7;font-weight:600}
.post__cta-p{font-size:30px;font-weight:700;color:#fff;margin:4px 0 8px}
.post__cta p{margin:0;font-size:15px;opacity:.8}
.post__cta-btns{display:flex;flex-direction:column;gap:10px}
.post__body .post__cta a{text-decoration:none;color:#fff}
.post__cta .btn--ghost{justify-content:center}

.post__faq{display:grid;gap:10px}
.post__faq details{background:var(--card);border-radius:16px;padding:16px 20px}
.post__faq summary{cursor:pointer;font-weight:600;color:#fff;list-style:none;position:relative;padding-right:28px}
.post__faq summary::-webkit-details-marker{display:none}
.post__faq summary::after{content:"+";position:absolute;right:0;top:-2px;color:var(--accent);font-size:22px;transition:transform .2s}
.post__faq details[open] summary::after{transform:rotate(45deg)}
.post__faq details p{margin:10px 0 0;font-size:16px}

.post__rel{margin-top:56px}
.post__rel h2{font-size:26px;margin-bottom:18px}

/* карточки статей */
.blog__intro{max-width:760px;font-size:17px;opacity:.8;margin-bottom:36px}
.bgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bcard{display:flex;flex-direction:column;background:var(--card);border-radius:24px;overflow:hidden;transition:transform .25s,box-shadow .25s}
.bcard:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(0,0,0,.4)}
.bcard__img{aspect-ratio:3/2;overflow:hidden;background:#232228}
.bcard__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.bcard:hover .bcard__img img{transform:scale(1.05)}
.bcard__body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.bcard__tag{align-self:flex-start;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#ff5a3c;background:rgba(189,28,2,.15);padding:4px 10px;border-radius:8px}
.bcard h2{font-size:20px;line-height:1.3;font-weight:600}
.bcard p{font-size:14px;line-height:1.55;opacity:.7}
.bcard__more{margin-top:auto;font-size:14px;font-weight:600;color:#ff5a3c}
.bgrid--sm{grid-template-columns:repeat(3,1fr);gap:16px}
.bcard--sm{flex-direction:column;border-radius:18px}
.bcard--sm img{width:100%;aspect-ratio:3/2;object-fit:cover}
.bcard--sm span{padding:14px 16px 18px;font-size:15px;font-weight:600;line-height:1.35}

.blogfooter{padding:40px 0}
.blogfooter .footer__bottom{justify-content:center;opacity:.75}

@media (max-width:1199px){.bgrid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:809px){
  .post{padding:100px 0 50px}
  .post__cover{border-radius:18px;margin-bottom:20px}
  .post__lead{font-size:17px}
  .post__body{font-size:16px}
  .post__cta{grid-template-columns:1fr;padding:22px;border-radius:20px}
  .post__cta-p{font-size:26px}
  .bgrid{grid-template-columns:1fr;gap:16px}
  .bgrid--sm{grid-template-columns:1fr}
  .bcard--sm{flex-direction:row;align-items:center}
  .bcard--sm img{width:110px;flex-shrink:0;aspect-ratio:1}
  .blogfooter{padding:30px 0 calc(90px + env(safe-area-inset-bottom))}
}
