:root {
  --rose: #f8e8ee;
  --rose-accent: #d4899a;
  --white: #fffefb;
  --ink: #3d2c33;
  --ink-soft: #6b5a62;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: var(--rose-accent);
}

.header-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header {
  background: linear-gradient(180deg, var(--rose) 0%, var(--white) 100%);
  border-bottom: 1px solid rgba(212, 137, 154, 0.2);
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.back-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.back-link:hover {
  color: var(--rose-accent);
}

.page-main {
  flex: 1;
  padding: 2rem 0 3.5rem;
}

.content-wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-title {
  font-size: clamp(1.75rem, 3.5vw, 2.15rem);
  margin-bottom: 0.5rem;
}

.page-updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

.page-block h2 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.65rem;
}

.page-block p,
.page-block li {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.page-block ul {
  margin: 0 0 1rem 1.25rem;
}

.contact-card {
  background: var(--rose);
  border-radius: 0.75rem;
  padding: 1.35rem 1.5rem;
  margin-top: 1.5rem;
}

.contact-card p {
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.contact-card a {
  font-weight: 600;
}

.site-footer {
  margin-top: auto;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid rgba(212, 137, 154, 0.25);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 1rem;
}

.footer-links a {
  font-weight: 500;
  text-decoration: none;
  color: var(--rose-accent);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.footer-copy {
  max-width: 32rem;
  margin: 0 auto;
}

.footer-email {
  margin-bottom: 0.65rem;
}

.footer-email a {
  font-weight: 600;
  text-decoration: none;
}

.footer-email a:hover {
  text-decoration: underline;
}

/* Długie artykuły */
.content-wrap.content-article {
  max-width: 40rem;
}

.article-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.article-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.article-figure {
  margin: 0 0 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(61, 44, 51, 0.12);
}

.article-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
}

.article-figure figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0.65rem 0.35rem 0;
  line-height: 1.45;
}

article.article-long .page-block h2 {
  margin-top: 2.15rem;
}

article.article-long .page-block h2:first-of-type {
  margin-top: 0.5rem;
}

article.article-long .page-block p {
  text-align: justify;
  hyphens: auto;
}

article.article-long .page-block p.note-box {
  text-align: left;
  font-size: 0.9rem;
  background: var(--rose);
  padding: 1rem 1.15rem;
  border-radius: 0.5rem;
  border-left: 3px solid var(--rose-accent);
}

