/* =========================================
   平板设备专属样式 (Min: 768px, Max: 1024px)
========================================= */

body {
  font-size: 16px;
}

.screen1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.header {
  padding: 8px;
}

.header-content .branding {
  flex-direction: row;
  align-items: center;
}

.header .header-content .branding .logo {
  width: clamp(50px, 2.5vw, 70px);
}

.header .header-content .branding-text {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  text-align: center !important;
  width: 200px;
  max-width: 100%;
  margin-left: 0.3rem;
}

.header .header-content .branding-text h1 {
  letter-spacing: 0.18em !important; 
  white-space: nowrap;
}

.header .header-content .branding-text .visually-hidden {
  font-size: clamp(1.5rem, 2vw, 1.6rem);
}

.header .header-content .branding-text .branding-sub {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
}

.header .header-content .company-intro .intro-text {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

.navbar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar ul li { margin: 0 0.5em; }

.navbar ul li a {
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  padding: 0.4em 0.8em;
}

.screen1 .banner {
  height: calc(100vw * 0.5);
}

.banner-description {
  font-size: 1rem;
}

.screen2 .about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.about-cards .card {
  flex: 1 1 clamp(250px, 30vw, 350px);
  min-height: clamp(320px, 45vh, 380px);
  max-width: calc(33.333% - 1rem);
  margin: 1rem auto;
}

.about-cards .card img {
  height: auto;
  max-height: 300px;
  object-fit: cover;
  max-width: 100%;
}

.about-cards .card-content {
  padding: clamp(0.8rem, 2vw, 1.2rem);
}

.card-content h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  margin-bottom: clamp(0.6rem, 1.5vw, 1rem);
}

.card-content p {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  margin-bottom: clamp(0.8rem, 2vw, 1.2rem);
}

#products {
  display: flex;
  width: 98vw;
  height: 55vh;
}

#product-title .sidebar {
  width: 22%;
  max-width: 22%;
  font-size: 0.85rem;
  padding: 5px;
}

#product-title .table-content {
  width: 78%;
  height: 100%;
  overflow-y: auto;
  overflow-x: auto;
  table-layout: fixed;
}

#product-title .scroll-container {
  height: 100%;
  overflow-y: auto;
}

#product-title .table-container {
  height: auto;
  table-layout: fixed;
}

#product-title .breadcrumb {
  font-size: 0.8rem;
  white-space: wrap;
  text-overflow: ellipsis;
}

#product-title .image-container {
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
}

.image-frame {
  flex: 0 1 100%;
  height: auto;
}

#product-title .image-frame img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  margin: 5px;
  object-fit: contain;
  overflow-y: auto;
}

.certificate-content-wrapper {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.certificat-container {
  flex: 0 0 100%;
  margin-bottom: 1rem;
}

.certificate-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  text-align: center;
  align-items: center;
  object-fit: contain;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
}

.certificate-images { gap: 1rem; }

.text-list li {
  text-align: left;
  font-size: 0.9rem;
}

.services-images-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5em;
  padding: 1em;
  justify-items: stretch;
  align-content: stretch;
  align-items: stretch;
}

.services-images-grid img {
  height: 220px;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

.project-case { padding: 1rem; }
.carousel-slide p { font-size: 1rem; line-height: 1.6; }
.project-case h4 { font-size: 1rem; margin-top: 0.5rem; }

.project-images {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  grid-template-rows: repeat(2, auto);
  gap: 15px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.project-images img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
}

.more-customers h2 { font-size: 1.5rem; margin-bottom: 15px; }

#customers p {
  word-wrap: break-word;
  word-break: break-word;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 10px;
}

.customer-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
  padding: 15px;
  width: 90%;
  max-width: 95%;
}

.customer-logos img {
  width: 70px;
  max-width: 100%;
  max-height: 70px;
  padding: 3px;
}

.screen7 { padding: 30px 15px; max-width: 100%; }
.more-customers { margin-bottom: 1rem; }

.contact-cards {
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.contact-card {
  width: 95%;
  margin: 0 auto;
  padding: 1rem;
}

.contact-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 10px;
}

.contact-note { font-size: 1rem; }
.footer { font-size: 0.85rem; padding: 1rem 0; }
.footer-content { padding: 0 2rem; }