/* October 2026 review: retained CERBER typography, cream and muted gold. */
.brand-pattern { position: relative; isolation: isolate; overflow: hidden; background: #f1eee5; }
.brand-pattern::before { content: ''; position: absolute; inset: -180px; z-index: -1; pointer-events: none; background: url('/assets/f48c82d662da5108.webp') 0 0 / 190px 90px repeat; opacity: .035; transform: rotate(-24deg); }
.brand-pattern > .wrap { position: relative; }
.footer-award { border-top: 1px solid #ddd6c5; }
.footer-award .home-award-inner { padding-block: 34px; }
.footer-main { grid-template-columns: 1.15fr 1.15fr .9fr 170px; gap: 42px; }
.footer-qr img { width: 148px; height: 148px; border-radius: 3px; }
.footer-main .footer-qr p { max-width: 190px; font-size:max(14px, 12px); line-height: 1.7; margin-top: 14px; }
.footer-bottom { align-items: center; flex-wrap: wrap; gap: 15px 28px; }
.brainbox-credit { white-space: nowrap; }
.brainbox-credit strong { color: #e4d2a6; font-size:max(14px, 12px); letter-spacing: 1.6px; margin-left: 5px; }
.service-icon { width: 64px; height: 64px; flex: none; fill: none; stroke: #9b8147; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inner-page .services-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 34px; }
.inner-page .services-index > a { display: flex; flex-direction: row; text-align: left; align-items: center; justify-content: flex-start; gap: 20px; padding-block: 29px; min-width: 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.inner-page .services-index > a > div { min-width: 0; }
.inner-page .services-index h2 { font-size:26px; line-height: 1.2; margin: 0 0 9px; }
.inner-page .services-index span { font-size:11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.inner-page .services-index > a:hover { background: #f1eee580; }
.inner-page .services-index > a:hover .service-icon { stroke: #68562f; }
.author-bio { display: flex; gap: 20px; align-items: flex-start; border-top: 1px solid var(--line); }
.author-bio .author_icon { flex: 0 0 48px; color: #ad9a70; }
.author-bio .author_icon svg { display: block; width: 48px; height: 48px; max-width: 48px; }
.author-bio .author_text_holder { min-width: 0; }
.inner-page .author-bio h3, .inner-page .author-bio h4 { margin-top: 0; }
.inner-page .review-photo-pair { align-items: start; }
.inner-page .page-title .button.dark { color: #fff; }
.inner-page .review-photo-pair .content-media img { width: 100%; height: auto; object-fit: contain; }
.inner-page .service-closing { max-width: 880px; margin: 46px auto 0; padding-top: 30px; border-top: 1px solid var(--gold); }
.inner-page .service-closing .content-prose > p { max-width: none; }
.warsaw-story .article-content { padding: 0; max-width: none; }
.warsaw-jump-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.warsaw-jump-links a { font-size:13px; border-bottom: 1px solid #bdab85; padding-block: 5px; }
.warsaw-story .warsaw-split { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: start; gap: 40px; padding-block: 44px; }
.warsaw-story .warsaw-split.reverse { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.warsaw-split.reverse > figure { grid-column: 1; grid-row: 1; }
.warsaw-split.reverse > div { grid-column: 2; }
.editorial-photo { margin: 0; }
.editorial-photo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 4px 32px 4px 4px; }
.editorial-photo figcaption { font-size:12px; line-height: 1.6; color: var(--muted); margin-top: 10px; padding-top: 8px; border-top: 1px solid #d3cbb9; }
.warsaw-story .article-body h2:first-child { margin-top: 0; }
.warsaw-story .article-body p:last-child { margin-bottom: 0; }
.warsaw-story .article-body h2 { font-size:clamp(30px,3vw,40px); }
.warsaw-story .warsaw-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; padding-block: 44px; }
.warsaw-story .warsaw-columns > div { min-width: 0; }
.warsaw-support .article-body p { color: #54594f; }
.warsaw-parallax { min-height: 440px; display: grid; align-items: center; text-align: center; color: white; background: linear-gradient(#14221bd9,#14221b99),url('/assets/zdjecia-cerber/cerber-kwiaty-kolo-02-1448.webp') center 54% / cover; padding-block: 80px; }
.warsaw-parallax h2 { font-size:clamp(39px,5vw,66px); }
.warsaw-parallax .eyebrow { color: #e4d2a6; }
.warsaw-parallax .button { margin-top: 30px; }
.warsaw-offer > .wrap { padding-block: 58px; }
.warsaw-story .warsaw-offer .content-list { grid-template-columns: 1fr 1fr; list-style: none; padding: 0; gap: 0 45px; }
.warsaw-story .warsaw-offer .content-list > li { position: relative; padding: 17px 0 17px 24px; border-bottom: 1px solid #dbd3c1; }
.warsaw-offer li::before { content: ''; position: absolute; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; left: 2px; top: 28px; }
.warsaw-story #warszawa-cmentarze { border-bottom: 1px solid var(--line); }
.warsaw-ceremonies { background: #f1f0e9; }
.ceremony-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ceremony-heading .service-icon { display: block; width: 44px; height: 44px; margin: 0; }
.inner-page .article-body .ceremony-heading h2, .inner-page .article-body .ceremony-heading h3 { margin: 0; font-size:29px; }
.warsaw-ceremonies .article-body h2 { margin-top: 0; }
.warsaw-story .warsaw-chapels { text-align: left; padding-block: 38px; }
.warsaw-reviews { background: #f1f0e9; padding-block: 58px; }
.inner-page .warsaw-reviews ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.warsaw-reviews li:last-child:nth-child(odd) { grid-column: 1/-1; }
.warsaw-story .warsaw-reviews li { margin: 0; padding: 23px 0 0; border-top: 1px solid var(--gold); font-size:14px; }
.warsaw-story .warsaw-reviews li p { font-size:14px; }
.warsaw-story > .section:last-child { padding-block: 35px 58px; }
.warsaw-story .local-links { margin: 0; }
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) and (hover: hover) { .warsaw-parallax { background-attachment: fixed; } }
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .inner-page .services-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .warsaw-story .warsaw-split, .warsaw-story .warsaw-columns { gap: 36px; }
}
@media (max-width: 740px) {
  .warsaw-story .warsaw-split, .warsaw-story .warsaw-split.reverse, .warsaw-story .warsaw-columns { grid-template-columns: 1fr; gap: 28px; padding-block: 38px; }
  .warsaw-split.reverse > figure, .warsaw-split.reverse > div { grid-column: auto; grid-row: auto; }
  .warsaw-story .warsaw-offer .content-list { grid-template-columns: 1fr; }
  .warsaw-jump-links { justify-content: flex-start; gap: 6px 22px; padding-block: 20px; }
  .warsaw-parallax { min-height: 330px; padding-block: 55px; background-attachment: scroll; }
  .warsaw-parallax .button { max-width: 100%; }
  .warsaw-offer > .wrap, .warsaw-reviews { padding-block: 38px; }
  .inner-page .warsaw-reviews ul { grid-template-columns: 1fr; gap: 24px; }
  .warsaw-story .warsaw-chapels { padding-block: 38px; }
  .inner-page .services-index { grid-template-columns: 1fr; }
  .inner-page .services-index > a { padding-block: 23px; gap: 20px; }
  .inner-page .services-index h2 { font-size:27px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-main > div:first-child { grid-column: 1/-1; }
  .footer-main > div:nth-child(2) { grid-column: 1/-1; }
  .footer-main .footer-qr p { max-width: 160px; }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; }
  .footer-bottom a { margin-top: 0; }
}
@media (max-width: 380px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-qr img { width: 148px; height: 148px; }
}
@media (prefers-reduced-motion: reduce) { .warsaw-parallax { background-attachment: scroll; } }

/* Content determines section height. Short copy never gets a portrait row. */
.inner-page .article-body .content-pair { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: start; gap: 36px; }
.inner-page .article-body .content-pair:has(> .content-media:first-child) { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.inner-page .article-body .content-pair:has(.content-media [data-photo-shape="portrait"]) { grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); }
.inner-page .article-body .content-pair:has(> .content-media:first-child [data-photo-shape="portrait"]) { grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); }
.inner-page .content-media img[data-photo-shape="portrait"] { width: auto; max-width: 100%; height: auto; max-height: 360px; margin-inline: auto; object-fit: contain; }
.inner-page .article-body .content-gallery-row { display: block; }
.inner-page .content-gallery-row > .content-prose { columns: 2; column-gap: 36px; }
.inner-page .content-gallery-row > .content-prose p { max-width: none; }
.inner-page .content-gallery-row > .content-media { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 18px; margin-top: 24px; }

/* City landings share an aligned, compact reading rhythm. */
.city-story { padding-block: 0 24px; }
.city-story .city-section { padding-block: 32px; border-bottom: 1px solid var(--line); }
.city-story .article-content { padding: 0; max-width: none; margin: 0; min-width: 0; }
.city-story .article-body h2:first-child, .city-story .article-body h3:first-child { margin-top: 0; }
.city-story .article-body p:last-child { margin-bottom: 0; }
.city-story .city-photo-row { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 40px; align-items: start; }
.city-story .editorial-photo { min-width: 0; margin: 0; }
.city-story .city-photo-reverse .city-photo-row { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.city-story .city-photo-reverse .city-photo-row > figure { grid-row: 1; grid-column: 1; }
.city-story .city-photo-reverse .city-photo-row > div { grid-column: 2; }
.city-story .city-transport .city-photo-row { align-items: center; }
.city-story .city-copy-columns, .city-story .city-continuation { columns: 2; column-gap: 40px; }
.city-story .city-continuation { margin-top: 24px; }
.inner-page .city-story .city-text-copy p { max-width: none; orphans: 3; widows: 3; }
.city-story .city-ceremony-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.city-story .city-ceremony { min-width: 0; }
.city-story .city-ceremony + .city-ceremony { padding-left: 40px; border-left: 1px solid var(--line); }
.city-story .content-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 45px; }
.inner-page .city-story .city-review-grid { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 24px 0; }
.city-story .city-review-grid > li { margin: 0; padding: 26px 28px; background: #f0eee6; border: 0; border-left: 2px solid #b9a16a; display: flex; flex-direction: column; }
.city-story .city-review-grid > li:last-child:nth-child(odd) { grid-column: 1/-1; }
.city-story .city-review-grid blockquote { margin: 0 0 22px; }
.city-story .city-review-grid blockquote p { font-size:15px; line-height: 1.75; }
.city-story .city-review-grid cite { margin-top: auto; font-style: normal; font-size:13px; color: #454b41; font-weight: 600; }
.inner-page .city-story .city-faq-list { list-style: none; padding: 0; margin: 24px 0 0; }
.city-story .city-faq-list > li { padding: 0; margin: 0; border-top: 1px solid var(--line); }
.city-faq-list summary { cursor: pointer; padding: 20px 8px 20px 0; font-size:16px; font-weight: 600; }
.city-faq-list details > div { padding: 0 28px 22px 0; max-width: 850px; }
.inner-page #main > .city-contact { padding-block: 32px; }
.city-contact-heading { margin-bottom: 22px; }
.city-contact-heading .eyebrow { margin: 0 0 10px; }
.city-contact-heading h2 { font-size:clamp(30px,3vw,42px); margin: 0; }
.city-contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; align-items: stretch; }
.city-contact .office-card { padding: 28px 30px; }
.city-contact .office-card h3 { margin-top: 8px; font-size:30px; }
.city-contact .office-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; margin-block: 20px; }
.city-contact .office-card dl > div:last-child { grid-column: 1/-1; }
.city-contact .office-card dd { font-size:21px; }
.city-contact .office-card dl > div:last-child dd { font-size:16px; overflow-wrap: anywhere; }
.city-contact-map { display: flex; flex-direction: column; min-width: 0; }
.city-contact-map .office-map { height: auto; flex: 1; min-height: 280px; border: 1px solid #d8d9cd; }
.city-contact-map > p { font-size:13px; margin: 12px 0 4px; }
.city-contact-map > a { align-self: flex-start; }
@media (max-width: 900px) {
 .city-story .city-photo-row { gap: 28px; }
 .city-story .city-ceremony-grid { gap: 24px; }
 .city-story .city-ceremony + .city-ceremony { padding-left: 24px; }
 .city-contact .office-card dl { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
 .inner-page .article-body .content-pair, .inner-page .article-body .content-pair:has(> .content-media:first-child), .inner-page .article-body .content-pair:has(.content-media [data-photo-shape="portrait"]), .inner-page .article-body .content-pair:has(> .content-media:first-child [data-photo-shape="portrait"]) { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .inner-page .content-gallery-row > .content-prose { columns: 1; }
 .inner-page .content-gallery-row > .content-media { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .city-story { padding-block: 0 26px; }
 .city-story .city-section { padding-block: 28px; }
 .city-story .city-photo-row, .city-story .city-photo-reverse .city-photo-row, .city-story .city-ceremony-grid, .city-contact-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .city-story .city-photo-reverse .city-photo-row > figure, .city-story .city-photo-reverse .city-photo-row > div { grid-column: auto; grid-row: auto; }
 .city-story .city-copy-columns, .city-story .city-continuation { columns: 1; }
 .city-story .city-ceremony + .city-ceremony { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
 .city-story .content-list, .inner-page .city-story .city-review-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .city-story .city-review-grid > li { padding: 22px; }
 .city-contact .office-card { padding: 24px; }
 .city-contact .office-card dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .city-contact-map .office-map { min-height: 260px; }
 .inner-page #main > .city-contact { padding-block: 28px; }
}
@media (max-width: 380px) { .city-contact .office-card dl { grid-template-columns: 1fr; } }
