.photomask-blank-catalog-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.photomask-blank-catalog-heading h2,
.photomask-blank-stages h2,
.photomask-blank-choice h2,
.photomask-blank-inquiry h2,
.photomask-blank-definition h2,
.photomask-blank-features h2,
.photomask-blank-process h2,
.photomask-customization h2,
.photomask-related-route h2 {
  color: #171717;
  font-weight: 500;
  letter-spacing: 0;
}

.photomask-blank-catalog-heading p:not(.section-label) {
  max-width: 72ch;
  margin: 10px 0 0;
  color: #171717;
  font-size: 16px;
  line-height: 1.7;
}

.photomask-blank-catalog .feature-catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 26px;
}

.photomask-blank-catalog .feature-catalog-title {
  font-size: 20px;
}

.photomask-blank-catalog .product-card-description {
  max-width: 44ch;
}

.photomask-stage-grid,
.photomask-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  background: #dfe3e8;
}

.photomask-stage-grid li,
.photomask-process-grid li {
  min-height: 190px;
  padding: 24px;
  background: #f0f0f0;
}

.photomask-stage-grid span,
.photomask-process-grid span {
  display: block;
  margin-bottom: 24px;
  color: #0050a4;
  font-size: 13px;
  letter-spacing: .08em;
}

.photomask-stage-grid h3,
.photomask-process-grid h3 {
  margin: 0 0 10px;
  color: #171717;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.photomask-stage-grid p,
.photomask-process-grid p {
  margin: 0;
  color: #171717;
  font-size: 15px;
  line-height: 1.65;
}

.photomask-blank-choice .selection-table-scroll,
.photomask-customization .selection-table-scroll {
  margin-top: 28px;
  overflow-x: auto;
}

.photomask-blank-choice .selection-table,
.photomask-customization .selection-table {
  min-width: 900px;
}

.photomask-blank-choice .selection-table :is(th, td),
.photomask-customization .selection-table :is(th, td) {
  vertical-align: top;
  padding: 18px 20px;
  line-height: 1.6;
}

.photomask-blank-inquiry .category-detail,
.photomask-blank-definition .category-detail,
.photomask-blank-features .category-detail,
.photomask-inquiry .category-detail {
  align-items: start;
}

.photomask-blank-definition p:not(.section-label),
.photomask-blank-inquiry p:not(.section-label),
.photomask-inquiry p:not(.section-label) {
  max-width: 68ch;
  color: #171717;
  font-size: 17px;
  line-height: 1.75;
}

.photomask-blank-features .plain-list,
.photomask-blank-inquiry .plain-list,
.photomask-inquiry .plain-list {
  max-width: 68ch;
}

.photomask-blank-process .section-header {
  max-width: 760px;
}

.photomask-related-route .related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin-top: 24px;
}

.photomask-related-route .related-link {
  min-height: 52px;
  border: 0;
  background: #f0f0f0;
  color: #0050a4;
}

@media (max-width: 900px) {
  .photomask-stage-grid,
  .photomask-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .photomask-blank-catalog .feature-catalog-grid,
  .photomask-stage-grid,
  .photomask-process-grid,
  .photomask-related-route .related-grid {
    grid-template-columns: 1fr;
  }

  .photomask-stage-grid li,
  .photomask-process-grid li {
    min-height: 0;
    padding: 20px;
  }

  .photomask-stage-grid span,
  .photomask-process-grid span {
    margin-bottom: 16px;
  }

  .photomask-blank-choice .selection-table,
  .photomask-customization .selection-table {
    min-width: 0;
    display: block;
  }

  .photomask-blank-choice .selection-table thead,
  .photomask-customization .selection-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .photomask-blank-choice .selection-table tbody,
  .photomask-customization .selection-table tbody {
    display: grid;
    gap: 14px;
  }

  .photomask-blank-choice .selection-table tr,
  .photomask-customization .selection-table tr {
    display: block;
    padding: 18px;
    background: #f0f0f0;
  }

  .photomask-blank-choice .selection-table :is(th, td),
  .photomask-customization .selection-table :is(th, td) {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .photomask-blank-choice .selection-table td,
  .photomask-customization .selection-table td {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photomask-stage-grid li,
  .photomask-process-grid li {
    animation: none;
  }
}

/* Engineering selection guide: two columns, no comparison-table columns. */
.photomask-blank-choice { scroll-margin-top: 110px; }
.photomask-blank-choice .section-header { max-width: 800px; }
.blank-choice-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px 36px; margin-top:40px; }
.blank-choice-card { min-width:0; display:flex; flex-direction:column; align-items:stretch; }
.photomask-blank-choice .blank-choice-card h3 { margin:0 0 20px; font-size:24px; line-height:1.35; font-weight:400; color:#171717; letter-spacing:0; }
.blank-layer-figure { position:relative; width:100%; aspect-ratio:480 / 260; margin:0; border-radius:12px; background:#F0F0F0; }
.blank-layer-figure svg { display:block; width:100%; height:100%; }
.blank-layer-label { position:absolute; left:55%; right:3%; top:var(--label-y); transform:translateY(-50%); font-size:14px; line-height:1.3; color:#171717; }
.blank-dimension-label { position:absolute; top:85%; left:7.08%; width:38.75%; text-align:center; font-size:13px; line-height:1.3; color:#0050A4; }
.blank-choice-description { margin:20px 0 22px; font-size:16px; line-height:1.65; color:#171717; }
.photomask-blank-choice .blank-choice-link { align-self:flex-start; margin-top:auto; min-height:44px; font-size:16px; line-height:1.5; color:#0050A4; }
.blank-choice-link:focus-visible { outline:2px solid #0050A4; outline-offset:5px; border-radius:3px; }
.blank-choice-notes { margin-top:40px; max-width:80ch; }
.blank-choice-notes p { margin:0 0 8px; color:#171717; font-size:15px; line-height:1.65; }
.blank-choice-notes p:last-child { color:#626B75; font-size:13px; }
@media (min-width:601px) and (max-width:1100px) {
  .blank-choice-list { gap:40px 28px; }
  .photomask-blank-choice .blank-choice-card h3 { min-height:2.7em; font-size:22px; }
  .blank-layer-label { font-size:13px; }
}
@media (max-width:600px) {
  .blank-choice-list { grid-template-columns:minmax(0,1fr); gap:40px; margin-top:28px; }
  .photomask-blank-choice .blank-choice-card h3 { font-size:22px; margin-bottom:16px; }
  .blank-layer-label { font-size:13px; }
  .blank-choice-description { margin-top:16px; }
}
