/* v2.05 — centred, 30% larger logo on mobile, independent of the old top menu.
   The previous compact mobile cap was 36px high / 240px wide. */
@media (max-width: 767px) {
  body .at-header .at-header-main,
  body .at-header .at-header-main.alignwide {
    position: relative !important;
    min-height: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
  }
  body .at-header .at-header-main > .at-logo-line,
  body.single-post .at-header .at-header-main > .at-logo-line {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    min-width: 0 !important;
    flex: none !important;
    justify-content: center !important;
    text-align: center !important;
    z-index: 1;
  }
  body .at-header .at-logo-line .wp-block-site-logo,
  body .at-header .at-logo-line .wp-block-site-logo a {
    width: auto !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  body .at-header .at-logo-line .wp-block-site-logo img {
    display: block !important;
    width: auto !important;
    max-width: min(91vw, 312px) !important;
    height: auto !important;
    max-height: 46.8px !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform-origin: center center !important;
  }
  /* Keep the pre-existing shrinking sticky logo behaviour. */
  body .at-header.at-is-scrolled .at-logo-line .wp-block-site-logo img {
    transform: scale(.6) !important;
  }
}
