/* Shared styles for honor / partner / channel / energy / product-detail */

.subpage-hero {
  padding: 56px 0 48px;
  color: #17243b;
  background: linear-gradient(180deg, #f3f8ff, #fff 72%);
}

.subpage-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #8490a2;
  font-size: 14px;
}

.subpage-crumb a {
  color: #576579;
}

.subpage-crumb a:hover {
  color: #0767FC;
}

.subpage-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #17243b;
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 700;
  line-height: 1.35;
}

.subpage-hero .sub {
  max-width: 760px;
  margin: 14px 0 0;
  color: #696969;
  font-size: 16px;
  line-height: 1.8;
}

.subpage-hero .hero-actions {
  margin-top: 24px;
}

.subpage-section {
  padding: 64px 0;
}

.subpage-section.is-soft {
  background: #f7fbff;
}

.subpage-note {
  margin: 16px 0 0;
  color: #8490a2;
  font-size: 13px;
  line-height: 1.7;
}

.subpage-grid {
  display: grid;
  gap: 18px;
}

.subpage-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subpage-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subpage-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.subpage-grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.subpage-grid.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.subpage-card {
  padding: 24px 22px;
  border: 1px solid #E4E8EF;
  border-radius: 14px;
  background: #F3F9FF;
}

.subpage-card.is-center {
  text-align: center;
}

.subpage-card.is-hot {
  border-color: #c8daf8;
  background: #fff;
  box-shadow: 0 10px 28px #0b31540b;
}

.subpage-card h3 {
  margin: 0 0 10px;
  color: #1d2b42;
  font-size: 17px;
  line-height: 1.45;
}

.subpage-card p {
  margin: 0;
  color: #6b7789;
  font-size: 14px;
  line-height: 1.75;
}

.subpage-card .num {
  margin-bottom: 8px;
  color: #0767FC;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.subpage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.subpage-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8eef8;
  color: #576579;
  font-size: 12px;
}

.subpage-tags span.is-green {
  background: #dcfaed;
  color: #0acf76;
}

.subpage-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.subpage-stats article {
  padding: 22px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #E4E8EF;
  text-align: center;
}

.subpage-stats strong {
  display: block;
  margin-bottom: 8px;
  color: #0767FC;
  font-size: 28px;
  font-weight: 800;
}

.subpage-stats span {
  color: #6b7789;
  font-size: 14px;
}

.subpage-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.subpage-cert-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #E4E8EF;
  border-radius: 12px;
  background: #fff;
}

.subpage-cert-grid img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.subpage-cert-grid figcaption {
  padding: 12px;
  color: #6b7789;
  font-size: 13px;
  text-align: center;
}

.subpage-logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.subpage-logo-wall img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: contain;
  padding: 12px;
  border: 1px solid #E4E8EF;
  border-radius: 10px;
  background: #fff;
}

.subpage-table-wrap {
  overflow-x: auto;
}

.subpage-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.subpage-table th,
.subpage-table td {
  padding: 12px 14px;
  border: 1px solid #e8eef8;
  color: #576579;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.subpage-table th {
  background: #F3F9FF;
  color: #1d2b42;
  font-weight: 600;
}

.subpage-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}

.channel-form label {
  display: block;
  margin: 0 0 8px;
  color: #1d2b42;
  font-size: 14px;
  font-weight: 600;
}

.channel-form label i {
  color: #e5484d;
  font-style: normal;
}

.channel-form input,
.channel-form select,
.channel-form textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #E4E8EF;
  border-radius: 8px;
  color: #1d2b42;
  font: inherit;
  background: #fff;
}

.channel-form textarea {
  min-height: 110px;
  resize: vertical;
}

.product-detail-visual {
  margin: 0 0 28px;
}

.product-detail-visual img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
}

.product-detail-visual figcaption {
  margin-top: 10px;
  color: #8490a2;
  font-size: 14px;
  text-align: center;
}

.product-feature-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.product-feature-shots figure {
  margin: 0;
}

.product-feature-shots img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.product-feature-shots figcaption {
  margin-top: 8px;
  color: #8490a2;
  font-size: 13px;
  text-align: center;
}

.energy-arch-stack {
  display: grid;
  gap: 14px;
}

.energy-arch-stack article {
  padding: 22px 24px;
  border: 1px solid #E4E8EF;
  border-radius: 14px;
  background: #F3F9FF;
}

.energy-arch-stack article.is-hot {
  background: #fff;
  border-color: #c8daf8;
  box-shadow: 0 10px 28px #0b31540b;
}

.energy-arch-stack h3 {
  margin: 0 0 8px;
  color: #1d2b42;
  font-size: 18px;
}

.energy-arch-stack p {
  margin: 0;
  color: #6b7789;
  font-size: 15px;
  line-height: 1.75;
}

.energy-value {
  background: linear-gradient(120deg, #071637, #0a2a6a);
  color: #fff;
}

.energy-value .section-heading .eyebrow,
.energy-value .section-heading h2,
.energy-value .section-heading .section-subtitle {
  color: #fff;
}

.energy-value .heading-rule {
  background: linear-gradient(90deg, #16ed8c, transparent);
}

.energy-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.energy-value-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.energy-value-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.energy-value-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .subpage-grid.g4,
  .subpage-grid.g5,
  .subpage-grid.g6,
  .subpage-cert-grid,
  .subpage-logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .subpage-grid.g2,
  .subpage-grid.g3,
  .subpage-grid.g4,
  .subpage-stats,
  .subpage-split,
  .energy-value-grid,
  .product-feature-shots {
    grid-template-columns: 1fr;
  }

  .subpage-cert-grid,
  .subpage-logo-wall,
  .subpage-grid.g5,
  .subpage-grid.g6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .subpage-cert-grid,
  .subpage-logo-wall {
    grid-template-columns: 1fr;
  }
}
