.contact-strip { background: var(--forest); color: #fff; }
.contact-strip-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
.contact-strip a { display: inline-flex; align-items: center; color: inherit; font-size: .78rem; min-height: 36px; text-decoration: none; }
.contact-strip a:hover { text-decoration: underline; }
.strip-hours { margin-left: auto; }
.header-layout { width: min(1360px, calc(100% - 40px)); margin-inline: auto; }
.header-layout .header-main, .header-layout .navigation-inner { width: 100%; }
.header-layout .navigation-shell { border: 0; min-width: 0; }
.brand-name span { font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 850; line-height: 1; }
.brand-name strong { font-size: .72rem; margin-top: 4px; }
.brand-name { white-space: nowrap; }
.membership-button { background: #b70f24; color: #fff; white-space: nowrap; }
.membership-button:hover { background: #920c1e; color: #fff; }
.menu-toggle[aria-expanded=false] .menu-close-label,
.menu-toggle[aria-expanded=true] .menu-open-label,
.menu-contact,
.navigation-icon,
.primary-menu > .mobile-home,
.mobile-contact { display: none; }
.navigation-search { position: relative; }
.navigation-search summary { display: flex; align-items: center; gap: 9px; min-height: 44px; cursor: pointer; list-style: none; }
.navigation-search summary::-webkit-details-marker { display: none; }
.navigation-search summary svg { width: 22px; height: 22px; }
.navigation-search .search-form { width: 100%; }
.menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; }
.menu-toggle svg { display: block; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.hero { min-height: clamp(410px, 38vw, 570px); }
.hero:has(.hero-illustration) { align-items: flex-start; text-align: center; color: #0c3d2e; background: #eef3ed; }
.hero:has(.hero-illustration)::before { background: linear-gradient(180deg, #fff9, #fff7 46%, transparent 72%); }
.hero-illustration { object-position: 43% 50%; }
.hero-picture { display: contents; }
.hero:has(.hero-illustration) .hero-content { padding-block: clamp(24px, 3vw, 46px) 95px; }
.hero:has(.hero-illustration) :is(.eyebrow, .hero-subtitle) { color: #103b30; }
.hero:has(.hero-illustration) h1 { margin-inline: auto; font-size: clamp(2.55rem, 5.2vw, 4.4rem); font-weight: 700; }
.hero:has(.hero-illustration) .hero-subtitle { margin-block: 12px 18px; }
.hero:has(.hero-illustration) .hero-actions { justify-content: center; margin-inline: auto; }
.hero:has(.hero-illustration) .button-light { background: var(--forest); color: #fff; }
.hero:has(.hero-illustration) .button-outline { background: #fff; color: var(--forest); border-color: var(--forest); }

.quick-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); gap: 14px; border: 0; overflow: visible; }
.quick-grid li:nth-child(n) { border: 0; }
.quick-links { padding-block: 12px 4px; }
.quick-card { padding: 0; border-radius: 6px; overflow: hidden; background: linear-gradient(#f7faf8, #edf4f0); }
.quick-card:hover { background: #e2eee7; }
.quick-image { display: block; width: 100%; aspect-ratio: 2.05 / 1; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }
.quick-copy { position: relative; display: flex; flex: 1; flex-direction: column; padding: 24px 16px 12px; }
.quick-icon { position: absolute; left: 14px; top: -28px; width: 50px; height: 50px; border: 3px solid #fff; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #075137; }
.quick-icon .tile-icon { width: 25px; height: 25px; }
.quick-card:not(:has(.quick-image)) .quick-icon { position: static; margin-bottom: 8px; }
.quick-copy h2 { font: 800 clamp(.92rem, 1.5vw, 1.08rem)/1.2 system-ui, sans-serif; text-transform: uppercase; margin: 0; }
.quick-copy p { margin: 8px 0 12px; }
.quick-copy .card-arrow { align-self: end; line-height: 1; }
#main:has(.hero) .section { padding-block: clamp(12px, 1.4vw, 20px); }
#main:has(.hero) .section-heading { align-items: center; gap: 8px 18px; flex-wrap: wrap; margin-bottom: 12px; }
.home-offer, .home-organization { border-top: 1px solid var(--line); }
.home-news .section-heading .text-link, .home-offer .section-heading .text-link { font-size: .75rem; text-transform: uppercase; }
#main:has(.hero) .post-grid { gap: 14px; }
#main:has(.hero) .post-card { background: #f5f8f6; }
#main:has(.hero) .card-body { padding: 15px; }
.offer-grid { margin-top: 16px; }
.offer-grid .tile { background: #e8f2ed; justify-content: center; flex-direction: column; gap: 8px; text-align: center; }
.tile-icon { width: 30px; height: 30px; flex: 0 0 auto; }
.offer-grid .tile:hover { background: #deece4; }
.home-organization { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.home-organization > :only-child { grid-column: 1 / -1; }
.home-organization > .section, .home-organization .organization > .container { width: 100%; margin: 0; }
.home-organization .organization { background: transparent; }
.organization-grid { gap: 8px; margin-top: 18px; }
.organization-grid .tile { min-height: 44px; padding: 8px 10px; font-size: .82rem; background: #fbfdfc; }
.home-organization .feature-sejmik { display: grid; position: relative; isolation: isolate; grid-template-columns: 1fr; min-height: 100%; align-items: center; }
.home-organization .feature-sejmik > .card-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.feature-sejmik:has(> .card-image)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #092a21c9; }
.home-organization .feature-sejmik:has(> .card-image)::before { background: linear-gradient(90deg, #11251bdf 0%, #11251b97 55%, #11251b22); }
.feature-sejmik h2 { margin-bottom: 8px; }
.feature-sejmik .button { background: #0a543d; border: 1px solid #fff9; color: #fff; }
.site-footer { padding-top: 30px; background: url('../images/las.svg') repeat-x center bottom / 720px 192px, linear-gradient(115deg, #0a2f25, #174936 60%, #0a2d24); }
.footer-bottom { position: relative; }
.regional-strip { background: #f7faf8; border-block: 1px solid var(--line); }
.regional-strip + .site-footer { margin-top: 0; }
.regional-strip-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.35fr; align-items: center; gap: 14px 24px; padding-block: 16px; }
.regional-mark { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .86rem; font-weight: 650; line-height: 1.25; text-decoration: none; }
.regional-mark:hover:is(a) { text-decoration: underline; }
.regional-mark img { width: auto; max-width: 56px; height: 46px; object-fit: contain; }
.regional-signature { margin: 0; justify-self: end; font: italic 600 .95rem/1.2 "Segoe Print", "Bradley Hand", cursive; }
.regional-signature::after { content: ""; display: block; margin: 4px 0 0 auto; width: 48px; height: 6px; background: linear-gradient(#fff 50%, #c51028 50%); transform: rotate(-9deg); }
@media (max-width: 700px) {
  .regional-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
  .regional-mark { font-size: .75rem; }
  .regional-signature { justify-self: start; font-size: .8rem; }
  .mobile-menu-open .regional-strip { visibility: hidden; }
}

.brand-signature,
.hero-signature,
.footer-signature,
.footer-motto {
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-style: italic;
  font-weight: 600;
  line-height: 1.25;
}
.brand-signature { display: none; font-size: .8rem; transform: rotate(-9deg); }
.hero-signature { position: absolute; right: 6%; top: 15%; font-size: clamp(1rem, 2.1vw, 1.85rem); transform: rotate(-9deg); margin: 0; }
.hero-signature::after, .footer-motto::after {
  content: "";
  display: block;
  width: 68%;
  height: 9px;
  margin: 6px 0 0 auto;
  background: linear-gradient(#fff 0 48%, #c51028 48%);
  clip-path: polygon(0 38%, 20% 12%, 94% 0, 100% 48%, 86% 80%, 6% 100%);
}
.illustrated-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 0; }
.illustrated-heading .tile-icon { width: 29px; height: 29px; }
.home-news .post-card { display: flex; flex-direction: column; }
.home-news .card-image-link { display: block; }
.home-news .card-image { display: block; aspect-ratio: 2.1 / 1; }
.home-news .card-body { position: relative; flex: 1; display: flex; flex-direction: column; }
.home-news .post-card:has(.card-image-link) .post-meta { margin-top: -31px; }
.home-news .post-meta { align-self: flex-start; position: relative; background: #fff; border-radius: 5px; padding: 4px 9px; margin-bottom: 0; }
.home-news .post-card h3 { font: 750 1rem/1.25 system-ui, sans-serif; margin: 10px 0 7px; }
.home-news .card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.home-news .card-actions .text-link { margin-left: auto; min-width: 44px; justify-content: end; font-size: 1.45rem; }
.card-category { background: #d1e9dc; color: #0d4331; border-radius: 4px; padding: 4px 7px; font-size: .7rem; font-weight: 700; }
.organization-intro { color: var(--muted); margin: 5px 0 0; }
.organization-grid .tile { justify-content: flex-start; gap: 8px; }
.organization-grid .tile-icon { width: 22px; height: 22px; }
.home-offer .section-heading { margin-bottom: 12px; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; align-content: start; align-items: center; gap: 8px 14px; }
.footer-brand .footer-logo { margin: 0; width: 60px; height: 60px; }
.footer-title { margin: 0; }
.footer-title strong { display: block; font: 850 2rem/1 system-ui, sans-serif; }
.footer-title span { font: 650 .75rem/1.3 system-ui, sans-serif; text-transform: uppercase; }
.footer-signature { grid-column: 1 / -1; margin: 4px 0 0; font-size: 1rem; }
.footer-motto { margin: 0; align-self: end; justify-self: end; transform: rotate(-7deg); font-size: 1.3rem; }
.footer-contact address { margin-bottom: 7px; }
.footer-contact .contact-link { min-height: 36px; }
.footer-grid { gap: 24px; }
.footer-contact p { margin-block: 0 5px; }
.footer-contact .hours-heading { margin-block: 0 4px; }
.footer-bottom { align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-block: 12px; }
.footer-menu a { min-height: 36px; font-size: .78rem; }
@media (min-width: 1320px) {
  .brand-signature { display: block; }
}
@media (min-width: 1001px) {
  .footer-grid { grid-template-columns: 1fr 2fr .75fr; padding-bottom: 24px; }
  .footer-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
  .footer-menu { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .footer-menu > li + li { border-left: 1px solid #ffffff42; padding-left: 14px; }
}
@media (max-width: 1000px) {
  .hero-signature { top: auto; bottom: 53px; color: #fff; text-shadow: 0 1px 5px #072e23; }
}
@media (max-width: 700px) {
  .home-news .post-card:has(.card-image-link) { display: grid; grid-template-columns: minmax(90px, 34%) 1fr; }
  .home-news .card-image-link { height: 100%; }
  .home-news .card-image { height: 100%; aspect-ratio: auto; }
  .home-news .post-card:has(.card-image-link) .post-meta { margin-top: 0; }
  .home-news .post-meta { padding-inline: 0; background: transparent; }
  .home-news .card-body > p { display: none; }
  .illustrated-heading { gap: 8px; }
  .illustrated-heading .tile-icon { width: 24px; height: 24px; }
  .footer-motto { font-size: 1.05rem; margin-right: 10px; }
}

@media (min-width: 1101px) {
  .hero:has(.hero-illustration) { min-height: clamp(350px, 32vw, 490px); }
  .hero:has(.hero-illustration) .hero-content { padding-block: 25px 75px; }
  .hero:has(.hero-illustration) h1 { font-size: clamp(2.8rem, 4.6vw, 4.25rem); }
  .hero-illustration { object-position: center 56%; }
  .header-layout { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .header-layout .header-main { width: auto; flex-shrink: 0; padding-block: 12px; }
  .header-layout .navigation-inner { gap: 12px; }
  .header-layout .primary-menu { gap: 3px 12px; }
  .header-layout .primary-menu a { font-size: .78rem; }
  .header-layout .submenu-toggle { min-width: 28px; }
  .navigation-search summary { width: 44px; justify-content: center; }
  .navigation-search summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .navigation-search .search-form { position: absolute; right: 0; top: 100%; z-index: 10; width: min(320px, 88vw); padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 28px #0a302523; }
  .membership-button { padding-inline: 12px; font-size: .8rem; }
}
@media (min-width: 1000px) {
  .offer-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
  .offer-grid .tile { padding: 12px 10px; justify-content: center; text-align: center; }
}
@media (max-width: 1100px) {
  .contact-strip { display: none; }
  .header-layout .header-main { padding-block: 10px; }
  .header-layout .navigation-inner { padding-bottom: 24px; }
  .mobile-menu-open { overflow: hidden; }
  .mobile-menu-open .header-layout {
    position: fixed;
    inset: var(--wp-admin--admin-bar--height, 0px) 0 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
  }
  .mobile-menu-open .header-main { padding-inline: 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
  .mobile-menu-open .navigation-shell { overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu-open .navigation-inner { width: calc(100% - 32px); }
  .mobile-menu-open .skip-link,
  .mobile-menu-open main,
  .mobile-menu-open .site-footer,
  .mobile-menu-open .mobile-contact { visibility: hidden; }
  .navigation-inner .membership-button { justify-content: center; }
  .mobile-menu-open .navigation-inner { padding-top: 6px; gap: 12px; }
  .primary-menu > .mobile-home { display: grid; }
  .navigation-icon { display: block; flex: 0 0 auto; width: 23px; height: 23px; color: #075137; }
  .primary-menu > li > a { gap: 14px; font-size: .97rem; padding-block: 9px; }
  .primary-menu > li > .submenu-toggle { font-size: 0; }
  .primary-menu > li > .submenu-toggle::after { content: ""; display: inline-block; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
  .primary-menu > li > .submenu-toggle[aria-expanded=true]::after { transform: rotate(45deg); }
  .primary-menu > li:has(> .submenu-toggle[aria-expanded=true]) { border: 0; margin-block: 4px; border-radius: 7px; background: #e8f2ed; }
  .primary-menu > li:has(> .submenu-toggle[aria-expanded=true]) > a { border-radius: 7px 0 0 7px; }
  .primary-menu > li > .submenu-toggle[aria-expanded=true] { border-radius: 0 7px 7px 0; }
  .primary-menu > li:has(> .submenu-toggle[aria-expanded=true]) > a,
  .primary-menu > li > .submenu-toggle[aria-expanded=true] { background: #075137; color: #fff; }
  .primary-menu > li:has(> .submenu-toggle[aria-expanded=true]) .navigation-icon { color: inherit; }
  .primary-menu > li > .sub-menu { margin: 0; padding: 5px 10px 9px 38px; border: 0; background: transparent; }
  .primary-menu > li > .sub-menu a { min-height: 40px; padding-block: 6px; font-weight: 500; }
  .menu-contact { display: grid; padding: 8px 12px; font-style: normal; background: #edf4f0 url('../images/las.svg') repeat-x center bottom / 440px auto; border-radius: var(--radius); padding-bottom: 82px; }
  .menu-contact a { display: flex; align-items: center; min-height: 44px; font-size: .9rem; }
}
@media (max-width: 700px) {
  .header-layout { width: calc(100% - 32px); }
  .hero:has(.hero-illustration) { min-height: clamp(475px, 122vw, 575px); }
  .hero:has(.hero-illustration)::before { background: linear-gradient(180deg, #fff9, #fffc 25%, #fff9 55%, transparent 77%); }
  .hero-illustration { object-position: center bottom; }
  .hero:has(.hero-illustration) h1 { font-size: clamp(2.15rem, 9vw, 3.6rem); }
  .hero:has(.hero-illustration) .hero-subtitle { max-width: none; margin: 14px auto 18px; }
  .hero:has(.hero-illustration) .hero-actions { max-width: 270px; gap: 8px; }
  .hero-actions .button { justify-content: center; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-organization { grid-template-columns: 1fr; gap: 0; }
  .mobile-contact {
    position: fixed;
    z-index: 40;
    inset: auto 0 0;
    display: flex;
    background: var(--forest);
    color: #fff;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-contact a { flex: 1; display: grid; place-content: center; min-height: 57px; text-align: center; color: inherit; font-size: .8rem; text-decoration: none; }
  .mobile-contact a + a { border-left: 1px solid #ffffff38; }
  .mobile-contact span { font-size: 1.2rem; line-height: 1.2; }
  body:has(.mobile-contact) { padding-bottom: calc(57px + env(safe-area-inset-bottom, 0px)); }
  html:has(.mobile-contact) { scroll-padding-bottom: calc(67px + env(safe-area-inset-bottom, 0px)); }
}
