/* ===============================
   PAGE MISSION – GLOBAL LAYOUT
================================ */

/* Main content container */
.page-mission {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Align page title (Blocksy) with mission content */
.entry-header {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ===============================
   TYPOGRAPHY
================================ */

.page-mission p,
.page-mission li {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.65;
  color: #333;
}

/* Avoid justified text on small screens */
@media (max-width: 768px) {
  .page-mission p,
  .page-mission li {
    text-align: left;
  }
}

/* Slight emphasis for the lead paragraph */
.page-mission > p:first-of-type {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===============================
   HEADINGS
================================ */

/* Page title */
.entry-title {
  margin-bottom: 2.2rem;
}

/* Main section headings (H2) */
.page-mission h2 {
  position: relative;
  margin-top: 4.8rem;
  margin-bottom: 1.3rem;
  padding-top: 3rem;

  font-size: 1.6rem;
  font-weight: 600;

  /* Default (inactive) color: Pantone 287 C @ 35% */
  color: rgba(0, 58, 143, 0.35);

  transition: color 0.4s ease;
}

/* Active section heading (center of viewport) */
.page-mission h2.is-active {
  color: #003A8F; /* Pantone 287 C */
}

/* Section separator */
.page-mission h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 20%;
  max-width: 180px;
  height: 2px;

  background: #e0e0e0;
}

/* Sub-section headings (H3) */
.page-mission h3 {
  margin-top: 2.6rem;
  margin-bottom: 0.6rem;

  font-size: 1.15rem;
  font-weight: 500;
  color: #444;
}

/* ===============================
   LISTS
================================ */

.page-mission ul {
  margin-left: 1.4rem;
  margin-bottom: 1.4rem;
}

.page-mission li {
  margin-bottom: 0.45rem;
}

/* ===============================
   LINKS
================================ */

.page-mission a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-mission a:hover {
  color: #000;
  border-bottom-color: #000;
}

/* Prepared for future hover-preview cards */
.page-mission a.has-preview {
  position: relative;
}

/* ===============================
   SPACING TWEAKS
================================ */

/* Reduce top margin for first section */
.page-mission h2:first-of-type {
  margin-top: 3.8rem;
}
