/* erwingalan.pl — wpisy z bloga (ładowane tylko na stronach postów, po style.css) */

.post { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 5vw, 64px); }
.post__head, .post__body { max-width: calc(760px + 2 * var(--gutter)); }
.post__meta { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-600); }
.post__h { margin: 14px 0 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 6vw, 76px); line-height: .92; letter-spacing: -.01em; text-wrap: balance; }
.post__cover { max-width: 1040px; margin: clamp(28px, 4vw, 48px) auto 0; padding: 0 var(--gutter); }
.post__cover img { width: 100%; border-radius: var(--r); }

.post__body { margin-top: clamp(28px, 4vw, 48px); font-size: 18px; line-height: 1.72; color: var(--ink-700); overflow-wrap: break-word; }
.post__body > * + * { margin-top: 1.1em; }
.post__body h2, .post__body h3, .post__body h4, .post__body h5, .post__body h6 { margin: 1.8em 0 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: 1; color: var(--ink); }
.post__body h2 { font-size: clamp(30px, 3.6vw, 40px); }
.post__body h3 { font-size: clamp(25px, 3vw, 31px); }
.post__body h4, .post__body h5, .post__body h6 { font-size: 22px; }
.post__body > :first-child { margin-top: 0; }
.post__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post__body a:hover { color: var(--red); }
.post__body ul, .post__body ol { padding-left: 1.3em; }
.post__body li + li { margin-top: .4em; }
.post__body li::marker { color: var(--red); }
.post__body img { margin-left: auto; margin-right: auto; border-radius: var(--r); }
.post__body figure { margin: 1.6em 0 0; }
.post__body figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-500); text-align: center; }
.post__body blockquote { margin: 1.6em 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--ink); font-size: 1.1em; color: var(--ink); }
.post__body blockquote > * + * { margin-top: .8em; }
.post__body pre { overflow-x: auto; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; }
.post__body hr { border: 0; border-top: 1px solid var(--line-300); }
.post__body iframe { display: block; max-width: 100%; border: 0; }
.post__video { position: relative; aspect-ratio: 16 / 9; }
.post__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--r); }
.post__spotify { width: 100%; border-radius: 12px; }

.author { max-width: calc(760px + 2 * var(--gutter)); padding-bottom: clamp(56px, 8vw, 112px); }
.author__in { display: flex; gap: 24px; align-items: center; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.author__in img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author__name { font-family: var(--f-display); font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1; color: var(--ink); }
.author__in p + p { margin-top: 6px; color: var(--ink-600); font-size: 15px; }
.author__in .btn { margin-top: 14px; }
@media (max-width: 560px) {
  .post__body { font-size: 17px; }
  .author__in { flex-direction: column; align-items: flex-start; }
}

/* Strony tekstowe (polityka prywatności, 404) */
.doc { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 112px); }
.post__body .post__lead { font-size: 1.15em; line-height: 1.6; font-weight: 600; color: var(--ink); }
