@import url("/assets/css/heading-system.css?v=20260728-section-heading-1");

.mobile-menu-toggle,
.mobile-menu,
.mobile-menu-overlay,
.consent-banner,
.consent-panel {
  display: none;
}

.language-control {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
}

.language-control summary {
  display: inline-flex;
  width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.language-globe-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.language-control summary::-webkit-details-marker {
  display: none;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: grid;
  min-width: 150px;
  overflow: hidden;
  border: 1px solid #d7e0ed;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(4, 28, 64, 0.18);
}

.language-menu a {
  padding: 11px 14px;
  color: #061833;
  font-weight: 800;
}

.language-menu a:hover,
.language-menu a[aria-current="true"] {
  background: #eef5ff;
  color: #0648c7;
}

.site-header .header-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 44px 190px;
  width: calc(100% - 24px);
  max-width: none;
  gap: 10px;
}

.site-header .brand {
  justify-self: start;
}

.site-header .desktop-nav {
  min-width: 0;
  justify-content: flex-start;
}

.site-header .language-control {
  justify-self: center;
}

.site-header .header-actions {
  width: 190px;
}

.site-header .header-actions .button {
  width: 190px;
  min-width: 190px;
  padding-inline: 10px;
  text-align: center;
}

html[lang="en"] .site-header .desktop-nav,
html[lang="es"] .site-header .desktop-nav {
  gap: 5px;
  font-size: 0.72rem;
}

html[lang="en"] .site-header .desktop-nav .nav-link,
html[lang="es"] .site-header .desktop-nav .nav-link {
  gap: 4px;
  padding: 0 1px;
}

html[lang="en"] .site-header .header-actions .button,
html[lang="es"] .site-header .header-actions .button {
  padding-inline: 11px;
  font-size: 0.82rem;
}

html:lang(zh-CN) :is(p, dd, li) {
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
  text-wrap: pretty;
}

.section-heading .lead,
.gallery-section-heading > p,
.category-head > p {
  max-width: 100% !important;
}

html:lang(zh-CN) :is(h1, h2, h3, .section-heading h2) {
  line-break: strict;
  text-wrap: balance;
}

.consent-banner {
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: 16px;
  left: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: auto;
  padding: 18px;
  border: 1px solid #d7e0ed;
  border-radius: 8px;
  background: #fff;
  color: #061833;
  box-shadow: 0 20px 60px rgba(4, 28, 64, 0.24);
}

.consent-banner.is-visible,
.consent-panel.is-visible {
  display: flex;
}

.consent-banner p {
  margin: 0;
  line-height: 1.55;
}

.consent-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-actions button,
.cookie-settings-button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #0648c7;
  border-radius: 6px;
  background: #fff;
  color: #0648c7;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.consent-actions button[data-consent-accept] {
  background: #0648c7;
  color: #fff;
}

.consent-panel {
  position: fixed;
  z-index: 100;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 15, 38, 0.68);
}

.consent-panel-card {
  width: min(100%, 520px);
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  color: #061833;
}

.consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid #d7e0ed;
}

@media (max-width: 1360px) {
  .site-header .desktop-nav,
  .site-header .header-actions {
    display: none;
  }

  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    width: min(var(--max), calc(100% - 32px));
    gap: 12px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
  }
}

