/* ============================================================
   Siostrzana Dusza — style bloga (lista wpisów + artykuł)
   Ładowany RAZEM z /odczyt.css (menu, stopka, kolory, czcionki)
   ============================================================ */

/* pasek postępu czytania (tylko w artykule) */
.read-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  z-index: 100; transition: width .1s linear;
}

/* ---------- nagłówek strony bloga / artykułu ---------- */
.blog-hero { padding: 170px 56px 70px; text-align: center; position: relative; overflow: hidden; }
.blog-hero-orn { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: 520px; height: 520px; color: var(--gold); opacity: .035; pointer-events: none; }
.blog-hero-inner { max-width: 820px; margin: 0 auto; position: relative; }
.blog-hero .eyebrow { display: block; margin-bottom: 24px; }
.blog-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.15; margin-bottom: 26px; }
.blog-hero .lede { font-size: 17px; color: var(--taupe); line-height: 1.85; max-width: 560px; margin: 0 auto; }

/* ornament: fazy księżyca */
.moons { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 34px 0 0; }
.moons svg { width: 12px; height: 12px; overflow: visible; }
.moons .line { width: 36px; height: 1px; background: var(--gold); opacity: .45; }

/* ---------- LISTA WPISÓW ---------- */
.posts { padding: 20px 56px 110px; }
.posts-inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.post-card {
  position: relative; background: #fff; border: 1px solid var(--gold-faint);
  padding: 48px 52px 44px; text-align: center;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.post-card::before, .post-card::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 1px solid var(--gold); opacity: .55; pointer-events: none;
}
.post-card::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.post-card::after  { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(44, 40, 37, .25); border-color: var(--gold); }
.post-meta { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.post-meta span { color: var(--taupe); }
.post-card h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; margin-bottom: 18px; }
.post-card h2 a { text-decoration: none; color: inherit; }
.post-card h2 a:hover { color: var(--gold); }
.post-excerpt { font-size: 15.5px; color: var(--taupe); line-height: 1.85; max-width: 600px; margin: 0 auto 30px; }
.post-more {
  display: inline-flex; align-items: center; gap: 14px; padding: 15px 30px;
  border: 1px solid var(--gold); color: var(--ink); text-decoration: none;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  position: relative; overflow: hidden; transition: color .4s ease;
}
.post-more::before {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.7,0,.3,1); z-index: -1;
}
.post-more:hover { color: var(--bg); }
.post-more:hover::before { transform: scaleX(1); }
.post-more .arr { width: 16px; height: 1px; background: currentColor; position: relative; transition: width .3s; }
.post-more .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.post-more:hover .arr { width: 22px; }

/* ---------- ARTYKUŁ ---------- */
.article-meta { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); margin-bottom: 4px; }
.article-meta i { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); display: inline-block; }

.article { padding: 10px 24px 40px; }
.article-body { max-width: 700px; margin: 0 auto; }
.article-body p { font-size: 17px; color: #4a423c; line-height: 1.95; margin-bottom: 26px; }
.article-body .lead {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.6vw, 27px); line-height: 1.6; color: var(--ink);
  text-align: center; margin-bottom: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--gold-faint);
}
/* inicjał (duża pierwsza litera) */
.article-body .lead + p::first-letter {
  float: left; font-family: 'Playfair Display', serif; font-size: 78px; line-height: .82;
  padding: 8px 14px 0 0; color: var(--gold);
}
.article-body h2 {
  font-size: clamp(26px, 3vw, 34px); line-height: 1.25; margin: 56px 0 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.article-body h2::before { content: "✦"; font-size: 15px; color: var(--gold); line-height: 1; }
.article-body a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); transition: color .3s; }
.article-body a:hover { color: var(--gold); }
.article-body strong { font-weight: 500; color: var(--ink); }

/* cytat wyróżniony */
.pullquote {
  margin: 48px 0; padding: 8px 0 8px 34px; border-left: 2px solid var(--gold);
  font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(22px, 2.8vw, 29px);
  line-height: 1.5; color: var(--ink);
}
.pullquote em { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-weight: 300; }

