:root {
  --bg: #fbf4f7;
  --bg-soft: #ffffff;
  --text: #242229;
  --muted: #6f6670;
  --line: rgba(36, 34, 41, 0.12);
  --accent: #b65f86;
  --accent-soft: #f2bfd3;
  --violet-soft: #e7def4;
  --blue-soft: #e7f0f5;
  --cream-soft: #fbefd9;
  --shadow: rgba(72, 54, 69, 0.16);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(242, 191, 211, 0.72), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(231, 222, 244, 0.86), transparent 31%),
    radial-gradient(circle at 48% 82%, rgba(251, 239, 217, 0.72), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(231, 240, 245, 0.78), transparent 30%),
    linear-gradient(135deg, #fff8fb 0%, #f6edf7 42%, #f5f8fb 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.62)),
    radial-gradient(circle at center, transparent 43%, rgba(72, 54, 69, 0.08) 100%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(36, 34, 41, 0.10);
  background: rgba(255, 250, 253, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(72, 54, 69, 0.08);
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.site-logo span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.58);
  color: var(--text);
  font-size: 1.3rem;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}

main {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 72px 0 96px;
}

h1 {
  margin: 0 0 26px;
  font-size: clamp(2.4rem, 5.8vw, 5.4rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
  color: #242229;
  text-shadow: 0 12px 34px rgba(72, 54, 69, 0.13);
}

p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.site-footer {
  border-top: 1px solid rgba(36, 34, 41, 0.10);
  padding: 30px 32px;
  color: var(--muted);
  background: rgba(255, 250, 253, 0.58);
  backdrop-filter: blur(12px);
  box-shadow: 0 -18px 44px rgba(72, 54, 69, 0.05);
}

.footer-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 250, 253, 0.97);
    box-shadow: 0 18px 45px rgba(72, 54, 69, 0.16);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(182, 95, 134, 0.10);
  }

  main {
    width: min(100% - 24px, var(--max-width));
    padding-top: 46px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
.project-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  max-width: 900px;
}

.project-card {
  display: block;
  padding: 26px;
  border: 1px solid rgba(36, 34, 41, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 18px 45px rgba(72, 54, 69, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(182, 95, 134, 0.26);
  box-shadow: 0 24px 60px rgba(72, 54, 69, 0.13);
}

.project-card-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b65f86;
}

.project-card h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.project-card p {
  margin: 0;
}

.back-link {
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.back-link a {
  color: #b65f86;
}

.back-link a:hover {
  text-decoration: underline;
}
.review-list {
  display: grid;
  gap: 42px;
  margin-top: 48px;
}

.review-card {
  display: flex;
  gap: 32px;
  padding: 32px;
  border: 1px solid rgba(36, 34, 41, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 45px rgba(72, 54, 69, 0.08);
}

.book-cover {
  width: 150px;
  flex-shrink: 0;
}

.book-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(36, 34, 41, 0.12);
  box-shadow: 0 14px 34px rgba(72, 54, 69, 0.12);
}

.review-content {
  flex: 1;
}

.book-meta {
  margin-bottom: 8px;
  color: #b65f86;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.book-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
}

.rating {
  margin-bottom: 14px;
  color: #1a1a1a;
  font-size: 1rem;
}

.rating span {
  color: var(--muted);
  font-size: 0.85rem;
}

.review-text {
  color: var(--muted);
  line-height: 1.75;
}

.review-text p {
  margin: 0 0 1.1rem;
}

.review-text p:last-child {
  margin-bottom: 0;
}

.review-quote {
  font-style: italic;
  color: #7b6573;
}

.review-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-tags a,
.review-tags span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(182, 95, 134, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: #8f4e6c;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .review-card {
    flex-direction: column;
    padding: 24px;
  }

  .book-cover {
    width: 200px;
    max-width: 78%;
  }
}
.text-response-note {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 34, 41, 0.08);
  max-width: 760px;
}

.text-response-note p {
  margin: 0;
  max-width: 760px;
  font-size: 0.68rem;
  line-height: 1.45;
  font-style: italic;
  font-weight: 500;
  color: #1f1b20;
  letter-spacing: 0.01em;
}

