/* ==========================================================
   PMI Topic Hub additions
   Builds on /css/pmiexplained.css; body keeps page-pmiexplained
   so the existing PMI Explained visual system is reused.
   ========================================================== */

.page-pmi-topic .pmi-topic-intro {
  margin-bottom: 1.35rem;
}

.page-pmi-topic .pmi-topic-keypoints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.4rem;
}

.page-pmi-topic .pmi-topic-keypoint {
  padding: 1rem;
  border: 1px solid #dfebf6;
  border-radius: 14px;
  background: #f8fbfe;
}

.page-pmi-topic .pmi-topic-keypoint strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #0b2038;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.page-pmi-topic .pmi-topic-keypoint span {
  display: block;
  color: #384554;
  font-family: "Share Tech", sans-serif;
  line-height: 1.55;
}

.page-pmi-topic .pmi-topic-quote-card {
  position: sticky;
  top: 1rem;
}

.page-pmi-topic .pmi-topic-related {
  padding-top: 0.5rem;
}

.page-pmi-topic .pmi-topic-final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px solid #dfebf6;
  border-radius: 16px;
  background: #f8fbfe;
}

.page-pmi-topic .pmi-topic-final-cta .btn {
  flex: 0 0 auto;
}

.page-pmi-topic .dropdown-item.active,
.page-pmi-topic .dropdown-item:active {
  background: #0b2038;
  color: #fff;
}

@media (max-width: 991.98px) {
  .page-pmi-topic .pmi-topic-keypoints {
    grid-template-columns: 1fr;
  }

  .page-pmi-topic .pmi-topic-quote-card {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .page-pmi-topic .pmi-topic-final-cta {
    display: block;
  }

  .page-pmi-topic .pmi-topic-final-cta .btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* ---- Topical quote page ---- */
.page-pmi-topic-quote .pmi-topic-quote-shell {
  padding: 2.25rem 0 3rem;
  background: #f4f7fa;
}

.page-pmi-topic-quote .pmi-topic-quote-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: #667487;
  font-family: "Share Tech", sans-serif;
  font-size: 0.95rem;
}

.page-pmi-topic-quote .pmi-topic-quote-breadcrumb a {
  color: #0b2038;
}

.page-pmi-topic-quote .pmi-topic-quote-copy {
  padding: 1.25rem 0;
}

.page-pmi-topic-quote .pmi-topic-quote-title {
  margin: 0 0 1rem;
  color: #0b2038;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.02em;
}

.page-pmi-topic-quote .pmi-topic-quote-lead,
.page-pmi-topic-quote .pmi-topic-quote-points,
.page-pmi-topic-quote .pmi-topic-quote-back,
.page-pmi-topic-quote .pmi-topic-quote-form-heading p,
.page-pmi-topic-quote .pmi-topic-quote-note {
  font-family: "Share Tech", sans-serif;
}

.page-pmi-topic-quote .pmi-topic-quote-lead {
  color: #384554;
  font-size: 1.08rem;
  line-height: 1.75;
}

.page-pmi-topic-quote .pmi-topic-quote-points {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.page-pmi-topic-quote .pmi-topic-quote-points > div {
  padding: 0.9rem 1rem;
  border-left: 4px solid #0b2038;
  border-radius: 0 12px 12px 0;
  background: #fff;
}

.page-pmi-topic-quote .pmi-topic-quote-points strong,
.page-pmi-topic-quote .pmi-topic-quote-points span {
  display: block;
}

.page-pmi-topic-quote .pmi-topic-quote-points strong {
  color: #0b2038;
  margin-bottom: 0.25rem;
}

.page-pmi-topic-quote .pmi-topic-quote-points span {
  color: #53616f;
}

.page-pmi-topic-quote .pmi-topic-quote-form-card {
  padding: 1.4rem;
  border: 1px solid #dfebf6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
}

.page-pmi-topic-quote .pmi-topic-quote-form-heading h2 {
  margin: 0.25rem 0 0.45rem;
  color: #0b2038;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
}

.page-pmi-topic-quote .pmi-topic-quote-form-heading p {
  margin-bottom: 1rem;
  color: #53616f;
}

.page-pmi-topic-quote .pmi-topic-quote-form-card #title-container,
.page-pmi-topic-quote .pmi-topic-quote-form-card #qbox-container,
.page-pmi-topic-quote .pmi-topic-quote-form-card #steps-container,
.page-pmi-topic-quote .pmi-topic-quote-form-card .steps-container,
.page-pmi-topic-quote .pmi-topic-quote-form-card .quote-form,
.page-pmi-topic-quote .pmi-topic-quote-form-card .quote-form-wrapper,
.page-pmi-topic-quote .pmi-topic-quote-form-card .sidebar-inner,
.page-pmi-topic-quote .pmi-topic-quote-form-card form {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.page-pmi-topic-quote .pmi-topic-quote-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #dfebf6;
  border-radius: 12px;
  background: #fff;
  color: #53616f;
}

.page-pmi-topic-quote .pmi-topic-quote-note strong {
  color: #0b2038;
}