@media (max-width: 1360px) {
  .site-header .nav,
  .site-header .header-actions {
    display: none;
  }

  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    min-height: 76px;
    padding: 0 16px;
    gap: 12px;
  }

  .site-header .language-control {
    margin-left: auto;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
  }

  .mobile-menu-overlay {
    position: fixed;
    z-index: 70;
    inset: 0;
    background: rgba(0, 15, 38, 0.62);
  }

  .mobile-menu-overlay.is-open {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 380px);
    overflow-y: auto;
    padding: 18px;
    background: #061833;
    color: #fff;
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .mobile-menu.is-open {
    display: block;
    transform: translateX(0);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .mobile-language-section {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .mobile-language-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
  }

  .mobile-language-heading .language-globe-icon {
    width: 19px;
    height: 19px;
  }

  .mobile-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 28px;
  }

  .mobile-menu nav,
  .mobile-menu .nav-item,
  .mobile-menu .nav-submenu {
    display: grid;
    min-width: 0;
    position: static;
    width: 100%;
  }

  .mobile-menu .nav-item {
    min-height: 0;
    align-items: stretch;
  }

  .mobile-menu .nav-link,
  .mobile-menu .nav-submenu a {
    min-height: 44px;
    align-items: center;
    padding: 10px 4px;
    color: #fff;
  }

  .mobile-menu .nav-link {
    width: 100%;
    justify-content: flex-start;
    cursor: pointer;
  }

  .mobile-menu .nav-link:after {
    transition: transform 0.16s ease, margin-top 0.16s ease;
  }

  .mobile-menu .nav-submenu {
    top: auto;
    left: auto;
    z-index: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 10px;
    overflow: hidden;
    gap: 2px;
    border: 0;
    border-left: 2px solid rgba(255, 184, 28, 0.6);
    border-radius: 0;
    padding: 4px 0 4px 12px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .mobile-menu .nav-submenu:before {
    display: none;
  }

  .mobile-menu .nav-submenu a {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    padding: 10px 12px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .mobile-menu .nav-submenu a:hover,
  .mobile-menu .nav-submenu a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: none;
  }

  .mobile-menu .nav-item:hover .nav-submenu,
  .mobile-menu .nav-item:focus-within .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .mobile-menu .nav-item.has-submenu:not(.is-expanded) .nav-submenu {
    display: none;
  }

  .mobile-menu .nav-item.has-submenu:not(.is-expanded) > .nav-link:after {
    margin-top: 0;
    transform: rotate(-45deg);
  }

  .mobile-language-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
  }

  .mobile-language-list a {
    padding: 10px 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    color: #fff;
    text-align: center;
  }

  .mobile-language-list a[aria-current="true"] {
    border-color: #f8b918;
    background: #f8b918;
    color: #061833;
    font-weight: 900;
  }

}

