/* Shared reference widths: 1440 / 1024 / 768 / 480 / 375.
   Desktop styles at 1440px and above remain in their existing components. */
@media (min-width: 1025px) and (max-width: 1439px) {
  .kt-header-shell { width: calc(100% - 48px); gap: 20px; }
  .kt-header-shell .kt-wordmark { flex: 0 0 auto; }
  .kt-header-shell .kt-wordmark img { max-width: clamp(160px, 14vw, 190px); }
  .kt-header-shell .kt-nav-desktop { flex: 1; justify-content: flex-end; gap: 14px; }
  .kt-header-shell .kt-primary-nav { position: static; transform: none; }
  .kt-header-shell .kt-primary-nav > ul { gap: clamp(4px, .65vw, 10px); }
  .kt-header-shell .kt-primary-nav > ul > li > a { padding-inline: 2px; }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .kt-header-shell .kt-primary-nav > ul { gap: clamp(14px, calc(7.5vw - 76px), 24px); }
}

@media (max-width: 1439px) {
  .yhm-footer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 2.2vw, 32px); }
  .yhm-footer-logo { max-width: 100%; }
  .yhm-footer-logo img { max-width: 100%; }
  .yhm-footer-products a { white-space: normal; }
  .yhm-footer-column { min-width: 0; overflow-wrap: anywhere; }
}

@media (max-width: 1024px) {
  :root { --kt-container: calc(100% - 48px); }
  .yhm-inner-container { width: calc(100% - 48px); }
  body .site-header, body .site-header.is-main-nav-fixed { position: sticky !important; top: 0; }
  body .site-main { padding-top: 0 !important; }
  .site-header .kt-utility-bar,
  .site-header .kt-nav-desktop,
  .site-header .kt-header-search,
  .site-header .kt-product-menu,
  .site-header .kt-about-menu,
  .site-header .kt-factory-menu { display: none; }
  .site-header .kt-header-shell { width: calc(100% - 48px); min-height: 70px; }
  .site-header .kt-wordmark img { max-width: 180px; max-height: 42px; }
  .site-header .kt-menu-toggle { display: inline-grid; width: 44px; height: 44px; place-items: center; }
  .admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
  .kt-mobile-menu:not([hidden]) {
    display: block;
    max-height: calc(100dvh - 142px - var(--wp-admin--admin-bar--height, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 24px 16px;
    background: #030303;
    color: #fff;
  }
  .kt-mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
  .site-header .kt-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.16); }
  .site-header .kt-mobile-menu a { display: flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 8px 0; color: #fff; line-height: 20px; }
  .kt-mobile-menu .sub-menu { padding-left: 20px; }
  .kt-mobile-menu .sub-menu li { border-bottom: 0; }
  .kt-mobile-search { width: 100%; margin-top: 16px; }
  .yhm-footer-inner,
  body.home .yhm-footer-inner { width: calc(100% - 48px); margin-inline: auto; }
  .yhm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .yhm-footer-brand { grid-column: 1 / -1; }
}

/* WordPress makes its admin bar non-fixed at 600px. */
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
}

@media (max-width: 768px) {
  :root { --kt-container: calc(100% - 40px); }
  .yhm-inner-container { width: calc(100% - 40px); }
  .yhm-inner-breadcrumb > div { flex-wrap: wrap; overflow-wrap: anywhere; }
  .yhm-richtext { overflow-wrap: anywhere; }
  .yhm-richtext img { max-width: 100%; height: auto; }
  .yhm-richtext table { display: block; max-width: 100%; overflow-x: auto; }
}

@media (max-width: 480px) {
  :root { --kt-container: calc(100% - 32px); }
  .yhm-inner-container,
  .yhm-footer-inner,
  body.home .yhm-footer-inner { width: calc(100% - 32px); margin-inline: auto; }
  .site-header .kt-header-shell { width: calc(100% - 32px); }
  .yhm-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .yhm-footer-brand { grid-column: auto; }
  .yhm-footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 16px; }
  .yhm-footer-column p,
  .yhm-footer-bottom { overflow-wrap: anywhere; }
}

@media (max-width: 375px) {
  .site-header .kt-wordmark img { max-width: 160px; }
  .kt-mobile-menu:not([hidden]) { padding-inline: 16px; }
}