.text-response-note a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.text-response-note a:hover {
  text-decoration: underline;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.gallery-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(36, 34, 41, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 45px rgba(72, 54, 69, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(182, 95, 134, 0.25);
  box-shadow: 0 24px 60px rgba(72, 54, 69, 0.14);
}

.gallery-card-image {
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.4s ease;
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}

.gallery-card-info {
  padding: 18px 20px 22px;
}

.gallery-card-info h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  color: var(--text);
}

.gallery-card-info p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.gallery-intro {
  max-width: 820px;
}

.gallery-intro p {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-card-image {
    height: 230px;
  }
}
.album-header {
  margin-bottom: 38px;
}

.album-header h1 {
  margin-bottom: 18px;
}

.album-back {
  display: inline-block;
  margin-bottom: 26px;
  color: #b65f86;
  font-size: 0.95rem;
}

.album-back:hover {
  text-decoration: underline;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.photo-tile {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(36, 34, 41, 0.10);
  box-shadow: 0 12px 30px rgba(72, 54, 69, 0.08);
}

.photo-tile img {
  width: 100%;
  height: 185px;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.photo-tile:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}

/* ===== Własny lightbox ===== */

#zlbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 12, 0.88);
  z-index: 9999;
  touch-action: pan-y;
}

#zlbox.is-open {
  display: flex;
}

#zlbox .zl-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

#zlbox img {
  max-width: 96vw;
  max-height: 96vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.45);
}

.zl-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.zl-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.zl-prev {
  left: 14px;
}

.zl-next {
  right: 14px;
}

.zl-close {
  top: 14px;
  right: 14px;
  transform: none;
}

@media (max-width: 700px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  .photo-tile img {
    height: 145px;
  }

  #zlbox .zl-inner {
    padding: 0;
  }

  #zlbox img {
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
  }

  .zl-prev,
  .zl-next {
    display: none;
  }
}
.feed-grid {
  display: grid;
  gap: 22px;
  margin-top: 44px;
  max-width: 980px;
}

.feed-card {
  display: block;
  padding: 26px;
  border: 1px solid rgba(36, 34, 41, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 45px rgba(72, 54, 69, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.feed-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(182, 95, 134, 0.25);
  box-shadow: 0 24px 60px rgba(72, 54, 69, 0.14);
}

.feed-meta {
  margin: 0 0 10px;
  color: #b65f86;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.feed-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: -0.045em;
  color: var(--text);
}

.feed-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.feed-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.feed-sections a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(182, 95, 134, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: #8f4e6c;
  font-size: 0.92rem;
}

.feed-sections a:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(182, 95, 134, 0.34);
}
.feed-list {
  margin-top: 54px;
  max-width: 820px;
}

.feed-item {
  padding: 28px 0;
  border-top: 1px solid rgba(36, 34, 41, 0.12);
}

.feed-item:last-child {
  border-bottom: 1px solid rgba(36, 34, 41, 0.12);
}

.feed-item-meta {
  margin: 0 0 10px;
  color: #b65f86;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.feed-item h2 {
  margin: 0 0 12px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--text);
}

.feed-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.feed-empty {
  margin-top: 54px;
  max-width: 760px;
  padding-top: 26px;
  border-top: 1px solid rgba(36, 34, 41, 0.12);
  color: var(--muted);
  font-style: italic;
}
/* ===== Luźny układ tekstów / recenzji bez boxów ===== */

.review-list {
  max-width: 980px;
  gap: 0;
}

.review-card {
  display: flex;
  gap: 32px;
  padding: 46px 0;
  border: none;
  border-top: 1px solid rgba(36, 34, 41, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.review-card:last-child {
  border-bottom: 1px solid rgba(36, 34, 41, 0.12);
}

.book-cover img {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(72, 54, 69, 0.14);
}

.review-tags a,
.review-tags span {
  background: transparent;
}

@media (max-width: 900px) {
  .review-card {
    padding: 36px 0;
  }
}
.article-hero {
  width: calc(100vw - 32px);
  max-width: 1760px;
  margin: 0 0 0 50%;
  transform: translateX(-50%);
}
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(36, 34, 41, 0.12);
  box-shadow: 0 18px 45px rgba(72, 54, 69, 0.10);
}
/* ===== Przypisy pod artykułem literackim ===== */

.article-notes {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 34, 41, 0.08);
  max-width: 760px;
}

.article-notes p {
  margin: 0 0 0.55rem;
  max-width: 760px;
  font-size: 0.68rem;
  line-height: 1.45;
  font-style: italic;
  font-weight: 500;
  color: #1f1b20;
  letter-spacing: 0.01em;
}

.article-notes p:last-child {
  margin-bottom: 0;
}

.article-notes a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.article-notes a:hover {
  text-decoration: underline;
}
.feed-item .feed-subtitle {
  margin-top: 0;
}