@media (max-width: 900px) {

  .home-hero-image {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .consent-banner.is-visible {
    display: grid;
    bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .consent-actions button:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1181px) {
  .detail-gallery.is-balanced.detail-gallery-aux-0 {
    grid-template-columns: 1fr;
  }

  .detail-gallery.is-balanced.detail-gallery-aux-0 .detail-main-image {
    height: clamp(420px, 42vw, 560px);
  }
}

@media (max-width: 1180px) {
  .detail-gallery.is-balanced.detail-gallery-aux-0 {
    grid-template-columns: 1fr;
  }
}
.supplier-brand-card.is-entry-card {
  align-content: start;
}

.supplier-entry-media {
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 32px rgba(4, 28, 64, 0.1);
}

.supplier-entry-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.supplier-entry-media:hover img {
  transform: scale(1.025);
}

.supplier-brand-card.is-entry-card .brand-logo-panel.entry-tag-panel {
  min-height: 146px !important;
  gap: 9px;
  padding: 14px;
  background: #f7f9fc;
}

.supplier-brand-card.is-entry-card .entry-tag-panel .brand-logo-cloud {
  align-content: start;
  min-height: 0 !important;
  gap: 9px;
}

.supplier-brand-card.is-entry-card .entry-tag-panel .brand-logo-chip {
  background: var(--white);
}

.supplier-brand-card.is-entry-card .entry-tag-panel .brand-logo-chip.has-image {
  min-height: 48px;
  padding: 8px 12px;
}

.supplier-brand-card.is-entry-card .entry-tag-panel .brand-logo-chip.has-image img {
  max-height: 30px;
}

@media (min-width: 981px) {
  .supplier-brand-card.is-entry-card .supplier-entry-media {
    min-height: 0;
  }

  .supplier-brand-card.is-entry-card .brand-logo-panel.entry-tag-panel {
    grid-template-rows: auto 1fr;
  }
}

@media (max-width: 720px) {
  .supplier-brand-card.is-entry-card .brand-logo-panel.entry-tag-panel {
    min-height: 0 !important;
  }
}

@media (max-width: 720px) {
  html:not(:lang(zh-CN)) .brand-page-hero {
    background-size: cover, cover, cover;
    padding-top: 70px;
  }

  html:not(:lang(zh-CN)) .brand-page-hero-grid {
    padding-top: 24px;
    padding-bottom: 46px;
  }

  html:not(:lang(zh-CN)) .brand-page-hero-copy .hero-brand-lockup {
    display: none;
  }

  html:not(:lang(zh-CN)) .brand-page-hero-copy h1 {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  html:not(:lang(zh-CN)) .brand-page-hero-copy .hero-title-line {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }
}

.mine-production-panel {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.mine-production-intro {
  display: grid;
  gap: 12px;
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  background: linear-gradient(135deg, #00183f, #053071);
  color: var(--white);
}

.mine-production-intro .eyebrow {
  color: var(--yellow);
}

.mine-production-intro h3 {
  max-width: 980px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.18;
}

.mine-production-intro p:not(.eyebrow) {
  max-width: 1120px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
  line-height: 1.72;
}

.mine-process-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(3, 27, 62, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(4, 28, 64, 0.12);
}

.mine-process-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.mine-flow-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.mine-flow-node {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  border: 1px solid rgba(3, 27, 62, 0.12);
  border-radius: var(--radius);
  padding: 18px 14px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(4, 28, 64, 0.08);
}

.mine-flow-node:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -9px;
  width: 14px;
  height: 14px;
  border-top: 2px solid rgba(6, 72, 199, 0.34);
  border-right: 2px solid rgba(6, 72, 199, 0.34);
  background: var(--white);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.mine-flow-node span,
.mine-operation-grid article span,
.engineering-output-slim article span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(6, 72, 199, 0.09);
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.mine-flow-node strong {
  color: var(--coal);
  font-size: 1.04rem;
  line-height: 1.25;
}

.mine-flow-node small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.mine-flow-node.is-foundation {
  border-left: 5px solid var(--blue);
}

.mine-flow-node.is-critical {
  border-left: 5px solid var(--yellow);
  background: #fffaf0;
}

.mine-process-map {
  overflow: hidden;
  border: 1px solid rgba(3, 27, 62, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(4, 28, 64, 0.1);
}

.mine-process-map-head,
.mine-process-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr);
}

.mine-process-map-head {
  background: #eef5ff;
  color: var(--blue-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.mine-process-map-head span,
.mine-process-row > p,
.mine-question-list,
.mine-process-stage {
  padding: 16px 18px;
}

.mine-process-row {
  border-top: 1px solid rgba(3, 27, 62, 0.1);
}

.mine-process-stage {
  display: grid;
  align-content: center;
  gap: 8px;
  border-right: 1px solid rgba(3, 27, 62, 0.1);
  background: #f8fbff;
}

.mine-process-row.is-foundation .mine-process-stage {
  border-left: 5px solid var(--blue);
}

.mine-process-row.is-critical .mine-process-stage {
  border-left: 5px solid var(--yellow);
  background: #fffaf0;
}

.mine-process-stage span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(6, 72, 199, 0.09);
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.mine-process-stage strong {
  color: var(--coal);
  font-size: 1.08rem;
  line-height: 1.24;
}

.mine-process-row > p,
.mine-question-list {
  border-right: 1px solid rgba(3, 27, 62, 0.1);
  color: var(--muted);
  line-height: 1.66;
}

.mine-question-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 34px;
}

.mine-question-list li {
  padding-left: 2px;
}

.mine-process-row > p:last-child {
  border-right: 0;
}

.mine-operation-grid,
.engineering-output-slim {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mine-operation-grid article,
.engineering-output-slim article {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(3, 27, 62, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(4, 28, 64, 0.08);
}

.mine-operation-grid article h3,
.engineering-output-slim article h3 {
  color: var(--coal);
  font-size: 1.1rem;
  line-height: 1.28;
}

.mine-operation-grid article p,
.engineering-output-slim article p {
  color: var(--muted);
  line-height: 1.68;
}

.engineering-output-slim {
  margin-top: 24px;
}

.engineering-output-slim article {
  border-top: 4px solid var(--yellow);
}

.engineering-flow-actions {
  margin-top: 24px;
}

.mine-power-file-panel {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.mine-power-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mine-power-file-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(3, 27, 62, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(4, 28, 64, 0.08);
}

.mine-power-file-grid article span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(6, 72, 199, 0.09);
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.mine-power-file-grid article strong {
  color: var(--coal);
  font-size: 1.08rem;
  line-height: 1.28;
}

.mine-power-file-grid article p {
  color: var(--muted);
  line-height: 1.68;
}

.mine-power-file-continuity {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: center;
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  background: linear-gradient(135deg, #00183f, #053071);
  color: var(--white);
}

.mine-power-file-continuity .eyebrow {
  color: var(--yellow);
}

.mine-power-file-continuity h3 {
  color: var(--white);
  font-size: clamp(1.32rem, 2vw, 1.95rem);
  line-height: 1.22;
}

.mine-power-file-continuity ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.mine-power-file-continuity li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .mine-flow-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mine-flow-node:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .mine-operation-grid,
  .engineering-output-slim,
  .mine-power-file-grid,
  .mine-power-file-continuity {
    grid-template-columns: 1fr;
  }

  .mine-process-map-head {
    display: none;
  }

  .mine-process-row {
    grid-template-columns: 1fr;
  }

  .mine-process-stage,
  .mine-process-row > p,
  .mine-question-list {
    border-right: 0;
  }

  .mine-process-row > p,
  .mine-question-list {
    padding-top: 0;
  }

  .mine-process-row > p + p {
    padding-top: 0;
    color: var(--coal);
    font-weight: 700;
  }
}

@media (max-width: 560px) {
  .mine-flow-rail {
    grid-template-columns: 1fr;
  }

  .mine-flow-node {
    min-height: 0;
  }
}

/* Keep localized solution issue navigation aligned when EN/ES labels wrap. */
.solution-issue-nav-grid {
  align-items: stretch;
}

.solution-issue-nav-card {
  height: 100%;
  grid-template-rows: clamp(78px, 5.4vw, 92px) 1fr;
}

.solution-issue-nav-card-head {
  min-height: 0;
  height: 100%;
}

.solution-issue-nav-card-head strong {
  overflow-wrap: anywhere;
}

.solution-issue-nav-links {
  height: 100%;
  grid-template-rows: repeat(2, minmax(118px, 1fr));
  align-content: stretch;
}

.solution-issue-nav-links a {
  min-height: 0;
  height: 100%;
  align-items: center;
}

html:lang(en) .solution-issue-nav-links a,
html:lang(es) .solution-issue-nav-links a {
  font-size: clamp(0.82rem, 0.78vw, 0.9rem);
  line-height: 1.38;
}

@media (max-width: 980px) {
  .solution-issue-nav-card {
    grid-template-rows: 72px 1fr;
  }

  .solution-issue-nav-links {
    grid-template-rows: repeat(2, minmax(104px, 1fr));
  }
}

@media (max-width: 720px) {
  .solution-issue-nav-card {
    grid-template-rows: auto;
  }

  .solution-issue-nav-card-head {
    min-height: 58px;
    height: auto;
  }

  .solution-issue-nav-links {
    height: auto;
    grid-template-rows: none;
  }

  .solution-issue-nav-links a {
    min-height: 68px;
    height: auto;
  }
}

/* Keep cards in the same visual group equal to the tallest card in that row. */
:where(
  .hero-proof-grid,
  .brand-proof-grid,
  .brand-role-grid,
  .brand-comparison-grid,
  .supplier-brand-grid,
  .brand-process-grid,
  .brand-page-hero-proof-grid,
  .contact-trust-grid,
  .solution-scenario-grid,
  .solution-procurement-grid,
  .solutions-flow-grid,
  .solutions-quote-grid,
  .home-common-problem-grid,
  .home-service-grid,
  .home-pathway-grid,
  .home-pitfall-grid,
  .case-journey-grid,
  .case-overview-grid,
  .case-problem-grid,
  .case-info-list,
  .case-scope-grid,
  .proof-grid,
  .support-scope-grid,
  .support-extra-grid,
  .support-faq-grid,
  .maintenance-principle-grid,
  .maintenance-rhythm-list,
  .maintenance-article-grid,
  .maintenance-checklist-grid,
  .maintenance-detail-grid,
  .maintenance-next-grid,
  .remote-access-grid,
  .remote-logic-list,
  .remote-output-list,
  .remote-package-grid,
  .remote-team-grid,
  .remote-team-roster,
  .hybrid-fit-grid,
  .hybrid-scenario-grid,
  .hybrid-advantage-grid,
  .hybrid-product-grid,
  .pitfall-brand-proof-grid,
  .pitfall-decision-grid,
  .pitfall-guide-grid,
  .pitfall-next-grid,
  .trigger-grid,
  .detail-info-grid,
  .product-related-grid,
  .product-card-grid,
  .application-grid,
  .category-summary,
  .system-tier-grid
) {
  align-items: stretch;
}

:where(
  .hero-proof-grid > *,
  .brand-proof-grid > *,
  .brand-role-grid > *,
  .brand-comparison-grid > *,
  .supplier-brand-grid > *,
  .brand-process-grid > *,
  .brand-page-hero-proof-grid > *,
  .contact-trust-grid > *,
  .solution-scenario-grid > *,
  .solution-procurement-grid > *,
  .solutions-flow-grid > *,
  .solutions-quote-grid > *,
  .home-common-problem-grid > *,
  .home-service-grid > *,
  .home-pathway-grid > *,
  .home-pitfall-grid > *,
  .case-journey-grid > *,
  .case-overview-grid > *,
  .case-problem-grid > *,
  .case-info-list > *,
  .case-scope-grid > *,
  .proof-grid > *,
  .support-scope-grid > *,
  .support-extra-grid > *,
  .support-faq-grid > *,
  .maintenance-principle-grid > *,
  .maintenance-rhythm-list > *,
  .maintenance-article-grid > *,
  .maintenance-checklist-grid > *,
  .maintenance-detail-grid > *,
  .maintenance-next-grid > *,
  .remote-access-grid > *,
  .remote-logic-list > *,
  .remote-output-list > *,
  .remote-package-grid > *,
  .remote-team-grid > *,
  .remote-team-roster > *,
  .hybrid-fit-grid > *,
  .hybrid-scenario-grid > *,
  .hybrid-advantage-grid > *,
  .hybrid-product-grid > *,
  .pitfall-brand-proof-grid > *,
  .pitfall-decision-grid > *,
  .pitfall-guide-grid > *,
  .pitfall-next-grid > *,
  .trigger-grid > *,
  .detail-info-grid > *,
  .product-related-grid > *,
  .product-card-grid > *,
  .application-grid > *,
  .category-summary > *,
  .system-tier-grid > *
) {
  height: 100%;
}

:where(
  .brand-role-card,
  .brand-comparison-card,
  .supplier-brand-card,
  .brand-process-step,
  .brand-page-hero-proof-item,
  .contact-trust-card,
  .solution-scenario-card,
  .solution-procurement-card,
  .home-pitfall-card,
  .case-info-list > *,
  .proof-grid > *,
  .maintenance-principle-card,
  .maintenance-article-card,
  .maintenance-checklist-card,
  .maintenance-next-card,
  .remote-logic-step,
  .remote-output-list > article,
  .remote-package-grid > article,
  .remote-team-grid > article,
  .remote-team-roster > article,
  .hybrid-fit-grid > article,
  .hybrid-scenario-card,
  .hybrid-advantage-card,
  .hybrid-product-card,
  .pitfall-brand-proof-item,
  .pitfall-guide-card,
  .pitfall-next-card,
  .trigger-grid > *,
  .detail-info-grid > *,
  .product-related-card,
  .product-card,
  .category-card,
  .application-card
) {
  min-height: 100%;
}

:where(
  .supplier-brand-card,
  .maintenance-article-copy,
  .hybrid-product-card,
  .product-copy,
  .category-card-body,
  .application-copy
) :where(.button-row, .card-actions, .category-card-actions, .guide-entry-actions, .supplier-brand-link) {
  margin-top: auto;
}

/* Balance localized pitfall decision cards after EN/ES copy wraps. */
@media (min-width: 981px) {
  html:not(:lang(zh-CN)) .pitfall-decision-card {
    display: grid;
    grid-template-rows:
      auto
      minmax(3.15em, auto)
      minmax(7.8em, auto)
      minmax(0, 1fr)
      auto;
  }

  html:not(:lang(zh-CN)) .pitfall-decision-card h3 {
    min-height: 3.15em;
    font-size: clamp(1.04rem, 1.1vw, 1.18rem);
    text-wrap: balance;
  }

  html:not(:lang(zh-CN)) .pitfall-decision-card p {
    display: -webkit-box;
    min-height: 7.8em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  html:not(:lang(zh-CN)) .pitfall-decision-links {
    align-content: start;
  }

  html:not(:lang(zh-CN)) .pitfall-decision-links a {
    gap: 10px;
    min-height: 56px;
    padding-inline: 10px;
  }

  html:not(:lang(zh-CN)) .pitfall-decision-link-action {
    padding-inline: 8px;
  }

  html:not(:lang(zh-CN)) .pitfall-decision-card .button {
    align-self: end;
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  html:not(:lang(zh-CN)) .pitfall-decision-card h3,
  html:not(:lang(zh-CN)) .pitfall-decision-card p {
    min-height: 0;
  }
}

/* Power pitfalls index: stack article image above copy. */
.pitfall-guide-grid.is-entry-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.pitfall-guide-card.is-entry-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.pitfall-entry-media {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--panel-strong);
}

.pitfall-entry-media:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
}

.pitfall-entry-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 21 / 8;
  max-height: 520px;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.pitfall-entry-media:hover img {
  transform: scale(1.025);
}

.pitfall-entry-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(12px, 1.6vw, 18px);
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.8vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 24, 63, 0.58);
  background: linear-gradient(
    90deg,
    rgba(0, 24, 63, 0.66),
    rgba(1, 47, 146, 0.5) 58%,
    rgba(6, 72, 199, 0.28)
  );
  box-shadow: 0 -18px 44px rgba(0, 24, 63, 0.24);
  backdrop-filter: blur(5px);
}

.pitfall-entry-overlay .pitfall-entry-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(248, 185, 24, 0.72);
  border-radius: 999px;
  background: rgba(248, 185, 24, 0.95);
  color: #061833;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(0, 24, 63, 0.22);
}

.pitfall-entry-title {
  margin: 0;
  max-width: 1180px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.25vw, 2.45rem);
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 17, 42, 0.55);
}

.pitfall-guide-card.is-entry-card .pitfall-guide-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 34px);
}

.pitfall-guide-card.is-entry-card .pitfall-guide-copy > .text-muted {
  font-size: 0.98rem;
  line-height: 1.62;
}

.pitfall-guide-card.is-entry-card .pitfall-entry-diagnosis {
  margin-top: 2px;
}

.pitfall-guide-card.is-entry-card .button-row {
  margin-top: 0;
}

@media (max-width: 980px) {
  .pitfall-entry-media img {
    aspect-ratio: 16 / 9;
    max-height: none;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .pitfall-entry-media img {
    aspect-ratio: 4 / 3;
  }

  .pitfall-entry-overlay {
    column-gap: 9px;
    padding: 9px 11px 10px;
    background: rgba(0, 24, 63, 0.62);
    background: linear-gradient(
      90deg,
      rgba(0, 24, 63, 0.68),
      rgba(1, 47, 146, 0.52) 64%,
      rgba(6, 72, 199, 0.34)
    );
  }

  .pitfall-entry-overlay .pitfall-entry-number {
    width: 30px;
    height: 30px;
    font-size: 0.74rem;
  }

  .pitfall-entry-title {
    font-size: clamp(0.9rem, 4.2vw, 1.08rem);
    line-height: 1.1;
  }

  .pitfall-guide-card.is-entry-card .pitfall-guide-copy {
    padding: 20px 18px 22px;
  }
}
/* Approved HOHANK brand lockup: do not redraw the logo with CSS geometry. */
.site-header .brand {
  gap: 11px;
}

.site-header .brand .brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  background: url("/assets/brand/standard-logo/hohank-mark-white-transparent.png") center / contain no-repeat;
  color: transparent;
}

.site-header .brand .brand-mark::before,
.site-header .brand .brand-mark::after,
.site-header .brand .brand-mark span {
  display: none !important;
}

/* Mining inner pages: the sticky header already occupies document flow. */
.brand-page-hero {
  padding-top: 0;
}

.brand-page-hero-grid {
  min-height: 460px;
  padding-top: 40px;
  padding-bottom: 52px;
}

.brand-page-hero-copy .brand-page-hero-rule {
  margin-bottom: 16px;
}

/* Keep product-detail heroes compact and vertically balanced below the header. */
.hero.compact-hero {
  min-height: 480px;
  align-items: center;
}

.compact-hero .hero-inner {
  padding-top: 64px;
  padding-bottom: 60px;
}

@media (max-width: 720px) {
  .brand-page-hero,
  html:not(:lang(zh-CN)) .brand-page-hero {
    padding-top: 0;
  }

  .brand-page-hero-grid,
  html:not(:lang(zh-CN)) .brand-page-hero-grid {
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .hero.compact-hero {
    min-height: 0;
    align-items: start;
  }

  .compact-hero .hero-inner {
    padding-top: 48px;
    padding-bottom: 52px;
  }
}
/* Phase 4A-1: responsive supplier media. Intrinsic image dimensions remain in
   HTML for layout stability; CSS controls the rendered card geometry. */
.supplier-entry-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dfe7f2;
}

.supplier-entry-media > img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
}

