/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4
 * Screenshot review, 2026-11-04. Preserve the existing Fangxiaobao design.
 * English copy needs intrinsic sizing; do not truncate labels to fit Chinese widths.
 */
:root {
  --review-accent: #ea5519;
  --review-white: #fff;
  --review-muted: #666;
  --review-neutral-border: #bababa;
  --review-neutral-hover: #e9e9e9;
  --review-gradient: linear-gradient(90deg, #fe9304, #ea5519);
  --review-map-label: #251407;
  --review-font: "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
html, body { overflow-x: clip !important; }
.stage-canvas, .stage-canvas *, .home-mobile-page, .home-mobile-page * { font-family: var(--review-font) !important; }
.about-page :is(h1, h2, h3), .about-page :is(p, dt, dd) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.about-page :is(h1, h2, h3) { height: auto; white-space: normal; line-height: 1.3; }
.about-page :is(.page-tabs, .product-tabs, .contact-tabs, .cooperation-tabs, .cases-tabs) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 60px;
  padding: 0 max(18px, calc((100% - 1400px) / 2));
  gap: 0;
}
.about-page :is(.page-tabs, .product-tabs, .contact-tabs, .cooperation-tabs, .cases-tabs) > a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 233px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 60px;
  margin: 0;
  padding: 14px 20px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
  text-align: center;
}
.about-page :is(.page-tabs, .product-tabs, .contact-tabs, .cooperation-tabs, .cases-tabs) > a:is(.is-active, [aria-current="page"]) {
  background: var(--review-gradient);
  color: var(--review-white);
}
.about-page .news-tabs > a { flex-basis: 260px; }
.product-spec-summary, .spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.product-spec-summary > div, .spec-grid > div { display: block; min-width: 0; height: auto; }
.product-spec-summary :is(dt, dd), .spec-grid :is(dt, dd) {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  white-space: normal;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.product-spec-summary dt { margin-right: .3em; }
.parameter-table { min-width: 0; max-width: 100%; overflow-x: auto; }
.parameter-table table { width: 100% !important; max-width: 100%; table-layout: fixed; }
.parameter-table :is(th, td) { width: auto !important; white-space: normal !important; overflow-wrap: anywhere; }
.parameter-table :is(img, video) { max-width: 100%; height: auto; }
.about-page :is(.honor-card, .quality-card, .support-policy-card, .proof-card, .policy-card) { min-width: 0; height: auto; }
.about-page :is(.honor-card, .quality-card) :is(h3, p),
.about-page .support-policy-card h3, .about-page .proof-card span, .about-page .policy-card h3 {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 0;
  padding: 12px 16px;
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
  text-align: center;
}
.about-page :is(.support-policy-section, .proof-section, .policy-section, .agent-cta) { height: auto; }
.about-page :is(.support-policy-grid, .proof-grid, .policy-grid) { height: auto; align-items: stretch; }
.about-page .agent-hotline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; width: 100%; height: auto; }
.about-page .agent-hotline > div { flex: 0 1 auto; width: auto; height: auto; margin: 0; }
.about-page .agent-hotline :is(span, strong) { position: static; width: auto; height: auto; margin: 0; white-space: normal; line-height: 1.4; }
.about-page .agent-hotline img { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; object-fit: contain; }
.about-page .agent-hotline strong { font-size: clamp(24px, 3.2vw, 48px); }
.contact-info-section, .contact-card-grid, .contact-card { height: auto; }
.contact-card-grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.contact-card { width: 100%; min-width: 0; padding: 30px; }
.contact-card :is(.address-image, .card-banner, .card-divider) { width: 100%; margin: 0; }
.contact-card .card-divider { margin-top: 18px; }
.contact-card h3, .contact-card--address p { width: 100%; height: auto; margin: 18px 0 0; white-space: normal; line-height: 1.5; }
.contact-lines { margin: 24px 0 0; gap: 18px; }
.contact-lines div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; height: auto; }
.contact-lines dt { width: 100%; height: auto; gap: 12px; }
.contact-lines dt img { flex: 0 0 26px; width: 26px; height: 26px; margin: 0; }
.contact-lines dt span, .contact-lines dd { white-space: normal; line-height: 1.5; }
.contact-lines dd { margin: 0 0 0 38px; overflow-wrap: anywhere; }
.contact-card .qr-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; height: auto; margin: 24px 0 0; }
.qr-list li, .qr-list .qr-item { width: 100%; min-width: 0; }
.qr-list img { width: 100%; max-width: 100px; height: auto; margin: auto; }
.qr-list .qr-item span { white-space: normal; line-height: 1.4; overflow-wrap: anywhere; }
.contact-page .form-actions .contact-submit { border-color: var(--review-accent); }
.contact-page .form-actions .contact-reset { border-color: var(--review-neutral-border); }
.contact-page .form-actions .contact-reset:is(:hover, :focus-visible) { border-color: var(--review-muted); background: var(--review-neutral-hover); color: var(--review-muted); box-shadow: none; }
.contact-submit:active, .contact-reset:active { transform: translateY(1px); }
.about-page .stat-icon {
  flex: 0 0 36px; width: 36px; height: 36px; border: 0;
  background-position: center; background-repeat: no-repeat; background-size: contain; transform: none;
}
.about-page .stat-icon::before, .about-page .stat-icon::after { content: none; }
.about-page .stat-icon--bar { background-image: url('../assets/home/about-矩形 9.png'); }
.about-page .stat-icon--medal { background-image: url('../assets/home/about-矩形 9(1).png'); }
.about-page .stat-icon--area { background-image: url('../assets/home/about-矩形 9(2).png'); }
.about-page .stat-icon--trend { background-image: url('../assets/home/about-矩形 9(3).png'); }
.stat-item > div { min-width: 0; }
.history-years { display: contents; }
.delivery-file { min-width: 0; }
.delivery-file span { min-width: 0; height: auto; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
.delivery-file img { flex-shrink: 0; }
.footer-contact > div, .footer-links dl { min-width: 0; }
.footer-contact strong, .footer-qr span { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
.site-header .welcome { width: auto; min-width: 0; }
.wechat-card span { white-space: normal; text-align: center; line-height: 1.4; }
.quality-cert-grid > li { min-width: 0; height: auto; }
.quality-cert-grid p { height: auto; white-space: normal; line-height: 1.5; overflow-wrap: anywhere; }
.about-page .proof-card span { position: static; flex: 1 0 auto; }
.about-page .proof-card img { flex-shrink: 0; }
.about-page .proof-card { display: flex; flex-direction: column; }
.contact-page .service-panel, .contact-page .service-section { height: auto; }
.contact-page .service-panel .form-actions { position: static; height: auto; }

@media (min-width: 769px) {
  .stage-canvas > .page, .stage-canvas .fxb-layout-002, .stage-canvas .section_2 { height: auto !important; min-height: 0; }
  .stage-canvas .fxb-layout-002 > *, .stage-canvas .section_2 > * { flex-shrink: 0; }
  .stage-canvas .group_2 a { min-width: max-content; }
  .stage-canvas .group_3 :is(.text_11, .text_12), .stage-canvas .group_10 .text_22 { width: auto; height: auto; white-space: normal; }
  .stage-canvas .group_4 [class^="text-group"] { width: 100%; min-width: 0; height: auto; }
  .stage-canvas .group_4 span { width: 100%; height: auto; white-space: normal; line-height: 1.5; }
  .stage-canvas .group_4, .stage-canvas .group_4 > div, .stage-canvas .group_4 [class^="image-text"] { height: auto; min-height: 125px; }
  .stage-canvas .group_11 :is(.text_25, .text_28, .text_31, .text_34) { width: 100%; height: auto; white-space: normal; line-height: 1.5; }
  .stage-canvas .section_9 :is(.text-wrapper_19, .text-wrapper_21, .text-wrapper_23, .text-wrapper_26, .text-wrapper_27) { height: auto; min-height: 46px; padding: 10px 16px; }
  .stage-canvas .section_9 :is(.text_48, .text_50, .text_52, .text_54, .text_55) { width: 100%; height: auto; margin: 0; white-space: normal; line-height: 1.4; overflow-wrap: anywhere; }
  .stage-canvas .section_9 .text-wrapper_27 { width: 400px; }
  .stage-canvas .section_9 .text-wrapper_25 { height: auto; min-height: 48px; padding: 10px 16px; }
  .stage-canvas .section_9 .list_1 :is([class^="text-group"], span) { width: 100%; height: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
  .stage-canvas .section_9 { height: auto !important; min-height: 900px; }
  .stage-canvas .section_9 .list_1 { flex: 0 0 auto; height: auto; align-items: stretch; }
  .stage-canvas .section_9 .list_1 > div { height: auto; min-height: 210px; padding: 20px 24px; }
  .stage-canvas .section_9 .list_1 :is(img, [class^="text-group"], span) { flex-shrink: 0; }
  .stage-canvas .fxb-product-hover-label > span { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
  .stage-canvas :is(.text_60, .text_88, .text_89) { width: auto; height: auto; white-space: normal; }
  .stage-canvas .section_9 .list_1 :is(img, [class^="text-group"]) { margin-left: 0; }
  .stage-canvas .section_4 .section_5 { flex-wrap: wrap; }
  .stage-canvas .section_4 .section_5 > div:not(.group_12), .stage-canvas .section_4 .group_12 > div { flex: 0 1 auto; width: auto; min-width: 136px; max-width: 300px; height: auto; min-height: 48px; padding: 12px 20px; }
  .stage-canvas .section_4 .section_5 span { white-space: normal !important; }
}
@media (max-width: 1100px) {
  .contact-card-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { max-width: 700px; margin: auto; }
}
@media (max-width: 768px) {
  .home-mobile-page, .home-mobile-page * { font-family: var(--review-font); }
  .about-page :is(.page-tabs, .product-tabs, .contact-tabs, .cooperation-tabs, .cases-tabs) { padding: 8px 18px; gap: 6px; }
  .about-page :is(.page-tabs, .product-tabs, .contact-tabs, .cooperation-tabs, .cases-tabs) > a { flex: 1 1 135px; min-height: 48px; padding: 10px 12px; font-size: 13px; }
  .about-page .news-tabs > a { flex-basis: 45%; }
  .product-spec-summary, .spec-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .about-page .stat-item { gap: 18px; }
  .about-page .history-line { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: start; gap: 12px; height: auto; margin: 24px 0; padding: 4px 0 12px; }
  .history-years { display: flex; gap: 12px; min-width: 0; overflow-x: auto; padding: 0 0 12px; scroll-snap-type: x proximity; }
  .about-page .history-arrow { flex: 0 0 36px; width: 36px; height: 36px; margin: 0; }
  .about-page .history-dot { flex: 0 0 76px; width: 76px; height: 72px; margin: 0; scroll-snap-align: center; }
  .about-page .history-dot span { white-space: normal; font-size: 12px; line-height: 1.4; }
  .about-page .history-year { font-size: clamp(36px, 11vw, 60px); }
  .delivery-download { height: auto; gap: 20px; }
  .delivery-file { width: 100%; }
  .contact-card { padding: 20px; }
  .form-actions { gap: 14px; flex-wrap: wrap; }
  .form-actions button { max-width: 100%; white-space: nowrap; }
  .footer-qrs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .footer-qr, .footer-qr img { width: 100%; max-width: 100px; height: auto; }
  /* The exported mobile canvas used fixed heights for Chinese copy. Keep its
     imagery and hierarchy, but put translated content into normal document flow. */
  .home-mobile-page .page, .home-mobile-page .group_1 { height: auto !important; min-height: 0 !important; }
  .home-mobile-page .group_1 { display: flex !important; flex-direction: column !important; }
  .home-mobile-page .group_23 { position: relative !important; inset: auto !important; order: -3; height: auto !important; min-height: 0 !important; margin: 0 !important; padding-bottom: 16px; background: none !important; }
  .home-mobile-page .group_23 .image-wrapper_2 { position: relative; margin-bottom: 0; }
  .home-mobile-banner { position: relative; width: 100%; aspect-ratio: 750 / 920; overflow: hidden; }
  .home-mobile-banner img { width: 100%; height: 100%; object-fit: cover; }
  .home-mobile-banner-dots { position: absolute; display: flex; gap: 10px; bottom: 16px; left: 50%; transform: translateX(-50%); }
  .home-mobile-banner-dots button { width: 12px; height: 12px; padding: 0; border: 1px solid var(--review-white); border-radius: 50%; background: var(--review-muted); }
  .home-mobile-banner-dots button.is-active { background: var(--review-accent); }
  .home-mobile-page .group_2 { order: -2; height: auto !important; min-height: 0 !important; margin: 0 !important; background: none !important; }
  .home-mobile-page :is(.list_3, .list_1) { position: static !important; width: auto !important; height: auto !important; margin: 12px 5% 0 !important; gap: 12px !important; }
  .home-mobile-page :is(.list_3, .list_1) > div { width: 100% !important; height: auto !important; min-height: 100px; padding: 16px 12px !important; gap: 12px; margin: 0 !important; align-items: flex-start; }
  .home-mobile-page :is(.list_3, .list_1) img { flex: 0 0 36px; width: 36px !important; height: 36px !important; margin: 0 !important; object-fit: contain; }
  .home-mobile-page :is(.list_3, .list_1) [class^="text-group"] { flex: 1; min-width: 0; width: auto !important; height: auto !important; margin: 0 !important; gap: 8px; }
  .home-mobile-page :is(.list_3, .list_1) span { width: 100% !important; height: auto !important; white-space: normal !important; overflow-wrap: anywhere; line-height: 1.5 !important; margin: 0 !important; }
  .home-mobile-page .group_3 { height: auto !important; margin: 0 !important; padding: 40px 5%; }
  .home-mobile-page .group_3 > .text_5 { width: 100% !important; height: auto !important; margin: 0 0 24px !important; text-align: center; }
  .home-mobile-page .group_3 .paragraph_1 { display: -webkit-box; -webkit-line-clamp: 10; -webkit-box-orient: vertical; overflow: hidden; width: 100% !important; height: auto !important; max-height: 15.5em; margin: 0 !important; font-size: 16px !important; line-height: 1.55 !important; white-space: normal; }
  .home-mobile-page .group_3 .paragraph_1 p { margin: 0 0 1em; }
  .home-mobile-page .group_3 .group_4 { position: static !important; margin: 24px auto !important; }
  .home-mobile-page .mobile-about-video { position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
  .home-mobile-page .mobile-about-video::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--review-white); font-size: 40px; }
  .home-mobile-page .group_3 > .image_3 { display: none !important; }
  .home-mobile-page .group_3 > :is(.group_5, .group_6, .group_7, .group_8) { width: 100% !important; height: auto !important; margin: 24px 0 0 !important; gap: 18px; align-items: center; }
  .home-mobile-page .group_3 > :is(.group_5, .group_6, .group_7, .group_8) > div { flex: 1; min-width: 0; width: auto !important; height: auto !important; }
  .home-mobile-page .group_3 :is(.text_8, .text_11, .text_14, .text_17) { width: 100% !important; height: auto !important; margin: 6px 0 0 !important; white-space: normal !important; line-height: 1.5 !important; }
  .home-mobile-page :is(.group_9, .group_11, .group_12, .group_14, .group_15, .group_18) { height: auto !important; min-height: 0 !important; }
  .home-mobile-page .group_9 .section_1, .home-mobile-page .group_14 .section_6, .home-mobile-page .group_13 .section_7 { display: flex !important; flex-wrap: wrap; width: 90% !important; height: auto !important; margin: 24px auto !important; gap: 10px; }
  .home-mobile-page .group_9 .section_1 > div, .home-mobile-page .group_14 .section_6 > div, .home-mobile-page .group_13 .section_7 > div { flex: 1 1 140px; width: auto !important; height: auto !important; min-height: 46px; margin: 0 !important; padding: 12px !important; }
  .home-mobile-page .group_9 .section_1 > div { flex-basis: 100%; }
  .home-mobile-page .group_9 .section_1 span, .home-mobile-page .group_14 .section_6 span, .home-mobile-page .group_13 .section_7 span { width: 100% !important; height: auto !important; margin: 0 !important; font-size: 14px !important; line-height: 1.4 !important; white-space: normal !important; text-align: center; overflow-wrap: anywhere; }
  .home-mobile-page .group_9 .section_5 { position: static !important; transform: none !important; width: 90% !important; height: auto !important; min-height: 0 !important; margin: 28px auto 40px !important; padding: 20px 16px !important; }
  .home-mobile-page .group_9 .section_4 { height: 20px !important; margin-bottom: 0 !important; }
  .home-mobile-page .section_5 :is(.text-group_8, .text-group_9, .image-text_3) { width: 100% !important; height: auto !important; margin: 0 !important; gap: 10px; }
  .home-mobile-page .section_5 :is(.text_25, .text_26, .text_27, .text_28) { width: 100% !important; height: auto !important; margin: 0 !important; white-space: normal !important; line-height: 1.5 !important; overflow-wrap: anywhere; }
  .home-mobile-page .section_5 .image-text_3 { margin-top: 18px !important; align-items: center; }
  .home-mobile-page .section_5 .text-group_9 { min-width: 0; flex: 1; }
  .home-mobile-page .section_5 .image_9 { flex: 0 0 32px; width: 32px !important; height: 32px !important; margin: 0 !important; }
  .home-mobile-page .section_5 .text_27 { font-size: clamp(18px, 5.4vw, 26px) !important; }
  .home-mobile-page .group_12 { gap: 16px; margin-bottom: 32px !important; }
  .home-mobile-page .group_12 > div { height: auto !important; padding: 24px !important; margin: 0 !important; background-size: 100% 100% !important; }
  .home-mobile-page .group_12 > div { display: flex !important; flex-direction: column !important; gap: 12px; }
  .home-mobile-page .group_12 :is(.image-text_5, .text-group_10, .text-group_12) { width: 100% !important; height: auto !important; margin: 0 !important; gap: 10px; }
  .home-mobile-page .group_12 img { width: 36px !important; height: 36px !important; margin: 0 !important; object-fit: contain; }
  .home-mobile-page .group_12 :is(span, [class^="text-group"]) { width: 100% !important; height: auto !important; margin-left: 0 !important; white-space: normal !important; line-height: 1.5 !important; overflow-wrap: anywhere; }
  .home-mobile-page .lanhu-system-map { position: relative !important; inset: auto !important; margin: 0 !important; }
  .home-mobile-page .group_11 { margin-top: 32px !important; }
  .home-mobile-page .lanhu-system-map .lanhu-system-label { display: flex !important; align-items: center; justify-content: center; height: auto !important; min-height: 44px !important; padding: 6px 8px !important; white-space: normal !important; font-size: 11px !important; line-height: 1.3 !important; background: var(--review-map-label) !important; border: 1px solid var(--review-accent) !important; border-radius: 24px !important; }
  .home-mobile-page .lanhu-system-map .lanhu-system-label-pool { width: 48% !important; }
  .home-mobile-page .group_15 { padding-bottom: 24px !important; }
  .home-mobile-page .group_15 .group_16 { position: relative !important; width: 100% !important; height: auto !important; aspect-ratio: 1.3; margin: 0 !important; }
  .home-mobile-page .group_16 .mobile-news-hero-image { width: 100% !important; height: 100% !important; object-fit: cover; }
  .home-mobile-page .group_16 .box_4 { position: absolute !important; inset: auto auto 10px 10px !important; width: 64px !important; height: 64px !important; margin: 0 !important; padding: 8px !important; }
  .home-mobile-page .group_16 .text-group_13 { width: 100% !important; height: 100% !important; margin: 0 !important; }
  .home-mobile-page .group_16 :is(.text_44, .text_45) { width: 100% !important; height: auto !important; margin: 0 !important; text-align: center; }
  .home-mobile-page .group_16 .text_44 { font-size: 22px !important; line-height: 26px !important; }
  .home-mobile-page .group_16 .text_45 { font-size: 12px !important; line-height: 16px !important; }
  .home-mobile-page .group_13 { height: auto !important; padding-bottom: 32px; }
  .home-mobile-page .group_13 > .text_36 { width: 90% !important; height: auto !important; margin-left: auto !important; margin-right: auto !important; white-space: normal !important; text-align: center; line-height: 1.3 !important; }
  .home-mobile-page .group_13 .block_3 { display: flex !important; width: 90% !important; height: auto !important; margin: 24px auto 0 !important; }
  .home-mobile-page .group_13 .block_3 > * { display: flex; align-items: center; justify-content: center; flex: 1 1 0; width: 50% !important; min-width: 0; height: auto !important; padding: 12px 10px; margin: 0 !important; }
  .home-mobile-page .group_13 :is(.text_38, .text_39) { width: 100% !important; height: auto !important; white-space: normal !important; line-height: 1.5 !important; overflow-wrap: anywhere; text-align: center; margin: 0 !important; }
  .home-mobile-page .group_19 .text_66 { width: 90% !important; height: auto !important; white-space: normal !important; }
  .home-mobile-page .group_19 :is(.group_20, .group_21) a { display: block; width: 100% !important; height: auto !important; margin: 0 !important; text-align: center; }
  .home-mobile-page .group_18 .text-group_14, .home-mobile-page .group_18 :is(.text_56, .text_57) { width: 90% !important; height: auto !important; margin: 0 auto !important; white-space: normal !important; line-height: 1.4 !important; text-align: center; }
  .home-mobile-page .group_18 .text_57 { margin-top: 12px !important; font-size: 22px !important; }
}

/* English home banner: let translated copy determine height, then flow the CTA
   and feature row below it. Keep the original artwork and 1920px stage grid. */
@media (min-width: 769px) {
  .stage-canvas .section_1 {
    height: auto;
    min-height: 920px;
  }
  .stage-canvas .section_1 > .group_3 {
    height: auto;
    min-height: 300px;
    margin-top: 148px;
    align-items: center;
  }
  .stage-canvas .group_3 > .text-group_1 {
    flex: 0 0 680px;
    width: 680px;
    min-width: 0;
    height: auto;
    margin: 0 0 0 185px;
    justify-content: flex-start;
    gap: 20px;
  }
  .stage-canvas .group_3 :is(.text_11, .text_12) {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .stage-canvas .group_3 .text_11 { font-size: 56px; line-height: 1.16; }
  .stage-canvas .group_3 .text_12 { font-size: 28px; line-height: 1.45; }
  .stage-canvas .group_3 > :is(.image_4, .image_5) {
    position: absolute;
    top: calc(50% - 30px);
    margin: 0;
  }
  .stage-canvas .group_3 > .image_4 { left: 0; }
  .stage-canvas .group_3 > .image_5 { right: 0; }
  .stage-canvas .section_1 > .text-wrapper_2 {
    flex: 0 0 46px;
    margin-top: 24px;
    align-items: center;
    justify-content: center;
  }
  .stage-canvas .text-wrapper_2 .text_13 {
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 46px;
    white-space: nowrap;
  }
  .stage-canvas .section_1 > .group_4 {
    min-height: 0;
    margin-top: 64px;
    align-items: stretch;
  }
  .stage-canvas .group_4 > div {
    min-height: 0;
    padding: 20px 24px;
  }
  .stage-canvas .group_4 [class^="image-text"] {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }
  .stage-canvas .group_4 [class^="image-text"] > img {
    flex: 0 0 36px;
    margin: 0;
    object-fit: contain;
  }
  .stage-canvas .group_4 [class^="text-group"] {
    flex: 1;
    width: auto;
    justify-content: flex-start;
    gap: 8px;
  }
  .stage-canvas .group_4 span { margin: 0; overflow-wrap: anywhere; }
}

/* Contact form: every field must contribute to the auto-height panel, including
   validation messages. Do not retain the exported desktop absolute offsets. */
.contact-page .service-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 30px 20px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 58px 60px 60px;
}
.contact-page .service-panel .form-field {
  position: relative;
  inset: auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
}
.contact-page .service-panel .form-field label {
  height: auto;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.contact-page .service-panel .form-error {
  position: static;
  height: auto;
  margin-top: 8px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-page .service-panel :is(.form-field--message, .form-actions) {
  grid-column: 1 / -1;
}
.contact-page .service-panel .form-actions {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  margin: 8px 0 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 30px;
}
.contact-page .service-panel .form-actions button {
  max-width: 100%;
  white-space: nowrap;
}
@media (min-width: 769px) and (max-width: 1100px) {
  .contact-page .service-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 40px 32px;
  }
}
@media (max-width: 768px) {
  .contact-page .service-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px;
    gap: 24px;
  }
  .contact-page .service-panel .form-actions { gap: 14px; }
}

/* Mobile home footer: center each label inside the complete clickable tile. */
@media (max-width: 768px) {
  .home-mobile-page .group_19 :is(.group_20, .group_21) a {
    display: flex;
    height: 100% !important;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile history controls, readable breadcrumbs and full-width news rows. */
@media (max-width: 768px) {
  .about-page .history-arrow::before {
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
  }
  .about-page .history-prev::before {
    left: calc(50% + 2px);
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .about-page .history-next::before {
    left: calc(50% - 2px);
    transform: translate(-50%, -50%) rotate(225deg);
  }
  .about-page nav[class*="breadcrumb"] {
    height: auto;
    min-height: 40px;
  }
  .about-page nav[class*="breadcrumb"] > .section-inner {
    display: block;
    height: auto;
    min-height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.7;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .about-page nav[class*="breadcrumb"] :is(a, span, strong) {
    display: inline;
    white-space: normal;
    line-height: inherit;
    overflow-wrap: anywhere;
  }
  .news-page .news-list { gap: 30px; }
  .news-page .news-item {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 0 0 28px;
  }
  .news-page .news-thumb,
  .news-page .news-copy {
    width: 100%;
    min-width: 0;
    padding: 0;
  }
  .news-page .news-thumb img { width: 100%; height: auto; }
  .news-page .news-copy h3 { margin: 0; line-height: 1.45; }
  .news-page .news-copy p:empty { display: none; }
  .news-page .news-copy p:not(:empty) { margin-top: 10px; }
  .news-page .news-date {
    grid-column: 1;
    width: 100%;
    justify-self: start;
    justify-content: start;
    align-items: baseline;
    gap: 12px;
  }
  .news-page .news-date span { margin: 0; padding: 0; align-self: baseline; }
}

/* English case labels and captions need intrinsic height at every breakpoint. */
.cases-page .cases-section { height: auto; }
.cases-page .cases-layout { grid-template-columns: 300px minmax(0, 1fr); }
.cases-page .case-sidebar { width: 100%; min-width: 0; }
.cases-page .case-category {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 60px;
  padding: 16px 20px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.cases-page .case-category.is-active { padding-left: 40px; }
.cases-page .case-grid {
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.cases-page .case-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 9px 10px 20px;
}
.cases-page .case-media {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 316 / 231;
}
.cases-page .case-media > img { width: 100%; height: 100%; object-fit: cover; }
.cases-page .case-card time { margin: 16px 10px 6px; line-height: 1.4; }
.cases-page .case-card h3 {
  height: auto;
  margin: 0 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
@media (max-width: 1100px) {
  .cases-page .cases-layout { grid-template-columns: minmax(0, 1fr); }
  .cases-page .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .cases-page .case-category { min-height: 52px; padding-top: 12px; padding-bottom: 12px; }
  .cases-page .case-grid { grid-template-columns: minmax(0, 1fr); }
}