/* lista z gwiazdkami */
.star-list { list-style: none; margin: 0 0 30px; }
.star-list li { position: relative; padding: 0 0 22px 38px; font-size: 17px; line-height: 1.85; color: #4a423c; }
.star-list li::before { content: "✦"; position: absolute; left: 4px; top: 1px; color: var(--gold); font-size: 14px; }
.star-list li > strong:first-child { display: block; font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 400; color: var(--ink); margin-bottom: 2px; }

/* ramka „Zatrzymaj się na chwilę” */
.callout {
  position: relative; margin: 52px 0; padding: 44px 44px 36px; background: var(--bg-warm); text-align: center;
}
.callout::before, .callout::after { content: ""; position: absolute; width: 26px; height: 26px; border: 1px solid var(--gold); opacity: .7; }
.callout::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.callout::after  { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.callout .eyebrow { display: block; margin-bottom: 14px; }
.callout h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 24px; line-height: 1.3; margin-bottom: 22px; }
.callout ol { list-style: none; counter-reset: q; text-align: left; max-width: 520px; margin: 0 auto; }
.callout li { counter-increment: q; position: relative; padding: 0 0 16px 46px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 21px; line-height: 1.5; color: var(--ink); }
.callout li::before { content: counter(q, upper-roman); position: absolute; left: 0; top: 2px; font-style: normal; font-family: 'Playfair Display', serif; font-size: 15px; color: var(--gold); letter-spacing: .08em; }

.article-note { font-size: 13.5px !important; color: var(--taupe) !important; line-height: 1.8 !important; text-align: center; margin-top: 40px !important; }

/* separator-ozdobnik */
.orn-divider { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 48px 0 40px; }
.orn-divider .line { width: 60px; height: 1px; background: var(--gold); opacity: .4; }

/* autorka */
.author {
  max-width: 700px; margin: 56px auto 0; padding: 34px 0; border-top: 1px solid var(--gold-faint); border-bottom: 1px solid var(--gold-faint);
  display: flex; align-items: center; gap: 26px;
}
.author img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; border: 1px solid var(--gold); padding: 3px; background: var(--bg); }
.author b { display: block; font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; font-size: 20px; margin-bottom: 4px; }
.author span { font-size: 14px; color: var(--taupe); line-height: 1.75; display: block; }

/* CTA pod artykułem */
.article-cta { text-align: center; padding: 70px 24px 30px; }
.article-cta .roman { margin-bottom: 20px; }
.article-cta h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin-bottom: 18px; }
.article-cta p { max-width: 520px; margin: 0 auto 30px; font-size: 16px; color: var(--taupe); line-height: 1.85; }
.back-link { display: block; text-align: center; margin: 44px 0 90px; }
.back-link a { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: color .3s; }
.back-link a:hover { color: var(--gold); }

/* ---------- zdjęcia we wpisach (dodane przez panel) ---------- */
.post-cover { max-width: 940px; margin: 0 auto 48px; }
.post-cover img { display: block; width: 100%; height: auto; border: 1px solid var(--gold-faint); }
.article-body figure { margin: 40px 0; }
.article-body figure img { display: block; width: 100%; height: auto; }
.article-body figcaption { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--taupe); line-height: 1.7; font-style: italic; }
.article-body > ol { margin: 0 0 30px 22px; }
.article-body > ol > li { font-size: 17px; line-height: 1.85; color: #4a423c; padding: 0 0 10px 8px; }
.post-thumb { display: block; margin: -48px -52px 32px; overflow: hidden; }
.post-thumb img { display: block; width: 100%; height: 260px; object-fit: cover; }
@media (max-width: 960px) { .post-thumb { margin: -40px -26px 28px; } }

@media (max-width: 960px) {
  .blog-hero { padding: 120px 24px 50px; }
  .blog-hero-orn { display: none; }
  .posts { padding: 10px 24px 80px; }
  .post-card { padding: 40px 26px 36px; }
}
@media (max-width: 600px) {
  .article-body p, .star-list li { font-size: 16.5px; }
  .article-body .lead + p::first-letter { font-size: 64px; }
  .pullquote { padding-left: 22px; }
  .callout { padding: 38px 24px 28px; }
  .callout li { font-size: 19px; padding-left: 40px; }
  .author { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card, .post-more::before { transition: none; }
}
