/*
 * Simplified and Traditional Chinese visual refresh.
 *
 * The localized pages intentionally keep their existing, smaller content
 * modules. This layer gives those modules the same visual language used by
 * the current English pages without creating English-only sections.
 */

.localized-refresh {
  --lr-ink: #173229;
  --lr-muted: #5d7169;
  --lr-green: #187247;
  --lr-dark: #0d4f35;
  --lr-deep: #092f22;
  --lr-mint: #eaf4ee;
  --lr-line: #dce8e1;
  --lr-cream: #f6f7f1;
  color: var(--lr-ink);
  background: #fff;
}

.localized-refresh main {
  overflow: hidden;
}

.localized-refresh .bespring-container,
.localized-refresh .news-main-container {
  width: min(1200px, calc(100% - 40px));
  max-width: none;
  margin-inline: auto;
}

/* Match the current English utility bar. */
.localized-refresh .topbar {
  min-height: 36px;
  padding: 0;
  color: rgba(255, 255, 255, .78);
  background: var(--lr-deep);
  border: 0;
}

.localized-refresh .topbar-container {
  min-height: 36px;
}

.localized-refresh .topbar-left,
.localized-refresh .topbar-right {
  gap: 12px;
  font-size: 12px;
}

.localized-refresh .topbar-left i {
  color: #8fd6b0;
}

.localized-refresh .topbar-link {
  color: rgba(255, 255, 255, .62);
}

.localized-refresh .bs-seo-language {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.localized-refresh .bs-seo-language a {
  min-width: 28px;
  padding: 3px 7px;
  color: rgba(255, 255, 255, .65);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.localized-refresh .bs-seo-language a:hover,
.localized-refresh .bs-seo-language a.active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.localized-refresh .site-header {
  box-shadow: 0 5px 22px rgba(9, 47, 34, .07);
}

.localized-refresh .main-nav a[aria-current="page"] {
  color: var(--lr-green);
}

/* Breadcrumbs use the same quiet, procurement-focused treatment. */
.localized-refresh .bespring-breadcrumb {
  padding: 16px 0;
  color: #6f827a;
  border: 0;
  border-bottom: 1px solid var(--lr-line);
  background: #fff;
}

.localized-refresh .bespring-breadcrumb p,
.localized-refresh .bespring-breadcrumb > .bespring-container {
  margin-block: 0;
  color: #6f827a;
  font-size: 13px;
}

.localized-refresh .bespring-breadcrumb a {
  color: var(--lr-dark);
  font-weight: 700;
}

.localized-refresh .page-title {
  margin: 0 0 18px;
  color: var(--lr-ink);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-align: left;
}

.localized-refresh .page-title::after {
  display: none;
}

/* Shared localized page heading area. */
.localized-products > main > .news-main-container,
.localized-services > main > .news-main-container,
.localized-news > main > .news-main-container,
.localized-contact > main > .news-main-container {
  padding-top: 64px;
  padding-bottom: 92px;
}

.localized-products > main > .news-main-container > .page-title,
.localized-services > main > .news-main-container > .page-title,
.localized-news > main > .news-main-container > .page-title,
.localized-contact > main > .news-main-container > .page-title {
  position: relative;
  margin: -64px calc(50% - 50vw) 56px;
  padding: 72px max(20px, calc((100vw - 1200px) / 2));
  color: #fff;
  background:
    linear-gradient(120deg, rgba(9, 47, 34, .97), rgba(13, 79, 53, .91)),
    url("../images/global-chemical-supply-chain.jpg") center/cover;
}

.localized-products .intro-text {
  max-width: 880px;
  margin: -26px 0 42px;
  padding-left: 24px;
  color: var(--lr-muted);
  border-left: 3px solid var(--lr-green);
  font-size: 17px;
  line-height: 1.8;
}

/* Product landing cards: the same proportions, borders and motion as EN. */
.localized-products .industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

.localized-products .industry-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--lr-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(23, 50, 41, .055);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.localized-products .industry-card:hover {
  transform: translateY(-5px);
  border-color: #b9d4c4;
  box-shadow: 0 18px 45px rgba(23, 50, 41, .11);
}

.localized-products .industry-card > img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  border-radius: 0;
  object-fit: cover;
  transition: transform .5s ease;
}

.localized-products .industry-card:hover > img {
  transform: scale(1.035);
}

.localized-products .industry-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.localized-products .industry-content h2 {
  margin: 0 0 11px;
  color: var(--lr-ink);
  font-size: 21px;
  line-height: 1.3;
}

.localized-products .industry-content h2 a:hover {
  color: var(--lr-green);
}

.localized-products .industry-content p {
  margin: 0;
  color: var(--lr-muted);
  font-size: 14px;
  line-height: 1.7;
}

.localized-products .industry-content .arrow {
  color: var(--lr-green);
  font-size: 15px;
}

/* Service modules. */
.localized-services .intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px 8%;
  margin: 0 0 68px;
  padding: 0;
  text-align: left;
}

