/* ============================================================
   ZAUFANY PSYCHOLOG — widok pojedynczego wpisu blogowego
   Jedno źródło stylu wpisów. Zastępuje rozproszony „custom CSS”
   widgetów szablonu Elementora #764 (klasy: .zp-post-content,
   .zp-side-label, .zp-side-posts, .zp-side-sitemap nadane widgetom).
   Ładowany TYLKO na is_singular('post') — patrz functions.php childa.

   Specyficzność celowo 0,3,1 (body.single-post + klasa + element)
   + !important — przebija globalne style Elementora/Kit identycznie
   jak wcześniejszy custom CSS widgetu (0,3,1). Elementy doklejane do
   treści (np. zp-post-disclaimer) muszą mieć ≥0,4,x — bez zmian.
   ============================================================ */

/* ── TYTUŁ WPISU (h1) — brand: Montserrat + granat ─────────── */
body.single-post .elementor-764 h1.elementor-heading-title {
  font-family: 'Montserrat', sans-serif !important;
  color: #356199 !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* ── ZAJAWKA (excerpt) — lead z różowym akcentem ───────────── */
body.single-post .elementor-widget-theme-post-excerpt .elementor-widget-container {
  border-left: 4px solid #4A86C7;
  padding-left: 16px;
  color: #545468;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── OBRAZEK WYRÓŻNIAJĄCY ──────────────────────────────────── */
body.single-post .elementor-widget-theme-post-featured-image img {
  border-radius: 16px !important;
  box-shadow: 0 4px 22px rgba(53, 97, 153, .10);
}

/* ── AUTOR — karta w stylu brandu ──────────────────────────── */
body.single-post .elementor-widget-author-box .elementor-widget-container {
  background: #f6f7fb;
  border: 1px solid #e7e9f0;
  border-radius: 16px;
  padding: 22px 24px;
}

/* ── TREŚĆ WPISU (.zp-post-content, dawny custom CSS a139d83) ─ */
body.single-post .zp-post-content h2 {
  font-family: 'Lora', Georgia, serif !important;
  color: #356199 !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  margin-top: 2rem !important;
  margin-bottom: .75rem !important;
  padding-bottom: .4rem !important;
  border-bottom: 2px solid #4A86C7 !important;
  line-height: 1.3 !important;
}
body.single-post .zp-post-content h3 {
  font-family: 'Lora', Georgia, serif !important;
  color: #4f6399 !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  margin-bottom: .5rem !important;
  line-height: 1.35 !important;
  border-bottom: none !important;
}
body.single-post .zp-post-content h4 {
  font-family: 'DM Sans', sans-serif !important;
  color: #356199 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-top: 1.2rem !important;
  margin-bottom: .4rem !important;
}
body.single-post .zp-post-content p {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  color: #545468 !important;
  margin-bottom: 1rem !important;
}
body.single-post .zp-post-content a {
  color: #4A86C7 !important;
  text-decoration: underline !important;
}
body.single-post .zp-post-content a:hover {
  color: #356199 !important;
}
body.single-post .zp-post-content ul,
body.single-post .zp-post-content ol {
  padding-left: 1.5rem !important;
  margin-bottom: 1rem !important;
  font-family: 'DM Sans', sans-serif !important;
}
body.single-post .zp-post-content li {
  line-height: 1.8 !important;
  color: #545468 !important;
  margin-bottom: .3rem !important;
  font-size: 1rem !important;
}
body.single-post .zp-post-content strong,
body.single-post .zp-post-content b {
  color: #2a2a38 !important;
  font-weight: 600 !important;
}
body.single-post .zp-post-content blockquote {
  border-left: 4px solid #4A86C7 !important;
  background: rgba(255, 182, 174, .07) !important;
  padding: 1rem 1.4rem !important;
  border-radius: 0 10px 10px 0 !important;
  margin: 1.5rem 0 !important;
  font-style: italic !important;
  color: #4f6399 !important;
}
body.single-post .zp-post-content blockquote p {
  color: #4f6399 !important;
  margin-bottom: 0 !important;
}
body.single-post .zp-post-content img {
  border-radius: 12px !important;
  max-width: 100% !important;
}
body.single-post .zp-post-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 1.5rem !important;
}
body.single-post .zp-post-content th {
  background: #4A86C7 !important;
  color: white !important;
  padding: .6rem .9rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  text-align: left !important;
}
body.single-post .zp-post-content td {
  padding: .55rem .9rem !important;
  border-bottom: 1px solid rgba(74, 134, 199, .15) !important;
  color: #545468 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: .9rem !important;
}
body.single-post .zp-post-content tr:nth-child(even) td {
  background: rgba(74, 134, 199, .04) !important;
}
body.single-post .zp-post-content ul.wp-block-list {
  margin-bottom: .9rem;
}

/* ── SIDEBAR: etykiety sekcji (dawne 5570d0d7 / 675f87d) ───── */
body.single-post .zp-side-label .elementor-heading-title {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #4A86C7 !important;
  margin-bottom: 12px !important;
}

/* ── SIDEBAR: „Przeczytaj również” (dawne 5fbb75f2) ────────── */
body.single-post .zp-side-posts .elementor-post__title a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #4f6399 !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}
body.single-post .zp-side-posts .elementor-post__title a:hover {
  color: #356199 !important;
}
body.single-post .zp-side-posts .elementor-post-date,
body.single-post .zp-side-posts .elementor-post__meta-data {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  color: #888 !important;
}
body.single-post .zp-side-posts .elementor-post__card {
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body.single-post .zp-side-posts article {
  border-bottom: 1px solid rgba(74, 134, 199, 0.12) !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
}
body.single-post .zp-side-posts article:last-child {
  border-bottom: none !important;
}

/* ── SIDEBAR: „Kategorie artykułów” (dawne b8d0488) ────────── */
body.single-post .zp-side-sitemap ul li a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #4f6399 !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
}
body.single-post .zp-side-sitemap ul li a:hover {
  color: #356199 !important;
  text-decoration: underline !important;
}
body.single-post .zp-side-sitemap ul li {
  padding: 4px 0 !important;
  border-bottom: 1px solid rgba(74, 134, 199, 0.1) !important;
  list-style: none !important;
}
body.single-post .zp-side-sitemap ul li::before {
  content: '→ ' !important;
  color: #4A86C7 !important;
  font-size: 12px !important;
}
