/* Shared article template: one rhythm for every journal story. */
body.article-page .post-page {
  min-height: 65vh;
  padding: clamp(44px, 7vw, 88px) 0 clamp(72px, 8vw, 104px);
  background: linear-gradient(180deg, #eef4f1 0%, #f7faf8 56%, #fff 100%);
}

body.article-page .post-article {
  width: min(calc(100% - 48px), 1040px);
  max-width: 1040px;
  margin-inline: auto;
}

body.article-page .post-back {
  margin-bottom: clamp(28px, 4vw, 42px);
}

body.article-page .post-label {
  margin-bottom: 12px;
  color: #347d67;
  font-size: 10px;
  letter-spacing: .15em;
}

body.article-page .post-article h1 {
  max-width: 940px;
  margin: 0 0 18px;
  color: #032c70;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: .98;
  letter-spacing: .02em;
  text-wrap: balance;
}

body.article-page .post-article .post-deck {
  max-width: 780px;
  margin: 0 0 22px;
  color: #0c5279;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.65;
}

body.article-page .post-byline {
  gap: 11px;
  margin: 0 0 28px;
  color: #0c5279;
  font-size: 13px;
  line-height: 1.55;
}

body.article-page .post-author-avatar {
  width: 40px;
  height: 40px;
}

body.article-page .post-article .post-feature {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0 0 32px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(7, 55, 99, .14);
  border-radius: 14px;
  background: #f3f6f5;
  box-shadow: 0 15px 42px rgba(7, 55, 99, .1);
}

body.article-page .post-article .post-feature-zoom {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 32px;
  overflow: hidden;
  border: 1px solid rgba(7, 55, 99, .14);
  border-radius: 14px;
  background: #f3f6f5;
  box-shadow: 0 15px 42px rgba(7, 55, 99, .1);
}

body.article-page .post-article .post-feature-zoom > .post-feature {
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

body.article-page .post-article figure:is(.bending-feature-figure, .corrosion-feature, .ip-ratings-feature, .powder-feature-figure) {
  margin: 0 0 32px;
}

body.article-page .post-article figure:is(.bending-feature-figure, .corrosion-feature, .ip-ratings-feature, .powder-feature-figure) > .post-feature-zoom {
  margin-bottom: 0;
}

body.article-page .post-article figure:is(.corrosion-feature, .ip-ratings-feature) > .post-feature {
  margin-bottom: 0;
}

body.article-page .post-article figure:is(.corrosion-feature, .ip-ratings-feature) figcaption {
  margin-top: 11px;
  color: #506773;
  font-size: 13px;
  line-height: 1.55;
}

body.article-page .post-rule {
  margin: 0 0 32px;
}

body.article-page .post-body,
body.article-page .powder-post-body {
  max-width: 780px;
  color: #0c5279;
  font-size: 17px;
  line-height: 1.78;
}

body.article-page .post-body .post-lead {
  margin-top: 0;
  color: #032c70;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
  font-weight: 600;
}

body.article-page .post-body > h2,
body.article-page .post-body > h3 {
  margin: 32px 0 11px;
  color: #032c70;
}

body.article-page .post-body > h2 {
  font: 400 clamp(30px, 3.5vw, 38px)/1 'Bebas Neue', Impact, sans-serif;
  letter-spacing: .02em;
}

body.article-page .post-body > h3 {
  font-size: 19px;
  line-height: 1.35;
}

body.article-page .post-body :is(p, ul, ol, blockquote) {
  margin-top: 0;
  margin-bottom: 1.1em;
}

body.article-page .post-body li {
  margin-bottom: .55em;
}

body.article-page .post-article :is(.bending-table-wrap, .corrosion-table-wrap, .post-data-table-wrap, .powder-table-wrap) {
  max-width: 100%;
  margin: 20px 0 26px;
  overflow-x: auto;
  border: 1px solid rgba(7, 55, 99, .15);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 55, 99, .055);
  -webkit-overflow-scrolling: touch;
}

body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #173a4a;
  font-size: 14px;
  line-height: 1.55;
}

body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) caption {
  padding: 14px 16px;
  color: #032c70;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) :is(th, td) {
  padding: 12px 14px;
  border: 1px solid #d5e0e5;
  text-align: left;
  vertical-align: top;
}

body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) thead th {
  background: #205367;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) tbody th {
  color: #032c70;
  font-weight: 700;
}

body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) tbody tr:nth-child(even) {
  background: #f0f4f5;
}

body.article-page .post-share,
body.article-page .post-rating,
body.article-page .post-end {
  max-width: 780px;
}

body.article-page .post-share {
  margin-top: 38px;
}

html[data-theme-scope="article"][data-theme="dark"] body.article-page .post-page {
  background: linear-gradient(180deg, #091321 0%, #0b1725 58%, #091321 100%) !important;
}

html[data-theme-scope="article"][data-theme="dark"] body.article-page .post-article :is(.bending-table-wrap, .corrosion-table-wrap, .post-data-table-wrap, .powder-table-wrap) {
  border-color: rgba(184, 199, 213, .22);
  background: #101c2b;
}

html[data-theme-scope="article"][data-theme="dark"] body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) {
  color: #c4d1df;
}

html[data-theme-scope="article"][data-theme="dark"] body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) :is(th, td) {
  border-color: rgba(184, 199, 213, .16);
}

html[data-theme-scope="article"][data-theme="dark"] body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) thead th {
  background: #173b4b;
  color: #eef3f8;
}

html[data-theme-scope="article"][data-theme="dark"] body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) tbody tr:nth-child(even) {
  background: #122337;
}

@media (max-width: 600px) {
  body.article-page .post-page {
    padding: 36px 0 72px;
  }

  body.article-page .post-article {
    width: calc(100% - 32px);
  }

  body.article-page .post-back {
    margin-bottom: 30px;
  }

  body.article-page .post-article h1 {
    font-size: clamp(40px, 10vw, 58px);
    line-height: 1;
  }

  body.article-page .post-byline {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  body.article-page .post-author-avatar {
    width: 36px;
    height: 36px;
  }

  body.article-page .post-article .post-feature,
  body.article-page .post-article .post-feature-zoom {
    border-radius: 9px;
  }

  body.article-page .post-body,
  body.article-page .powder-post-body {
    font-size: 16px;
    line-height: 1.72;
  }

  body.article-page .post-body > h2 {
    font-size: 30px;
  }

  body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) {
    min-width: 620px;
    font-size: 13px;
  }

  body.article-page .post-article :is(.bending-table, .corrosion-table, .post-data-table, .powder-table) :is(th, td) {
    padding: 10px 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.article-page .post-article .post-feature-zoom > .post-feature {
    transition: none;
  }
}
