/* ============================================================
   Pentapath — Additional section & page styles
   Why Choose / Download Center / News / Unified product page
   ============================================================ */

/* ---------- Footer with extra Resources column ---------- */
.pentapath-footer .footer-grid.footer-grid-5 {
  grid-template-columns: 1.3fr 1fr 1fr .9fr 1.1fr;
}

.pentapath-footer .footer-cta .footer-btn + .footer-btn {
  margin-left: 8px;
}

@media (max-width: 992px) {
  .pentapath-footer .footer-grid.footer-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .pentapath-footer .footer-grid.footer-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Shared page hero + breadcrumb ----------
   Namespaced so it never overrides existing page styles. */
.site-breadcrumb {
  background: #f9fafb;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.site-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .95rem;
}

.site-breadcrumb-nav a {
  color: var(--accent, #E52421);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}

.site-breadcrumb-nav a:hover {
  color: var(--primary, #0A2D4F);
  text-decoration: underline;
}

.site-breadcrumb-nav span {
  color: #9ca3af;
  user-select: none;
}

.site-breadcrumb-nav span:last-child {
  color: #4b5563;
  font-weight: 600;
}

/* ---------- Links inside body copy ----------
   The global `a` base rule (style.css) removes the browser default
   underline; put a visible, on-brand text link back wherever an anchor
   sits inside running text. */
.section-desc a,
.dl-empty a,
.nd-content a,
.newsDet-main .content a,
.newsDet-main ul a {
  color: var(--accent, #E52421);
  text-decoration: underline;
}

.section-desc a:hover,
.dl-empty a:hover,
.nd-content a:hover,
.newsDet-main .content a:hover,
.newsDet-main ul a:hover {
  color: var(--primary, #0A2D4F);
}

.site-page-hero {
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.site-page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.site-page-hero p {
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto;
}

.site-page-hero .hero-actions {
  margin-top: 26px;
}

@media (max-width: 600px) {
  .site-page-hero h1 {
    font-size: 1.9rem;
  }

  .site-page-hero p {
    font-size: 1rem;
  }
}

.section-lead {
  text-align: center;
  color: var(--muted, #636E72);
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* ============================================================
   Why Choose (homepage)
   ============================================================ */
.why-choose {
  padding: 64px 20px;
  background: var(--bg, #F8F9FC);
  width: 100%;
}

.why-choose h2 {
  color: var(--primary, #0A2D4F);
  font-size: 2rem;
  margin-bottom: 12px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: var(--max-width, 1100px);
  margin: 0 auto;
}

.why-card {
  background: var(--white, #fff);
  border-radius: var(--radius, 12px);
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  border-top: 3px solid var(--accent, #E52421);
  transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.why-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary, #0A2D4F);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-icon {
  font-size: 26px;
  color: var(--accent, #E52421);
}

.why-card p {
  color: var(--text, #2D3436);
  font-size: .98rem;
  line-height: 1.7;
  margin: 0;
}

.why-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

@media (max-width: 480px) {
  .why-choose {
    padding: 44px 16px;
  }

  .why-choose h2 {
    font-size: 1.7rem;
  }

  .why-card {
    padding: 22px 18px;
  }
}

/* ============================================================
   Download Center
   ============================================================ */
.dl-main {
  padding: 50px 20px 70px;
}

.dl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.dl-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dl-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid #d7dde5;
  background: #fff;
  color: var(--primary, #0A2D4F);
  font-size: .93rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s ease;
}

.dl-tab:hover {
  border-color: var(--accent, #E52421);
  color: var(--accent, #E52421);
}

.dl-tab.is-active {
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  border-color: transparent;
  color: #fff;
}

.dl-search {
  position: relative;
  min-width: 240px;
  flex: 0 1 280px;
}

.dl-search input {
  width: 100%;
  font-family: inherit;
  font-size: .93rem;
  padding: 11px 14px 11px 40px;
  border: 1px solid #d7dde5;
  border-radius: 50px;
  background: #fff;
}

.dl-search input:focus {
  outline: none;
  border-color: var(--accent, #E52421);
  box-shadow: 0 0 0 3px rgba(229, 36, 33, .12);
}

.dl-search .material-symbols-rounded {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #8a95a3;
}

.dl-group {
  margin-bottom: 46px;
  scroll-margin-top: 90px;
}

.dl-group[hidden] {
  display: none;
}

.dl-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.dl-group-head h2 {
  color: var(--primary, #0A2D4F);
  font-size: 1.5rem;
  border-left: 4px solid var(--accent, #E52421);
  padding-left: 14px;
  margin: 0;
}

.dl-group-head p {
  color: var(--muted, #636E72);
  font-size: .95rem;
  margin: 0;
}

.dl-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.dl-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dl-item:hover {
  border-color: var(--accent, #E52421);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.dl-icn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2f7, #e3eaf3);
  color: var(--primary, #0A2D4F);
}

.dl-icn .material-symbols-rounded {
  font-size: 26px;
}

.dl-info {
  flex: 1;
  min-width: 0;
}

.dl-info h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.05rem;
  margin: 0 0 4px;
  line-height: 1.4;
}

.dl-info p {
  margin: 0;
  color: var(--muted, #636E72);
  font-size: .92rem;
}

.dl-meta {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dl-tag {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--bg, #F8F9FC);
  color: var(--primary, #0A2D4F);
  border: 1px solid #e5e7eb;
}

.dl-action {
  flex-shrink: 0;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.dl-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.dl-empty {
  text-align: center;
  color: var(--muted, #636E72);
  padding: 30px 10px;
  display: none;
}

.dl-inline-empty {
  margin: 0;
  padding: 26px 20px;
  border: 1px dashed #d7dde5;
  border-radius: 12px;
  color: var(--muted, #636E72);
  font-size: .93rem;
  text-align: center;
}

.dl-inline-empty a {
  color: var(--accent, #E52421);
  text-decoration: underline;
}

/* Video cards */
.dl-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.dl-video {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.dl-video:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .1);
}

.dl-video video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dl-video-body {
  padding: 16px 18px 20px;
}

.dl-video-body h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.dl-video-body p {
  margin: 0;
  color: var(--muted, #636E72);
  font-size: .92rem;
}

@media (max-width: 640px) {
  .dl-item {
    flex-wrap: wrap;
  }

  .dl-action {
    width: 100%;
  }

  .dl-btn {
    width: 100%;
    justify-content: center;
  }

  .dl-group-head h2 {
    font-size: 1.3rem;
  }
}

/* ============================================================
   News
   ============================================================ */
.news-main {
  padding: 50px 20px 70px;
}

.news-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.news-featured-media {
  min-height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary, #0A2D4F), var(--accent, #E52421));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-featured-media .material-symbols-rounded {
  font-size: 74px;
  opacity: .85;
}

.news-featured-body {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(229, 36, 33, .12);
  color: var(--accent, #E52421);
  align-self: flex-start;
  margin-bottom: 12px;
}

.news-tag.is-company {
  background: rgba(10, 45, 79, .12);
  color: var(--primary, #0A2D4F);
}

.news-featured-body h2 {
  color: var(--primary, #0A2D4F);
  font-size: 1.6rem;
  margin: 0 0 10px;
  line-height: 1.35;
}

.news-featured-body p {
  color: #4b5563;
  margin: 0 0 16px;
  line-height: 1.75;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: #8a95a3;
}

.news-date .material-symbols-rounded {
  font-size: 18px;
}

.news-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent, #E52421);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}

.news-read:hover {
  text-decoration: underline;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.news-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, #E52421);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}

.news-card-media {
  aspect-ratio: 16 / 9;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2f7, #dde5ef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #0A2D4F);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-media .material-symbols-rounded {
  font-size: 46px;
  opacity: .8;
}

.news-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-body h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.12rem;
  line-height: 1.4;
  margin: 8px 0 8px;
}

.news-card-body p {
  color: #5b6570;
  font-size: .95rem;
  line-height: 1.7;
  margin: 0 0 16px;
  flex: 1;
}

.news-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #f0f2f5;
  padding-top: 14px;
}

@media (max-width: 768px) {
  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-featured-media {
    min-height: 180px;
  }

  .news-featured-body {
    padding: 24px 20px;
  }
}

/* ============================================================
   Unified product detail page
   ============================================================ */
.pp-main {
  padding: 50px 20px 70px;
}

.pp-layout {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 20px;
}

.pp-gallery {
  position: sticky;
  top: 96px;
}

.pp-gallery-main {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
}

.pp-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity .15s ease;
}

.pp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.pp-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}

.pp-thumbs img:hover,
.pp-thumbs img.is-active {
  border-color: var(--accent, #E52421);
  transform: translateY(-2px);
}

.pp-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(10, 45, 79, .08);
  color: var(--primary, #0A2D4F);
}

.pp-badge.is-accent {
  background: rgba(229, 36, 33, .12);
  color: var(--accent, #E52421);
}

.pp-info h1 {
  color: var(--primary, #0A2D4F);
  font-size: 2.1rem;
  line-height: 1.25;
  margin: 0 0 12px;
}

.pp-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
  margin: 0 0 20px;
}

.pp-quickstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  margin-bottom: 22px;
}

.pp-quickstats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-quickstats strong {
  color: var(--primary, #0A2D4F);
  font-size: 1.05rem;
}

.pp-quickstats span {
  font-size: .8rem;
  color: #6b7280;
}

.pp-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pp-section {
  margin-top: 54px;
  scroll-margin-top: 90px;
}

.pp-section h2 {
  color: var(--primary, #0A2D4F);
  font-size: 1.6rem;
  border-left: 4px solid var(--accent, #E52421);
  padding-left: 14px;
  margin: 0 0 18px;
}

.pp-section p {
  color: #4b5563;
  line-height: 1.8;
  margin: 0 0 14px;
}

.pp-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.pp-features li {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: .98rem;
  color: #4b5563;
  transition: border-color .2s ease, transform .2s ease;
}

.pp-features li:hover {
  border-color: var(--accent, #E52421);
  transform: translateY(-2px);
}

.pp-features li::before {
  content: "check_circle";
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  color: var(--accent, #E52421);
  font-size: 22px;
  position: absolute;
  left: 14px;
  top: 14px;
}

.pp-features li strong {
  color: var(--primary, #0A2D4F);
}

.pp-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.pp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.pp-table th,
.pp-table td {
  padding: 15px 20px;
  text-align: left;
  line-height: 1.7;
  border-bottom: 1px solid #eef1f5;
}

.pp-table thead {
  background: #f9fafb;
}

.pp-table th {
  color: var(--primary, #0A2D4F);
  font-weight: 700;
  border-bottom: 2px solid var(--accent, #E52421);
}

.pp-table td:first-child {
  color: var(--primary, #0A2D4F);
  font-weight: 600;
  min-width: 180px;
  background: #fcfdff;
}

.pp-table tbody tr:last-child td {
  border-bottom: none;
}

.pp-table tbody tr:hover {
  background: #f9fafb;
}

.pp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.pp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pp-card:hover {
  border-color: var(--accent, #E52421);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.pp-card .material-symbols-rounded {
  font-size: 32px;
  color: var(--accent, #E52421);
  margin-bottom: 10px;
  display: block;
}

.pp-card h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.pp-card p {
  margin: 0;
  color: #6b7280;
  font-size: .95rem;
  line-height: 1.65;
}

.pp-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pp-related-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pp-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, #E52421);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}

.pp-related-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.pp-related-body {
  padding: 16px 18px 20px;
}

.pp-related-body h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.05rem;
  margin: 0 0 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.pp-related-body h3 .arrow {
  color: var(--accent, #E52421);
}

.pp-related-body p {
  margin: 0;
  color: #6b7280;
  font-size: .92rem;
}

.pp-quote {
  margin-top: 54px;
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  border-radius: 18px;
  padding: 38px 30px;
  color: #fff;
}

.pp-quote h2 {
  color: #fff;
  border: 0;
  padding: 0;
  font-size: 1.7rem;
  margin: 0 0 10px;
}

.pp-quote > p {
  color: rgba(255, 255, 255, .92);
  margin: 0 0 24px;
  max-width: 700px;
}

.pp-quote .qf-field label {
  color: #fff;
}

.pp-quote .qf-field input,
.pp-quote .qf-field select,
.pp-quote .qf-field textarea {
  background: #fff;
}

.pp-quote .qf-note,
.pp-quote .qf-file-name {
  color: rgba(255, 255, 255, .85);
}

.pp-quote .btn-quote {
  background: #fff;
  color: var(--primary, #0A2D4F);
}

.pp-quote .btn-quote:hover {
  background: #0A2D4F;
  color: #fff;
}

.pp-quote .qf-success h3 {
  color: #fff;
}

.pp-quote .qf-success p {
  color: rgba(255, 255, 255, .9);
}

.pp-quote .qf-success .material-symbols-rounded {
  color: #fff;
}

.pp-quote .qf-success .btn-quote-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.pp-quote .qf-success .btn-quote-outline:hover {
  background: #fff;
  color: var(--primary, #0A2D4F);
}

@media (max-width: 992px) {
  .pp-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pp-gallery {
    position: relative;
    top: 0;
  }

  .pp-info h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .pp-quickstats {
    grid-template-columns: 1fr;
  }

  .pp-actions .btn-quote {
    width: 100%;
  }

  .pp-section h2 {
    font-size: 1.35rem;
  }
}

.news-featured-body h2 a {
  color: inherit;
  text-decoration: none;
}

.news-featured-body h2 a:hover {
  color: var(--accent, #E52421);
}

.news-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.news-card-body h3 a:hover {
  color: var(--accent, #E52421);
}

/* ============================================================
   News article detail page
   ============================================================ */
.nd-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1200;
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  transition: width .1s linear;
}

.nd-main {
  padding: 44px 20px 70px;
}

.nd-article {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.nd-header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.nd-header h1 {
  color: var(--primary, #0A2D4F);
  font-size: 2.3rem;
  line-height: 1.25;
  margin: 0 0 16px;
}

.nd-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .9rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.nd-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nd-meta .material-symbols-rounded {
  font-size: 18px;
  color: var(--accent, #E52421);
}

.nd-meta .nd-author {
  font-weight: 600;
  color: var(--primary, #0A2D4F);
}

.nd-lead {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
}

.nd-cover {
  margin: 30px 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.nd-cover img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.nd-cover figcaption {
  padding: 12px 16px;
  font-size: .85rem;
  color: #6b7280;
  background: #f9fafb;
  border-top: 1px solid #eef1f5;
}

/* Two-column body */
.nd-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.nd-content {
  min-width: 0;
}

.nd-content h2 {
  color: var(--primary, #0A2D4F);
  font-size: 1.45rem;
  margin: 34px 0 14px;
  border-left: 4px solid var(--accent, #E52421);
  padding-left: 14px;
  scroll-margin-top: 96px;
}

.nd-content h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.15rem;
  margin: 24px 0 10px;
}

.nd-content p {
  color: #374151;
  font-size: 1.02rem;
  line-height: 1.85;
  margin: 0 0 16px;
}

.nd-content a {
  color: var(--accent, #E52421);
  font-weight: 600;
}

.nd-content strong {
  color: var(--primary, #0A2D4F);
}

.nd-content ul.nd-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.nd-content ul.nd-list li {
  position: relative;
  padding: 0 0 0 30px;
  margin-bottom: 10px;
  color: #374151;
  line-height: 1.75;
}

.nd-content ul.nd-list li::before {
  content: "check_circle";
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  color: var(--accent, #E52421);
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 1px;
}

.nd-quote {
  margin: 26px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--accent, #E52421);
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 0 12px 12px 0;
}

.nd-quote p {
  margin: 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--primary, #0A2D4F);
  line-height: 1.75;
}

.nd-callout {
  margin: 26px 0;
  padding: 22px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.nd-callout h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--primary, #0A2D4F);
  font-size: 1.05rem;
}

.nd-callout h4 .material-symbols-rounded {
  color: var(--accent, #E52421);
  font-size: 22px;
}

.nd-callout p {
  margin: 0;
  font-size: .98rem;
}

.nd-inline-media {
  margin: 28px 0;
}

.nd-inline-media img,
.nd-inline-media video {
  width: 100%;
  border-radius: 12px;
  display: block;
  border: 1px solid #e5e7eb;
}

.nd-inline-media video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.nd-inline-media figcaption {
  margin-top: 8px;
  font-size: .85rem;
  color: #6b7280;
  text-align: center;
}

.nd-faq {
  margin-top: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.nd-faq details {
  border-bottom: 1px solid #eef1f5;
}

.nd-faq details:last-child {
  border-bottom: none;
}

.nd-faq summary {
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 600;
  color: var(--primary, #0A2D4F);
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nd-faq summary::-webkit-details-marker {
  display: none;
}

.nd-faq summary::after {
  content: "expand_more";
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 22px;
  color: var(--accent, #E52421);
  transition: transform .2s ease;
}

.nd-faq details[open] summary::after {
  transform: rotate(180deg);
}

.nd-faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: #4b5563;
  font-size: .97rem;
  line-height: 1.75;
}

/* Share + prev/next */
.nd-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #eef1f5;
}

.nd-share-label {
  font-weight: 700;
  color: var(--primary, #0A2D4F);
  font-size: .95rem;
}

.nd-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--primary, #0A2D4F);
  text-decoration: none;
  transition: all .2s ease;
}

.nd-share a:hover {
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.nd-share .material-symbols-rounded {
  font-size: 19px;
}

.nd-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.nd-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}

.nd-nav a:hover {
  border-color: var(--accent, #E52421);
  transform: translateY(-2px);
}

.nd-nav .nd-nav-dir {
  font-size: .8rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.nd-nav .nd-nav-title {
  color: var(--primary, #0A2D4F);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.45;
}

.nd-nav .nd-nav-next {
  text-align: right;
  align-items: flex-end;
}

/* Sidebar */
.nd-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.nd-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.nd-box h4 {
  color: var(--primary, #0A2D4F);
  font-size: 1rem;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nd-box h4 .material-symbols-rounded {
  color: var(--accent, #E52421);
  font-size: 20px;
}

.nd-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.nd-toc li {
  counter-increment: toc;
}

.nd-toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .92rem;
  color: #4b5563;
  text-decoration: none;
  line-height: 1.5;
  transition: background .2s ease, color .2s ease;
}

.nd-toc a::before {
  content: counter(toc) ". ";
  color: var(--accent, #E52421);
  font-weight: 700;
}

.nd-toc a:hover {
  background: var(--bg, #F8F9FC);
  color: var(--primary, #0A2D4F);
}

.nd-toc a.is-active {
  background: rgba(229, 36, 33, .1);
  color: var(--accent, #E52421);
  font-weight: 600;
}

.nd-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.nd-mini-list a {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.nd-mini-list img {
  width: 62px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eef1f5;
}

.nd-mini-list .nd-mini-title {
  color: var(--primary, #0A2D4F);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

.nd-mini-list .nd-mini-title:hover {
  color: var(--accent, #E52421);
}

.nd-mini-list .nd-mini-date {
  font-size: .78rem;
  color: #9ca3af;
}

.nd-side-cta {
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  color: #fff;
  border: none;
}

.nd-side-cta h4,
.nd-side-cta h4 .material-symbols-rounded {
  color: #fff;
}

.nd-side-cta p {
  color: rgba(255, 255, 255, .92);
  font-size: .93rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.nd-side-cta .btn-quote {
  background: #fff;
  color: var(--primary, #0A2D4F);
  width: 100%;
  justify-content: center;
}

.nd-side-cta .btn-quote:hover {
  background: #0A2D4F;
  color: #fff;
}

.nd-side-cta .btn-quote + .btn-quote {
  margin-top: 10px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.nd-side-cta .btn-quote + .btn-quote:hover {
  background: #fff;
  color: var(--primary, #0A2D4F);
}

/* Related articles */
.nd-related {
  max-width: 1100px;
  margin: 60px auto 0;
}

.nd-related > h2 {
  color: var(--primary, #0A2D4F);
  font-size: 1.6rem;
  border-left: 4px solid var(--accent, #E52421);
  padding-left: 14px;
  margin: 0 0 20px;
}

@media (max-width: 992px) {
  .nd-body {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .nd-side {
    position: relative;
    top: 0;
  }

  .nd-header h1 {
    font-size: 1.85rem;
  }

  .nd-cover img {
    height: 260px;
  }
}

@media (max-width: 600px) {
  .nd-main {
    padding: 30px 16px 50px;
  }

  .nd-header h1 {
    font-size: 1.55rem;
  }

  .nd-nav {
    grid-template-columns: 1fr;
  }

  .nd-nav .nd-nav-next {
    text-align: left;
    align-items: flex-start;
  }
}

/* Compact nav dropdown (About menu) */
.dropdown-items-sm {
  min-width: 260px;
}

.dropdown-items-sm a {
  white-space: normal;
  line-height: 1.45;
}

/* ============================================================
   Manufacturing & Quality
   ============================================================ */
.mq-main {
  padding: 50px 20px 70px;
}

.mq-section {
  margin-top: 58px;
}

.mq-section h2 {
  color: var(--primary, #0A2D4F);
  font-size: 1.7rem;
  border-left: 4px solid var(--accent, #E52421);
  padding-left: 14px;
  margin: 0 0 10px;
}

.mq-section p.section-lead {
  text-align: left;
  margin-left: 18px;
  margin-bottom: 28px;
}

.mq-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.mq-intro h2 {
  color: var(--primary, #0A2D4F);
  font-size: 1.7rem;
  border-left: 4px solid var(--accent, #E52421);
  padding-left: 14px;
  margin: 0 0 14px;
}

.mq-intro-copy p {
  color: #4b5563;
  font-size: 1.03rem;
  line-height: 1.85;
  margin: 0 0 14px;
}

.mq-intro-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.mq-intro-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.mq-intro-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: .88rem;
  line-height: 1.45;
  max-width: 220px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.mq-intro-badge strong {
  display: block;
  font-size: 1.4rem;
}

/* Stats */
.mq-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.mq-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.mq-stat .material-symbols-rounded {
  font-size: 30px;
  color: var(--accent, #E52421);
  margin-bottom: 8px;
}

.mq-stat .mq-stat-num {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary, #0A2D4F);
  line-height: 1.2;
}

.mq-stat .mq-stat-label {
  font-size: .9rem;
  color: #6b7280;
}

/* Capabilities */
.mq-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mq-cap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.mq-cap:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}

.mq-cap img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.mq-cap-body {
  padding: 18px;
}

.mq-cap-body h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.mq-cap-body p {
  color: #6b7280;
  font-size: .93rem;
  line-height: 1.7;
  margin: 0;
}

/* Facility gallery */
.mq-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mq-gallery figure {
  margin: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef1f5;
  background: #fff;
}

.mq-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.mq-gallery figure:hover img {
  transform: scale(1.06);
}

.mq-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 10px;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  background: linear-gradient(to top, rgba(10, 45, 79, .92), rgba(10, 45, 79, 0));
}

/* Process timeline */
.mq-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  position: relative;
}

.mq-steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: #e5e7eb;
}

.mq-step {
  position: relative;
  padding: 0 0 26px 62px;
  counter-increment: step;
}

.mq-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(229, 36, 33, .28);
}

.mq-step h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.08rem;
  margin: 8px 0 6px;
}

.mq-step p {
  color: #6b7280;
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}

/* Quality control */
.mq-qc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.mq-qc-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.mq-qc-box h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary, #0A2D4F);
  font-size: 1.1rem;
  margin: 0 0 14px;
}

.mq-qc-box h3 .material-symbols-rounded {
  color: var(--accent, #E52421);
  font-size: 22px;
}

.mq-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mq-checklist li {
  position: relative;
  padding: 0 0 0 30px;
  color: #374151;
  font-size: .96rem;
  line-height: 1.7;
}

.mq-checklist li::before {
  content: "check_circle";
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  color: var(--accent, #E52421);
  position: absolute;
  left: 0;
  top: 1px;
}

.mq-qc-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}

.mq-qc-box th,
.mq-qc-box td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #eef1f5;
  color: #4b5563;
}

.mq-qc-box th {
  color: var(--primary, #0A2D4F);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* Video */
.mq-video {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.mq-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #000;
}

@media (max-width: 992px) {
  .mq-intro,
  .mq-qc {
    grid-template-columns: 1fr;
  }

  .mq-stats,
  .mq-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mq-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mq-section h2 {
    font-size: 1.4rem;
  }

  .mq-stats,
  .mq-cap-grid,
  .mq-gallery {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Certificates & Honors
   ============================================================ */
.cert-main {
  padding: 50px 20px 70px;
}

.cert-section {
  margin-top: 56px;
}

.cert-section h2 {
  color: var(--primary, #0A2D4F);
  font-size: 1.7rem;
  border-left: 4px solid var(--accent, #E52421);
  padding-left: 14px;
  margin: 0 0 10px;
}

.cert-section p.section-lead {
  text-align: left;
  margin-left: 18px;
  margin-bottom: 28px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
}

/* Certificate thumbnail placeholder */
.cert-thumb {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f4f7fb 0%, #e8edf5 100%);
  border-bottom: 1px solid #eef1f5;
  overflow: hidden;
}

.cert-thumb::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(10, 45, 79, .16);
  border-radius: 6px;
}

.cert-thumb::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -50px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(229, 36, 33, .08);
}

.cert-thumb img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert-thumb .material-symbols-rounded {
  font-size: 58px;
  color: var(--primary, #0A2D4F);
  opacity: .85;
  z-index: 1;
}

.cert-thumb .material-symbols-rounded.cert-zoom {
  font-size: 18px;
}

.cert-thumb .cert-seal {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--accent, #E52421);
  background: #fff;
  border: 1px solid rgba(229, 36, 33, .35);
  border-radius: 20px;
  padding: 4px 10px;
}

.cert-thumb .cert-zoom {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity .2s ease;
}

.cert-card:hover .cert-zoom {
  opacity: 1;
}

.cert-card-body {
  padding: 16px 18px 20px;
}

.cert-card-body h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.02rem;
  margin: 0 0 8px;
  line-height: 1.4;
}

.cert-card-body p {
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.65;
  margin: 0 0 10px;
}

.cert-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: #9ca3af;
}

.cert-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cert-meta .material-symbols-rounded {
  font-size: 15px;
  color: var(--accent, #E52421);
}

/* Honors timeline */
.cert-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.cert-timeline li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.cert-timeline .cert-year {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent, #E52421);
}

.cert-timeline h3 {
  color: var(--primary, #0A2D4F);
  font-size: 1.02rem;
  margin: 0 0 6px;
}

.cert-timeline p {
  color: #6b7280;
  font-size: .93rem;
  line-height: 1.7;
  margin: 0;
}

/* Partners */
.cert-partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cert-partner {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  transition: border-color .2s ease;
}

.cert-partner:hover {
  border-color: var(--accent, #E52421);
}

.cert-partner img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.cert-partner span {
  display: block;
  margin-top: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary, #0A2D4F);
}

/* Verification note */
.cert-note {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px dashed #d7dde5;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
  font-size: .93rem;
  line-height: 1.75;
}

.cert-note strong {
  color: var(--primary, #0A2D4F);
}

/* Lightbox */
.lb-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(10, 20, 35, .86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lb-modal[hidden] {
  display: none;
}

.lb-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62vh;
  min-height: 300px;
  max-height: 620px;
  background: #f1f5f9;
}

.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lb-info {
  padding: 18px 72px 22px;
  text-align: center;
}

.lb-counter {
  display: block;
  font-size: .82rem;
  color: #9ca3af;
  margin-bottom: 6px;
}

.lb-caption {
  margin: 0;
  color: var(--primary, #0A2D4F);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
}

.lb-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--primary, #0A2D4F);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  transition: background .2s ease, color .2s ease;
}

.lb-nav:hover {
  background: var(--accent, #E52421);
  color: #fff;
}

.lb-nav[hidden] {
  display: none;
}

.lb-prev {
  left: 14px;
}

.lb-next {
  right: 14px;
}

.lb-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--primary, #0A2D4F);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  transition: background .2s ease, color .2s ease;
}

.lb-close:hover {
  background: var(--accent, #E52421);
  color: #fff;
}

[data-lightbox] img {
  cursor: zoom-in;
}

@media (max-width: 600px) {
  .lb-modal {
    padding: 14px;
  }

  .lb-stage {
    height: 44vh;
    min-height: 200px;
  }

  .lb-info {
    padding: 14px 20px 18px;
  }

  .lb-nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 992px) {
  .cert-grid,
  .cert-partners {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cert-section h2 {
    font-size: 1.4rem;
  }

  .cert-grid,
  .cert-partners {
    grid-template-columns: 1fr;
  }

  .cert-timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ============================================================
   通用模块卡片（_modules.html 默认 cards 样式，所有页面可用）
   ============================================================ */
.module-cards {
  max-width: var(--max-width, 1200px);
  margin: 40px auto;
  padding: 0 20px;
}

.module-cards h2 {
  font-size: 1.7rem;
  border-left: 4px solid var(--accent, #E52421);
  padding-left: 12px;
  margin: 0 0 10px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0 0;
}

.benefit-card {
  background: var(--white, #fff);
  padding: 25px;
  border-radius: var(--radius, 12px);
  border-top: 3px solid var(--accent, #E52421);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.benefit-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  color: var(--primary, #0A2D4F);
  font-weight: 700;
}

.benefit-card h3 .material-symbols-rounded {
  font-size: 26px;
}

.benefit-card p {
  font-size: 1rem;
  color: var(--text, #4b5563);
  margin: 10px 0 0;
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Rich-text baseline for content rendered by the editor (|raw)
   Global reset (* { margin:0; padding:0 }) kills default
   browser spacing for lists, so editor content needs this.
   Wrap generated content in .rich-text (or .content-section).
   ============================================================ */
.rich-text,
.content-section {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.85;
}

.rich-text h2,
.rich-text h3,
.rich-text h4,
.content-section h2,
.content-section h3,
.content-section h4 {
  color: var(--primary, #0A2D4F);
  line-height: 1.35;
}

.rich-text h2,
.content-section h2 {
  font-size: 1.6rem;
  margin: 0 0 14px;
}

.rich-text h3,
.content-section h3 {
  font-size: 1.2rem;
  margin: 26px 0 10px;
}

.rich-text h4,
.content-section h4 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
}

.rich-text p,
.content-section p {
  margin: 0 0 14px;
}

.rich-text ul,
.rich-text ol,
.content-section ul,
.content-section ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.rich-text ul,
.content-section ul {
  list-style: disc;
}

.rich-text ol,
.content-section ol {
  list-style: decimal;
}

.rich-text li,
.content-section li {
  margin-bottom: 8px;
}

.rich-text li ul,
.rich-text li ol,
.content-section li ul,
.content-section li ol {
  margin: 8px 0 0;
}

.rich-text a,
.content-section a {
  color: var(--accent, #E52421);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 36, 33, .35);
  overflow-wrap: anywhere;
}

.rich-text a:hover,
.content-section a:hover {
  color: var(--primary, #0A2D4F);
  border-bottom-color: var(--primary, #0A2D4F);
}

.rich-text strong,
.content-section strong {
  color: var(--primary, #0A2D4F);
}

.rich-text img,
.content-section img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 18px 0;
}

.rich-text blockquote,
.content-section blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--accent, #E52421);
  background: #f9fafb;
  border-radius: 0 10px 10px 0;
  color: var(--primary, #0A2D4F);
}

.rich-text hr,
.content-section hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 26px 0;
}

.rich-text table,
.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: .95rem;
  background: #fff;
}

.rich-text th,
.rich-text td,
.content-section th,
.content-section td {
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  text-align: left;
  line-height: 1.7;
}

.rich-text th,
.content-section th {
  background: #f9fafb;
  color: var(--primary, #0A2D4F);
  font-weight: 700;
}

/* ============================================================
   Single image block module (后台「单图大图」模块)
   ============================================================ */
.module-image-figure {
  margin: 18px 0;
}

.module-image-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.module-image-figure figcaption {
  margin-top: 10px;
  font-size: .9rem;
  color: #6b7280;
  text-align: center;
}

/* 带阴影卡片 */
.module-image-shadow img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* 通栏满宽：突破 .container 宽度（html/body 已 overflow-x:hidden） */
.module-image-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.module-image-full img {
  border-radius: 0;
}

/* ============================================================
   Chip types block module (后台「芯片类型卡片」模块)
   红蓝渐变底板上展示芯片型号 / 容量 / 用途的卡片矩阵
   ============================================================ */
.chip-types {
  background: linear-gradient(135deg, #0A2D4F 0%, #7a1e2e 55%, var(--accent, #E52421) 100%);
  border-radius: 18px;
  padding: 42px 34px;
  color: #fff;
  margin: 34px 0;
}

.chip-types h2 {
  text-align: center;
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 30px;
}

.chip-types .chip-types-lead {
  text-align: center;
  color: rgba(255, 255, 255, .85);
  max-width: 720px;
  margin: -18px auto 28px;
  line-height: 1.7;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.chip-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 20px 18px;
  transition: background .2s ease, transform .2s ease;
}

.chip-card:hover {
  background: rgba(255, 255, 255, .16);
  transform: translateY(-3px);
}

.chip-name {
  color: #FFD34D;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.chip-memory {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  margin: 0 0 8px;
}

.chip-use {
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .chip-types {
    padding: 30px 20px;
  }

  .chip-types h2 {
    font-size: 1.5rem;
  }

  .chip-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Numbered benefit cards (后台「图标卡片组 - 编号卡片」变体)
   红框序号徽章，序号按条目顺序自动生成
   ============================================================ */
.benefit-card-numbered h3 .benefit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent, #E52421);
  border-radius: 6px;
  color: var(--accent, #E52421);
  font-size: .95rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}

/* ============================================================
   Process flow block module (后台「流程步骤条」模块)
   渐变底板上的流程步骤卡片，序号自动生成
   ============================================================ */
.module-process-flow {
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  color: #fff;
  padding: 50px 30px;
  border-radius: 18px;
  margin: 40px 0;
}

.module-process-flow h2 {
  color: #fff;
  text-align: center;
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 34px;
  border: none;
  padding: 0;
}

.module-process-flow .process-lead {
  text-align: center;
  color: rgba(255, 255, 255, .88);
  max-width: 720px;
  margin: -16px auto 28px;
  line-height: 1.7;
}

.module-process-flow .process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.module-process-flow .process-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
}

.module-process-flow .process-number {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  line-height: 1.1;
}

.module-process-flow .process-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.module-process-flow .process-desc {
  font-size: .95rem;
  opacity: .95;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   Use cases block module (后台「应用场景网格」模块)
   渐变底板上的应用场景卡片（图标 + 标签 + 标题 + 说明）
   ============================================================ */
.module-use-cases {
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  color: #fff;
  padding: 50px 30px;
  border-radius: 18px;
  margin: 40px 0;
}

.module-use-cases h2 {
  color: #fff;
  text-align: center;
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 34px;
  border: none;
}

.module-use-cases .use-cases-lead {
  text-align: center;
  color: rgba(255, 255, 255, .88);
  max-width: 720px;
  margin: -16px auto 28px;
  line-height: 1.7;
}

.module-use-cases .use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.module-use-cases .use-case-item {
  padding: 25px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.module-use-cases .use-case-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}

.module-use-cases .use-case-icon .material-symbols-rounded {
  color: #fff;
}

.module-use-cases .use-case-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.module-use-cases .use-case-desc {
  font-size: .95rem;
  opacity: .95;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   ECO products showcase block module (后台「环保产品展示」模块)
   渐变底板上的图片产品卡（图片 + 标题 + 说明）
   ============================================================ */
.module-eco-products {
  background: var(--white, #fff);
  padding: 50px 20px;
  border-radius: 18px;
  margin: 40px 0;
}

.module-eco-products h2 {
  text-align: center;
  color: var(--primary, #0A2D4F);
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 30px;
  border: none;
  padding: 0;
}

.module-eco-products .products-grid-eco {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.module-eco-products .product-item {
  position: relative;
  background: var(--grad, linear-gradient(90deg, #0A2D4F, #E52421));
  padding: 20px;
  border-radius: 10px;
  transition: transform .3s ease;
}

.module-eco-products .product-item:hover {
  transform: scale(1.02);
}

.module-eco-products .product-item .product-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.module-eco-products .product-item h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 14px 0 8px;
}

.module-eco-products .product-item p {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, .92);
  font-size: .95rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 600px) {
  .module-process-flow,
  .module-use-cases {
    padding: 30px 20px;
  }

  .module-process-flow h2,
  .module-use-cases h2,
  .module-eco-products h2 {
    font-size: 1.5rem;
  }

  .module-process-flow .process-grid,
  .module-use-cases .use-cases-grid,
  .module-eco-products .products-grid-eco {
    grid-template-columns: 1fr;
  }
}
