/* WordPress-only compatibility. V6 visual rules remain in the unmodified v6.css/static.css copies. */
.wp-site-blocks,
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks { min-height: 100vh; }
.wp-block-post-content { margin: 0; }
.wp-block-group.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.wp-block-group.section,
.wp-block-group.surface-section { margin: 0; }

.wp-block-cover.media-placeholder {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}
.wp-block-cover.media-placeholder .wp-block-cover__background { background: var(--surface-strong) !important; opacity: 1 !important; }
.wp-block-cover.media-placeholder .wp-block-cover__inner-container { display: grid; place-items: center; align-content: center; width: 100%; height: 100%; padding: 24px; text-align: center; }
.wp-block-cover.media-placeholder p { margin: 0; color: #64748b; font-size: 12px; }
.wp-block-cover.media-placeholder p + p { margin-top: 3px; font-size: 11px; }
.wp-block-cover.media-placeholder.has-background-dim.has-background-dim-0 .wp-block-cover__background { opacity: 1; }

.wp-block-buttons.button-row { gap: 12px; }
.wp-block-button.is-style-v6-primary .wp-block-button__link,
.wp-block-button.is-style-v6-secondary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.wp-block-button.is-style-v6-primary .wp-block-button__link { color: var(--white); background: var(--blue); }
.wp-block-button.is-style-v6-primary .wp-block-button__link:hover { background: var(--blue-dark); }
.wp-block-button.is-style-v6-secondary .wp-block-button__link { color: var(--ink); border-color: var(--line-dark); background: var(--white); }
.wp-block-button.is-style-v6-secondary .wp-block-button__link:hover { border-color: var(--ink); }
.wp-block-buttons.carousel-progress { display: flex; flex-wrap: nowrap; gap: 6px; }
.wp-block-button.carousel-progress-button { width: 24px; height: 4px; margin: 0; border: 0; background: transparent; }
.wp-block-button.carousel-progress-button .wp-block-button__link { display: block; width: 24px; min-width: 24px; height: 4px; min-height: 4px; padding: 0; overflow: hidden; border: 0; border-radius: 0; color: transparent; background: var(--line-dark); font-size: 0; line-height: 0; }
.wp-block-button.carousel-progress-button.is-active .wp-block-button__link { background: var(--blue); }
.application-list p { margin: 0; }
.application-list p > a { display: flex; justify-content: space-between; }
.trust-grid h3 { margin: 0 0 2px; font-size: 15px; }
.trust-grid p { margin: 0; }

.jst-v6-wordpress.admin-bar .site-header { top: 32px; }
.site-header .custom-logo-link { width: clamp(142px, 11.5vw, 174px); }
.site-header .custom-logo { width: 100%; max-height: none; aspect-ratio: 600 / 169; object-fit: contain; }
.utility-inner.has-no-catalog { grid-template-columns: minmax(260px, 420px) 1fr; }
.mobile-menu > .menu { display: grid; margin: 0; padding: 0; list-style: none; }
.mobile-menu > .menu li { margin: 0; }
.mobile-menu > .menu a:last-child { justify-content: flex-start; margin-top: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--white); font-size: 22px; }
.mobile-menu > .mobile-menu-cta { justify-content: center; margin-top: 24px; border: 0; border-radius: var(--radius); color: var(--white); background: var(--blue); font-size: 16px; }
.mega-feature-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.contact-dock-link:is(button) { padding: 0; border: 0; font: inherit; cursor: pointer; }
.contact-dock-link .dock-label { display: none; }
.contact-dock-link .dock-popover {
  position: absolute;
  right: 64px;
  display: grid;
  gap: 5px;
  width: max-content;
  max-width: 240px;
  padding: 12px 14px;
  border-radius: 5px;
  color: #fff;
  background: #111827;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .22);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.contact-dock-link .dock-popover strong { font-size: 13px; line-height: 1.25; }
.contact-dock-link .dock-popover > span { color: #d7e0ea; font-size: 12px; line-height: 1.4; }
.contact-dock-link .dock-qr-image { width: 170px; height: 170px; margin-top: 5px; object-fit: contain; background: #fff; }
.contact-dock-link:hover .dock-popover,
.contact-dock-link:focus-visible .dock-popover { opacity: 1; visibility: visible; transform: translateX(0); }
.dock-youtube { background: #c62828; }
.dock-linkedin { background: #0a66c2; }
.dock-facebook { background: #1877f2; }
.dock-instagram { background: #a93a78; }
.dock-custom { background: #475467; }

.jst-footer-editor-note { display: none; }
.jst-v6-wordpress .jst-section-hidden { display: none !important; }
.editor-styles-wrapper .jst-section-hidden { display: block !important; opacity: .5; outline: 2px dashed #0b5cad; outline-offset: 3px; }

@media (max-width: 900px) {
  .wp-block-group.container { width: min(calc(100% - 36px), var(--container)); }
  .utility-inner.has-no-catalog { grid-template-columns: minmax(220px, 1fr); }
  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 19;
    height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
  }
  .jst-v6-wordpress.admin-bar .mobile-menu {
    top: 100%;
    height: calc(100dvh - var(--header-height) - 32px);
  }
  .menu-open .contact-dock { display: none; }
  .contact-dock { display: flex; overflow-x: auto; scrollbar-width: none; }
  .contact-dock::-webkit-scrollbar { display: none; }
  .contact-dock-link { flex: 1 0 64px; }
  .contact-dock-link .dock-label { display: block; }
  .contact-dock-link .dock-popover { display: none; }
  .contact-dock-link.is-open .dock-popover {
    position: fixed;
    right: 18px;
    bottom: 76px;
    left: 18px;
    z-index: 2;
    display: grid;
    justify-items: center;
    width: auto;
    max-width: none;
    padding: 18px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    text-align: center;
  }
  .contact-dock-link.is-open .dock-popover > span { color: var(--muted); }
}
@media (max-width: 782px) {
  .jst-v6-wordpress.admin-bar .site-header { top: 46px; }
  .jst-v6-wordpress.admin-bar .mobile-menu {
    top: 100%;
    height: calc(100dvh - var(--header-height) - 46px);
  }
}
@media (max-width: 640px) {
  .wp-block-buttons.button-row { display: grid; grid-template-columns: 1fr; }
  .wp-block-buttons.button-row .wp-block-button,
  .wp-block-buttons.button-row .wp-block-button__link { width: 100%; }
}

/* 2.2 homepage: the accepted category-first layout and its compact machine carousel. */
.home-v220-hero { padding-block: clamp(54px, 7vw, 106px) clamp(64px, 8vw, 122px); }
.home-v220-hero .hero-grid { align-items: center; gap: clamp(44px, 7vw, 110px); }
.home-v220-hero .hero-company-name { margin: 0 0 28px; color: var(--ink); font-size: clamp(22px, 2.1vw, 34px); font-weight: 760; letter-spacing: -.03em; line-height: 1.16; }
.home-v220-hero .hero-company-name strong { color: var(--blue); font-weight: 850; letter-spacing: .06em; }
.home-v220-hero .hero-title { max-width: 760px; margin: 0; font-size: clamp(50px, 5.65vw, 92px); line-height: .98; letter-spacing: -.065em; }
.home-v220-hero .hero-intro { max-width: 620px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.45vw, 22px); line-height: 1.55; }
.home-v220-hero .button-row { margin-top: 32px; }
.home-v220-hero .home-hero-media { min-height: clamp(440px, 45vw, 670px); border-radius: 7px; }
.home-category-section { padding-top: clamp(56px, 7vw, 110px); }
.home-category-section .section-heading { margin-bottom: 34px; }

.jst-home-machine-showcase { min-width: 0; }
.jst-home-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jst-home-category { display: grid; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 7px; color: var(--ink); background: var(--white); text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.jst-home-category:hover, .jst-home-category:focus-visible { border-color: var(--blue); box-shadow: 0 14px 34px rgba(7, 65, 121, .12); transform: translateY(-2px); outline: none; }
.jst-home-category.is-active { border-color: var(--blue); box-shadow: inset 0 -5px 0 var(--blue); }
.jst-home-category-media { display: grid; min-height: clamp(190px, 23vw, 370px); overflow: hidden; background: var(--surface-strong); place-items: center; }
.jst-home-category-media img { width: 100%; height: 100%; object-fit: cover; }
.jst-home-category-media.media-placeholder { align-content: center; padding: 24px; color: #52647a; text-align: center; }
.jst-home-category-media strong { font-size: 15px; }
.jst-home-category-media small { margin-top: 8px; font-family: var(--mono); font-size: 11px; line-height: 1.45; }
.jst-home-category-copy { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; padding: 18px 24px; }
.jst-home-category-copy strong { font-size: clamp(21px, 2.2vw, 30px); line-height: 1.1; }
.jst-home-category-copy span { color: var(--blue); font-size: 15px; font-weight: 800; white-space: nowrap; }
.jst-home-machine-results { padding-top: 34px; }
.jst-home-machine-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.jst-home-machine-heading .section-kicker { margin: 0 0 8px; }
.jst-home-machine-heading h3 { margin: 0; font-size: clamp(32px, 3vw, 50px); letter-spacing: -.045em; }
.jst-home-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.jst-home-product-grid .product-card { min-width: 0; border: 1px solid var(--line-dark); border-radius: 7px; box-shadow: none; }
.jst-home-product-grid .product-card-media-link { display: block; }
.jst-home-product-grid .product-media { display: grid; min-height: 205px; overflow: hidden; background: #f4f7fa; place-items: center; }
.jst-home-product-grid .product-media-image { display: block; width: 100%; height: 205px; object-fit: contain; background: #fff; transform: scale(1.1); transition: transform .25s ease; }
.jst-home-product-grid .product-card:hover .product-media-image { transform: scale(1.15); }
.jst-home-product-grid .product-card-body { min-height: 154px; padding: 18px 18px 16px; }
.jst-home-product-grid .model, .product-card .model { display: block; margin: 0 0 12px; color: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.jst-home-product-grid h3 { min-height: 2.55em; margin: 0; font-size: 17px; line-height: 1.27; letter-spacing: -.02em; }
.jst-home-product-grid .product-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.jst-home-product-grid .product-actions a { color: var(--blue); font-size: 13px; font-weight: 800; }
.jst-home-machine-pagination { display: flex; justify-content: center; margin-top: 20px; }
.jst-home-carousel-controls { display: inline-flex; align-items: center; gap: 10px; color: #52647a; font-family: var(--mono); font-size: 13px; }
.jst-home-carousel-controls span { padding-right: 13px; border-right: 1px solid var(--line-dark); }
.jst-home-carousel-controls button { display: grid; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--ink); background: var(--white); place-items: center; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.jst-home-carousel-controls button:hover:not(:disabled), .jst-home-carousel-controls button:focus-visible { border-color: var(--blue); color: var(--white); background: var(--blue); outline: none; }
.jst-home-carousel-controls button:disabled { color: #a7b2c0; border-color: #e0e6ed; cursor: not-allowed; }
.jst-home-view-all { display: table; margin: 18px 0 0 auto; padding: 13px 20px; border: 1px solid var(--line-dark); border-radius: 6px; color: var(--ink); font-weight: 800; transition: border-color .18s ease, color .18s ease; }
.jst-home-view-all:hover { border-color: var(--blue); color: var(--blue); }

.home-factory-grid, .home-process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(34px, 7vw, 110px); align-items: center; }
.home-factory-media { min-height: clamp(330px, 35vw, 520px); }
.home-factory-copy h2, .home-process-copy h2 { max-width: 650px; margin: 0; font-size: clamp(38px, 4.2vw, 68px); letter-spacing: -.055em; line-height: 1; }
.home-factory-copy > p:not(.section-kicker), .home-process-copy > p:not(.section-kicker) { max-width: 590px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.home-factory-copy .wp-block-buttons { margin-top: 28px; }

.home-news-section { padding-block: clamp(60px, 8vw, 120px); }
.jst-news-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.jst-news-heading > a { color: var(--blue); font-weight: 800; white-space: nowrap; }
.jst-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.jst-news-card { display: grid; grid-template-columns: minmax(180px, .9fr) minmax(0, 1.1fr); min-width: 0; border-top: 4px solid var(--blue); background: var(--white); }
.jst-news-card:nth-child(even) { border-top-color: #238279; }
.jst-news-media { display: block; min-height: 250px; overflow: hidden; background: var(--surface-strong); }
.jst-news-media > img { width: 100%; height: 100%; object-fit: cover; }
.jst-news-media .media-placeholder, .jst-news-empty { display: grid; width: 100%; height: 100%; min-height: 250px; padding: 24px; background: var(--surface-strong); color: #52647a; place-items: center; align-content: center; text-align: center; }
.jst-news-media small, .jst-news-empty small { margin-top: 8px; font-family: var(--mono); font-size: 11px; line-height: 1.4; }
.jst-news-card > div { padding: 26px; }
.jst-news-card .section-kicker { margin: 0 0 14px; }
.jst-news-card h3 { margin: 0; font-size: clamp(22px, 2vw, 32px); line-height: 1.1; letter-spacing: -.035em; }
.jst-news-card p { margin: 14px 0 0; color: var(--muted); line-height: 1.55; }
.jst-text-link { display: inline-block; margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 800; }
.news-page-hero { padding-block: clamp(56px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.news-page-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(42px, 8vw, 150px); align-items: center; }
.news-page-hero h1 { margin: 12px 0 0; font-size: clamp(58px, 7vw, 110px); line-height: .9; letter-spacing: -.07em; }
.news-page-hero p { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 20px; line-height: 1.55; }
.news-hero-media { min-height: clamp(290px, 28vw, 420px); }

.home-process-grid { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); }
.home-process-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 36px; border: 1px solid var(--line-dark); background: var(--line-dark); }
.home-process-steps > div { min-height: 166px; padding: 22px; background: #f8fafc; }
.home-process-steps h3 { margin: 10px 0 0; font-size: 20px; letter-spacing: -.025em; }
.home-process-steps p:not(.process-number) { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.home-process-steps .process-number { margin: 0; color: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 800; }
.home-process-media { min-height: clamp(430px, 39vw, 610px); }

.product-feature-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.product-feature-chips article { display: flex; gap: 10px; min-width: 0; padding: 15px 16px; border: 1px solid var(--line-dark); border-radius: 5px; background: var(--white); }
.product-feature-chips article > span { color: var(--blue); font-weight: 900; }
.product-feature-chips p { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.38; }

@media (max-width: 900px) {
  .home-v220-hero .hero-grid, .home-factory-grid, .home-process-grid, .news-page-hero-grid { grid-template-columns: 1fr; }
  .home-v220-hero .hero-copy { max-width: 720px; }
  .home-v220-hero .home-hero-media { min-height: 52vw; }
  .home-process-media { min-height: 54vw; }
  .jst-home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jst-news-card { grid-template-columns: 1fr; }
  .jst-news-media { min-height: 220px; }
  .product-feature-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-v220-hero { padding-block: 46px 64px; }
  .home-v220-hero .hero-company-name { margin-bottom: 21px; font-size: 22px; }
  .home-v220-hero .hero-title { font-size: clamp(47px, 13vw, 64px); }
  .home-v220-hero .hero-intro { margin-top: 22px; font-size: 17px; }
  .home-v220-hero .home-hero-media { min-height: 82vw; }
  .jst-home-category-grid, .jst-home-product-grid, .jst-news-grid, .home-process-steps, .product-feature-chips { grid-template-columns: 1fr; }
  .jst-home-category-media { min-height: 48vw; }
  .jst-home-category-copy { min-height: 70px; padding: 15px 16px; }
  .jst-home-category-copy strong { font-size: 22px; }
  .jst-home-category-copy span { font-size: 13px; }
  .jst-home-machine-results { padding-top: 27px; }
  .jst-home-machine-heading h3 { font-size: 34px; }
  .jst-home-product-grid .product-media, .jst-home-product-grid .product-media-image { min-height: 235px; height: 235px; }
  .jst-home-product-grid .product-card-body { min-height: 0; }
  .jst-home-view-all { margin-inline: auto; }
  .home-factory-media, .home-process-media { min-height: 72vw; }
  .jst-news-heading { align-items: start; flex-direction: column; }
  .jst-news-card > div { padding: 21px; }
  .news-page-hero h1 { font-size: 62px; }
  .news-page-hero p { font-size: 17px; }
}

/* 2.3 focused refinements: preserve the approved header/navigation and only update the requested areas. */
.page-home .home-v220-hero::before,
.page-home .home-v220-hero .hero-copy::before { content: none; display: none; }
.home-v220-hero .hero-company-name { max-width: 760px; margin-bottom: 30px; font-size: clamp(30px, 2.65vw, 44px); font-weight: 820; letter-spacing: -.04em; }
.home-v220-hero .hero-company-name strong { font-weight: 900; letter-spacing: .045em; }
.home-v220-hero .hero-title { max-width: 690px; font-size: clamp(48px, 5.05vw, 82px); }

/* Archive filters remain one desktop row; smaller screens scroll horizontally instead of creating a second row. */
.archive-filters { flex-wrap: nowrap; gap: 9px; margin-bottom: 34px; overflow-x: auto; padding: 3px 1px 12px; scrollbar-width: thin; }
.archive-filters .filter-button { flex: 0 0 auto; min-height: 46px; padding-inline: 11px; font-size: 11.5px; white-space: nowrap; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.archive-filters .filter-button:hover,
.archive-filters .filter-button:focus-visible { transform: translateY(-1px); outline: none; }

/* The footer now uses all four columns: brand, explore, company and editable contact details. */
.jst-footer-contact { display: grid; align-content: start; gap: 10px; }
.jst-footer-contact h3 { margin: 0 0 3px; font-size: 17px; }
.jst-footer-contact p { max-width: 260px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.jst-footer-contact a { color: var(--muted); text-decoration: none; }
.jst-footer-contact a:hover { color: var(--blue); }

/* Product labels and the single technical source align cleanly at every width. */
.product-label-row { min-width: 0; flex-wrap: wrap; row-gap: 8px; }
.product-label-row .product-type { min-width: 0; line-height: 1.4; }
.specification-layout-detailed { align-items: start; }
.specification-layout-detailed .jst-specification-sources { min-width: 0; }

/* 2.4: real upload ratio and baseline corrections for the confirmed layout fixes. */
.page-home .home-factory-media.wp-block-cover { min-height: 0 !important; height: auto; aspect-ratio: 3 / 2; }
.page-home .home-factory-media.wp-block-cover .wp-block-cover__inner-container { min-height: 100%; }
.product-label-row { align-items: baseline; column-gap: 14px; }
.product-label-row .model { display: inline-block; margin: 0; line-height: 1.35; }
.product-label-row .product-type { display: inline-block; line-height: 1.35; }
.jst-home-product-grid .model { margin-bottom: 10px; font-size: 17px; line-height: 1.27; }
.jst-home-product-grid h3 { font-size: 17px; }

@media (max-width: 640px) {
  .home-v220-hero .hero-company-name { margin-bottom: 23px; font-size: clamp(28px, 8vw, 38px); }
  .home-v220-hero .hero-title { font-size: clamp(46px, 12vw, 62px); }
  .archive-filters { margin-inline: -2px; padding-bottom: 14px; }
  .archive-filters .filter-button { min-height: 44px; font-size: 12px; }
}

/* 2.6 shared Media Library imagery. The image element stays inside the same
   existing layout boxes, so editors can replace any image without changing layout. */
.jst-managed-image { display: block; margin: 0; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 7px; background: var(--surface); }
.jst-managed-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-v220-hero .home-hero-carousel { position: relative; width: 100%; min-width: 0; min-height: 0; height: auto; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 7px; background: var(--surface); }
.home-v220-hero .home-hero-carousel .hero-slide { position: absolute; inset: 0; margin: 0; }
.home-v220-hero .home-hero-carousel .hero-slide[hidden] { display: none; }
.home-v220-hero .home-hero-carousel .hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-carousel-controls { position: absolute; right: 22px; bottom: 20px; z-index: 2; display: flex; gap: 8px; padding: 10px 12px; border-radius: 4px; background: rgba(255,255,255,.92); box-shadow: 0 8px 18px rgba(15,24,42,.12); }
.hero-carousel-dot { width: 26px; height: 3px; padding: 0; border: 0; background: #bdc9d9; cursor: pointer; }
.hero-carousel-dot.is-active { background: var(--blue); }
.home-factory-media, .home-process-media, .inquiry-media { aspect-ratio: 3 / 2; min-height: 0 !important; }
.home-process-media { aspect-ratio: 3 / 4; }
.about-factory-media { aspect-ratio: 3 / 2; min-height: 0; }
.news-hero-media { aspect-ratio: 16 / 9; min-height: 0; }
.factory-wide-media { aspect-ratio: 21 / 9; min-height: 0; }
.factory-capabilities .jst-managed-image { aspect-ratio: 4 / 3; }
.factory-media-grid .jst-managed-image { aspect-ratio: 1 / 1; }
.factory-media-grid .factory-media-main { grid-row: span 2; aspect-ratio: auto; }
.india-office-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 7vw, 110px); align-items: center; }
.india-office-media { aspect-ratio: 4 / 3; }
.india-office-copy h2 { margin: 10px 0 0; font-size: clamp(38px, 4.2vw, 64px); line-height: 1; letter-spacing: -.055em; }
.india-office-copy > p { max-width: 560px; margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.context-india-office { margin: 30px 0 0; }
@media (max-width: 900px) {
  .home-v220-hero .home-hero-carousel { aspect-ratio: 16 / 9; }
  .india-office-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-v220-hero .home-hero-carousel { aspect-ratio: 4 / 3; }
  .home-v220-hero .home-hero-carousel .hero-slide img { object-position: center; }
  .hero-carousel-controls { right: 14px; bottom: 14px; }
  .home-process-media { aspect-ratio: 4 / 3; }
  .india-office-copy h2 { font-size: clamp(34px, 10vw, 52px); }
}

/* 2.6.1: give the approved Home Hero visual priority and align both columns
   from the same top edge.  Other section layouts and all editorial content
   remain untouched. */
@media (min-width: 901px) {
  .home-v220-hero .hero-grid {
    grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
    align-items: start;
    gap: clamp(34px, 4.2vw, 72px);
  }

  .home-v220-hero .home-hero-carousel {
    aspect-ratio: 16 / 10;
    min-height: clamp(540px, 38vw, 690px);
  }

  .about-factory-layout {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(34px, 4.2vw, 72px);
  }

  .about-factory-media {
    aspect-ratio: 4 / 3;
  }

  .news-page-hero-grid {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(34px, 4.2vw, 72px);
  }

  .news-hero-media {
    aspect-ratio: 16 / 10;
  }
}
