/* ==========================================================================
   News Release article page ( /news/xxxxxxxx/ )
   Self-contained stylesheet — intentionally independent from the shared
   el_/bl_/ly_ component system used elsewhere on the site. Only relies on
   assets/css/style.css for the base reset (html{font-size:10px}, body font)
   and the sitewide header/footer.
   ========================================================================== */

.newsArticle_wrap {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  padding: 5rem 4rem 10rem;
}

@media screen and (max-width: 767px) {
  .newsArticle_wrap {
    padding: 3rem 5% 8rem;
  }
}

/* ---- breadcrumb ----------------------------------------------------------- */
.newsArticle_crumb {
  margin: 0 0 3rem;
  font-size: 1.2rem;
  color: #999;
  letter-spacing: 0.02em;
}

.newsArticle_crumb a {
  color: #999;
  text-decoration: underline;
}

.newsArticle_crumb a:hover {
  text-decoration: none;
}

.newsArticle_crumb .is-current {
  color: #999;
}

/* ---- meta block: date + company name, right aligned ---------------------- */
.newsArticle_meta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e2e2;
  text-align: right;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #333;
}

.newsArticle_meta_pdf {
  margin-top: 0.3rem;
}

.newsArticle_meta_pdf a {
  font-size: 1.2rem;
  color: #999;
  text-decoration: underline;
}

.newsArticle_meta_pdf a:hover {
  text-decoration: none;
}

/* ---- headline -------------------------------------------------------------- */
.newsArticle_title {
  margin: 4rem 0 4.5rem;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.75;
  text-align: center;
  color: #111;
}

@media screen and (max-width: 767px) {
  .newsArticle_title {
    margin: 3rem 0 3.5rem;
    font-size: 1.8rem;
  }
}

/* ---- body copy --------------------------------------------------------------- */
.newsArticle_body {
  font-size: 1.5rem;
  line-height: 2.1;
  color: #222;
}

.newsArticle_body p {
  margin-top: 1.8em;
}

.newsArticle_body p:first-child {
  margin-top: 0;
}

.newsArticle_body h2 {
  margin: 3.5rem 0 1.5rem;
  font-size: 1.7rem;
  font-weight: bold;
  color: #023894;
}

.newsArticle_body h3 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
}

.newsArticle_specTable {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 1.4rem;
}

.newsArticle_specTable th {
  width: 11em;
  padding: 0.6em 1em 0.6em 0;
  text-align: left;
  font-weight: normal;
  color: #777;
  vertical-align: top;
  white-space: nowrap;
}

.newsArticle_specTable td {
  padding: 0.6em 0;
  vertical-align: top;
}

.newsArticle_body a {
  color: #023894;
}

.newsArticle_closing {
  text-align: right;
}

/* ---- photos: native size, centered on desktop ------------------------------ */
.newsArticle_photo {
  margin: 3.5rem 0;
  text-align: center;
}

.newsArticle_photo img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.newsArticle_photo_cap {
  margin-top: 1rem;
  font-size: 1.3rem;
  line-height: 1.7;
  color: #777;
}

.newsArticle_photo_label {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2;
  color: #222;
}

.newsArticle_photoRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  margin: 3.5rem 0;
}

.newsArticle_photoRow .newsArticle_photo {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
}

.newsArticle_photoRow .newsArticle_photo img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .newsArticle_photoRow {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .newsArticle_photoRow .newsArticle_photo {
    flex: 0 1 auto;
    width: 100%;
  }
}

/* Modifier: match images by height instead of width — opt in per row
   with class="newsArticle_photoRow newsArticle_photoRow--matchHeight".
   Use for pairs where width-matching would stretch a near-square image
   tall (e.g. two certification logos of different aspect ratio).
   max-height only ever shrinks — it never upscales a smaller image.
   Currently used by: 20251006 (GOTS/GRS logos), 20260323 (solar photos). */
.newsArticle_photoRow--matchHeight {
  align-items: center;
}

.newsArticle_photoRow--matchHeight .newsArticle_photo {
  flex: 0 1 auto;
}

.newsArticle_photoRow--matchHeight .newsArticle_photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 18rem;
}

@media screen and (max-width: 767px) {
  .newsArticle_photoRow--matchHeight .newsArticle_photo img {
    max-height: none;
  }
}

/* ---- contact box: bordered, centered, like the printed release ------------- */
.newsArticle_contacts {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.newsArticle_contact {
  padding: 2rem;
  border: 1px solid #ccc;
  text-align: center;
}

.newsArticle_contact_ttl {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
}

.newsArticle_contact_body {
  font-size: 1.4rem;
  line-height: 1.9;
}

/* ---- back to list button ------------------------------------------------------ */
.newsArticle_backBtn {
  margin-top: 6rem;
  text-align: center;
}

.newsArticle_backBtn a {
  display: inline-block;
  padding: 1.4rem 4rem;
  font-size: 1.4rem;
  color: #023894;
  border: 1px solid #023894;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.newsArticle_backBtn a:hover {
  background: #023894;
  color: #fff;
}