.feed-item .feed-excerpt {
  margin-top: 18px;
}

.feed-item .feed-readmore {
  margin-top: 22px;
}

.feed-item .feed-readmore a {
  color: #b65f86;
  font-weight: 600;
}

.feed-item .feed-readmore a:hover {
  text-decoration: underline;
}
/* ===== Feed: wpis z miniaturą ===== */

.feed-item--with-image .feed-item-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: start;
}

.feed-thumb {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(36, 34, 41, 0.12);
  box-shadow: 0 14px 34px rgba(72, 54, 69, 0.12);
  background: rgba(255, 255, 255, 0.44);
}

.feed-thumb img {
  width: 100%;
  height: 135px;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.feed-thumb:hover img {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.03);
}

.feed-item--with-image .feed-item-content {
  min-width: 0;
}

.feed-item .feed-subtitle {
  margin-top: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: #111111;
}

.feed-item .feed-excerpt {
  margin-top: 18px;
}

.feed-item .feed-readmore {
  margin-top: 22px;
}

.feed-item .feed-readmore a {
  color: #b65f86;
  font-weight: 600;
}

.feed-item .feed-readmore a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .feed-item--with-image .feed-item-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feed-thumb {
    max-width: 100%;
  }

  .feed-thumb img {
    height: 210px;
  }
}
.article-link-note {
  margin: -0.15rem 0 1.35rem;
  max-width: 760px;
}

.article-link-note p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
  font-style: italic;
  font-weight: 500;
  color: #1f1b20;
  letter-spacing: 0.01em;
}

.article-link-note span {
  color: #1f1b20;
}

.article-link-note a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.article-link-note a:hover {
  text-decoration: underline;
}

.article-small-note {
  margin-top: 1.1rem;
  max-width: 760px;
  font-size: 0.72rem;
  line-height: 1.55;
  font-style: italic;
  color: #1f1b20;
}
.article-inline-photo {
  margin: 2.2rem 0;
  max-width: 820px;
}

.article-inline-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(36, 34, 41, 0.12);
  box-shadow: 0 14px 34px rgba(72, 54, 69, 0.10);
}

.article-inline-photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  line-height: 1.45;
  font-style: italic;
  color: #6f6670;
}
.article-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 820px;
  margin: 2.2rem 0;
}

.article-photo-row .article-inline-photo {
  margin: 0;
  max-width: none;
}

