@charset "utf-8";

/* news.css
 * SORBOTHANE - v1.0.0
 * 2026-9-15
 * **************************************************
 * Root
 * Heading (History)
 * News d
 * **************************************************
 */

/* Root
------------------------------------------------------------------ */
:root {
  --font-size-news-h1: 2.8125rem;
  --font-size-news-h2: 1.5rem;
  --font-size-news-p: 1rem;
}

/* Heading (History)
------------------------------------------------------------------- */
#subpage .sub-heading {
  margin-top: 80px;
}
@media screen and (min-width: 1080px) {
  #subpage .sub-heading {
    padding: 0 40px;
  }
}
#subpage .sub-heading h1 {
  font-size: var(--font-size-news-h1);
  color: #004fa2;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.2em;
}
#subpage .sub-heading h1 img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: 60px;
}

/* News List
------------------------------------------------------------------- */
#subpage .news-details {
  margin: 80px auto 50px;
  max-width: 80%;
}
#subpage .news-details h2 {
  margin-top: 20px;
  font-size: var(--font-size-news-h2);
  color: #004fa2;
  font-weight: 700;
  text-align: left;
  line-height: 1.5;
}
#subpage .news-details p {
  margin-top: 20px;
  font-size: var(--font-size-news-p);
    line-height: 1.8;
}
#subpage .news-details p + p {
  margin-top: 1.5em;
}

@media screen and (max-width: 767px) {
  /* Root
  ------------------------------------------------------------------ */
  :root {
    --font-size-news-h1: 1.625rem;
    --font-size-news-h2: 1.375rem;
    --font-size-news-p: 0.9375rem;
  }

  /* Heading (History)
  ------------------------------------------------------------------- */
  #subpage .sub-heading {
    margin-top: 30px;
  }
  #subpage .sub-heading h1 {
    font-size: var(--font-size-news-h1);
    letter-spacing: 0.1em;
  }
  #subpage .sub-heading h1 img {
    height: 25px;
  }

  /* News D
  ------------------------------------------------------------------- */
  #subpage .news-details {
    margin: 50px auto 40px;
    max-width: none;
  }
  #subpage .news-details h2 {
    margin-top: 20px;
    font-size: var(--font-size-news-h2);
  }
  #subpage .news-details p {
    margin-top: 10px;
    font-size: var(--font-size-news-p);
  }
}
