/* Release audit: remove inherited empty space without removing owner content. */
.aaws-site-footer { padding-top: 32px; }
.aaws-site-footer .aaws-footer-grid { align-items: start; padding-bottom: 28px; }
.aaws-site-footer .aaws-footer-column { min-height: 0; }
.aaws-site-footer .aaws-source-module { padding: 0; margin: 0; }
.aaws-site-footer .aaws-source-heading { margin: 0 0 14px; }
.aaws-site-footer .aaws-source-categories li { margin: 0; padding: 0; }
.aaws-site-footer .aaws-source-categories ul { gap: 0 24px; }
.aaws-site-footer .aaws-source-categories a {
    min-height: 32px; padding: 6px 0; font-size: 14px; line-height: 1.4;
    border-color: rgb(255 255 255 / 15%);
}
.aaws-site-footer .aaws-source-categories a::after { content: none; }
.aaws-site-footer .aaws-widget { margin-bottom: 0; }
.aaws-site-footer .aaws-footer-signup:has(> :only-child[hidden]) { margin: 0; }
.aaws-site-footer .aaws-footer-bottom { padding-block: 16px; }
.aaws-site-footer .aaws-footer-logo { margin-bottom: 16px; }
.aaws-site-footer .aaws-footer-recent-news__image,
.aaws-site-footer .aaws-popular-news__media { aspect-ratio: 16 / 9; height: auto; }
.aaws-site-footer .aaws-footer-recent__media { aspect-ratio: 16 / 9; height: auto; }
.aaws-site-footer .aaws-footer-recent__image { height: 100%; }
.aaws-site-footer .aaws-footer-recent-news__image img,
.aaws-site-footer .aaws-popular-news__media img { height: 100%; object-fit: contain; }
.aaws-popular-news li.has-no-image { grid-template-columns: minmax(0, 1fr); }
.aaws-newsletter-strip { margin-block: 24px 0; padding: 18px 22px; gap: 16px; }
.aaws-newsletter-strip h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
.aaws-newsletter-strip p { margin: 0; font-size: 14px; line-height: 1.5; }
.aaws-newsletter-strip fieldset { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 6px; }
.aaws-newsletter-strip label { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; margin: 0; font-size: 13px; }
.aaws-newsletter-strip input[type="checkbox"] { margin: 0; }
.aaws-newsletter-strip__icon { width: 44px; height: 44px; font-size: 40px; }
.aaws-archive-list > .aaws-story-card,
.aaws-tag-list > .aaws-story-card { min-height: 0; }
.aaws-archive-lead + .aaws-breadcrumbs { margin-top: 24px; }
.aaws-page__content table { display: block; max-width: 100%; overflow-x: auto; }
.aaws-page__content img { max-width: 100%; height: auto; }
.aaws-main > .aaws-shell > .aaws-page-grid { padding-top: 0; }
.aaws-page__header { padding-bottom: 12px; margin-bottom: 18px; }
@media (min-width: 1101px) {
    .aaws-site-header .aaws-search-toggle { width: 44px; height: 44px; }
}
@media (min-width: 1025px) {
    /* Short archives put useful rails after the feed, not beside a blank column. */
    .aaws-tag-grid.aaws-tag-grid--short,
    .aaws-redesign-archive .aaws-archive-grid.aaws-archive-grid--short {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "content content" "sidebar secondary";
        gap: 24px;
        align-items: start;
    }
    .aaws-tag-grid--short > .aaws-tag-sidebar,
    .aaws-archive-grid--short > .aaws-archive-sidebar-stack { display: contents; }
    .aaws-archive-grid--short .aaws-sidebar--archive-primary,
    .aaws-tag-grid--short .aaws-sidebar--archive-primary { display: block; grid-area: sidebar; }
    .aaws-archive-grid--short .aaws-sidebar--archive-secondary,
    .aaws-tag-grid--short .aaws-sidebar--archive-secondary { display: block; grid-area: secondary; }
    .aaws-archive-grid--short.aaws-archive-grid--sparse {
        grid-template-areas: "sidebar secondary";
    }
    .aaws-archive-grid--short.aaws-archive-grid--sparse > .aaws-archive-list { display: none; }
}
@media (max-width: 767px) {
    .aaws-site-footer { padding-top: 24px; }
    .aaws-site-footer .aaws-footer-grid { gap: 24px; padding-bottom: 24px; }
    .aaws-newsletter-strip { padding: 18px; }
    .aaws-newsletter-strip h2 { font-size: 22px; }
    .aaws-main > .aaws-shell > .aaws-breadcrumbs { margin-bottom: 16px; }
    .aaws-newsletter-strip fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
    .aaws-newsletter-strip label { min-height: 44px; }
    .aaws-site-footer .aaws-source-categories a { min-height: 44px; padding-block: 10px; }
}