.article-photo-row .article-inline-photo img {
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .article-photo-row {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}
/* ===== Language switch ===== */

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switch a {
  color: #6f6670;
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0.35rem;
  border-radius: 999px;
}

.language-switch a:hover {
  color: #242229;
  background: rgba(182, 95, 134, 0.08);
}

.language-switch a.active {
  color: #242229;
  background: rgba(182, 95, 134, 0.14);
}

@media (max-width: 860px) {
  .language-switch {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
    margin-top: 0.75rem;
  }
}
.site-logo {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.site-logo span {
  color: #b65f86;
}
.home-logo-title {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  line-height: 1;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.home-logo-title span {
  color: #b65f86;
}
/* ===== Photo galleries ===== */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.photo-grid-item {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(36, 34, 41, 0.12);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 34px rgba(72, 54, 69, 0.10);
}

.photo-grid-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.045);
  filter: contrast(1.03) saturate(1.04);
}

@media (max-width: 900px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Gallery lightbox ===== */

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(20, 18, 22, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.lightbox-close,
.lightbox-arrow {
  position: fixed;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 72px;
  border-radius: 999px;
  font-size: 3rem;
  line-height: 1;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .lightbox {
    padding: 18px;
  }

  .lightbox-arrow {
    width: 44px;
    height: 58px;
    font-size: 2.4rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-brand p {
  margin: 0 0 0.35rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
}

.footer-link-group span {
  opacity: 0.7;
}

.footer-link-group a {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
}

.footer-link-group a:hover {
  opacity: 1;
  text-decoration: underline;
}
.book-meta a {
  color: inherit;
  text-decoration: none;
}

.book-meta a:hover {
  text-decoration: underline;
}

.book-title-meta {
  margin-bottom: 6px;
  color: #7b6573;
  font-size: 0.95rem;
  line-height: 1.4;
}

.book-author {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.12rem;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.015em;
  color: #6f3f57;
}
.article-tags {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(36, 34, 41, 0.10);
}

.article-tags-label {
  color: #7b6573;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-tags .review-tags {
  margin-top: 14px;
}

.article-tags .review-tags a {
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.article-tags .review-tags a:hover {
  background: rgba(182, 95, 134, 0.10);
  border-color: rgba(182, 95, 134, 0.45);
}
.feed-item .book-meta {
  color: #1a1a1a;
}
.feed-item .feed-item-meta,
.feed-item .feed-item-meta a {
  color: #1a1a1a;
}
.feed-item .book-meta a:hover,
.feed-item .feed-item-meta a:hover {
  text-decoration: none;
}
.review-card .book-meta,
.review-card .book-meta a {
  color: #1a1a1a;
}
/* ===== Strona główna: kafle ===== */

.feed-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

.feed-grid--3 .feed-item {
  margin: 0;
  padding: 0;
}

.feed-grid--3 .feed-item--with-image .feed-item-layout {
  display: block;
}

.feed-grid--3 .feed-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feed-grid--3 .feed-item-content {
  padding-top: 16px;
}

@media (max-width: 900px) {
  .feed-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .feed-grid--3 {
    grid-template-columns: 1fr;
  }
}
/* ===== Szersza strona główna ===== */

.home-main {
  width: calc(100% - 32px);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
.home-main .feed-list {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.feed-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.feed-card-link:hover {
  color: inherit;
  text-decoration: none;
}
.home-main .feed-thumb {
  border-radius: 0;
}
/* ===== Książki: układ kafelkowy ===== */

.books-main {
  width: calc(100% - 32px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 28px;
}

.books-grid .review-card {
  margin: 0;
}

@media (max-width: 900px) {
  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .books-grid {
    grid-template-columns: 1fr;
  }
}
.books-grid .review-card {
  display: block;
}

.books-grid .book-cover {
  width: 100%;
}

.books-grid .book-cover a {
  display: block;
}

.books-grid .book-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.books-grid .review-content {
  padding-top: 16px;
}
.books-main .review-list {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.books-grid .review-content h2 {
  margin: 0 0 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--text);
}

.books-grid .review-content h2 a {
  color: inherit;
  text-decoration: none;
}
.books-grid .review-content h2 {
  margin: 0 0 12px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--text);
}

.books-grid .review-content h2 a {
  color: inherit;
  text-decoration: none;
}
.books-grid .review-card .review-content p {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.015em;
  color: #111111;
}
.book-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.book-card-link:hover {
  color: inherit;
  text-decoration: none;
}

.book-card-link .book-title,
.book-card-link .review-text p {
  color: inherit;
}
/* ===== Muzyka: układ kafelkowy ===== */

.music-main {
  width: calc(100% - 32px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.music-main .review-list {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

.music-grid .review-card {
  margin: 0;
}

@media (max-width: 900px) {
  .music-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .music-grid {
    grid-template-columns: 1fr;
  }
}
.music-grid .review-card {
  display: block;
}

.music-grid .book-cover {
  width: 100%;
  max-width: none;
}

.music-grid .book-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.music-grid .review-content {
  padding-top: 16px;
}
.music-grid .review-content h2 {
  margin: 0 0 12px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--text);
}

.music-grid .review-card .review-content p {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.015em;
  color: #111111;
}
/* ===== Filmy: układ kafelkowy ===== */

.films-main {
  width: calc(100% - 32px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.films-main .review-list {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.films-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

@media (max-width: 900px) {
  .films-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .films-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Filmy: wygląd kafelków ===== */

.films-grid .review-card {
  display: block;
  margin: 0;
}

.films-grid .book-cover {
  width: 100%;
  max-width: none;
}

.films-grid .book-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.films-grid .review-content {
  padding-top: 16px;
}

.films-grid .review-content h2 {
  margin: 0 0 12px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--text);
}

.films-grid .review-card .review-content p {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.015em;
  color: #111111;
}
/* ===== Sztuka: układ kafelkowy ===== */

.art-main {
  width: calc(100% - 32px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.art-main .review-list {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

.art-grid .review-card {
  display: block;
  margin: 0;
}

.art-grid .book-cover {
  width: 100%;
  max-width: none;
}

.art-grid .book-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.art-grid .review-content {
  padding-top: 16px;
}

.art-grid .review-content h2 {
  margin: 0 0 12px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--text);
}

.art-grid .review-card .review-content p {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.015em;
  color: #111111;
}

@media (max-width: 900px) {
  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .art-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Interakcje: układ kafelkowy ===== */

.interactions-main {
  width: calc(100% - 32px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.interactions-main .review-list {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.interactions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

.interactions-grid .review-card {
  display: block;
  margin: 0;
}

.interactions-grid .book-cover {
  width: 100%;
  max-width: none;
}

.interactions-grid .book-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.interactions-grid .review-content {
  padding-top: 16px;
}

.interactions-grid .review-content h2 {
  margin: 0 0 12px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--text);
}

.interactions-grid .review-card .review-content p {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.015em;
  color: #111111;
}

@media (max-width: 900px) {
  .interactions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .interactions-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-intro {
  width: 100%;
  max-width: none;
}

.gallery-intro h1 {
  width: 100%;
  max-width: none;
}
/* ===== Artykuł: układ magazynowy ===== */

.article-page {
  width: calc(100% - 32px);
  max-width: 1760px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  padding-bottom: 100px;
}
.single-review.article-layout {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.article-hero {
  width: calc(100vw - 32px);
  max-width: 1760px;
  margin: 0 0 0 50%;
  transform: translateX(-50%);
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.article-layout .article-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 64px 0 0;
  box-sizing: border-box;
}
.article-header {
  width: calc(100% - 32px);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.article-header .book-title {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--text);
}

.article-header .rating {
  margin: 30px 0 0;
  text-align: center;
}

.article-intro {
  width: calc(100% - 32px);
  max-width: 950px;
  margin: 48px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.6;
  color: #453c43;
  text-align: center;
}

.article-intro--quote {
  font-style: italic;
}

.article-intro--lead {
  font-style: normal;
}

.article-body {
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 48px auto 0;
}

.article-body p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  font-weight: 400;
  line-height: 1.7;
  color: #292529;
  text-align: left;
}

@media (max-width: 700px) {
  .article-page {
    width: 100%;
  }

  .article-hero img {
    aspect-ratio: 16 / 9;
  }

  .article-layout .article-content {
    padding-top: 40px;
  }

  .article-header .book-title {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .article-body {
    margin-top: 52px;
  }
}
.article-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-header .article-intro {
  display: block;
  width: min(950px, calc(100% - 32px));
  margin: 48px 0 0 !important;
  padding: 0;
  float: none;
  position: static;
  transform: none;
  align-self: center;
  text-align: center !important;
}
.article-header .article-intro {
  font-size: clamp(1.4rem, 2.2vw, 2rem) !important;
}
.article-header .article-intro {
  width: min(900px, calc(100% - 32px));
  margin-top: 48px !important;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem !important;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #111111;
  text-align: center !important;
}
.article-footer-content {
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 48px auto 0;
}

.article-footer-content .article-tags,
.article-footer-content .text-response-note {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.article-hero-credit {
  width: 100%;
  margin: 6px 0 0;
  padding: 0 6px;
  box-sizing: border-box;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 1.35;
  color: #918990;
  text-align: center;
}

.article-hero-credit a {
  color: inherit;
  text-decoration-color: #b8b1b6;
  text-underline-offset: 2px;
}
.article-side-image {
  box-sizing: border-box;
}

.article-side-image img {
  display: block;
  width: 100%;
  height: auto;
}

.article-side-image--left {
  float: left;
  width: 420px;
  margin-top: 8px;
  margin-right: 32px;
  margin-bottom: 28px;
  margin-left: calc(
    (min(1760px, calc(100vw - 32px)) - 860px) / -2
  );
}

.article-side-image--left .article-hero-credit {
  padding-left: 0;
  padding-right: 0;
}

/* Na węższych ekranach zdjęcie wraca do kolumny tekstu */
@media (max-width: 1100px) {
  .article-side-image--left {
    width: 42%;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .article-side-image--left {
    float: none;
    width: 100%;
    margin: 32px 0;
  }
}
.article-side-image--left-wide {
  width: 560px;
  margin-right: 28px;
}
@media (max-width: 1100px) {
  .article-side-image--left-wide {
    width: 48%;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .article-side-image--left-wide {
    width: 100%;
    margin: 32px 0;
  }
}
.feed-feature-banner {
  position: relative;
  width: 100%;
  margin: 0 0 34px;
  overflow: hidden;
}

.feed-feature-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Zielona część baneru */
.feed-feature-banner-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 44%;
  display: block;
  cursor: pointer;
  transition: background 0.2s ease;
}

.feed-feature-banner-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.feed-feature-banner-link:focus-visible {
  outline: 4px solid #ffffff;
  outline-offset: -6px;
}
.feed-grid > .feed-feature-banner {
  grid-column: 1 / -1 !important;
  width: 100%;
  margin-bottom: 34px;
}

.feed-feature-banner img {
  display: block;
  width: 100%;
  height: auto;
}