/* =========================================================================
   Motyl-Pro — Szablon "Strona informacyjna" (page template)
   Hero re-uses .blog-hero styles from blog.css / info-page.css
   Content: czysta typografia, blog-like, bez sidebarów, pełna szerokość
   ========================================================================= */

/* ---- BODY ---- */
.info-tpl-body {
  background: #fafaf8;
  padding: 48px 0 72px;
}

/* ---- ARTICLE CONTENT (the_content()) ---- */
.info-tpl-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.04);
  padding: 48px 56px;
  max-width: 960px;
  margin: 0 auto;
}

/* Typography */
.info-tpl-content h2 {
  font-size: 24px; font-weight: 700; color: #111;
  margin: 40px 0 14px; line-height: 1.2;
}
.info-tpl-content h2:first-child { margin-top: 0; }

.info-tpl-content h3 {
  font-size: 20px; font-weight: 700; color: #111;
  margin: 32px 0 12px; line-height: 1.25;
}

.info-tpl-content h4 {
  font-size: 17px; font-weight: 700; color: #222;
  margin: 28px 0 10px; line-height: 1.3;
}

.info-tpl-content p {
  font-size: 14.5px; line-height: 1.75; color: #333;
  margin: 0 0 18px;
}

.info-tpl-content a {
  color: #000000; text-decoration: underline;
  text-underline-offset: 2px;
}
.info-tpl-content a:hover { color: #0a4a3d; }

/* Lists */
.info-tpl-content ul,
.info-tpl-content ol {
  padding-left: 24px; margin: 0 0 20px;
}
.info-tpl-content li {
  font-size: 14.5px; line-height: 1.7; color: #333;
  margin-bottom: 6px;
}
.info-tpl-content ul li { list-style: disc; }
.info-tpl-content ol li { list-style: decimal; }

/* Blockquote */
.info-tpl-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid #000000;
  background: #f0f7f6;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #333;
}
.info-tpl-content blockquote p {
  margin-bottom: 0;
}

/* Images */
.info-tpl-content img {
  max-width: 100%; height: auto;
  border-radius: 8px;
  margin: 20px 0;
}
.info-tpl-content .wp-caption {
  max-width: 100%; margin: 20px 0;
}
.info-tpl-content .wp-caption-text {
  font-size: 12px; color: #888; text-align: center;
  margin-top: 6px;
}

/* Tables */
.info-tpl-content table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; font-size: 13.5px;
}
.info-tpl-content th,
.info-tpl-content td {
  padding: 10px 14px; border: 1px solid #e5e5e5;
  text-align: left;
}
.info-tpl-content th {
  background: #f4f4f4; font-weight: 700;
}

/* HR */
.info-tpl-content hr {
  border: none; border-top: 1px solid #e5e5e5;
  margin: 32px 0;
}

/* WP blocks */
.info-tpl-content .wp-block-image { margin: 24px 0; }
.info-tpl-content .wp-block-image figcaption {
  font-size: 12px; color: #888; text-align: center; margin-top: 8px;
}
.info-tpl-content .wp-block-gallery { margin: 24px 0; }
.info-tpl-content .wp-block-separator { margin: 32px 0; }
.info-tpl-content .wp-block-columns { margin: 24px 0; }
.info-tpl-content .wp-block-button__link {
  background: #111; color: #fff; padding: 12px 28px;
  border-radius: 5px; font-weight: 700; font-size: 13px;
  text-decoration: none; display: inline-block;
  transition: background .18s ease;
}
.info-tpl-content .wp-block-button__link:hover {
  background: #333; color: #fff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .info-tpl-body { padding: 36px 0 56px; }
  .info-tpl-content {
    padding: 28px 22px;
    border-radius: 10px;
  }
  .info-tpl-content h2 { font-size: 21px; }
  .info-tpl-content h3 { font-size: 18px; }
}
@media (max-width: 480px) {
  .info-tpl-content {
    padding: 22px 16px;
  }
}
