/* Compact outer whitespace while leaving card interiors and controls untouched. */
body { --jwl-section-space: 21px; --jwl-section-gap: 16px; --jwl-footer-gap: 24px; }
#gs-main-content > .gs-section:not(.jwl-stats,.jwl-events) {
  padding-block-start: var(--jwl-section-space);
  padding-block-end: var(--jwl-section-space);
}
#gs-main-content > .jwl-home-banner-wrap {margin-block-end: var(--jwl-section-gap);}
#gs-main-content > .jrc-location {margin-block-end: var(--jwl-section-gap);}
#gs-main-content > .jwl-location-layout {
  row-gap: var(--jwl-section-gap);
  padding-block-end: 10px;
}
#gs-main-content .jwl-stats.gs-section {margin-block-start: 10px; margin-block-end: 0;}
#gs-main-content > .jwl-stats.gs-section {margin-block-end: var(--jwl-section-gap);}
#gs-main-content .jwl-stats + #jawla-events-calendar.jwl-calendar-third {margin-block:0;}
.gs-site-footer {margin-block-start:var(--jwl-footer-gap);}
@media (max-width: 680px) {
  body {--jwl-section-space:16px;--jwl-section-gap:12px;--jwl-footer-gap:18px;}
  #gs-main-content > .jwl-location-layout {padding-block-end:8px;}
  #gs-main-content .jwl-stats.gs-section {margin-block-start: 4px;}
}

/* The directory link remains available but does not occupy a full-height card. */
#gs-main-content .gs-loc-sections:has(+ .jwl-stats) {margin-block-end:0!important}
#gs-main-content .gs-cta-row > .gs-cta-card--partner + .gs-cta-card:not(.gs-cta-card--add,.gs-cta-card--partner) {
  box-sizing:border-box;
  padding:4px 10px!important;
  min-height:28px;
  width:fit-content;
  box-shadow:none;
  background:none;
  border:0;
  color:#245b43;
  font-size:.85rem;
  text-decoration:underline;
  text-underline-offset:3px;
}
#gs-main-content .gs-loc-sections + .jwl-stats {margin-block-start:0!important}
#gs-main-content .gs-loc-sections + .jwl-stats > .jwl-fold:first-child {margin-block-start:0;}
#gs-main-content #jawla-events-calendar.jwl-calendar-third > .jwl-fold {margin-block-end:0;}
#gs-main-content > .jwl-location-layout:has(> .gs-single-main > #jawla-events-calendar.jwl-calendar-third:last-child) {padding-block-end:0;row-gap:0;}
body:has(#gs-main-content .jwl-location-layout #jawla-events-calendar.jwl-calendar-third:last-child) .gs-site-footer {margin-block-start:0;}
