/* Keep the existing mobile logo inside its header without stretching it. */
@media (max-width: 1023px) {
    .mobile-header-menu-buttons .logo-menu-button {
        min-width: 0;
    }
    .mobile-header-menu-buttons .logo-menu-button img.site-logo-image {
        width: auto;
        height: auto;
        max-width: min(280px, calc(100% - 20px));
        max-height: 50px;
        object-fit: contain;
    }
}

/* Original homepage: constrain content without replacing its branding or layout. */
body.home #post-14531 .wp-block-column { min-width: 0; }
body.home #post-14531 .wp-block-image img { max-width: 100%; height: auto; }
body.home #post-14531 .wp-block-button__link { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 767px) {
    body.home #post-14531 .wp-block-columns { gap: 24px; }
    body.home #post-14531 .wp-block-heading.home { font-size: clamp(21px, 5.6vw, 26px); line-height: 1.55; }
    body.home #post-14531 .wp-block-buttons { flex-wrap: wrap; }
    body.home #post-14531 .wp-block-button { max-width: 100%; }
    body.home #post-14531 .wp-block-button__link { min-height: 48px; padding: 12px 18px; line-height: 1.5; }
}
