/* SCHOTT B270 optical crown glass substrates: reuse the approved
   JGS-3 / black-chrome typography and the dark v2 specification
   treatment, now with the supplied 1:1 product photograph.
   Do not change sister material pages. */

.b270-product .line-scale-v2-hero-media {
  background: transparent;
  overflow: visible;
}
.b270-product .line-scale-v2-hero-media img {
  object-fit: contain;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero,
body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero {
  padding-top: 36px;
  padding-bottom: 40px;
  background: #fff;
}

body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero-grid,
body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero-grid {
  align-items: center;
  justify-content: start;
}

/* Title, short definition and buttons form one left-aligned group,
   vertically centered as a whole to the hero image, on the page
   content edge (not centered in leftover column space). */
body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero-copy,
body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero-copy,
body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero-media,
body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero-media {
  align-self: center;
  text-align: left;
  padding-bottom: 0;
}

body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero-copy h1,
body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero-copy h1 {
  margin: 0 0 20px;
  max-width: none;
  color: #171717;
  font-size: var(--content-title-size, var(--site-title-size, 44px));
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero-copy .line-scale-v2-lead,
body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero-copy .line-scale-v2-lead {
  margin: 0;
  max-width: 46ch;
  color: #171717;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.b270-product .line-scale-v2-hero-copy .line-scale-v2-actions {
  margin-top: 28px;
}

.b270-product .jgs3-overview p,
.b270-product .line-scale-v2-overview p {
  max-width: 88ch;
}

.b270-product .line-scale-v2-overview .line-scale-v2-metrics {
  margin-top: 36px;
}

.b270-product .line-scale-v2-applications a,
.b270-product .line-scale-v2-control a,
.b270-compare a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.b270-compare {
  background: #2D2D2D;
  color: #fff;
  padding-block: 60px;
}

.b270-compare .line-scale-v2-section-head h2,
.b270-compare .line-scale-v2-section-head p {
  color: #fff;
}

.b270-compare .line-scale-v2-section-head p {
  color: rgba(255, 255, 255, 0.82);
}

.b270-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
}

.b270-compare-scroll .b270-compare-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  background: transparent;
}

.b270-compare-table :is(th, td) {
  color: #fff;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
}

.b270-compare-table thead th {
  font-weight: 500;
  color: #fff;
  background: transparent;
  padding-inline: 16px 12px;
}

body:not(.home-glass) #main .b270-compare-table,
body:not(.home-glass) #main .b270-compare-table thead,
body:not(.home-glass) #main .b270-compare-table tbody tr:nth-child(even) {
  background: transparent;
}

.b270-compare-table tbody th {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  width: 22%;
}

body:not(.home-glass) #main .b270-compare-table :is(th, td),
body:not(.home-glass) #main .b270-compare-table thead th,
body:not(.home-glass) #main .b270-compare-table tbody th {
  color: #fff;
  background: transparent;
}

body:not(.home-glass) #main .b270-compare-table tbody th {
  color: rgba(255, 255, 255, 0.82);
}

.b270-product .line-scale-v2-control .b270-customize-copy {
  max-width: 88ch;
  font-size: 16px;
  line-height: 1.6;
  color: #171717;
}

.b270-product .line-scale-v2-control .b270-customize-copy p + p {
  margin-top: 16px;
}

.b270-trademark-note {
  margin-top: 24px;
  max-width: 88ch;
  color: #626B75;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero-copy h1,
  body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero-copy h1 {
    font-size: 36px;
  }
}

@media (max-width: 800px) {
  .b270-compare { padding-block: 42px; }
  body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero,
  body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero {
    padding-top: 28px;
    padding-bottom: 32px;
  }
}

@media (max-width: 700px) {
  body.site-detail-layout[data-page] #main .b270-product .line-scale-v2-hero-copy h1,
  body[data-page="products"][data-page] #main .b270-product .line-scale-v2-hero-copy h1 {
    font-size: 32px;
  }
}

/* Keep comparison copy readable against its existing dark specification band. */
body:not(.home-glass) #main .b270-compare .line-scale-v2-section-head :is(p, a) {
  color: #fff;
}