/* Mobile content gutter: fluid width; tablet and desktop stay unchanged. */
@media (max-width: 767px) {
  :root { --kt-container: calc(100% - 40px); }
  body .site-header .kt-header-shell,
  body .kt-container,
  body .yhm-inner-container,
  body .yhm-about-container,
  body .yhm-structured-container,
  body .yhm-popular-products__container,
  body .yhm-product-classification__container,
  body .yhm-inner-contact__inner,
  body .yhm-search-container,
  body .yhm-footer-inner,
  body.home .yhm-footer-inner,
  body .yhm-design-hero__inner,
  body .yhm-design-breadcrumb__text,
  body .kt-about__wrap,
  body .kt-support__wrap,
  body .kt-special-hero__inner,
  body .kt-special-breadcrumb > div,
  body .kt-special-section {
    box-sizing: border-box;
    width: calc(100% - 40px) !important;
    max-width: none;
    min-width: 0;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  body .kt-mobile-menu:not([hidden]) { padding-inline: 20px; }
  body .kt-special-categories,
  body .kt-special-process { width: 100% !important; padding-inline: 20px !important; }
  body .kt-special-highlights__image { height: 300px; min-height: 0; object-fit: cover; }
  body .yhm-catalog-hero__copy,
  body .yhm-catalog-navigation,
  body .yhm-catalog-results,
  body .yhm-service-parts,
  body .yhm-service-warranty,
  body .yhm-service-support,
  body .yhm-service-training,
  body .yhm-service-resources,
  body .yhm-service-network__copy,
  body .kt-special-production,
  body .yhm-design-metrics,
  body .yhm-design-selling,
  body .yhm-design-specs,
  body .yhm-design-details,
  body .yhm-design-cases,
  body .yhm-design-related { padding-inline: 20px !important; }
  body .yhm-catalog-layout { grid-template-columns: minmax(0, 1fr); }
  body .yhm-service-network__copy { width: 100%; box-sizing: border-box; }
  body .yhm-about-timeline__heading { flex-wrap: wrap; }
  body .yhm-structured-section--certificates { width: 100%; margin-inline: 0; left: auto; }
  body .yhm-certificate-copy .yhm-structured-container { width: 100% !important; }
  body .yhm-design-hero__copy,
  body .yhm-about-profile__copy,
  body .yhm-richtext,
  body .yhm-archive-card__copy,
  body .kt-special-section { overflow-wrap: anywhere; }
  body .yhm-design-metric { padding-inline: 12px; overflow-wrap: anywhere; }
  body .yhm-archive-grid,
  body .yhm-related-grid { grid-template-columns: minmax(0, 1fr); }
}
/* 2026-10-15: typography and rhythm apply only to tablet/mobile. */
@media (max-width: 1024px) {
  body { --yhm-responsive-title: 36px; --yhm-responsive-copy: 14px; --yhm-responsive-space: 80px; }
  body :is(.site-main, .yhm-structured-home, .kt-special-page, .yhm-about-page, .yhm-service-page, .editorial-detail, .kt-container) :is(h1, h2, h3),
  body .yhm-inner-contact h2,
  body .yhm-inquiry h2,
  body .yhm-related-card__copy > strong,
  body .yhm-product-design [data-pencil-name="DX360 Title"] {
    font-size: var(--yhm-responsive-title) !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }
  body :is(.site-main, .yhm-structured-home, .kt-special-page, .yhm-about-page, .yhm-service-page, .editorial-detail, .kt-container) p,
  body :is(.yhm-inner-contact, .yhm-inquiry) p,
  body .yhm-catalog-hero__copy > span,
  body .yhm-related-card__copy > span,
  body .yhm-product-design [data-pencil-name="DX360 Tagline"],
  body .yhm-product-design [data-pencil-name="DX360 Product Introduction"],
  body .yhm-product-design [data-pencil-name="DX360 Chassis Introduction"] {
    font-size: var(--yhm-responsive-copy) !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
  }
  body .yhm-structured-section:not(.yhm-structured-section--hero),
  body .yhm-popular-products,
  body .yhm-product-classification,
  body .yhm-about-profile,
  body .yhm-about-timeline,
  body .yhm-case-archive-content,
  body .yhm-solution-archive-content,
  body .yhm-archive-news-content,
  body .yhm-news-article,
  body .yhm-solution-article,
  body .yhm-case-article,
  body .editorial-detail__article,
  body .editorial-detail__related,
  body .yhm-related,
  body .yhm-contact-content,
  body .yhm-inner-contact,
  body .yhm-inquiry,
  body .yhm-service-parts,
  body .yhm-service-warranty,
  body .yhm-service-support,
  body .yhm-service-training,
  body .yhm-service-network,
  body .yhm-service-resources,
  body .kt-special-section,
  body .kt-special-production,
  body .yhm-design-selling,
  body .yhm-design-specs,
  body .yhm-design-details,
  body .yhm-design-cases,
  body .yhm-design-related,
  body .yhm-search-results {
    padding-block: var(--yhm-responsive-space) !important;
    min-height: 0 !important;
    height: auto !important;
  }
  body .yhm-structured-section--strengths .yhm-strength-grid {
    width: 100% !important;
    margin-inline: 0 !important;
  }
  body .yhm-structured-section.yhm-structured-section--certificates {
    width: 100% !important;
    margin-inline: 0 !important;
    background-color: #121212 !important;
  }
  body .yhm-structured-section--certificates > .yhm-structured-container {
    width: calc(100% - 48px) !important;
    margin-inline: auto !important;
  }
  body .yhm-structured-section--certificates .yhm-certificate-showcase {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    aspect-ratio: auto;
    gap: 20px;
    padding: 0;
    min-height: 0;
    height: auto;
  }
  body .yhm-structured-section--certificates .yhm-certificate-copy {
    position: static !important;
    grid-area: 1 / 1;
    width: 100% !important;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  body .yhm-certificate-copy .yhm-structured-container { width: 100% !important; margin: 0 !important; }
  body .yhm-certificate-showcase .yhm-certificate-background { grid-area: 2 / 1; width: 100%; height: auto; }
  body .yhm-certificate-showcase .yhm-certificate-slots { grid-area: 2 / 1; position: relative; inset: auto; width: 100%; height: 100%; }
  body .yhm-about-timeline__heading { height: auto; flex-wrap: wrap; gap: 20px; }
  body .yhm-inner-container .yhm-inner-container { width: 100% !important; margin-inline: 0 !important; }
}
@media (max-width: 767px) {
  body { --yhm-responsive-title: 26px; --yhm-responsive-copy: 12px; --yhm-responsive-space: 40px; }
  body .yhm-structured-section--certificates > .yhm-structured-container { width: calc(100% - 40px) !important; }
  body .yhm-structured-section--strengths .yhm-strength-grid { grid-template-columns: minmax(0, 1fr); }
  body .yhm-certificate-copy .yhm-structured-container { width: 100% !important; }
  body .kt-special-page .kt-special-section,
  body .yhm-service-parts,
  body .yhm-service-warranty,
  body .yhm-service-support,
  body .yhm-service-training,
  body .yhm-service-resources { grid-template-columns: minmax(0, 1fr); }
  body .yhm-service-parts > img,
  body .yhm-service-warranty > img,
  body .yhm-service-support > img,
  body .yhm-service-training > img { width: 100%; height: auto; }
  body .yhm-design-hero__inner { padding-block: 70px 40px; }
  body .yhm-catalog-navigation { height: auto; min-height: 0; }
  body .yhm-catalog-results { padding-block: 20px 40px; }
  body .yhm-about-profile > .yhm-about-container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  body .yhm-contact-panel { grid-template-columns: minmax(0, 1fr) !important; }
  body .yhm-contact-panel > *,
  body .yhm-contact-panel :is(label, input, textarea) { min-width: 0; max-width: 100%; }
}

/* Inner-page banners: laptop / landscape tablet / phone. */
@media (max-width: 1920px) {
  body:not(.home) { --yhm-inner-banner-height: 400px; }
  body:not(.home) :is(.yhm-catalog-hero, .yhm-archive-hero, .yhm-detail-hero, .yhm-about-hero, .yhm-contact-hero, .kt-special-hero, .kt-inner-banner, .editorial-detail__hero) {
    height: var(--yhm-inner-banner-height) !important;
    min-height: 0 !important;
    box-sizing: border-box;
    background-size: cover;
  }
  body:not(.home) .kt-special-hero__inner { height: 100%; min-height: 0; }
  body:not(.home) .yhm-archive-hero { position: relative; }
  body:not(.home) .yhm-archive-hero::before { inset: 0; height: 100%; }
  body:not(.home) .yhm-archive-hero--split img { object-fit: cover; }
  body:not(.home) .yhm-catalog-hero__copy { padding-block: 20px; }
  body:not(.home) :is(.kt-inner-banner, .editorial-detail__hero) { padding-block: 20px; }
}
@media (min-width: 768px) and (max-width: 1280px) {
  body:not(.home) { --yhm-inner-banner-height: 300px; }
}
@media (max-width: 767px) {
  body:not(.home) { --yhm-inner-banner-height: 200px; }
  body:not(.home) :is(.yhm-catalog-hero, .yhm-archive-hero, .yhm-detail-hero, .yhm-about-hero, .yhm-contact-hero, .kt-special-hero, .kt-inner-banner, .editorial-detail__hero) h1 { font-size: 26px; line-height: 1.15; margin-block: 0 10px; }
  body:not(.home) .kt-special-hero__inner { gap: 10px; }
}

/* Laptop spacing between product classification and Industry Solutions. */
@media (min-width: 1025px) and (max-width: 1920px) {
  body.home .yhm-product-classification { padding-bottom: 80px !important; }
}

/* Compact homepage news on laptops; keep the shared container untouched. */
@media (min-width: 1025px) and (max-width: 1439px) {
  body.home .yhm-structured-section--news { padding-block: 40px; }
  body.home .yhm-structured-section--news .yhm-structured-heading { margin-bottom: 24px; }
  body.home .yhm-structured-section--news .yhm-structured-heading h2 { font-size: 36px; }
  body.home .yhm-structured-section--news .yhm-news-layout { grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
  body.home .yhm-structured-section--news .yhm-news-feature > img { height: 270px; }
  body.home .yhm-structured-section--news .yhm-news-list { grid-template-rows: repeat(3, 1fr); gap: 12px; }
  body.home .yhm-structured-section--news .yhm-news-list-item:nth-child(n+4) { display: none; }
  body.home .yhm-structured-section--news .yhm-news-list-item { grid-template-columns: 130px minmax(0, 1fr); min-height: 0; }
  body.home .yhm-structured-section--news .yhm-news-list-item > img { width: 130px; height: 100%; min-height: 0; object-fit: cover; }
  body.home .yhm-structured-section--news .yhm-news-list-item > div { padding: 12px 28px 12px 14px; }
  body.home .yhm-structured-section--news .yhm-news-list-item h3 { font-size: 18px; line-height: 1.3; margin-block: 4px 6px; }
  body.home .yhm-structured-section--news .yhm-news-card-body h3 { font-size: 20px; line-height: 1.3; }
  body.home .yhm-structured-section--news .yhm-news-card-body p,
  body.home .yhm-structured-section--news .yhm-news-list-item p { font-size: 14px; line-height: 1.45; }
  body.home .yhm-structured-section--news .yhm-news-list-item small { font-size: 12px; }
}

/* Keep the homepage enquiry panel within a laptop screen. */
@media (min-width: 1025px) and (max-width: 1439px) {
  body.home .yhm-structured-section--contact { padding-block: 40px !important; }
  body.home .yhm-structured-section--contact .yhm-contact-details,
  body.home .yhm-structured-section--contact .yhm-contact-form-wrap { padding: 28px 32px; }
  body.home .yhm-structured-section--contact .yhm-contact-details h3 { font-size: 36px; line-height: 1.2; margin-bottom: 20px; }
  body.home .yhm-structured-section--contact .yhm-contact-detail { padding-block: 14px; gap: 14px; }
  body.home .yhm-structured-section--contact .yhm-contact-detail strong,
  body.home .yhm-structured-section--contact .yhm-contact-detail div > span,
  body.home .yhm-structured-section--contact .yhm-contact-form label { font-size: 14px; line-height: 1.5; }
  body.home .yhm-structured-section--contact .yhm-contact-form { gap: 12px; }
  body.home .yhm-structured-section--contact .yhm-contact-form input:not([type=submit]) { height: 42px; padding: 8px 12px; margin-top: 6px; }
  body.home .yhm-structured-section--contact .yhm-contact-form textarea { height: 100px; min-height: 100px; padding: 8px 12px; margin-top: 6px; }
}

/* Align laptop product sections with the existing product hero container. */
@media (min-width: 1025px) and (max-width: 1920px) {
  .yhm-product-design .yhm-design-metrics,
  .yhm-product-design .yhm-design-selling,
  .yhm-product-design .yhm-design-specs,
  .yhm-product-design .yhm-design-details,
  .yhm-product-design .yhm-design-cases,
  .yhm-product-design .yhm-design-related {
    padding-inline: max(40px, calc((100% - 1600px) / 2));
  }
}

/* Keep solution categories on one scrollable row at laptop widths. */
@media (min-width: 1025px) and (max-width: 1920px) {
  .yhm-solution-archive .yhm-archive-filters > .yhm-inner-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }
  .yhm-solution-archive .yhm-archive-filters a { flex: 0 0 auto; }
}

/* Narrow only the laptop company-profile column gap. */
@media (min-width: 1025px) and (max-width: 1920px) {
  .yhm-about-profile > .yhm-about-container { column-gap: 40px; }
}

/* Fit the featured news card into a phone viewport. */
@media (max-width: 767px) {
  body.home .yhm-structured-section--news .yhm-news-feature > img {
    height: 200px;
    min-height: 0;
    object-fit: cover;
  }
}

/* Mobile and tablet quick-contact footer; desktop footer stays unchanged. */
.yhm-mobile-footer { display: none; }
@media (max-width: 1024px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .yhm-site-footer { display: none; }
  .yhm-mobile-footer { display: flex; position: fixed; inset: auto 0 0; z-index: 999; min-height: 72px; padding-bottom: env(safe-area-inset-bottom, 0px); background: #fff; border-top: 1px solid #e0e3e5; box-shadow: 0 -2px 12px #0000000a; }
  .yhm-mobile-footer a { display: flex; flex: 1 1 0; min-width: 0; min-height: 72px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; padding: 8px 2px; box-sizing: border-box; color: #dd2425; font-size: 12px; line-height: 1.3; text-decoration: none; }
  .yhm-mobile-footer a + a { border-left: 1px solid #e0e3e5; }
  .yhm-mobile-footer .xhl-icon { font-size: 24px; }
  .yhm-mobile-footer a:focus-visible { outline: 2px solid #dd2425; outline-offset: -4px; }
}

/* Homepage laptop banner height requested at the 1280px viewport. */
@media (min-width: 1025px) and (max-width: 1439px) {
  body.home .yhm-structured-section.yhm-structured-section--hero {
    height: 500px !important;
    min-height: 500px !important;
  }
}

@media (min-width: 1440px) {
  body.home .yhm-structured-section.yhm-structured-section--hero {
    height: 800px !important;
    min-height: 800px !important;
  }
}

/* Homepage section whitespace marked in the responsive review. */
@media (max-width: 1439px) {
  body.home { --yhm-home-section-gap: 80px; }
  body.home .yhm-popular-products,
  body.home .yhm-product-classification { padding-block: var(--yhm-home-section-gap) !important; }
  body.home .yhm-structured-section--solutions { padding-block: 0 !important; }
  body.home .yhm-solutions__backdrop-inner { padding-top: var(--yhm-home-section-gap) !important; }
  body.home .yhm-structured-section--about,
  body.home .yhm-structured-section--strengths,
  body.home .yhm-structured-section--cases,
  body.home .yhm-structured-section--news { padding-top: var(--yhm-home-section-gap) !important; }
  body.home .yhm-structured-section--about,
  body.home .yhm-structured-section--strengths { padding-bottom: 0 !important; }
  body.home .yhm-structured-section--cases { padding-bottom: var(--yhm-home-section-gap) !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.home { --yhm-home-section-gap: 50px; }
}
@media (max-width: 767px) {
  body.home { --yhm-home-section-gap: 40px; }
}

/* Product detail section whitespace; preserve desktop at 1440px and above. */
@media (max-width: 1439px) {
  body.single-product { --yhm-product-section-gap: 80px; }
  body.single-product .yhm-design-selling,
  body.single-product .yhm-design-specs,
  body.single-product .yhm-design-details,
  body.single-product .yhm-design-cases,
  body.single-product .yhm-design-related,
  body.single-product #product-inquiry { padding-block: var(--yhm-product-section-gap) !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.single-product { --yhm-product-section-gap: 50px; }
}
@media (max-width: 767px) {
  body.single-product { --yhm-product-section-gap: 40px; }
}

/* Marked Solutions and Customization whitespace; desktop remains unchanged. */
@media (max-width: 1439px) {
  .kt-special-page, .yhm-solution-archive { --yhm-marked-section-gap: 80px; }
  .kt-special-page .kt-special-section,
  .kt-special-page .kt-special-production { padding-block: var(--yhm-marked-section-gap) !important; }
  .yhm-solution-archive .yhm-solution-archive-content > .yhm-inner-container { padding-top: var(--yhm-marked-section-gap) !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .kt-special-page, .yhm-solution-archive { --yhm-marked-section-gap: 50px; }
  body .yhm-solution-archive .yhm-solution-archive-content { padding-top: 0 !important; }
}
@media (max-width: 767px) {
  .kt-special-page, .yhm-solution-archive { --yhm-marked-section-gap: 40px; }
  .kt-special-page .kt-special-breadcrumb { height: auto; padding-top: 40px; }
  .kt-special-page .kt-special-breadcrumb > div { height: auto; }
  body .yhm-solution-archive .yhm-solution-archive-content { padding-top: 0 !important; }
}

/* Laptop parts image proportions from the marked service-page reference. */
@media (min-width: 1025px) and (max-width: 1439px) {
  .yhm-service-page .yhm-service-parts {
    grid-template-columns: minmax(0, 1fr) 36%;
    gap: 24px;
  }
  .yhm-service-page .yhm-service-parts > img { height: 370px; }
}

/* Marked case-list and news-heading gaps, excluding desktop. */
@media (max-width: 1439px) {
  .yhm-case-archive, .yhm-news-archive { --yhm-list-review-gap: 80px; }
  .yhm-case-archive .yhm-case-archive-content { padding-block: var(--yhm-list-review-gap) !important; }
  .yhm-news-archive .yhm-news-list-heading { padding-top: var(--yhm-list-review-gap) !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .yhm-case-archive, .yhm-news-archive { --yhm-list-review-gap: 50px; }
}
@media (max-width: 767px) {
  .yhm-case-archive, .yhm-news-archive { --yhm-list-review-gap: 40px; }
}

/* Compact laptop company-profile gallery from the marked reference. */
@media (min-width: 1025px) and (max-width: 1439px) {
  .yhm-about-profile .yhm-about-gallery { height: auto; }
  .yhm-about-profile .yhm-about-gallery__main { height: 300px; }
  .yhm-about-profile .yhm-about-gallery__thumbs { height: 100px; }
}

/* Contact form section spacing from the responsive review. */
@media (min-width: 1025px) and (max-width: 1439px) {
  .yhm-contact-page .yhm-contact-content { padding-block: 80px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .yhm-contact-page .yhm-contact-content { padding-block: 50px !important; }
}
@media (max-width: 767px) {
  .yhm-contact-page .yhm-contact-content { padding-block: 40px !important; }
}

/* Inner banner titles: laptop, tablet and phone only. */
@media (max-width: 1439px) {
  body:not(.home) { --yhm-inner-banner-title-size: 40px; }
  body:not(.home) :is(.yhm-catalog-hero, .yhm-archive-hero, .yhm-detail-hero, .yhm-about-hero, .yhm-contact-hero, .kt-special-hero, .kt-inner-banner, .editorial-detail__hero, .kt-product-list__hero) h1 {
    font-size: var(--yhm-inner-banner-title-size) !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body:not(.home) { --yhm-inner-banner-title-size: 36px; }
}
@media (max-width: 767px) {
  body:not(.home) { --yhm-inner-banner-title-size: 28px; }
}

/* Homepage typography for the marked section headings and supporting copy. */
body.home { --yhm-review-heading: 48px; --yhm-review-copy: 16px; }
body.home :is(.yhm-popular-products__heading, .yhm-product-classification__heading, .yhm-solutions__heading, .yhm-structured-section--about .yhm-structured-heading, .yhm-structured-section--cases .yhm-structured-heading, .yhm-structured-section--certificates, .yhm-structured-section--news .yhm-structured-heading) h2 { font-size: var(--yhm-review-heading) !important; }
body.home :is(.yhm-popular-products__content p, .yhm-popular-products__link, .yhm-product-classification__heading p, .yhm-product-classification__panel p, .yhm-product-classification__cta, .yhm-solutions-intro, .yhm-solutions-intro p, .yhm-about-copy, .yhm-about-copy p, .yhm-structured-section--cases .yhm-structured-card p, .yhm-case-link, .yhm-structured-section--certificates p) { font-size: var(--yhm-review-copy) !important; }
@media (min-width: 1025px) and (max-width: 1439px) {
  body.home { --yhm-review-heading: 38px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.home { --yhm-review-heading: 32px; --yhm-review-copy: 14px; }
}
@media (max-width: 767px) {
  body.home { --yhm-review-heading: 26px; --yhm-review-copy: 12px; }
}

/* Product review: only the marked body copy, breadcrumb and text links. */
.yhm-product-catalog, .yhm-product-design { --yhm-product-review-copy: 16px; }
body :is(.yhm-catalog-card__copy > p, .yhm-catalog-card__link, .yhm-catalog-card__link > span:first-child,
.yhm-design-breadcrumb__text, .yhm-design-breadcrumb__text > *,
.yhm-product-design [data-pencil-name="DX360 Tagline"],
.yhm-product-design [data-pencil-name="DX360 Product Introduction"],
.yhm-product-design [data-pencil-name="DX360 Chassis Introduction"],
.yhm-design-selling__item p, .yhm-design-spec-row > span, .yhm-design-spec-row > strong,
.yhm-design-details__panel p, .yhm-design-details__panel h4,
.yhm-design-cases__grid article p, .yhm-design-cases__grid article div > span,
.yhm-design-related__grid article p) { font-size: var(--yhm-product-review-copy) !important; }
@media (min-width: 768px) and (max-width: 1024px) {
  .yhm-product-catalog, .yhm-product-design { --yhm-product-review-copy: 14px; }
}
@media (max-width: 767px) {
  .yhm-product-catalog, .yhm-product-design { --yhm-product-review-copy: 12px; }
}

/* Marked solution headings and copy, plus the product recommendations intro. */
.yhm-solution-archive, .yhm-solution-detail { --yhm-solution-review-heading: 48px; --yhm-solution-review-copy: 16px; }
.yhm-solution-detail { --yhm-solution-review-heading: 36px; }
body :is(.yhm-solution-archive-content > .yhm-inner-container > h2,
.yhm-solution-archive .yhm-related--solution-products .yhm-section-heading h2,
.yhm-solution-detail .yhm-related .yhm-section-heading h2) { font-size: var(--yhm-solution-review-heading) !important; }
body :is(.yhm-solution-archive .yhm-related--solution-products .yhm-section-heading p,
.yhm-solution-archive .yhm-related-card__copy > span,
.yhm-solution-detail .yhm-richtext p, .yhm-solution-detail .yhm-richtext li,
.yhm-solution-detail .yhm-related .yhm-section-heading p,
.yhm-solution-detail .yhm-related .yhm-related-card__copy > span) { font-size: var(--yhm-solution-review-copy) !important; }
body .yhm-design-related > div > p { font-size: var(--yhm-product-review-copy) !important; }
@media (min-width: 1025px) and (max-width: 1439px) {
  .yhm-solution-archive, .yhm-solution-detail { --yhm-solution-review-heading: 38px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .yhm-solution-archive, .yhm-solution-detail { --yhm-solution-review-heading: 32px; --yhm-solution-review-copy: 14px; }
}
@media (max-width: 767px) {
  .yhm-solution-archive, .yhm-solution-detail { --yhm-solution-review-heading: 26px; --yhm-solution-review-copy: 12px; }
}

/* Customization review: marked section titles and supporting text. */
.kt-special-page { --yhm-custom-review-heading: 48px; --yhm-custom-review-copy: 16px; }
body .kt-special-page :is(.kt-special-overview__copy, .kt-special-categories > header,
.kt-special-highlights__copy, .kt-special-certifications, .kt-special-process > header,
.kt-special-cases > header) h2 { font-size: var(--yhm-custom-review-heading) !important; }
body .kt-special-page :is(.kt-special-overview__copy p, .kt-special-categories > header p,
.kt-special-category-card p:not(.kt-special-eyebrow), .kt-special-feature-list p,
.kt-special-oem p, .kt-special-certifications p, .kt-special-process__steps p,
.kt-special-case-grid article p) { font-size: var(--yhm-custom-review-copy) !important; }
@media (min-width: 1025px) and (max-width: 1439px) {
  .kt-special-page { --yhm-custom-review-heading: 38px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .kt-special-page { --yhm-custom-review-heading: 32px; --yhm-custom-review-copy: 14px; }
}
@media (max-width: 767px) {
  .kt-special-page { --yhm-custom-review-heading: 26px; --yhm-custom-review-copy: 12px; }
}

/* Related products and service-page typography requested in the review. */
body .kt-special-products > header h2 { font-size: var(--yhm-custom-review-heading) !important; }
body .kt-special-products :is(header p, .kt-special-product-grid p) { font-size: var(--yhm-custom-review-copy) !important; }
.yhm-service-page { --yhm-service-review-heading: 48px; --yhm-service-review-copy: 16px; }
body .yhm-service-page section h2 { font-size: var(--yhm-service-review-heading) !important; }
body .yhm-service-page :is(.yhm-service-parts__copy > p, .yhm-service-parts__list li,
.yhm-service-warranty__copy p, .yhm-service-warranty__copy > small,
.yhm-service-support__copy p, .yhm-service-training__copy p, .yhm-service-training__copy > small,
.yhm-service-network__copy p, .yhm-service-network__details p a,
.yhm-service-resources__faq > p, .yhm-service-resources__downloads > p,
.yhm-service-download > div > span) { font-size: var(--yhm-service-review-copy) !important; }
@media (min-width: 1025px) and (max-width: 1439px) {
  .yhm-service-page { --yhm-service-review-heading: 38px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .yhm-service-page { --yhm-service-review-heading: 32px; --yhm-service-review-copy: 14px; }
}
@media (max-width: 767px) {
  .yhm-service-page { --yhm-service-review-heading: 26px; --yhm-service-review-copy: 12px; }
}

/* Case review: list heading and marked descriptions/text links. */
.yhm-case-archive, .yhm-case-detail { --yhm-case-review-heading: 48px; --yhm-case-review-copy: 16px; }
body .yhm-case-results > h2 { font-size: var(--yhm-case-review-heading) !important; }
body :is(.yhm-case-archive .yhm-archive-card__copy > p,
.yhm-case-archive .yhm-archive-card__link,
.yhm-case-detail .yhm-richtext p, .yhm-case-detail .yhm-richtext li,
.yhm-case-detail .yhm-related-card__copy > span) { font-size: var(--yhm-case-review-copy) !important; }
@media (min-width: 1025px) and (max-width: 1439px) {
  .yhm-case-archive, .yhm-case-detail { --yhm-case-review-heading: 38px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .yhm-case-archive, .yhm-case-detail { --yhm-case-review-heading: 32px; --yhm-case-review-copy: 14px; }
}
@media (max-width: 767px) {
  .yhm-case-archive, .yhm-case-detail { --yhm-case-review-heading: 26px; --yhm-case-review-copy: 12px; }
}

/* Inner banner title/description spacing follows the product catalog. */
body:not(.home) { --yhm-inner-title-description-gap: 18px; }
body:not(.home) :is(.yhm-catalog-hero, .yhm-archive-hero, .yhm-detail-hero, .yhm-about-hero, .yhm-contact-hero, .kt-special-hero, .kt-inner-banner, .editorial-detail__hero) :has(> h1 + :is(p, span)) {
  row-gap: 0;
}
body:not(.home) :is(.yhm-catalog-hero, .yhm-archive-hero, .yhm-detail-hero, .yhm-about-hero, .yhm-contact-hero, .kt-special-hero, .kt-inner-banner, .editorial-detail__hero) h1:has(+ :is(p, span)) {
  margin-bottom: var(--yhm-inner-title-description-gap);
}
body:not(.home) :is(.yhm-catalog-hero, .yhm-archive-hero, .yhm-detail-hero, .yhm-about-hero, .yhm-contact-hero, .kt-special-hero, .kt-inner-banner, .editorial-detail__hero) h1 + :is(p, span) {
  margin-top: 0;
}
@media (max-width: 767px) {
  body:not(.home) { --yhm-inner-title-description-gap: 15px; }
}

/* Desktop news: three side stories aligned with the featured card. */
@media (min-width: 1440px) {
  body.home .yhm-structured-section--news .yhm-news-layout { align-items: stretch; }
  body.home .yhm-structured-section--news .yhm-news-list { grid-template-rows: repeat(3, minmax(0, 1fr)); }
  body.home .yhm-structured-section--news .yhm-news-list-item:nth-child(n+4) { display: none; }
}

/* Homepage tablet banner: preserve desktop, laptop and phone heights. */
@media (min-width: 768px) and (max-width: 1024px) {
  body.home .yhm-structured-section.yhm-structured-section--hero {
    height: 300px !important;
    min-height: 300px !important;
  }
}

/* Homepage phone banner height. */
@media (max-width: 767px) {
  body .yhm-catalog-card__copy h2 { font-size: 18px !important; }
  body.single-product .yhm-design-cases article h3,
  body .yhm-design-related article h3,
  body .kt-special-product-grid h3 { font-size: 20px !important; }
  body.home .yhm-popular-products__heading { margin-bottom: 15px; }
  body.home :is(.yhm-structured-section--about, .yhm-structured-section--strengths, .yhm-structured-section--cases, .yhm-structured-section--news) .yhm-structured-heading { margin-bottom: 15px; }
  body.home .yhm-product-classification__heading > span { margin-bottom: 15px; }
  body.home .yhm-solutions__backdrop-inner { row-gap: 15px; }
  body.home .yhm-solutions-intro { margin-top: 15px; padding-top: 0; }
  body.home .yhm-solutions-intro p:first-child { margin-top: 0; }
  body.home .yhm-about-layout { row-gap: 15px; }
  body.home .yhm-about-copy p:first-child { margin-top: 0; }
  body.home .yhm-about-copy p:last-of-type { margin-bottom: 0; }
  body.home .yhm-about-copy > a { margin-top: 15px; }
  body.home .yhm-structured-section--certificates { padding-block: 0 !important; }
  body.home .yhm-structured-section--news { padding-bottom: 40px !important; }
  body.home .yhm-structured-section--contact { padding-top: 15px !important; }
  body.home .yhm-product-classification__panels { padding-top: 20px; }
  body.home .yhm-product-classification__container { grid-template-areas: "heading" "media" "panels"; }
  body.home .yhm-product-classification__navigation {
    grid-area: panels;
    align-self: end;
    justify-self: end;
    padding: 0;
  }
  body.home .yhm-product-classification__cta { min-height: 46px; margin-right: 112px; }
  /* Include the plus button's 16px overhang in the 40px visible gap. */
  body.home .yhm-popular-products { padding-bottom: 56px !important; }
  body.home .yhm-structured-section.yhm-structured-section--hero {
    height: 200px !important;
    min-height: 200px !important;
  }
}

/* Scale the tablet solution video using the desktop 1200:650 proportion. */
@media (min-width: 768px) and (max-width: 1024px) {
  body.home .yhm-solution-media {
    height: auto !important;
    aspect-ratio: 24 / 13 !important;
  }
}

/* Tablet news cards scale together without squeezing story titles. */
@media (min-width: 768px) and (max-width: 1024px) {
  body.home .yhm-structured-section--news .yhm-news-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
  body.home .yhm-structured-section--news .yhm-news-feature > img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  body.home .yhm-structured-section--news .yhm-news-card-body { padding: 14px; }
  body.home .yhm-structured-section--news .yhm-news-card-body h3 { font-size: 20px !important; line-height: 1.3; }
  body.home .yhm-structured-section--news .yhm-news-list { grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; }
  body.home .yhm-structured-section--news .yhm-news-list-item:nth-child(n+4) { display: none; }
  body.home .yhm-structured-section--news .yhm-news-list-item { grid-template-columns: 28% minmax(0, 1fr); min-height: 0; }
  body.home .yhm-structured-section--news .yhm-news-list-item > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
  body.home .yhm-structured-section--news .yhm-news-list-item > div { min-width: 0; padding: 12px 22px 12px 10px; }
  body.home .yhm-structured-section--news .yhm-news-list-item h3 { font-size: 16px !important; line-height: 1.3; margin: 4px 0 6px; word-break: normal; overflow-wrap: normal; }
  body.home .yhm-structured-section--news .yhm-news-list-item small { font-size: 11px; }
  body.home .yhm-structured-section--news .yhm-news-list-item p,
  body.home .yhm-structured-section--news .yhm-news-card-body p { font-size: 14px !important; line-height: 1.45; }
}

/* Tablet product catalog, advantage and customer case card titles. */
@media (min-width: 768px) and (max-width: 1024px) {
  body .yhm-catalog-card__copy h2,
  body.home .yhm-structured-section--strengths .yhm-strength-overlay h3,
  body.home .yhm-structured-section--cases .yhm-structured-card h3 { font-size: 20px !important; }
}

/* Solution related-card titles at laptop and tablet widths. */
@media (min-width: 768px) and (max-width: 1024px) {
  body .yhm-solution-archive .yhm-archive-card--solution .yhm-archive-card__copy h3 { font-size: 20px !important; }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  body:is(.single-solution,.single-case,.single-news) .yhm-related--cases .yhm-related-card__copy > strong { font-size: 22px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body:is(.single-solution,.single-case,.single-news) .yhm-related-card__copy > strong { font-size: 20px !important; }
}

/* Mobile article navigation keeps only its direction labels. */
@media (max-width: 767px) {
  .yhm-post-navigation strong { display: none; }
}

/* Tablet product description, including the 1032px iPad viewport. */
@media (min-width: 768px) and (max-width: 1100px) {
  body.single-product .yhm-design-details__content { grid-template-columns: minmax(0, 1fr); }
  body.single-product .yhm-design-details__image { min-height: 0; height: 360px; }
}

/* Phone news uses the featured story's image-above-copy layout. */
@media (max-width: 767px) {
  body.home .yhm-structured-section--news .yhm-news-list { gap: 20px; grid-template-rows: none; }
  body.home .yhm-structured-section--news .yhm-news-list-item { display: block; min-height: 0; }
  body.home .yhm-structured-section--news .yhm-news-list-item:nth-child(n+4) { display: none; }
  body.home .yhm-structured-section--news .yhm-news-list-item > img,
  body.home .yhm-structured-section--news .yhm-news-feature > img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; }
  body.home .yhm-structured-section--news .yhm-news-list-item > div { padding: 15px 16px 14px; }
  body.home .yhm-structured-section--news .yhm-news-list-item h3,
  body.home .yhm-structured-section--news .yhm-news-card-body h3 { font-size: 18px !important; line-height: 1.35; margin: 4px 0 7px; }
  body.home .yhm-structured-section--news .yhm-news-list-link { position: static; display: block; transform: none; margin: 0 16px 14px; width: auto; height: auto; }
}

/* Tablet introduction-to-video spacing: 48px inset and existing 22px container spacing minus 50px overlap. */
@media (min-width: 768px) and (max-width: 1024px) {
  body.home .yhm-solutions__backdrop { min-height: 0; }
  body.home .yhm-solutions__backdrop-inner { padding-bottom: 48px !important; }
  body.home .yhm-solutions-panel { margin-top: -50px !important; }
}

/* Match the product detail's related cards, retaining editable relationships. */
body:is(.single-solution,.single-case,.single-news) .yhm-related{min-height:0}
body:is(.single-solution,.single-case,.single-news) .yhm-related .yhm-section-heading h2{font-size:36px!important;margin:0 0 14px}
body:is(.single-solution,.single-case,.single-news) .yhm-related--cases .yhm-section-heading{margin-bottom:0}
body:is(.single-solution,.single-case,.single-news) .yhm-related__grid{gap:20px}
body:is(.single-solution,.single-case,.single-news) .yhm-related-card__media{height:260px}
body:is(.single-solution,.single-case,.single-news) .yhm-related--cases .yhm-related-card__media{height:280px}
body:is(.single-solution,.single-case,.single-news) .yhm-related-card__copy{min-height:0;padding:18px 22px 22px;gap:0}
body:is(.single-solution,.single-case,.single-news) .yhm-related--cases .yhm-related-card__copy{min-height:0;padding:16px 20px}
body:is(.single-solution,.single-case,.single-news) .yhm-related-card__copy>strong{margin:8px 0 0;font-size:22px;line-height:1.3}
body:is(.single-solution,.single-case,.single-news) .yhm-related--cases .yhm-related-card__copy>strong{margin:0 0 6px;font-size:18px}
body:is(.single-solution,.single-case,.single-news) .yhm-related-card__copy>span:not(.yhm-related-card__action){margin-top:6px;line-height:1.4}
body:is(.single-solution,.single-case,.single-news) .yhm-related--cases .yhm-related-card__copy>span:not(.yhm-related-card__action){margin:0 0 8px}
body:is(.single-solution,.single-case,.single-news) .yhm-related-card__copy>.yhm-related-card__action{margin-top:16px;color:#dd2425;font-weight:600;font-size:16px!important}
body:is(.single-solution,.single-case,.single-news) .yhm-related--cases .yhm-related-card__copy>.yhm-related-card__action{margin-top:0;font-weight:700}
body:is(.single-solution,.single-case,.single-news) .yhm-related-card__action .xhl-icon{display:none}
body:is(.single-solution,.single-case,.single-news) .yhm-related-card a:hover strong{color:#dd2425}
@media(min-width:768px) and (max-width:1439px){
  body:is(.single-solution,.single-case,.single-news) .yhm-related{padding-block:80px}
}
@media(min-width:768px) and (max-width:1024px){
  body:is(.single-solution,.single-case,.single-news) .yhm-related{padding-block:50px}
  body:is(.single-solution,.single-case,.single-news) .yhm-related .yhm-section-heading h2{font-size:32px!important}
}
@media(max-width:767px){
  body:is(.single-solution,.single-case,.single-news) .yhm-related__grid{grid-template-columns:1fr}
  body:is(.single-solution,.single-case,.single-news) .yhm-related .yhm-section-heading h2{font-size:26px!important}
  body:is(.single-solution,.single-case,.single-news) .yhm-related-card__copy>strong{font-size:20px!important}
}

body:is(.single-case,.single-news) .yhm-related{background:#fff;min-height:0}
body:is(.single-case,.single-news) .yhm-related.yhm-related--cases{background:#f4f5f6}
body:is(.single-case,.single-news) .yhm-related-card{overflow:hidden;border-radius:8px}
body:is(.single-case,.single-news) .yhm-related:not(.yhm-related--cases) .yhm-related-card{border:1px solid #e0e3e5}
body:is(.single-case,.single-news) .yhm-related-card__copy small{color:#dd2425;font-size:11px;letter-spacing:1.1px}

@media (max-width: 767px) {
  body .yhm-case-detail .yhm-split-hero { height: 200px; min-height: 0; }
  body .yhm-case-detail .yhm-split-hero__copy { min-height: 0; padding-block: 20px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body .yhm-case-detail .yhm-split-hero { height: 300px; min-height: 0; }
  body .yhm-case-detail .yhm-split-hero__copy { min-height: 0; }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  body .yhm-case-detail .yhm-split-hero { height: 400px; min-height: 0; }
  body .yhm-case-detail .yhm-split-hero__copy { min-height: 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body .yhm-news-archive .yhm-archive-related-news li a {
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }
  body .yhm-news-archive .yhm-archive-related-news li a > span {
    flex: 1;
    font-size: 18px;
    line-height: 1.4;
  }
  body .yhm-news-archive .yhm-archive-related-news small { font-size: 12px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body .yhm-news-archive .yhm-archive-news-card__copy h3 { font-size: 20px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body .yhm-news-archive .yhm-archive-sidebar summary { font-size: 16px; }
}
@media (max-width: 767px) {
  body .yhm-news-archive .yhm-archive-news-card__copy h3 { font-size: 20px !important; }
  body.single-solution .yhm-solution-article__title,
  body.single-solution .yhm-solution-article .yhm-richtext :is(h1, h2, h3) { font-size: 20px !important; }
  body.single-case .yhm-case-article .yhm-richtext h2,
  body.single-news .yhm-news-copy .yhm-richtext h2 { font-size: 20px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body .yhm-about-page .yhm-about-profile { padding-top: 50px !important; padding-bottom: 0 !important; }
  body .yhm-about-page .yhm-about-timeline { padding-top: 50px !important; }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  body .yhm-catalog-card__copy h2 { font-size: 20px !important; }
  body .yhm-solution-archive .yhm-archive-card--solution .yhm-archive-card__copy h3 { font-size: 20px !important; }
}

@media (min-width: 1025px) and (max-width: 1439px) {
  body :is(.yhm-about-profile, .yhm-about-timeline) .yhm-about-heading h2 { font-size: 38px !important; }
}

@media (min-width: 1025px) and (max-width: 1439px) {
  body .yhm-about-milestone h3 { font-size: 20px !important; }
}

/* Keep tablet cards readable beside the existing filter sidebar. */
@media (min-width: 761px) and (max-width: 1024px) {
  body .yhm-catalog-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Narrow contact columns cannot contain the saved address and form fields. */
@media (min-width: 768px) and (max-width: 1024px) {
  body .yhm-inner-contact__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body .yhm-inner-contact__details,
  body .yhm-inner-contact__form-wrap { height: auto; min-height: 0; }
}

