.community-home-link { margin-top: 24px; }

.community-teaser {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.community-teaser h2 { font-size: var(--step-3); margin-bottom: 12px; }

.community-page {
  margin: 0;
  color: var(--ink, #2a1720);
  background: var(--fondant, #f6f0f1);
  font: 1rem/1.6 var(--font-body, "Segoe UI", system-ui, sans-serif);
}

.community-page *, .community-page *::before { box-sizing: border-box; }
.community-page a { color: var(--mulberry, #7a1f45); text-underline-offset: .2em; }
.community-page :focus-visible { outline: 2px solid var(--mulberry, #7a1f45); outline-offset: 3px; }
.community-page img { display: block; max-width: 100%; height: auto; }
.community-page p { margin: 0; }

.community-skip {
  position: absolute;
  z-index: 2;
  inset: 8px auto auto 8px;
  transform: translateY(-180%);
  padding: 8px 16px;
  background: var(--surface, #fffcfc);
}

.community-skip:focus { transform: translateY(0); }
.community-wrap { width: min(1160px, 100% - 2 * clamp(16px, 4vw, 44px)); margin-inline: auto; }
.community-header { background: var(--surface, #fffcfc); border-bottom: 1px solid var(--line, #e5d7dd); }
.community-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; min-height: 76px; }
.community-bar nav { display: flex; gap: clamp(12px, 3vw, 30px); }
.community-bar nav a { padding: 8px 0; text-decoration: none; font-size: .94rem; font-weight: 650; }
.community-bar nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }

.community-bar .community-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink, #2a1720);
  font: 600 clamp(1.16rem, 2vw, 1.55rem)/1.1 Georgia, serif;
  text-decoration: none;
  white-space: nowrap;
}

.community-brand img { width: clamp(33px, 6vw, 46px); }
.community-intro { padding-block: clamp(32px, 6vw, 70px) clamp(24px, 5vw, 46px); }
.community-back { display: inline-block; font-size: .92rem; margin-bottom: 15px; }

.community-intro h1 {
  margin: 0 0 13px;
  font: 500 clamp(2.75rem, 7vw, 5.3rem)/1 var(--font-display, Georgia, serif);
  letter-spacing: -.055em;
  text-wrap: balance;
}

.community-intro .community-lead {
  max-width: 49ch;
  color: var(--ink-soft, #634752);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.community-page main { min-height: calc(100vh - 166px); padding-bottom: clamp(38px, 7vw, 82px); }
.community-page h2 { font: 500 clamp(1.55rem, 2.6vw, 2.1rem)/1.15 var(--font-display, Georgia, serif); margin: 0 0 10px; }
.community-page .torcik-news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.community-page .torcik-news article { border-color: var(--line, #e5d7dd); background: var(--surface, #fffcfc); }
.community-page .torcik-news h3 { margin: 0; font-family: var(--font-display, Georgia, serif); font-weight: 500; }
.community-page .eyebrow { font-size: .8rem; color: var(--ink-soft, #634752); }

.guestbook-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  grid-template-areas: "entries form";
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.guestbook-entries { grid-area: entries; }
.guestbook-form { grid-area: form; }

.guestbook-form,
.guestbook-entry,
.community-empty {
  padding: clamp(19px, 3vw, 28px);
  background: var(--surface, #fffcfc);
  border: 1px solid var(--line, #e5d7dd);
  border-radius: 18px;
}

.guestbook-entry { margin: 14px 0 0; }
.guestbook-entry blockquote { margin: 0; overflow-wrap: anywhere; }
.guestbook-entry blockquote p + p { margin-top: .8em; }

.guestbook-entry blockquote::before {
  content: "“";
  display: block;
  margin-bottom: -9px;
  color: var(--mulberry, #7a1f45);
  font: 500 3.4rem/1 Georgia, serif;
}

.guestbook-entry figcaption { display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; margin-top: 14px; }
.guestbook-entry time { color: var(--ink-soft, #634752); font-size: .9rem; }
.guestbook-entry strong { overflow-wrap: anywhere; }
.guestbook-form > p { color: var(--ink-soft, #634752); }
.guestbook-form label { display: block; font-weight: 650; margin: 15px 0 5px; }

.guestbook-form input:not([type="hidden"]), .guestbook-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: inherit;
  background: var(--fondant, #f6f0f1);
  border: 1px solid var(--line, #c6acb8);
  border-radius: 9px;
  font: inherit;
}

.guestbook-form textarea { resize: vertical; }
.community-button {
  margin-top: 17px;
  min-height: 44px;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  color: var(--on-accent, #fff);
  background: var(--mulberry, #7a1f45);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.guestbook-form .community-message { margin-top: 14px; padding: 10px 12px; border-radius: 9px; color: #25463b; background: #e6eee9; }
.guestbook-form .community-error { color: #6a2035; background: #f4e2e9; }
.community-page .community-empty { color: var(--ink-soft, #634752); }
.community-pagination { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 20px; font-size: .92rem; }
.community-footer { padding: 19px 0; border-top: 1px solid var(--line, #e5d7dd); background: var(--surface, #fffcfc); }
.community-footer .community-wrap { display: flex; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .community-page .torcik-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guestbook-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "form" "entries"; }
}

@media (max-width: 480px) {
  .community-bar { min-height: 64px; gap: 8px; }
  .community-bar nav { gap: 11px; }
  .community-bar nav a { font-size: .86rem; }
  .community-page .torcik-news { grid-template-columns: minmax(0, 1fr); }
}

/* Czytelne opinie Google – pełna szerokość i tekst opinii. */

      .google-reviews{width:100%;max-width:860px;min-width:0;margin:64px auto 48px;scroll-margin-top:24px}
      .google-reviews h2{margin:0 0 12px;font-size:clamp(26px,4vw,36px);line-height:1.2}
      .google-reviews-intro{margin:0 0 28px;font-size:17px;line-height:1.7;color:#354441}
      .google-reviews-intro a{color:#28675f;text-decoration:underline;text-underline-offset:3px}
      .google-review{display:block;min-width:0;margin:0 0 30px;background:#fff;border:1px solid #d6e9e3;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px rgba(45,85,76,.05)}
      .google-review img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;background:#fff}
      .google-review figcaption{display:block;padding:22px 26px;border-top:1px solid #e3eeea;background:linear-gradient(120deg,#fff6fa,#effbf7);color:#263c37}
      .google-review-author{display:flex;align-items:center;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;font-size:18px;line-height:1.45}
      .google-review-author strong{overflow-wrap:anywhere}
      .google-review-rating{white-space:nowrap;color:#806100;font-size:21px;letter-spacing:1px}
      .google-review-rating span{font-size:15px;letter-spacing:0;color:#354441}
      .google-review blockquote{margin:12px 0 0;padding:0;border:0;font-size:18px;line-height:1.7;font-style:normal;color:#263c37}
      .google-review blockquote p{margin:0;overflow-wrap:anywhere}
      @media(max-width:600px){.google-reviews{margin-top:40px}.google-review{border-radius:12px;margin-bottom:22px}.google-review figcaption{padding:18px 16px}.google-review-author{font-size:17px}.google-review blockquote{font-size:17px;line-height:1.65}}
    
.guestbook-welcome-art{margin:0 auto 36px;max-width:420px}.guestbook-welcome-art img{display:block;width:100%;height:auto;border-radius:24px}

.guestbook-welcome-art img{mix-blend-mode:multiply}

.community-intro:has(.guestbook-welcome-art){display:flow-root}.community-intro .guestbook-welcome-art{float:right;width:34%;max-width:320px;margin:0 0 20px 36px}@media(max-width:650px){.community-intro .guestbook-welcome-art{width:36%;margin:12px 0 16px 16px}.community-intro:has(.guestbook-welcome-art) h1{font-size:clamp(38px,9vw,62px)}}

.community-intro:has(.guestbook-welcome-art){display:grid;grid-template-columns:minmax(0,460px)240px;column-gap:32px;align-items:center}.community-intro .guestbook-welcome-art{grid-column:2;grid-row:1 / 4;float:none;width:100%;max-width:240px;margin:0}.community-intro:has(.guestbook-welcome-art) .community-back,.community-intro:has(.guestbook-welcome-art) h1,.community-intro:has(.guestbook-welcome-art) .community-lead{grid-column:1}@media(max-width:650px){.community-intro:has(.guestbook-welcome-art){grid-template-columns:minmax(0,1fr)30%;column-gap:16px}.community-intro:has(.guestbook-welcome-art) h1{font-size:clamp(34px,8vw,52px)}.community-intro .guestbook-welcome-art{width:100%;margin:0}}

@media(min-width:651px){.community-intro:has(.guestbook-welcome-art){grid-template-columns:420px 240px;column-gap:0}.community-intro .guestbook-welcome-art{transform:translate(-12px,-48px)}}
.guestbook-welcome-art{mix-blend-mode:multiply}