/* Hello Ryn look (Appearance → Customize → Hello Ryn — wygląd). It deliberately overrides
   some Elementor style settings; switch it off there to let Elementor control everything. */

/* Posts widget typography and readable, uncropped thumbnails. */
body :is(.elementor-post__title, .elementor-post__title a) { font-size: 1.125em !important; line-height: 1.4 !important; }
body .elementor-post__title a { font-size: inherit !important; }
body .elementor-post__meta-data { font-size: 0.9375em !important; line-height: 1.5; }
body .elementor-post__excerpt p { font-size: 1em !important; line-height: 1.65; text-align: start; }
body .elementor-posts .elementor-post__read-more { font-size: 1em !important; }

body .elementor .elementor-widget-posts .elementor-post__thumbnail {
  padding-bottom: 0 !important;
  height: auto;
  aspect-ratio: 16 / 10;
  background: #edf1f3;
}
body .elementor .elementor-widget-posts .elementor-post__thumbnail img {
  position: static;
  transform: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Header bar, menu and home icon. */
body .elementor-element.elementor-element-2c1f3ab4 { background-color: var(--ryn-blue) !important; }
body .elementor-element-2c1f3ab4 :is(.elementor-icon-list-item a, .elementor-icon) { color: #fff; }
body .elementor-element-2c1f3ab4 .ryn-home-link { color: #fff !important; }
body .elementor-element-2c1f3ab4 .ryn-home-link :is(svg, i) { width: 24px; height: 24px; font-size: 22px; fill: currentColor; }
body :is(.elementor-posts-container, .elementor-loop-container) { gap: 1.5rem; }
@media (max-width: 1024px) {
  body .elementor-widget-posts .elementor-posts-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body .elementor-widget-posts .elementor-posts-container,
  body .elementor-widget-loop-grid .elementor-loop-container { --grid-columns: 1; grid-template-columns: minmax(0, 1fr) !important; gap: 1rem; }
}

/* Footer follows document order on desktop and mobile, with no absolute logo. */
body .elementor-location-footer {
  --ryn-footer-blue: var(--ryn-footer, #06688d);
  border-top: 1px solid rgb(255 255 255 / 25%);
  background: var(--ryn-footer-blue);
  color: #fff;
}
body .elementor-location-footer .elementor-element-3ccee4c5 { padding: clamp(1.5rem, 4vw, 3rem) 1.25rem !important; background: var(--ryn-footer-blue) !important; }
body .elementor-location-footer .elementor-element-3ccee4c5 > .e-con-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 80rem;
}
body .elementor-location-footer .elementor-element-3dd255bf { display: none; }
body .elementor-location-footer .elementor-element-62cc9869 {
  display: none !important;
  position: static !important;
  width: 100%;
  max-width: 6.5rem;
  margin: 0;
}
body .elementor-location-footer .elementor-element-62cc9869 img { width: 100%; height: auto; max-height: 13rem; object-fit: contain; }
body .elementor-location-footer :is(.elementor-element-239a810b, .elementor-element-57808141) { width: 100%; align-items: stretch; gap: 1rem; text-align: start; }
body .elementor-location-footer .elementor-widget-container { margin: 0 !important; padding: 0; }
body .elementor-location-footer .elementor-heading-title { font-size: 1.25rem !important; line-height: 1.4 !important; font-weight: 700; color: #fff !important; text-align: start; }
body .elementor-location-footer .elementor-widget-text-editor { color: #fff !important; font-size: 1.0625rem !important; font-weight: 400; text-align: start !important; overflow-wrap: anywhere; }
body .elementor-location-footer p { line-height: 1.7; margin-block: 0 0.75rem; }
body .elementor-location-footer .elementor-icon-list-item a { min-height: 48px; padding-block: 0.625rem; color: #fff !important; font-size: 1.0625rem !important; font-weight: 500; line-height: 1.6; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
body .elementor-location-footer .elementor-icon-list-item a:is(:hover, :focus-visible) { text-decoration-thickness: 3px; }
body .elementor-location-footer .elementor-icon-list-icon { display: none; }
body .elementor-location-footer .ryn-footer-grid > :is(.ryn-footer-brand, .ryn-footer-links, .ryn-footer-hours, .ryn-footer-address) {
  min-width: 0;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
  align-self: start;
  justify-self: start;
  text-align: start;
  overflow-wrap: anywhere;
}
body .elementor-location-footer .ryn-footer-address { display: flex; flex-direction: column; gap: 1rem; }
body .elementor-location-footer .ryn-footer-grid .elementor-widget { max-width: 100%; margin-block: 0 !important; }
body .elementor-location-footer .elementor-heading-title { margin: 0; letter-spacing: 0; text-transform: none; }
body .elementor-location-footer .elementor-heading-title::after { content: ''; display: block; width: 2rem; height: 3px; margin-top: 0.5rem; background: #fff; border-radius: 2px; }
body .elementor-location-footer .elementor-widget-text-editor { line-height: 1.7; }
body .elementor-location-footer .elementor-icon-list-items { display: flex; flex-direction: column; gap: 0.125rem; padding: 0; margin: 0; }
body .elementor-location-footer .elementor-icon-list-item { margin: 0 !important; padding: 0; }
body .elementor-location-footer .elementor-icon-list-item a { display: flex; align-items: center; padding: 0.625rem 0.5rem; border-radius: 0.25rem; }
body .elementor-location-footer .elementor-icon-list-item a:is(:hover, :focus-visible) { background: var(--ryn-ink); color: #fff !important; }
body .elementor-location-footer .elementor-icon-list-text { color: inherit !important; font-size: inherit !important; line-height: inherit; white-space: normal; overflow-wrap: anywhere; }
body .elementor-location-footer .ryn-footer-brand a { display: inline-flex; padding: 0.25rem; border-radius: 0.25rem; }
body .elementor-location-footer .ryn-footer-grid > .ryn-footer-brand { max-width: 6.5rem !important; }
body .elementor-location-footer .ryn-footer-address strong { font-weight: 600; }
body .elementor-location-footer :is(.ryn-footer-postal, .ryn-footer-data-value) { margin: 0 0 1rem; font-style: normal; font-size: inherit; line-height: 1.75; font-variant-numeric: tabular-nums; }
body .elementor-location-footer .ryn-footer-data-label { margin: 1.25rem 0 0.5rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / 35%); }
body .elementor-location-footer .ryn-footer-hours p { line-height: 1.85; }

@media (max-width: 1024px) {
  body .elementor-location-footer .elementor-element-3ccee4c5 > .e-con-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  body .elementor-location-footer .elementor-element-62cc9869 { grid-column: auto; max-width: 6.5rem; }
}
@media (max-width: 600px) {
  body .elementor-location-footer .elementor-element-3ccee4c5 > .e-con-inner { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
@media (min-width: 1025px) and (max-width: 1150px) {
  body .elementor-location-footer .elementor-element-3ccee4c5 > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 1150px) {
  body .elementor-location-footer .ryn-footer-address { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body .elementor-location-footer .elementor-element-3ccee4c5 > .e-con-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  body .elementor-location-footer .elementor-element-3ccee4c5 { padding: 1.75rem 1.25rem; }
  body .elementor-location-footer .ryn-footer-grid > :is(.ryn-footer-hours, .ryn-footer-address) { border-top: 1px solid rgb(255 255 255 / 35%); padding-top: 1.25rem; }
}
/* Carousel height and uncropped carousel images. */
body .elementor-widget-slides.ryn-carousel-ready .elementor-slides-wrapper { height: clamp(16rem, 40vw, 36rem) !important; }
body .elementor-widget-slides.ryn-carousel-ready .swiper-slide { height: 100% !important; }
body .elementor-widget-slides.ryn-carousel-ready .swiper-slide-bg { background-position: center; background-size: cover; }
body .elementor-widget-image-carousel .swiper-slide img { max-height: 22rem; width: 100%; object-fit: contain; }

/* Consistent section rhythm and a readable introduction to the municipality. */
/* Editorial section header: heading and "more" link share one row above a hairline with a green accent. */
body .elementor-12 .elementor-element:is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  width: min(100% - 2.5rem, 77.5rem) !important;
  max-width: none;
  margin: clamp(3rem, 6vw, 5rem) auto 0 !important;
  padding: 0 0 0.625rem !important;
  border-bottom: 1px solid #d3dce3;
  background: transparent !important;
}
body .elementor-12 .elementor-element:is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b)::after { content: ''; position: absolute; inset: auto auto -1px 0; width: 3.5rem; height: 4px; background: var(--ryn-green); }
body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) > .elementor-widget { width: auto !important; max-width: 100%; flex: 0 1 auto; margin: 0 !important; }
body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) .elementor-widget-container { background: transparent !important; padding: 0 !important; margin: 0 !important; }
body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) .elementor-heading-title { color: var(--ryn-ink) !important; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: -0.01em; text-align: start !important; text-transform: none !important; }
body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) .elementor-widget-button .elementor-button { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 44px; padding: 0.5rem 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #06688d !important; font-size: 1rem !important; font-weight: 600; line-height: 1.4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) .elementor-widget-button .elementor-button::after { content: '→'; text-decoration: none; transition: transform 160ms ease; }
body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) .elementor-widget-button .elementor-button:is(:hover, :focus-visible) { color: var(--ryn-ink) !important; text-decoration-thickness: 2px; }
body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) .elementor-widget-button .elementor-button:hover::after { transform: translateX(3px); }
body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) .elementor-button-text { color: inherit !important; }
body .elementor-12 .elementor-element:is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) { width: 100%; max-width: 80rem; margin: 0 auto !important; padding: clamp(1.25rem, 2.5vw, 2rem) 1.25rem 0 !important; }
body :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) > .e-con-inner { width: 100%; padding: 0; gap: 1.5rem; }