.localized-services .intro h1 {
  grid-row: 1 / span 3;
  margin: 0;
  color: var(--lr-ink);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.localized-services .intro p {
  margin: 0;
  padding-left: 24px;
  color: var(--lr-muted);
  border-left: 3px solid var(--lr-green);
  font-size: 16px;
  line-height: 1.78;
}

.localized-services .cta-btn,
.localized-category .download-link,
.localized-refresh .btn-submit {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: #fff;
  border: 1px solid var(--lr-green);
  border-radius: 4px;
  background: var(--lr-green);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease;
}

.localized-services .cta-btn:hover,
.localized-category .download-link:hover,
.localized-refresh .btn-submit:hover {
  color: #fff;
  background: var(--lr-dark);
  transform: translateY(-2px);
}

.localized-services .comprehensive {
  margin: 0 calc(50% - 50vw);
  padding: 78px max(20px, calc((100vw - 1200px) / 2));
  color: #fff;
  background: var(--lr-deep);
}

.localized-services .comprehensive h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(29px, 3.5vw, 43px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.localized-services .comprehensive p {
  max-width: 840px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.75;
}

.localized-services .comprehensive ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-left: 1px solid rgba(255, 255, 255, .16);
  list-style: none;
}

.localized-services .comprehensive li {
  padding: 25px;
  color: rgba(255, 255, 255, .75);
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px;
  line-height: 1.7;
}

.localized-services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 78px 0 0;
}

.localized-services .service-card {
  padding: 0 0 26px;
  border: 1px solid var(--lr-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(23, 50, 41, .05);
  overflow: hidden;
}

.localized-services .service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 22px;
  border-radius: 0;
  object-fit: cover;
}

.localized-services .service-card h3,
.localized-services .service-card p {
  margin-right: 25px;
  margin-left: 25px;
}

.localized-services .service-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--lr-ink);
  font-size: 19px;
}

.localized-services .service-card p {
  margin-bottom: 0;
  color: var(--lr-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* News archive cards. */
.localized-news .subpage-banner {
  display: none;
}

.localized-news .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

.localized-news .news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  padding: 0 0 24px;
  border: 1px solid var(--lr-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.localized-news .news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 22px;
  border-radius: 0;
  object-fit: cover;
}

.localized-news .news-card .date,
.localized-news .news-card h2,
.localized-news .news-card p {
  margin-right: 24px;
  margin-left: 24px;
}

.localized-news .news-card .date {
  color: var(--lr-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.localized-news .news-card h2 {
  margin-top: 10px;
  margin-bottom: 11px;
  color: var(--lr-ink);
  font-size: 20px;
  line-height: 1.35;
}

.localized-news .news-card p {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--lr-muted);
  font-size: 14px;
  line-height: 1.65;
}

.localized-news .news-card .arrow {
  color: var(--lr-green);
}

/* Contact information and quote form. */
.localized-contact .contact-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 24px;
  margin: 0 0 28px;
}

.localized-contact .contact-info,
.localized-contact .contact-map {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--lr-line);
  border-radius: 8px;
  background: #fff;
}

.localized-contact .contact-info h2 {
  margin: 24px 0 10px;
  color: var(--lr-ink);
  font-size: 19px;
}

.localized-contact .contact-info h2:first-child {
  margin-top: 0;
}

.localized-contact .contact-info p {
  color: var(--lr-muted);
  font-size: 14px;
  line-height: 1.75;
}

.localized-contact .contact-map {
  padding: 0;
  overflow: hidden;
}

.localized-contact .contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.localized-refresh .quote-section {
  margin: 28px 0 0;
  padding: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--lr-cream);
  box-shadow: none;
}