/* Inner-page HERO system: typography, top rhythm and rule treatment.
   The two business home HERO components are intentionally excluded. */
:root {
  --inner-hero-font-latin: Inter, "Segoe UI", Arial, sans-serif;
  --inner-hero-font-cjk: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  --inner-hero-title-size: clamp(40px, 4.2vw, 64px);
  --inner-hero-title-compact-size: clamp(36px, 3.6vw, 54px);
  --inner-hero-eyebrow-size: 16px;
  --inner-hero-lede-size: 18px;
  --inner-hero-copy-top: 64px;
  --inner-hero-copy-top-compact: 52px;
}

html:lang(en) body :is(
  .page-hero,
  .brand-page-hero,
  .quality-hero,
  .hero.compact-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero),
html:lang(es) body :is(
  .page-hero,
  .brand-page-hero,
  .quality-hero,
  .hero.compact-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero) {
  font-family: var(--inner-hero-font-latin) !important;
}

html:lang(zh) body :is(
  .page-hero,
  .brand-page-hero,
  .quality-hero,
  .hero.compact-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero) {
  font-family: var(--inner-hero-font-cjk) !important;
}

body :is(
  .quality-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero) {
  padding-top: 0 !important;
}

body :is(
  .page-hero,
  .brand-page-hero,
  .quality-hero,
  .hero.compact-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero) > :is(.container, .brand-page-hero-grid) {
  padding-top: var(--inner-hero-copy-top) !important;
}

