/* First Element footer (and Contact sign-off) black icon
   — align with the .shell content edge, and 20% larger than the
   28 Nov 2026 live size.
   30 Nov 2026, Australia/Melbourne.

   Cause: footer.footer::after is positioned from the <footer>
   viewport edge (right: 5px on desktop, 15px below 1024px).
   Images and sentences follow .shell padding (15px below 768px,
   20px from 768px), so on desktop the badge sits 15px to the
   right of the content. At 1280px the content right edge is
   1260px and the badge CSS box ends at 1275px.

   This file is enqueued from the theme (css/fe-footer-icon-align.css).
   Do not put this in Additional CSS / post 1989. The painted badge
   stays on footer.footer::after; a.fe-footer-home is the existing
   homepage-link overlay and is kept the same size and offset.
   The Contact Details sign-off icon is only scaled, not moved.

   Selectors use html body … so they win over the matching
   footer.footer::after width/right rules in Additional CSS
   (post 1989), which print later in wp_head.
   fe-footer-icon-align-20261130
*/

/* Current live sizes (28 Nov 20% increase): 52.8px / 62.4px.
   New sizes: 52.8 × 1.2 = 63.36px, 62.4 × 1.2 = 74.88px. */
html body footer.footer::after,
html body a.fe-footer-home {
  width: 63.36px;  /* 52.8px × 1.2 */
  height: 63.36px;
  right: 15px;     /* matches .shell padding below 768px */
}

@media screen and (min-width: 768px) {
  html body footer.footer::after,
  html body a.fe-footer-home {
    /* .shell padding is 20px from 768px. When the viewport is
       wider than the 1960px shell max-width, add the side margin
       so the badge stays on the content edge, not the viewport. */
    right: max(20px, calc((100% - 1960px) / 2 + 20px));
  }
}

@media screen and (min-width: 1024px) {
  html body footer.footer::after,
  html body a.fe-footer-home {
    width: 74.88px; /* 62.4px × 1.2 */
    height: 74.88px;
  }
}

/* Contact page Details sign-off icon only: 20% larger than live
   44px / 48px. Position (block under the last hours paragraph)
   is unchanged. */
html body.page-id-12 .section-contact .columns.large-3 > p:last-of-type::after,
html body:has(#clasess.page-id-12) .section-contact .columns.large-3 > p:last-of-type::after {
  width: 52.8px;  /* 44px × 1.2 */
  height: 52.8px;
}

@media screen and (min-width: 1024px) {
  html body.page-id-12 .section-contact .columns.large-3 > p:last-of-type::after,
  html body:has(#clasess.page-id-12) .section-contact .columns.large-3 > p:last-of-type::after {
    width: 57.6px; /* 48px × 1.2 */
    height: 57.6px;
  }
}