.localized-refresh .quote-section h2 {
  margin: 0 0 26px;
  color: var(--lr-ink);
  font-size: clamp(28px, 3vw, 38px);
  text-align: left;
}

.localized-refresh .quote-section form {
  display: grid;
  gap: 15px;
}

.localized-refresh .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
}

.localized-refresh .form-row:has(> :only-child),
.localized-refresh .form-row.checkbox {
  grid-template-columns: 1fr;
}

.localized-refresh .quote-section input:not([type="checkbox"]),
.localized-refresh .quote-section textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 13px 15px;
  color: var(--lr-ink);
  border: 1px solid #cddbd3;
  border-radius: 4px;
  background: #fff;
  font: inherit;
}

.localized-refresh .quote-section textarea {
  min-height: 130px;
  resize: vertical;
}

.localized-refresh .quote-section input:focus,
.localized-refresh .quote-section textarea:focus {
  border-color: var(--lr-green);
  outline: 3px solid rgba(24, 114, 71, .12);
}

.localized-refresh .form-row.checkbox label {
  color: var(--lr-muted);
  font-size: 13px;
}

/* About pages: preserve the single localized content module. */
.localized-about .subpage-banner {
  position: relative;
  min-height: 350px;
  padding: 0;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.localized-about .subpage-banner .banner-overlay {
  background: linear-gradient(120deg, rgba(9, 47, 34, .96), rgba(13, 79, 53, .87));
}

.localized-about .subpage-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.localized-about .subpage-banner-content h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.localized-about .subpage-banner-content p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  line-height: 1.75;
}

.localized-about .bespring-tab-nav {
  border-bottom: 1px solid var(--lr-line);
  background: #fff;
  box-shadow: none;
}

.localized-about .bespring-tab-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 10px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

.localized-about .bespring-tab-nav li {
  flex: 0 0 auto;
}

.localized-about .bespring-tab-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--lr-muted);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 750;
}

.localized-about .bespring-tab-nav a:hover,
.localized-about .bespring-tab-nav li.active a {
  color: var(--lr-dark);
  background: var(--lr-mint);
}

.localized-about .bespring-profile {
  padding: 82px 0 92px;
  background: #fff;
}

.localized-about .bespring-flexbox {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 7%;
}

.localized-about .bespring-left-img img,
.localized-about .bespring-core-img img,
.localized-about .bespring-profile .bespring-container > img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.localized-about .bespring-right-text.full-width {
  grid-column: 1 / -1;
  max-width: 920px;
}