body :is(
  .service-faq-detail-hero,
  .mining-article-hero,
  .case-story-hero,
  .hero.compact-hero
) > :is(.container, .brand-page-hero-grid) {
  padding-top: var(--inner-hero-copy-top-compact) !important;
}

.commercial-site-header + main .brand-page-hero > .brand-page-hero-grid {
  padding-top: calc(var(--site-header-height, 73px) + var(--inner-hero-copy-top)) !important;
}

.commercial-site-header + main :is(
  .service-faq-detail-hero,
  .mining-article-hero
) > .brand-page-hero-grid {
  padding-top: calc(var(--site-header-height, 73px) + var(--inner-hero-copy-top-compact)) !important;
}

body :is(
  .page-hero,
  .brand-page-hero,
  .quality-hero,
  .hero.compact-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero) h1 {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  font-size: var(--inner-hero-title-size) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
}

body :is(
  .service-faq-detail-hero,
  .mining-article-hero,
  .case-story-hero,
  .hero.compact-hero
) h1 {
  font-size: var(--inner-hero-title-compact-size) !important;
  line-height: 1.1 !important;
}

body :is(
  .page-hero,
  .brand-page-hero,
  .quality-hero,
  .hero.compact-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero) .eyebrow {
  margin-bottom: 14px !important;
  font-size: var(--inner-hero-eyebrow-size) !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

body :is(
  .page-hero,
  .brand-page-hero,
  .quality-hero,
  .hero.compact-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero) :is(
  .lead,
  .hero-lede,
  .product-hero-summary,
  p:not(.eyebrow):not(.breadcrumb)
) {
  font-size: var(--inner-hero-lede-size) !important;
  line-height: 1.65 !important;
}

body :is(
  .page-hero,
  .brand-page-hero,
  .quality-hero,
  .hero.compact-hero,
  .country-hero,
  .hv-hero,
  .contact-landing-hero,
  .country-hub-hero
):not(.hero-home):not(.commercial-home-hero) :is(
  .yellow-rule,
  .brand-page-hero-rule,
  .pitfall-brand-rule
) {
  display: none !important;
}

@media (max-width: 700px) {
  :root {
    --inner-hero-title-size: clamp(30px, 8.2vw, 40px);
    --inner-hero-title-compact-size: clamp(28px, 7.6vw, 36px);
    --inner-hero-eyebrow-size: 14px;
    --inner-hero-lede-size: 16px;
    --inner-hero-copy-top: 40px;
    --inner-hero-copy-top-compact: 36px;
  }
}

/* Final bridges for mining page-family styles loaded after site-runtime.css. */
html body .brand-page-hero.service-faq-detail-hero .brand-page-hero-copy h1,
html body .brand-page-hero.mining-article-hero .brand-page-hero-copy h1,
html body .page-hero.case-story-hero h1,
html body .hero.compact-hero .hero-inner h1 {
  font-size: var(--inner-hero-title-compact-size) !important;
  line-height: 1.1 !important;
}

html body .brand-page-hero.service-faq-detail-hero > .container.brand-page-hero-grid,
html body .brand-page-hero.mining-article-hero > .container.brand-page-hero-grid,
html body .page-hero.case-story-hero > .container,
html body .hero.compact-hero > .container.hero-inner {
  padding-top: var(--inner-hero-copy-top-compact) !important;
}

html body .hero.compact-hero,
html body :is(.country-hub-hero, .country-hero) {
  align-items: flex-start !important;
}

html body .brand-page-hero.service-faq-detail-hero:not(.hero-home):not(.commercial-home-hero) h1,
html body .brand-page-hero.mining-article-hero:not(.hero-home):not(.commercial-home-hero) h1,
html body .page-hero.case-story-hero:not(.hero-home):not(.commercial-home-hero) h1,
html body .hero.compact-hero:not(.hero-home):not(.commercial-home-hero) .hero-inner h1 {
  font-size: var(--inner-hero-title-compact-size) !important;
  line-height: 1.1 !important;
}

html body .brand-page-hero.service-faq-detail-hero:not(.hero-home):not(.commercial-home-hero) > .container.brand-page-hero-grid,
html body .brand-page-hero.mining-article-hero:not(.hero-home):not(.commercial-home-hero) > .container.brand-page-hero-grid,
html body .page-hero.case-story-hero:not(.hero-home):not(.commercial-home-hero) > .container,
html body .hero.compact-hero:not(.hero-home):not(.commercial-home-hero) > .container.hero-inner {
  padding-top: var(--inner-hero-copy-top-compact) !important;
}

/*
 * Inner image HERO measure
 *
 * The image is a section background, not a second grid child. When the copy is
 * the grid's only child, reserving an empty right column makes long English and
 * Spanish titles wrap into four or five lines. Use the full shell for layout,
 * then constrain the title and lead independently so the image subject retains
 * a safe area on the right.
 */
:root {
  --inner-image-hero-title-measure: 980px;
  --inner-image-hero-lede-measure: 700px;
}

body .brand-page-hero:not(.hero-home):not(.commercial-home-hero)
  > .brand-page-hero-grid:has(> .brand-page-hero-copy:only-child) {
  grid-template-columns: minmax(0, 1fr) !important;
}

body .brand-page-hero:not(.hero-home):not(.commercial-home-hero)
  > .brand-page-hero-grid:has(> .brand-page-hero-copy:only-child)
  > .brand-page-hero-copy {
  width: 100% !important;
  max-width: none !important;
}

body .brand-page-hero:not(.hero-home):not(.commercial-home-hero)
  > .brand-page-hero-grid:has(> .brand-page-hero-copy:only-child)
  > .brand-page-hero-copy h1 {
  display: block !important;
  width: min(100%, var(--inner-image-hero-title-measure)) !important;
  max-width: var(--inner-image-hero-title-measure) !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: balance !important;
}

body .brand-page-hero:not(.hero-home):not(.commercial-home-hero)
  > .brand-page-hero-grid:has(> .brand-page-hero-copy:only-child)
  > .brand-page-hero-copy .lead {
  width: min(100%, var(--inner-image-hero-lede-measure)) !important;
  max-width: var(--inner-image-hero-lede-measure) !important;
}

body .brand-page-hero:not(.hero-home):not(.commercial-home-hero)
  > .brand-page-hero-grid:has(> .brand-page-hero-copy:only-child)
  .hero-title-line {
  display: inline !important;
  white-space: normal !important;
}

body .brand-page-hero:not(.hero-home):not(.commercial-home-hero)
  > .brand-page-hero-grid:has(> .brand-page-hero-copy:only-child)
  .hero-title-line + .hero-title-line::before {
  content: " ";
}

@media (max-width: 700px) {
  :root {
    --inner-image-hero-title-measure: 100%;
    --inner-image-hero-lede-measure: 100%;
  }
}

/*
 * Solution-story media contract
 *
 * The generated 1672 x 941 source images carry intrinsic HTML dimensions for
 * layout stability. Once the responsive width becomes narrower, height must
 * return to auto or the 941px presentational hint stretches every image.
 */
html body .solution-story-figure img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

/*
 * Ultra-wide inner HERO alignment
 *
 * Mining pages are generated separately from the commercial pages. Mirror the
 * shared 1760px desktop shell here so their copy and image use one horizontal
 * coordinate system on 2K/4K displays while the outer background stays full
 * bleed.
 */
@media (min-width: 1921px) {
  :root {
    --site-shell-wide: 1760px;
    --site-ultrawide-gutter: calc((100vw - var(--site-shell-wide)) / 2);
  }

  html body :is(.page-hero, .brand-page-hero):not(.hero-home):not(.commercial-home-hero) {
    background-position:
      center,
      right var(--site-ultrawide-gutter) center,
      center !important;
  }

  html body .page-hero:not(.hero-home):not(.commercial-home-hero) > .container,
  html body .brand-page-hero:not(.hero-home):not(.commercial-home-hero) > .container.brand-page-hero-grid {
    width: var(--site-shell-wide) !important;
    max-width: var(--site-shell-wide) !important;
    margin-inline: auto !important;
  }
}
