/* ===================================================
   Blog styles — vypucujto.cz
   =================================================== */

/* Blog hero */
.blog-hero {
  padding: 88px 0 36px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.blog-hero .container > .blog-hero-inner,
.blog-hero .blog-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.blog-hero .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.blog-hero .breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.blog-hero .breadcrumb a:hover { color: var(--text); border-color: var(--text); }
.blog-hero .breadcrumb span { color: var(--text-soft); }

.blog-hero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin: 14px 0 14px;
  max-width: 100%;
}
.blog-hero .lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 100%;
  margin: 0 0 18px;
}
.blog-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--text-soft);
  flex-wrap: wrap;
}
.blog-meta .dot { width: 4px; height: 4px; background: var(--text-soft); border-radius: 999px; }
.blog-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

/* Article body */
.article {
  padding: 36px 0 64px;
  background: #fff;
}
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.article p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 22px;
}
.article h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 48px 0 16px;
  line-height: 1.2;
}
.article h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  line-height: 1.25;
}
.article ul, .article ol {
  margin: 0 0 22px;
  padding-left: 24px;
}
.article li {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.article strong { font-weight: 700; color: var(--text); }
.article a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.article a:hover { color: var(--accent-dark); }

/* Specs / fact box */
.fact-box {
  background: #F7F5EE;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
}
.fact-box h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.fact-box dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 0;
}
.fact-box dt {
  font-size: 14px;
  color: var(--text-muted);
}
.fact-box dd {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}

/* Callout */
.callout {
  background: linear-gradient(135deg, #FBFAF5 0%, #F4F2EC 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 32px 0;
}
.callout strong { display: block; margin-bottom: 6px; font-size: 15px; }
.callout p { margin: 0; font-size: 16px; color: var(--text-muted); }

/* FAQ */
.faq {
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.faq h2 { margin-top: 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 14px 0 0;
  font-size: 17px;
  color: var(--text-muted);
}

/* Inline mid-article CTA (small) */
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #F7F5EE;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.cta-inline p { margin: 0; font-size: 16px; color: var(--text); font-weight: 600; }
.cta-inline .btn {
  background: var(--text);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.cta-inline .btn:hover { background: var(--accent); color: var(--accent-text); }

/* CTA block at bottom of article */
.article-cta {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 56px 0 0;
  text-align: center;
}
.article-cta h3 {
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 10px;
}
.article-cta p {
  color: #C8C6C2;
  font-size: 17px;
  margin: 0 0 22px;
}
.article-cta .btn {
  background: var(--accent);
  color: var(--accent-text);
}
.article-cta .btn:hover { background: var(--accent-dark); }

/* Blog index — list of posts */
.blog-list {
  padding: 40px 0 80px;
}
.blog-list-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--text);
}
.blog-card .blog-tag { align-self: flex-start; }
.blog-card h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin: 0;
}
.blog-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.blog-card .read-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 720px) {
  .blog-hero { padding: 80px 0 32px; }
  .article { padding: 40px 0 56px; }
  .article p, .article li { font-size: 17px; }
  .fact-box dl { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 28px 20px; }
}