.localized-about .bespring-right-text h2 {
  margin: 0 0 12px;
  color: var(--lr-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.localized-about .bespring-right-text h3 {
  margin: 0 0 24px;
  color: var(--lr-ink);
  font-size: clamp(29px, 3.5vw, 43px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.localized-about .bespring-right-text p,
.localized-about .bespring-profile li {
  color: var(--lr-muted);
  font-size: 16px;
  line-height: 1.82;
}

.localized-about .bespring-right-text p strong {
  color: var(--lr-ink);
  font-size: 18px;
}

.localized-about .bespring-core-img {
  margin-top: 38px;
}

.localized-about .bespring-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.localized-about .bespring-btn-solid,
.localized-about .bespring-btn-outline {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--lr-green);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.localized-about .bespring-btn-solid {
  color: #fff;
  background: var(--lr-green);
}

.localized-about .bespring-btn-outline {
  color: var(--lr-dark);
  background: #fff;
}

/* Product category pages: adapt their existing hero, catalog and RFQ. */
.localized-category .news-main-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.localized-category .hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  align-items: center;
  gap: 70px;
  margin: 0;
  padding: 64px max(20px, calc((100vw - 1200px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 84% 0, rgba(118, 209, 157, .14), transparent 34%),
    var(--lr-deep);
}

.localized-category .hero-text {
  padding: 0;
}

.localized-category .hero-section .page-title {
  margin: 0 0 21px;
  color: #fff;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
}

.localized-category .hero-section p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  line-height: 1.75;
}

.localized-category .hero-section .download-link {
  margin-top: 28px;
  color: var(--lr-deep);
  background: #a9dfbf;
  border-color: #a9dfbf;
}

.localized-category .hero-image {
  position: relative;
  min-height: 340px;
}

.localized-category .hero-image::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 24px;
  border: 1px solid rgba(155, 218, 183, .32);
}

.localized-category .hero-image img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
}

.localized-category .news-main-container > h2,
.localized-category .news-main-container > h2 + p,
.localized-category .fi-ingredient-list,
.localized-category .quote-section {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.localized-category .news-main-container > h2 {
  margin-top: 76px;
  margin-bottom: 12px;
  color: var(--lr-ink);
  font-size: clamp(29px, 3.5vw, 43px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.localized-category .news-main-container > h2 + p {
  margin-top: 0;
  margin-bottom: 30px;
  color: var(--lr-muted);
  line-height: 1.75;
}

.localized-category .fi-ingredient-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 84px;
}

.localized-category .fi-category {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--lr-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(23, 50, 41, .045);
  overflow: hidden;
}

.localized-category .fi-category-header {
  min-height: 58px;
  padding: 16px 18px;
  color: var(--lr-ink);
  background: var(--lr-cream);
  border: 0;
  cursor: pointer;
}

.localized-category .fi-category-header h3 {
  margin: 0;
  color: var(--lr-ink);
  font-size: 16px;
}

.localized-category .fi-arrow {
  color: var(--lr-green);
}

.localized-category .fi-items {
  margin: 0;
  padding: 8px 18px 16px;
  list-style: none;
}

.localized-category .fi-items li {
  position: relative;
  padding: 8px 0 8px 14px;
  color: var(--lr-muted);
  border-top: 1px solid #edf2ee;
  font-size: 13px;
  line-height: 1.55;
}

.localized-category .fi-items li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #78b493;
}

.localized-category .quote-section {
  margin-bottom: 92px;
}

/* Homepage keeps its intentionally short module list; align chrome only. */
.localized-home .crc-banner {
  margin-top: 0;
}

@media (max-width: 960px) {
  .localized-products .industries-grid,
  .localized-news .news-grid,
  .localized-category .fi-ingredient-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .localized-services .intro {
    grid-template-columns: 1fr;
  }

  .localized-services .intro h1 {
    grid-row: auto;
  }

  .localized-services .intro p {
    padding-left: 20px;
  }

  .localized-services .comprehensive ul,
  .localized-services .services-grid {
    grid-template-columns: 1fr;
  }

  .localized-about .bespring-flexbox,
  .localized-contact .contact-grid,
  .localized-category .hero-section {
    grid-template-columns: 1fr;
  }

  .localized-about .bespring-left-img {
    max-width: 680px;
  }

  .localized-category .hero-image {
    width: min(680px, 100%);
  }
}

@media (max-width: 680px) {
  .localized-refresh .bespring-container,
  .localized-refresh .news-main-container {
    width: min(100% - 30px, 1200px);
  }

  .localized-refresh .topbar-left {
    display: none;
  }

  .localized-refresh .topbar-container {
    justify-content: flex-end;
  }

  .localized-products > main > .news-main-container,
  .localized-services > main > .news-main-container,
  .localized-news > main > .news-main-container,
  .localized-contact > main > .news-main-container {
    padding-bottom: 68px;
  }

  .localized-products > main > .news-main-container > .page-title,
  .localized-services > main > .news-main-container > .page-title,
  .localized-news > main > .news-main-container > .page-title,
  .localized-contact > main > .news-main-container > .page-title {
    margin-bottom: 42px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .localized-products .industries-grid,
  .localized-news .news-grid,
  .localized-category .fi-ingredient-list {
    grid-template-columns: 1fr;
  }

  .localized-services .comprehensive {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .localized-contact .contact-info,
  .localized-refresh .quote-section {
    padding: 26px 22px;
  }

  .localized-contact .contact-map iframe {
    min-height: 360px;
  }

  .localized-refresh .form-row {
    grid-template-columns: 1fr;
  }

  .localized-about .subpage-banner,
  .localized-about .subpage-banner-content {
    min-height: 300px;
  }

  .localized-about .bespring-profile {
    padding: 62px 0 70px;
  }

  .localized-category .hero-section {
    gap: 42px;
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .localized-category .hero-image {
    min-height: 250px;
  }

  .localized-category .news-main-container > h2,
  .localized-category .news-main-container > h2 + p,
  .localized-category .fi-ingredient-list,
  .localized-category .quote-section {
    width: min(100% - 30px, 1200px);
  }

  .localized-category .quote-section {
    margin-bottom: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .localized-refresh *,
  .localized-refresh *::before,
  .localized-refresh *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
