/* Like club - блог. Дополняет /css/style5.css (Roboto, #ffcc00, #232323).
   Подвал (#block-14, .contacts, .mapframe, #napravleniya) стилизует сам сайт - не трогаем. */

.blog-body { background: #fff; color: #232323; }

/* ---------- Шапка ---------- */
.blog-header { background: #232323; padding: 10px 0; }
.blog-header .top { padding-top: 0; }
.blog-header .top-logo { text-decoration: none; }
.blog-header .top-logo img { height: 52px; width: auto; }
.blog-header .top-logo span { color: #fff; margin-left: 12px; font-weight: 600; line-height: 1.2; }
.blog-header .a-top-phone { color: #fff; font-size: 18px; font-weight: 600; }
.blog-header .top-mess img { height: 28px; width: 28px; }
.blog-header .top-mess a { margin-left: 10px; }

/* ---------- Лента ---------- */
.blog-main { padding: 40px 0 60px; }
.blog-h1 { font-size: 44px; font-weight: 600; margin: 0 0 12px; }
.blog-intro { font-size: 18px; color: #555; max-width: 760px; margin: 0 0 36px; line-height: 1.5; }
.blog-empty { font-size: 18px; color: #777; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee;
  border-radius: 14px; overflow: hidden; text-decoration: none; color: #232323;
  transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.10); transform: translateY(-3px); }
.post-card__img { display: block; height: 180px; background: #dcf2ff center/cover no-repeat; }
.post-card__body { display: block; padding: 18px 20px 22px; }
.post-card__cat { display: inline-block; background: #ffcc00; color: #000; font-size: 12px;
  text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.post-card__cat--yoga, .post__cat--yoga { background: #3bb273; color: #fff; }
.post-card__cat--volley, .post__cat--volley { background: #f47b20; color: #fff; }
.post-card__title { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.post-card__excerpt { display: block; font-size: 15px; color: #666; line-height: 1.5; }

/* ---------- Статья ---------- */
.breadcrumbs { font-size: 14px; color: #999; margin-bottom: 22px; }
.breadcrumbs a { color: #999; text-decoration: none; }
.breadcrumbs a:hover { color: #232323; }
.breadcrumbs .sep { margin: 0 8px; }

.post { max-width: 800px; margin: 0 auto; }
.post__cat { display: inline-block; background: #ffcc00; color: #000; font-size: 12px;
  text-transform: uppercase; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.post__title { font-size: 38px; font-weight: 600; line-height: 1.2; margin: 16px 0 10px; }
.post__meta { font-size: 14px; color: #999; margin-bottom: 24px; }
.post__hero { display: block; width: 100%; height: auto; border-radius: 14px; margin: 0 0 30px; }

.post__content { font-size: 18px; line-height: 1.7; color: #232323; }
.post__content .lead { font-size: 20px; }
.post__content h2 { font-size: 28px; font-weight: 600; line-height: 1.3; margin: 38px 0 14px;
  padding-left: 16px; border-left: 5px solid #ffcc00; }
.post__content h3 { font-size: 22px; font-weight: 600; margin: 28px 0 10px; }
.post__content p { margin: 0 0 18px; }
.post__content ul, .post__content ol { margin: 0 0 18px; padding-left: 24px; }
.post__content li { margin-bottom: 8px; }
.post__content a { color: #e76401; }
.post__content img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 26px 0; }
.post__content blockquote { background: #e8f5fc; border-left: 5px solid #5bb6e8;
  margin: 0 0 18px; padding: 16px 22px; border-radius: 0 10px 10px 0; }

/* FAQ */
.post__faq { margin-top: 36px; }
.post__faq h2 { margin-bottom: 18px; }
.faq-item { border: 1px solid #eee; border-radius: 12px; margin-bottom: 12px; padding: 18px 22px; }
.faq-item h3 { font-size: 18px; margin: 0 0 8px; }
.faq-item p { margin: 0; font-size: 16px; color: #555; }

/* CTA после статьи */
.post__cta { max-width: 800px; margin: 36px auto 0; background: #fff7d6;
  border: 1px solid #ffe680; border-radius: 14px; padding: 22px 26px; font-size: 18px; }
.post__cta a { color: #232323; font-weight: 600; }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 740px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-h1 { font-size: 32px; }
  .post__title { font-size: 28px; }
  .post__content { font-size: 17px; }
  .blog-header .top-logo span,
  .blog-header .a-top-phone { font-size: 15px; }
  .blog-header .btn-nav {
    position: fixed; top: 12px; right: 14px; z-index: 100000;
    width: 46px; height: 42px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
    background: rgba(35, 35, 35, 0.92); border-radius: 12px;
  }
  .blog-header .btn-nav span { width: 26px; height: 3px; margin: 0; }
}
