/* PRISM page styles. Shared header and footer styles are in css/styles.css. */
.prism-page {
  min-height: 55vh;
  padding: 34px 0 46px;
  background: #f7f8fc;
  color: #222b3a;
}

.prism-container {
  max-width: 1100px;
  padding: 34px 42px 40px;
  background: #fff;
  border: 1px solid #e4e8f0;
  box-shadow: 0 4px 18px rgba(16, 38, 84, .07);
}

.prism-heading {
  margin-bottom: 26px;
  padding-bottom: 24px;
  text-align: center;
  border-bottom: 2px solid #e7ecf7;
}

.prism-heading h1 {
  margin: 0 0 16px;
  color: #073b9d;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  font-weight: 800;
}

.prism-heading h2 {
  margin: 0;
  color: #073b9d;
  font-size: 26px;
  font-weight: 800;
}

.prism-section {
  margin: 0 0 26px;
}

.prism-section h3 {
  margin: 0 0 14px;
  color: #073b9d;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 800;
}

.prism-section p {
  margin: 0 0 16px;
  color: #303846;
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
}

.prism-activities {
  margin: 0 0 16px;
  padding-left: 28px;
  color: #303846;
  font-size: 15px;
  line-height: 1.9;
}

.prism-activities li {
  padding-left: 4px;
  margin-bottom: 3px;
}

.prism-back {
  display: inline-block;
  margin-top: 8px;
  color: #073b9d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.prism-back:hover {
  text-decoration: underline;
}

/* On this page, hide the checkbox visually but keep its label clickable. */
.main-nav .nav-dropdown {
  position: relative;
}

.main-nav .schemes-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.main-nav .dropdown-toggle {
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

/* Click checkbox controls visibility; hover alone must not open it. */
.main-nav .nav-dropdown:hover .dropdown-menu {
  display: none;
}

.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  min-width: 142px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

.main-nav .schemes-toggle:checked ~ .dropdown-menu {
  display: block;
}

.main-nav .dropdown-menu a {
  display: block;
  padding: 14px;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.main-nav .dropdown-menu a:hover {
  background: #f5f5f5;
  color: #f39c12;
}

.main-nav .schemes-toggle:focus-visible + .dropdown-toggle {
  outline: 2px solid #3159ff;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .prism-page {
    padding: 20px 0 28px;
  }

  .prism-container {
    padding: 24px 18px 28px;
  }

  .prism-heading h1 {
    font-size: 24px;
  }

  .prism-heading h2 {
    font-size: 22px;
  }

  .prism-section h3 {
    font-size: 17px;
  }

  .prism-section p,
  .prism-activities {
    font-size: 14px;
    text-align: left;
  }
}
