/* Materials site header and anchored inner-page sections. */
.materials-site { --mat-header-height: 84px }
.materials-site .mat-utility { background: #123958; height: auto; display: block }
.materials-site .mat-utility .wrap {
  width: min(1500px, calc(100% - 5vw)); display: flex; align-items: center;
  justify-content: flex-end; gap: 0; min-height: 34px
}
.materials-site .mat-utility a {
  color: #edf6ff; font-size: 13px; line-height: 1.4; white-space: nowrap;
  display: inline-flex; align-items: center; padding: 5px 14px; min-height: 32px
}
.materials-site .mat-utility a:last-child { padding-right: 0 }
.materials-site .mat-utility a.mat-store {
  color: #ffdb93; font-size: clamp(15px, 1.3vw, 18px); font-weight: 700;
  min-height: 38px; letter-spacing: .02em
}
.materials-site .mat-utility a.mat-store:is(:hover,:focus-visible) {
  color: #fff1cb; text-decoration: underline; text-underline-offset: 3px
}
.materials-site .mat-utility a + a { position: relative }
.materials-site .mat-utility a + a::before {
  content: ''; position: absolute; left: 0; width: 1px; height: 12px; background: #7895a8
}
.materials-site .mat-utility a:is(:hover,:focus-visible), .materials-site .mat-utility a[aria-current] {
  color: white; text-decoration: underline; text-underline-offset: 3px
}
.materials-site .site-header { height: var(--mat-header-height); z-index: 60 }
.materials-site .site-header .header-inner { height: 100%; gap: clamp(16px, 1.8vw, 32px); width: min(1500px, calc(100% - 5vw)) }
.mat-wordmark { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #123b68; white-space: nowrap }
.mat-wordmark img { height: 48px; width: auto; object-fit: contain }
.mat-wordmark strong { font-size: clamp(24px, 1.95vw, 30px); line-height: 1.2; font-weight: 750; letter-spacing: .035em }
.materials-site .site-header #main-nav { gap: clamp(14px, 1.45vw, 26px); margin-inline: auto }
.materials-site #main-nav > a, .mat-nav-section > summary { font-size: 16px; font-weight: 600; letter-spacing: 0; color: #253e56 }
.mat-nav-section { position: relative; height: 100% }
.mat-nav-section > summary { height: 100%; display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none }
.mat-nav-section > summary::-webkit-details-marker, .materials-site .member-dropdown > summary::-webkit-details-marker { display: none }
.mat-nav-section > summary::after { content: ''; border: solid currentColor; border-width: 0 1.5px 1.5px 0; width: 6px; height: 6px; transform: translateY(-2px) rotate(45deg) }
.mat-nav-section[open] > summary::after { transform: translateY(2px) rotate(225deg) }
.mat-nav-section[open] > summary, .mat-nav-section.is-current > summary, .materials-site #main-nav > a.active { color: var(--mat-blue) }
.mat-nav-section.is-current::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--mat-blue) }
.mat-nav-panel { position: absolute; top: 100%; left: -20px; width: max-content; min-width: 186px; padding: 8px; border: 1px solid var(--mat-line); border-top: 3px solid var(--mat-blue); background: white; box-shadow: 0 15px 30px #1336561a; max-height: calc(100dvh - var(--mat-header-height) - 10px); overflow-y: auto }
.mat-nav-panel a { display: block; padding: 8px 13px; color: #263e55; font-size: 15px; line-height: 1.55 }
.mat-nav-panel a:is(:hover,:focus-visible) { background: #eef5fc; color: var(--mat-blue) }
.materials-site .member-dropdown > summary { border: 1px solid #c8d6e5; border-radius: 3px; padding: 7px 13px; line-height: 1.5; font-size: 14px; color: var(--mat-blue); cursor: pointer }
.materials-site :focus-visible { outline: 2px solid #1161d2; outline-offset: 3px }

@media(max-width:1199px) {
  .materials-site { --mat-header-height:72px }
  .materials-site .site-header #main-nav { top: 100%; margin: 0; max-height: calc(100dvh - var(--mat-header-height)); overflow-y: auto; padding: 8px max(4vw,20px) 18px; }
  .materials-site .site-header #main-nav.is-open { display: block }
  .materials-site #main-nav > a, .mat-nav-section > summary { display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding: 10px 0; border-bottom: 1px solid var(--mat-line); line-height: 1.5; font-size: 16px }
  .mat-nav-section { height: auto }
  .mat-nav-section.is-current::after { display: none }
  .mat-nav-panel { position: static; width: 100%; min-width: 0; padding: 4px 10px 10px; max-height: none; box-shadow: none; border: none; background: #f4f7fb }
  .mat-nav-panel a { padding: 10px 12px }
}
@media(max-width:767px) {
  .materials-site { --mat-header-height:64px }
  .materials-site .site-header .header-inner { width: calc(100% - 36px) }
  .mat-wordmark { gap: 8px }
  .mat-wordmark img { height: 38px }
  .mat-wordmark strong { font-size: 22px }
}

.materials-site .mat-wordmark strong { font-size: clamp(25px, 2.15vw, 34px); color: #133d68 }
.materials-site .mat-mast {
  background-color: #e9f0f5;
  background-image: linear-gradient(90deg, #f6f9fcf5 0%, #f5f8fbe8 36%, #eef5f987 63%, #e6effa24 100%), url('/assets/images/zhongdan-factory-panorama.webp');
  background-position: center, center 59%; background-size: cover
}
.materials-site .mat-mast .mat-intro { min-height: clamp(215px,19vw,292px); padding-block: clamp(25px,3vw,45px) }
.materials-site .mat-mast .mat-lead h1 { color: #103858; line-height: 1.32; font-size: clamp(32px,3.3vw,50px) }
.materials-site .mat-mast .mat-lead > p:not(.mat-kicker):not(.mat-crumb) { color: #314f64 }
.materials-site .mat-mast .mat-crumb { margin-bottom: 16px }
.materials-site .mat-sticky-tabs { position: sticky; top: var(--mat-header-height); z-index: 14; background: #fff; box-shadow: 0 1px #d6e2eb }
.materials-site .mat-sticky-tabs .mat-tabs {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  flex-wrap: nowrap; gap: clamp(18px,3vw,46px); scrollbar-width: thin;
  padding-block: 0; margin: auto; border: 0; background: white
}
.materials-site .mat-sticky-tabs .mat-tab {
  flex: none; display: flex; align-items: center; min-height: 48px; padding: 10px 0 8px;
  border-bottom: 3px solid transparent; color: #344f65; margin: 0
}
.materials-site .mat-sticky-tabs a[aria-current] { color: #105eb4; border-color: #176abf; font-weight: 650 }
html:has(.materials-site .mat-sticky-tabs) { scroll-padding-top: 0 }
.materials-site:has(.mat-sticky-tabs) main [id] { scroll-margin-top: calc(var(--mat-header-height) + 47px) }
.materials-site .mat-section--dark .mat-flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 30px; padding-left: 0; list-style: none }
.materials-site .mat-shop-field { margin-bottom: 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,2vw,28px) }
.materials-site .mat-shop-field figure { margin: 0; min-width: 0 }
.materials-site .mat-shop-field img { width: 100%; aspect-ratio: 1.8; object-fit: cover; display:block }
.materials-site .mat-shop-field figcaption { font-size: 13px; margin: 7px 0; color: inherit }
.mat-journal { display: grid; gap: 18px }
.mat-journal-card { display: grid; grid-template-columns: clamp(155px,20vw,285px) 1fr; align-items: center; gap: clamp(18px,3vw,50px); padding-block: 16px; border-block-start: 1px solid #cbd9e5 }
.mat-journal-card img { height: clamp(120px,12vw,162px); width: 100%; object-fit: cover; background: #eaf0f3 }
.mat-journal-card h3 { font-size: clamp(21px,2vw,29px); line-height: 1.5; margin: 5px 0 8px }
.mat-journal-card:hover h3 { color: var(--mat-blue) }
.mat-journal-card p { color: var(--mat-muted); font-size: 15px }
.mat-journal-card small { color: #426583; font-size: 13px }
.materials-site .footer-brand .footer-wordmark { white-space: normal }
@media(max-width:767px) {
  .materials-site .mat-wordmark strong { font-size: 23px }
  .materials-site .mat-utility .wrap { width: calc(100% - 32px); min-height: 33px }
  .materials-site .mat-utility a { font-size: 12px; padding-inline: 10px; min-height: 33px }
  .materials-site .mat-utility a:last-child { padding-right: 0 }
  .materials-site .mat-mast { background-image: linear-gradient(90deg, #f4f8fcf2, #edf4f9bb 70%, #edf4f985), url('/assets/images/zhongdan-factory-panorama.webp') }
  .materials-site .mat-sticky-tabs .mat-tab { min-height: 46px; font-size: 14px }
  .materials-site .mat-section--dark .mat-flow { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px }
  .materials-site .mat-shop-field { gap: 10px }
  .mat-journal-card { grid-template-columns: 90px 1fr; gap: 15px }
  .mat-journal-card img { height: 90px }
  .mat-journal-card h3 { font-size: 18px }
  .mat-journal-card p { font-size: 14px }
}
.materials-site .mat-featured-products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2vw,32px) }
.mat-featured-item { display: block; min-width: 0; background: #fff; border: 1px solid #d3e0ea }
.mat-featured-item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #eef2f4 }
.mat-featured-item > div { padding: 16px 20px; border-top: 1px solid #e0e8ee }
.mat-featured-item h3 { font-size: clamp(19px,1.55vw,25px); color: #123a5b }
.mat-featured-item p { color: var(--mat-muted); font-size: 14px }
.mat-featured-item:hover { border-color: #81a9d0 }
#featured-products { scroll-margin-top: var(--mat-header-height) }
.materials-site .mat-guide-photo img { max-height: 310px; width: 100%; object-fit: contain; background: #f3f6fa }
@media (min-width:600px) and (max-width:900px) {
  .materials-site .mat-featured-products { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
@media (max-width:599px) {
  .materials-site .mat-featured-products { grid-template-columns: 1fr }
  .mat-featured-item > div { padding: 12px 16px }
}

/* Section opening photographs share a light reading area with the site navigation. */
.mat-section-banner {
  --banner-paper: #edf3f6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--banner-paper);
}
.mat-section-banner-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}
.mat-section-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--banner-paper) 36%, rgb(237 243 246 / 98%) 39%,
    rgb(237 243 246 / 86%) 43%, rgb(237 243 246 / 42%) 50%, transparent 59%);
}
.mat-section-banner-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(276px, 24vw, 424px);
  padding-block: clamp(38px, 3.7vw, 70px);
  display: flex;
  align-items: center;
}
.mat-section-banner-copy {
  width: 43%;
  max-width: 37rem;
}
.mat-section-banner-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #375d76;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .045em;
}
.mat-section-banner-home::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--mat-heat);
}
.mat-section-banner-home:is(:hover, :focus-visible) {
  color: var(--mat-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mat-section-banner h1 {
  margin: clamp(14px, 1.35vw, 22px) 0;
  color: #103654;
  font-size: clamp(36px, 3.65vw, 62px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .015em;
}
.mat-section-banner p {
  margin: 0;
  color: #345268;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.85;
  text-wrap: pretty;
}
@media (max-width: 700px) {
  .mat-section-banner {
    display: flex;
    flex-direction: column;
  }
  .mat-section-banner-inner {
    order: -1;
    min-height: auto;
    padding-block: 25px 22px;
  }
  .mat-section-banner-copy { width: 100%; }
  .mat-section-banner-home { font-size: 12px; gap: 9px; }
  .mat-section-banner-home::before { width: 18px; }
  .mat-section-banner h1 { margin: 10px 0; font-size: clamp(30px, 6.6vw, 39px); }
  .mat-section-banner p { font-size: 14px; line-height: 1.8; }
  .mat-section-banner-photo {
    position: static;
    width: 100%;
    height: clamp(142px, 42vw, 230px);
  }
  .mat-section-banner::after { display: none; }
}

.mat-section-banner--about,
.mat-section-banner--cases {
  --banner-paper: #103146;
}
:is(.mat-section-banner--about, .mat-section-banner--cases) h1 {
  color: white;
  font-size: clamp(40px, 4.3vw, 72px);
}
:is(.mat-section-banner--about, .mat-section-banner--cases) p {
  color: #eff5f7;
}
:is(.mat-section-banner--about, .mat-section-banner--cases) .mat-section-banner-home {
  color: #e0edf3;
}
:is(.mat-section-banner--about, .mat-section-banner--cases) .mat-section-banner-home::before {
  background: #efac71;
}
.mat-section-banner--about .mat-section-banner-photo {
  width: 100%;
  object-position: center 37%;
}
.mat-section-banner--about .mat-section-banner-inner {
  min-height: clamp(355px, 30vw, 500px);
}
.mat-section-banner--about .mat-section-banner-copy { width: 39%; }
.mat-section-banner--about::after {
  background: linear-gradient(90deg, rgb(10 34 49 / 87%), rgb(10 34 49 / 81%) 24%,
    rgb(10 34 49 / 71%) 36%, rgb(10 34 49 / 29%) 48%, rgb(10 34 49 / 5%) 68%, transparent);
}
.mat-section-banner--cases .mat-section-banner-photo { width: 68%; }
.mat-section-banner--cases .mat-section-banner-inner { min-height: clamp(325px, 26vw, 445px); }
.mat-section-banner--cases::after {
  background: linear-gradient(90deg, var(--banner-paper) 32%, rgb(16 49 70 / 97%) 36%,
    rgb(16 49 70 / 80%) 43%, rgb(16 49 70 / 25%) 54%, transparent 64%);
}
.mat-section-banner--news {
  --banner-paper: #edf5fa;
}
.mat-section-banner--news::after {
  background: linear-gradient(90deg, rgb(237 245 250 / 91%), rgb(237 245 250 / 80%) 25%,
    rgb(237 245 250 / 51%) 40%, rgb(237 245 250 / 9%) 56%, transparent 68%);
}
.mat-section-banner--news .mat-section-banner-photo {
  width: 100%;
  object-position: center 49%;
}
.mat-section-banner--news .mat-section-banner-inner {
  min-height: clamp(290px, 27vw, 470px);
}
.mat-section-banner--news .mat-section-banner-copy { width: 45%; }
.mat-section-banner--news h1 {
  font-size: clamp(40px, 4.15vw, 68px);
}
@media (max-width: 700px) {
  :is(.mat-section-banner--about, .mat-section-banner--cases, .mat-section-banner--news)
    .mat-section-banner-photo {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    display: block;
  }
  :is(.mat-section-banner--about, .mat-section-banner--cases, .mat-section-banner--news) .mat-section-banner-inner {
    min-height: 0;
  }
  :is(.mat-section-banner--about, .mat-section-banner--news) .mat-section-banner-copy { width: 100%; }
  .mat-section-banner--about .mat-section-banner-inner { order: 0; }
  .mat-section-banner--news .mat-section-banner-photo {
    mask-image: linear-gradient(to bottom, transparent, #000 24px);
  }
  :is(.mat-section-banner--about, .mat-section-banner--cases, .mat-section-banner--news) h1 {
    font-size: clamp(32px, 7vw, 40px);
  }
}
