/* Bottom-of-page standard (5 Sep 2026): the last content sits 104px above
   the footer on every page = 5rem section padding + the 24px flow gap.
   theme.json gives every wp:group a default 2.25rem top/bottom padding, which
   stacks on the nested groups that close each page; cancel it on those. */
.wp-block-post-content > .ap-sec:last-child { padding-bottom: 5rem; }
.wp-block-post-content > .ap-sec:last-child > .wp-block-group,
.ap-faq__more { padding-bottom: 0; }                                  /* home */
.apg-div-3e444b1e, .apg-div-9fbb59cc,
.apg-div-9fbb59cc > .wp-block-group { padding-bottom: 0; }            /* about */
#kaunas-guide-root .kaunas-main-content,
#kaunas-guide-root .kaunas-tab-pane,
#kaunas-guide-root .kaunas-subview,
#kaunas-guide-root .kaunas-featured-block { padding-bottom: 0; }      /* kaunas guide */
.gallery-album-section { margin-bottom: 4.5rem; }
.gallery-page-content section.gallery-album-section:last-of-type { margin-bottom: 0; }   /* gallery */
.ap-page > p:last-child:not(:has(:not(script))) { display: none; }   /* wrapper <p> holding only a shortcode's <script> */
