/* Blog – karty a stránky (drlock.cz). Paleta: tmavá #1D1D1B, žlutá #FFED00. */

#blog { padding-top: 40px; padding-bottom: 50px; }
#blog .normals { margin-bottom: 6px; }

/* Sekce blog na homepage – větší mezera nad nadpisem */
#blog.blog-home { padding-top: 75px; }

.blog-grid { margin-top: 34px; }
.blog-col { margin-bottom: 30px; display: flex; }

/* Celá karta je odkaz */
.blog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: #1D1D1B;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0,0,0,.16);
  color: #1D1D1B;
  text-decoration: none;
}

.blog-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ececec;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

.blog-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 24px;
}
.blog-date {
  display: block;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #575756;
  margin-bottom: 8px;
}
.blog-title {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #1D1D1B;
  margin-bottom: 10px;
}
.blog-excerpt {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: #3a3a38;
  flex: 1 1 auto;
}
.blog-more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14px;
  color: #1D1D1B;
  border-bottom: 3px solid #FFED00;
  padding-bottom: 2px;
  align-self: flex-end;
}
.blog-card:hover .blog-more { color: #000; }

/* Tlačítka ve stylu webu (.tlacitkovolej) */
.blog-btn {
  display: inline-block;
  margin-top: 18px;
  background: #1D1D1B;
  color: #FFED00;
  border-radius: 30px;
  padding: 14px 44px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,.18);
  transition: background .18s ease, color .18s ease;
}
.blog-btn:hover { background: #FFED00; color: #1D1D1B; text-decoration: none; }

/* Stránka článku */
.blog-article { padding-top: 40px; padding-bottom: 60px; }
.blog-article-date { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #575756; }
.blog-article-date a { color: #575756; text-decoration: none; border-bottom: 2px solid #FFED00; }
.blog-article-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; font-weight: 800; color: #1D1D1B; margin: 8px 0 22px; }
.blog-article-hero { border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.blog-article-hero img { width: 100%; height: auto; display: block; }
.blog-article-content { font-size: 17px; line-height: 1.75; color: #26261f; }
.blog-article-content h2 { font-size: 25px; font-weight: 800; margin: 32px 0 12px; color: #1D1D1B; }
.blog-article-content h3 { font-size: 20px; font-weight: 700; margin: 26px 0 10px; color: #1D1D1B; }
.blog-article-content p { margin: 0 0 18px; }
.blog-article-content a { color: #1D1D1B; font-weight: 600; border-bottom: 2px solid #FFED00; text-decoration: none; }
.blog-article-content ul, .blog-article-content ol { margin: 0 0 18px; padding-left: 22px; }
.blog-article-content li { margin-bottom: 8px; }
.blog-article-back { margin-top: 36px; text-align: right; }

@media (max-width: 767px) {
  .blog-title { font-size: 19px; }
  #blog { padding-bottom: 30px; }
  #blog.blog-home { padding-top: 45px; }

  /* Detail článku – menší nadpisy i text na mobilu */
  .blog-article-title { font-size: 22px; line-height: 1.2; margin: 6px 0 18px; }
  .blog-article-content { font-size: 15.5px; line-height: 1.7; }
  .blog-article-content h2 { font-size: 21px; margin: 24px 0 10px; }
  .blog-article-content h3 { font-size: 18px; margin: 20px 0 8px; }
}