/* Cards: start-aligned text, date as metadata, clamped excerpt; the title link covers the whole card. */
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post { display: flex; flex-direction: column; overflow: hidden; padding: 0 !important; border: 1px solid #dce3e8 !important; border-radius: 0.5rem !important; background: #fff !important; box-shadow: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post:is(:hover, :focus-within) { border-color: #9cadbc; box-shadow: 0 6px 20px rgb(23 39 71 / 10%); }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post__thumbnail__link { width: 100%; margin: 0 !important; }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post__text { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1rem 1.125rem 1.25rem !important; text-align: start !important; }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post__title { margin: 0 !important; text-align: start !important; font-weight: 600 !important; }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post__title a { color: var(--ryn-ink) !important; text-align: start !important; }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post__meta-data { order: -1; margin: 0 !important; color: #566577 !important; font-size: 0.875rem !important; font-variant-numeric: tabular-nums; text-align: start !important; }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post__excerpt { margin: 0 !important; }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post__excerpt p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; color: #3d4a5c !important; text-align: start !important; }
body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) :is(.elementor-post__read-more-wrapper, .elementor-post__read-more) { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  body .elementor-12 :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-post,
  body .elementor-12 :is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) .elementor-button::after { transition: none; }
}

/* Partner logos: one calm row of equal-height marks; closing panorama kept short. */
body .elementor-12 .elementor-element.elementor-element-8a7b741 { margin-bottom: 0 !important; }
body .elementor-12 .elementor-element.elementor-element-3126fda { margin: 0 !important; padding: clamp(1.75rem, 3.5vw, 2.5rem) 1.25rem !important; border: 0 !important; }
body .elementor-12 .elementor-element-3126fda > .e-con-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem clamp(1.5rem, 3vw, 2.75rem); max-width: 77.5rem; padding: 0; }
body .elementor-12 .elementor-element-3126fda .elementor-widget-image { flex: 0 0 auto; width: auto !important; max-width: none; margin: 0 !important; }
body .elementor-12 .elementor-element-3126fda .elementor-widget-image img { display: block; width: auto !important; max-width: 10rem; height: 4rem !important; object-fit: contain; }
body .elementor-12 .elementor-element.elementor-element-6b1da53 { margin: 0 !important; padding: 0 !important; }
body .elementor-12 .elementor-element-6b1da53 img { display: block; width: 100%; height: clamp(11rem, 28vw, 25rem) !important; object-fit: cover; }
body :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-widget-button .elementor-button { min-height: 48px; padding: 0.75rem 1.25rem; border: 1px solid var(--ryn-ink); border-radius: 0.375rem; background: #fff; color: var(--ryn-ink); font-size: 1rem !important; font-weight: 500; line-height: 1.5; }
body :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-widget-button .elementor-button:is(:hover, :focus-visible) { background: var(--ryn-ink); color: #fff; }
body .elementor-12 .elementor-element.elementor-element-8a7b741 { width: 100%; margin: 2rem 0 0 !important; padding: clamp(2rem, 5vw, 4rem) 1.25rem !important; background: #f1f5f8 !important; }
body .elementor-element-8a7b741 .elementor-element-5df4da2 { width: 100%; max-width: 77.5rem; margin-inline: auto; padding: 0 !important; }
body .elementor-element-8a7b741 .elementor-element-5df4da2 > .e-con-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding: 0; }
body .elementor-element-8a7b741 :is(.elementor-element-2668a55, .elementor-element-51886cd) { width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 !important; background: transparent !important; gap: 1.25rem; }
body .elementor-element-8a7b741 .elementor-widget { margin: 0 !important; }
body .elementor-element-8a7b741 .elementor-widget-container { margin: 0 !important; padding: 0 !important; }
body .elementor-element-8a7b741 .elementor-heading-title { color: var(--ryn-ink) !important; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem) !important; font-weight: 700 !important; letter-spacing: -0.01em; line-height: 1.2 !important; text-transform: none !important; text-align: start; }
body .elementor-element-8a7b741 .elementor-widget-text-editor { color: var(--ryn-ink) !important; font-size: 1.0625rem !important; }
body .elementor-element-8a7b741 .elementor-widget-text-editor p { max-width: 62ch; margin: 0 0 1rem; font-size: inherit !important; line-height: 1.8 !important; text-align: start !important; }
body .elementor-element-8a7b741 .elementor-widget-button { text-align: start; }
body .elementor-element-8a7b741 .elementor-widget-button .elementor-button { display: inline-flex; align-items: center; min-height: 48px; padding: 0.75rem 1.25rem; border-radius: 0.375rem; background: var(--ryn-blue); color: #fff; font-size: 1rem !important; font-weight: 500; line-height: 1.5; }
body .elementor-element-8a7b741 .elementor-widget-button .elementor-button:is(:hover, :focus-visible) { background: var(--ryn-ink); }
body .elementor-element-8a7b741 .elementor-widget-button .elementor-button {
  padding: 0.75rem 1.25rem !important;
  background: var(--ryn-blue) !important;
  color: #fff !important;
  border: 1px solid var(--ryn-blue) !important;
  border-radius: 0.375rem !important;
}
body .elementor-element-8a7b741 .elementor-widget-button .elementor-button:is(:hover, :focus-visible) { background: var(--ryn-ink) !important; border-color: var(--ryn-ink) !important; }
body :is(.elementor-element-8a7b741, :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3)) .elementor-button-text { color: inherit !important; }
body :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-widget-button .elementor-button { padding: 0.75rem 1.25rem !important; background: #fff !important; color: var(--ryn-ink) !important; border: 1px solid var(--ryn-ink) !important; border-radius: 0.375rem !important; }
body :is(.elementor-element-315497d, .elementor-element-67c8d0f, .elementor-element-9647941, .elementor-element-af855f3) .elementor-widget-button .elementor-button:is(:hover, :focus-visible) { background: var(--ryn-ink) !important; color: #fff !important; }
body .elementor-element-8a7b741 .elementor-widget-image { width: 100%; }
body .elementor-element-8a7b741 .elementor-widget-image img { display: block; width: 100%; height: auto; max-height: 35rem; object-fit: contain; border-radius: 0.75rem; }
@media (max-width: 767px) {
  body .elementor-element-8a7b741 .elementor-element-5df4da2 > .e-con-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  body .elementor-element-8a7b741 .elementor-widget-image img { max-height: none; }
  body .elementor-12 .elementor-element:is(.elementor-element-5f15f83, .elementor-element-18a5c8b, .elementor-element-2d8f05e, .elementor-element-0d8586b) { margin-top: 2.5rem !important; }
  body .elementor-12 .elementor-element-3126fda .elementor-widget-image img { max-width: 8rem; height: 3rem !important; }
}

/* Inner pages: title and reading width. */
body:not(.home) .elementor-widget-theme-post-title { text-align: start !important; }
body:not(.home) :is(.elementor-widget-theme-post-title .elementor-heading-title, .page-header > .entry-title) {
  color: var(--ryn-ink) !important;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem) !important;
  font-weight: 600;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
  text-align: start !important;
  text-transform: none !important;
}
body:not(.home) .elementor-location-single .elementor-element-7486c15f { margin-block: clamp(2rem, 5vw, 4rem) !important; }
body .elementor-widget-theme-post-content > .elementor-widget-container { max-width: 75rem; margin-inline: auto; }
body .ryn-prose { color: #24334a; font-size: 1.0625rem; line-height: 1.8; }
body .ryn-prose :is(p, li) { line-height: 1.8; }
body .elementor-widget-posts :is(.elementor-post__title, .elementor-post__meta-data, .elementor-post__excerpt, .elementor-post__excerpt p) { text-align: center !important; }
body .elementor-widget-posts .elementor-post__text { text-align: center; }
body .elementor-posts--skin-cards .elementor-post__read-more { align-self: center; justify-content: center; }
body .elementor-pagination { justify-content: center; text-align: center; }
body .elementor-widget-nav-menu :is(.elementor-item, .elementor-sub-item) { text-align: center; justify-content: center; }

/* Footer labels keep the text from Elementor; underline styling becomes a bold label. */
body .elementor-location-footer .ryn-footer-data-label span[style*="underline"] { text-decoration: none !important; font-weight: 600; }

/* Header: search at the start of the content column, service icons packed at the end. */
body .elementor-location-header .elementor-element-288661f5 { justify-content: flex-start !important; align-items: center; gap: 0.75rem clamp(1rem, 2vw, 1.75rem) !important; flex-wrap: wrap; }
body .elementor-location-header .elementor-element-48b092e7 { width: clamp(15rem, 26vw, 22rem) !important; max-width: 100%; margin: 0 auto 0 0 !important; }
body .elementor-location-header .elementor-element-288661f5 > .elementor-widget-image img { display: block; width: auto; height: 26px; max-width: 5.5rem; object-fit: contain; }
body .elementor-location-header .elementor-element-288661f5 > .elementor-widget-image a { display: inline-flex; align-items: center; min-height: 44px; border-radius: 0.25rem; }
body .elementor-location-header .elementor-element-288661f5 > .elementor-widget-icon .elementor-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
body .elementor-location-header .elementor-search-form__container { min-height: 44px; overflow: hidden; border: 1px solid #8796a6 !important; border-radius: 0.375rem; background: #fff !important; }
body .elementor-location-header .elementor-search-form__container:focus-within { border-color: var(--ryn-ink) !important; box-shadow: 0 0 0 2px var(--ryn-ink); }
body .elementor-location-header .elementor-search-form__input { min-height: 42px; padding-inline: 0.875rem !important; background: transparent !important; color: var(--ryn-ink) !important; font-size: 1rem !important; }
body .elementor-location-header .elementor-search-form__input::placeholder { color: #5a6878; opacity: 1; }
body .elementor-location-header .elementor-search-form__submit { min-width: 48px; min-height: 42px; background: var(--ryn-ink) !important; color: #fff !important; }
body .elementor-location-header .elementor-search-form__submit:is(:hover, :focus-visible) { background: var(--ryn-blue) !important; }
/* Menu bar: one palette — bar, active tab and dropdown share the Customizer colours. */
body .elementor-element-2c1f3ab4 { box-shadow: inset 0 -1px 0 rgb(0 0 0 / 12%); }
body .ryn-navigation .ryn-submenu { border-top-color: var(--ryn-green); }
@media (max-width: 1024px) {
  body .elementor-location-header .elementor-element-288661f5 { justify-content: center !important; }
  body .elementor-location-header .elementor-element-48b092e7 { flex: 1 0 100%; width: 100% !important; margin: 0 !important; }
}
/* Menu (Hello Ryn look): left-aligned labels in the WordPress menu's own spelling,
   a light hover/open state with an underline, readable left-aligned dropdowns. */
body.ryn-design .ryn-navigation { --ryn-nav-hover-bg: rgb(0 0 0 / 18%); --ryn-nav-hover-color: #fff; }
body.ryn-design .ryn-navigation .ryn-menu .ryn-menu-row > :is(a, button),
body.ryn-design .ryn-navigation .ryn-menu-label { justify-content: flex-start; text-align: start; }
body.ryn-design .ryn-navigation .ryn-menu .ryn-menu-row > .ryn-submenu-toggle:only-child { display: flex; justify-content: space-between; }
body.ryn-design .ryn-navigation .ryn-submenu-toggle svg { width: 16px; height: 16px; flex: 0 0 16px; }
@media (min-width: 1025px) {
  body.ryn-design .ryn-navigation .ryn-menu { flex-wrap: wrap; }
  body.ryn-design .ryn-navigation .ryn-menu > li { flex: 0 1 auto; }
  body.ryn-design .ryn-navigation .ryn-menu > li + li { border-inline-start: 0; }
  body.ryn-design .ryn-navigation .ryn-menu > li > .ryn-menu-row > :first-child {
    position: relative;
    justify-content: flex-start;
    gap: 0.375rem;
    min-height: 52px;
    padding: 0.75rem 1.125rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
  }
  body.ryn-design .ryn-navigation .ryn-menu > li > .ryn-menu-row > :first-child::after { content: ''; position: absolute; inset: auto 1.125rem 8px; height: 3px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform 160ms ease; }
  body.ryn-design .ryn-navigation .ryn-menu > li > .ryn-menu-row > :first-child:is(:hover, :focus-visible, [aria-expanded="true"], [aria-current="page"])::after { transform: scaleX(1); }
  body.ryn-design .ryn-navigation .ryn-menu > li > .ryn-menu-row > a:is(:hover, :focus-visible) { text-decoration: none; }
  body.ryn-design .ryn-navigation .ryn-submenu { width: min(22rem, calc(100vw - 2rem)); padding-block: 0.375rem; border: 1px solid #d3dce3; border-top: 3px solid var(--ryn-green); border-radius: 0 0 0.5rem 0.5rem; background: #fff; }
  body.ryn-design .ryn-navigation .ryn-submenu li + li { border-top: 0; }
  body.ryn-design .ryn-navigation .ryn-submenu .ryn-menu-row > :is(a, button) { min-height: 44px; padding: 0.625rem 1.125rem; color: var(--ryn-ink); font-size: 0.9375rem; font-weight: 400; line-height: 1.45; text-transform: none; }
  body.ryn-design .ryn-navigation .ryn-submenu .ryn-menu-row > :is(a, button):is(:hover, :focus-visible, [aria-expanded="true"], [aria-current="page"]) { background: #eef3f7; color: var(--ryn-ink); box-shadow: inset 3px 0 0 var(--ryn-blue); }
  body.ryn-design .ryn-navigation .ryn-submenu .ryn-menu-destination .ryn-menu-row > a { font-weight: 600; }
  body.ryn-design .ryn-navigation .ryn-submenu .ryn-submenu { width: 100%; padding: 0 0 0.25rem 0.75rem; border: 0; border-radius: 0; box-shadow: none; background: #f6f9fb; }
}
@media (max-width: 1024px) {
  body.ryn-design .ryn-navigation .ryn-menu > li > .ryn-menu-row > :first-child { text-transform: none; letter-spacing: 0; }
  body.ryn-design .ryn-navigation .ryn-menu .ryn-submenu .ryn-menu-row > :is(a, button) { font-size: 1rem; }
  body.ryn-design .ryn-navigation .ryn-menu .ryn-menu-row > :is(a, button):is(:hover, :focus-visible, [aria-expanded="true"], [aria-current="page"]) { background: #eaf2f7; color: var(--ryn-ink); box-shadow: inset 3px 0 0 var(--ryn-blue); text-decoration: none; }
  body.ryn-design .ryn-navigation .ryn-menu .ryn-menu-row > [aria-current="page"] { font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  body.ryn-design .ryn-navigation .ryn-menu > li > .ryn-menu-row > :first-child::after { transition: none; }
}
/* Sections without entries stay hidden even with the look's flex layout. */
body.ryn-design .elementor-12 .elementor-element.elementor-element[hidden] { display: none !important; }

/* Phones and tablets: compact header, no crest card over the photo. */
@media (max-width: 1024px) {
  body .elementor-location-header .elementor-element-1c8958a { display: none !important; }
  body .elementor-location-header .elementor-element-2b320ffa,
  body .elementor-location-header .elementor-element-288661f5 { min-height: 0 !important; padding-block: 0.5rem !important; margin: 0 !important; }
  body .elementor-location-header .elementor-element-2b320ffa > .e-con-inner { padding-block: 0 !important; }
}

/* Phones: short page — compact news list, swipeable galleries and videos, logo grid. */
@media (max-width: 767px) {
  body .elementor-location-header .elementor-element-2b320ffa { padding-inline: 1rem !important; }
  body .elementor-widget-slides.ryn-carousel-ready .elementor-slides-wrapper { height: 13rem !important; }

  /* News on phones: a compact list — square cropped thumbnail, date and title beside it. */
  body .elementor-12 .elementor-element-315497d .elementor-posts-container { display: flex !important; flex-direction: column; gap: 0.75rem !important; }
  body .elementor-12 .elementor-element-315497d .elementor-post { display: grid !important; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: stretch; min-height: 6.5rem; margin: 0 !important; }
  body .elementor-12 .elementor-element-315497d .elementor-post__thumbnail__link { display: block !important; position: relative; width: 6.5rem !important; height: auto !important; min-height: 6.5rem; margin: 0 !important; overflow: hidden; }
  body .elementor-12 .elementor-element-315497d .elementor-post__thumbnail { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; padding: 0 !important; aspect-ratio: auto !important; background: #edf1f3; }
  body .elementor-12 .elementor-element-315497d .elementor-post__thumbnail img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; transform: none !important; }
  body .elementor-12 .elementor-element-315497d .elementor-post__text { align-self: center; gap: 0.25rem !important; margin: 0 !important; padding: 0.75rem 0.875rem !important; }
  body .elementor-12 .elementor-element-315497d .elementor-post__meta-data { font-size: 0.8125rem !important; }
  body .elementor-12 .elementor-element-315497d .elementor-post__title { font-size: 1rem !important; line-height: 1.35 !important; }
  body .elementor-12 .elementor-element-315497d .elementor-post__title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  body .elementor-12 .elementor-element-315497d :is(.elementor-post__excerpt, .elementor-post__read-more-wrapper) { display: none !important; }

  body .elementor-12 :is(.elementor-element-9647941, .elementor-element-af855f3) .elementor-posts-container {
    display: flex !important; gap: 0.75rem; margin-inline: -1.25rem; padding: 0.25rem 1.25rem 0.75rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem;
    scrollbar-width: thin; scrollbar-color: #9cadbc transparent;
  }
  body .elementor-12 :is(.elementor-element-9647941, .elementor-element-af855f3) .elementor-post { flex: 0 0 78%; scroll-snap-align: start; }
  body .elementor-12 :is(.elementor-element-9647941, .elementor-element-af855f3) .elementor-post__title { font-size: 1rem !important; }

  body .elementor-12 .elementor-element-3126fda > .e-con-inner { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; align-items: center; gap: 1.25rem 1rem; }
  body .elementor-12 .elementor-element-3126fda .elementor-widget-image img { max-width: 100% !important; height: 2.75rem !important; }

  body .elementor-12 .elementor-element-8a7b741 .elementor-widget-text-editor p { line-height: 1.7 !important; }
  body .elementor-12 .elementor-element-6b1da53 img { height: 9rem !important; }
}
/* Menu aligned to the right on every screen; the toggle is an icon only (its name stays for screen readers). */
body .elementor-element-2c1f3ab4 .ryn-navigation .ryn-menu-toggle { justify-content: center; width: 52px; min-width: 52px; padding: 0.75rem; gap: 0; }
body .elementor-element-2c1f3ab4 .ryn-navigation .ryn-menu-toggle svg { width: 26px; height: 26px; flex-basis: 26px; }
@media (min-width: 1025px) {
  body.ryn-design .ryn-navigation .ryn-menu { justify-content: flex-end; }
  body.ryn-design .ryn-navigation .ryn-menu > li > .ryn-submenu { inset-inline: auto 0; }
}
@media (max-width: 1024px) {
  body.ryn-design .ryn-navigation .ryn-menu .ryn-menu-row > :is(a, button),
  body.ryn-design .ryn-navigation .ryn-menu .ryn-menu-row > .ryn-submenu-toggle:only-child { justify-content: flex-end; text-align: end; }
  body.ryn-design .ryn-navigation .ryn-menu-label { flex: 0 1 auto; text-align: end; }
  body.ryn-design .ryn-navigation .ryn-menu .ryn-menu-row > .ryn-submenu-toggle:only-child { gap: 0.625rem; }
  body.ryn-design .ryn-navigation .ryn-menu .ryn-submenu { padding: 0.25rem 0.5rem 0.25rem 0; border-inline-start: 0; border-inline-end: 2px solid var(--ryn-blue); }
  body.ryn-design .ryn-navigation .ryn-menu .ryn-menu-row > :is(a, button):is(:hover, :focus-visible, [aria-expanded="true"], [aria-current="page"]) { box-shadow: inset -3px 0 0 var(--ryn-blue); }
}
/* Block "Latest posts" (e.g. Ochrona Ludności i OC): the same cards as on the home page. */
body .wp-block-latest-posts.wp-block-latest-posts__list { display: grid !important; grid-template-columns: repeat(var(--ryn-lp-cols, 3), minmax(0, 1fr)) !important; gap: 1.5rem !important; width: 100% !important; max-width: 77.5rem; margin: 1.5rem auto !important; padding: 0 !important; list-style: none; }
body .wp-block-latest-posts.columns-2 { --ryn-lp-cols: 2; }
body .wp-block-latest-posts.columns-4, body .wp-block-latest-posts.columns-5, body .wp-block-latest-posts.columns-6 { --ryn-lp-cols: 4; }
body .wp-block-latest-posts:not(.is-grid) { --ryn-lp-cols: 1; }
body .wp-block-latest-posts.wp-block-latest-posts__list > li { position: relative; display: flex; flex-direction: column; width: auto !important; min-width: 0; margin: 0 !important; padding: 0 0 1.25rem !important; overflow: hidden; border: 1px solid #dce3e8; border-radius: 0.5rem; background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
body .wp-block-latest-posts.wp-block-latest-posts__list > li:is(:hover, :focus-within) { border-color: #9cadbc; box-shadow: 0 6px 20px rgb(23 39 71 / 10%); }
body .wp-block-latest-posts.wp-block-latest-posts__list > li:focus-within { outline: 3px solid #111; outline-offset: 3px; }
body .wp-block-latest-posts .wp-block-latest-posts__featured-image { order: 0; width: 100% !important; margin: 0 0 1rem !important; aspect-ratio: 16 / 10; background: #edf1f3; }
body .wp-block-latest-posts .wp-block-latest-posts__featured-image img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain; border-radius: 0; }
body .wp-block-latest-posts :is(.wp-block-latest-posts__post-date, .wp-block-latest-posts__post-author) { order: 1; margin: 0 1.125rem 0.375rem; color: #566577; font-size: 0.875rem; }
body .wp-block-latest-posts a.wp-block-latest-posts__post-title { order: 2; display: block; margin: 0 1.125rem 0.5rem; color: var(--ryn-ink); font-size: 1.125rem; font-weight: 600; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
body .wp-block-latest-posts a.wp-block-latest-posts__post-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
body .wp-block-latest-posts a.wp-block-latest-posts__post-title:focus-visible { outline: none !important; box-shadow: none !important; }
body .wp-block-latest-posts li:hover a.wp-block-latest-posts__post-title,
body .wp-block-latest-posts a.wp-block-latest-posts__post-title:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
body .wp-block-latest-posts .wp-block-latest-posts__post-excerpt { order: 3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 0 1.125rem; color: #3d4a5c; font-size: 1rem; line-height: 1.6; }
body .wp-block-latest-posts .wp-block-latest-posts__read-more { display: none; }
@media (max-width: 1024px) {
  body .wp-block-latest-posts.wp-block-latest-posts__list { --ryn-lp-cols: 2; }
}
@media (max-width: 767px) {
  body .wp-block-latest-posts.wp-block-latest-posts__list { display: flex !important; flex-direction: column; gap: 0.75rem !important; }
  body .wp-block-latest-posts.wp-block-latest-posts__list > li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-content: center; min-height: 6.5rem; padding: 0 !important; }
  body .wp-block-latest-posts.wp-block-latest-posts__list > li:not(:has(.wp-block-latest-posts__featured-image)) { grid-template-columns: minmax(0, 1fr); }
  body .wp-block-latest-posts .wp-block-latest-posts__featured-image { grid-column: 1; grid-row: 1 / -1; align-self: stretch; height: 100%; margin: 0 !important; aspect-ratio: auto; }
  body .wp-block-latest-posts .wp-block-latest-posts__featured-image img { object-fit: cover; }
  body .wp-block-latest-posts :is(.wp-block-latest-posts__post-date, .wp-block-latest-posts__post-author) { grid-column: -2; margin: 0.75rem 0.875rem 0; font-size: 0.8125rem; }
  body .wp-block-latest-posts a.wp-block-latest-posts__post-title { grid-column: -2; align-self: center; margin: 0.75rem 0.875rem; font-size: 1rem; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  body .wp-block-latest-posts :is(.wp-block-latest-posts__post-date, .wp-block-latest-posts__post-author) + a.wp-block-latest-posts__post-title,
  body .wp-block-latest-posts a.wp-block-latest-posts__post-title:has(+ :is(.wp-block-latest-posts__post-date, .wp-block-latest-posts__post-author)) { margin-top: 0.25rem; }
  body .wp-block-latest-posts .wp-block-latest-posts__post-excerpt { display: none; }
}

/* Attachments (file attachments plugin): a framed list of clear download buttons in the content column. */
body .attachments:not(.ryn-prose .attachments) { box-sizing: border-box; width: 100%; max-width: var(--ryn-reading-width, 54rem); margin: 2rem auto; padding: 1.25rem; border: 1px solid #cbd6df; border-radius: 0.5rem; background: #f7f9fb; }
body .attachments .attachments_header { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.875rem; padding: 0; color: var(--ryn-ink); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
body .attachments .attachments_header i { display: inline-flex; margin: 0; }
body .attachments .attachments_header svg { width: 18px; height: 18px; fill: currentColor; }
body .attachments .attachments_list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
body .attachments .attachments_list-item { margin: 0; padding: 0; list-style: none; }
body .attachments .attachments_list-item::before, body .attachments .attachments_list-item::marker { content: none; }
body .attachments a.attachments_anchor { display: flex; align-items: center; gap: 0.875rem; min-height: 56px; padding: 0.75rem 1rem; border: 1px solid #dce3e8; border-radius: 0.375rem; background: #fff; color: var(--ryn-ink); text-decoration: none; line-height: 1.4; transition: border-color 160ms ease, box-shadow 160ms ease; }
body .attachments a.attachments_anchor:hover { border-color: var(--ryn-blue); box-shadow: 0 2px 10px rgb(23 39 71 / 8%); }
body .attachments a.attachments_anchor .icon-file-attachments { display: inline-flex; flex: 0 0 auto; margin: 0; color: #5a6878; }
body .attachments a.attachments_anchor .icon-file-attachments svg { width: 26px; height: 26px; fill: currentColor; }
body .attachments .ryn-file-pdf a.attachments_anchor .icon-file-attachments { color: #b3261e; }
body .attachments :is(.ryn-file-doc, .ryn-file-docx, .ryn-file-odt) a.attachments_anchor .icon-file-attachments { color: #1d5fb0; }
body .attachments :is(.ryn-file-xls, .ryn-file-xlsx, .ryn-file-ods, .ryn-file-csv) a.attachments_anchor .icon-file-attachments { color: #1e7a3c; }
body .attachments a.attachments_anchor .file-name { flex: 1 1 auto; min-width: 0; font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
body .attachments a.attachments_anchor:hover .file-name { text-decoration-thickness: 2px; }
body .attachments a.attachments_anchor .ryn-file-type { flex: 0 0 auto; padding: 0.125rem 0.5rem; border: 1px solid #cbd6df; border-radius: 1rem; background: #f1f5f8; color: #3d4a5c; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; }
@media (max-width: 767px) {
  body .attachments:not(.ryn-prose .attachments) { margin: 1.5rem 1rem; width: auto; padding: 1rem; }
  body .attachments a.attachments_anchor { gap: 0.75rem; padding: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.wp-block-latest-posts > li, .attachments a.attachments_anchor) { transition: none; }
}body .wp-block-latest-posts .wp-block-latest-posts__featured-image { position: relative; min-height: 0; overflow: hidden; }
body .wp-block-latest-posts .wp-block-latest-posts__featured-image img { position: absolute; inset: 0; }
body .wp-block-latest-posts.wp-block-latest-posts__list a.wp-block-latest-posts__post-title { color: var(--ryn-ink) !important; text-decoration: none; }
body .wp-block-latest-posts.wp-block-latest-posts__list li:hover a.wp-block-latest-posts__post-title,
body .wp-block-latest-posts.wp-block-latest-posts__list a.wp-block-latest-posts__post-title:focus-visible { text-decoration: underline; }