.pm-category-hero {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  align-items: center;
  padding: 68px 0 64px;
  border-bottom: 1px solid #eaded6;
  background-image:
    linear-gradient(90deg, rgba(251, 247, 241, .99) 0%, rgba(251, 247, 241, .95) 35%, rgba(251, 247, 241, .52) 61%, rgba(251, 247, 241, .09) 100%),
    url("images/public-assessments-hero-v1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.pm-category-hero .pm-container { position: relative; z-index: 1; }
.pm-category-breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 35px; color: #85756e; font-size: 12px;
}
.pm-category-breadcrumbs a { color: #7d6257; text-decoration: none; }
.pm-category-breadcrumbs a:hover {
  color: #9b4021; text-decoration: underline; text-underline-offset: 3px;
}
.pm-category-hero .pm-display {
  max-width: 760px; margin: 10px 0 18px; text-wrap: balance;
}
.pm-category-hero .pm-lede { max-width: 650px; color: #514741; }
.pm-category-directory { padding: 72px 0 82px; }
.pm-category-directory-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  gap: 54px; align-items: end; margin-bottom: 27px;
}
.pm-category-directory-head h2 {
  max-width: 680px; margin: 7px 0 0; color: #2e2421;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 49px); font-weight: 500;
  line-height: 1.08; letter-spacing: -.035em;
}
.pm-category-directory-head > p {
  margin: 0; color: #746762; font-size: 15px; line-height: 1.65;
}
.pm-category-jump {
  display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; padding: 18px;
  border: 1px solid #e5d8cf; border-radius: 15px; background: #fffdfb;
  box-shadow: 0 12px 35px rgba(67, 43, 32, .045);
}
.pm-category-jump a {
  display: inline-flex; align-items: center; min-height: 39px; padding: 8px 13px;
  border: 1px solid #e5d7ce; border-radius: 999px; color: #624a40;
  background: #fff9f5; font-size: 12px; font-weight: 750;
  line-height: 1.3; text-decoration: none;
}
.pm-category-jump a:hover {
  border-color: #c98c70; color: #90391d; background: #fff3ea;
}
.pm-category-groups { display: grid; gap: 20px; }
.pm-category-group {
  scroll-margin-top: 24px; overflow: hidden; border: 1px solid #e3d6ce;
  border-radius: 18px; background: #fff;
  box-shadow: 0 16px 42px rgba(67, 43, 32, .06);
}
.pm-category-group > header {
  display: flex; justify-content: space-between; gap: 28px; align-items: center;
  padding: 27px 29px 23px; border-bottom: 1px solid #eee4de;
  background: linear-gradient(135deg, #fffaf6, #fffdfb);
}
.pm-category-group > header > div {
  display: grid; grid-template-columns: 39px minmax(0, 1fr);
  gap: 14px; align-items: center;
}
.pm-category-group > header > div > span {
  width: 39px; height: 39px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; background: #a74726;
  font-size: 10px; font-weight: 850; letter-spacing: .05em;
}
.pm-category-group h2 {
  margin: 0; color: #302521; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 31px); font-weight: 500; line-height: 1.15;
}
.pm-category-group > header > a {
  flex: 0 0 auto; color: #914020; font-size: 12px;
  font-weight: 800; text-decoration: none;
}
.pm-category-group > header > a:hover {
  text-decoration: underline; text-underline-offset: 3px;
}
.pm-category-topic-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 8px 29px 19px;
}
.pm-category-topic-grid > a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px;
  align-items: center; min-height: 70px; padding: 17px 4px;
  border-bottom: 1px solid #eee6e1; color: #433631;
  font-size: 15px; font-weight: 720; line-height: 1.4; text-decoration: none;
}
.pm-category-topic-grid > a:nth-child(odd) { padding-right: 25px; }
.pm-category-topic-grid > a:nth-child(even) {
  padding-left: 25px; border-left: 1px solid #eee6e1;
}
.pm-category-topic-grid > a:hover { color: #993d1d; }
.pm-category-topic-grid i {
  color: #b45a34; font-size: 16px; font-style: normal;
  transition: transform .16s ease;
}
.pm-category-topic-grid > a:hover i { transform: translateX(3px); }
.pm-category-empty {
  grid-column: 1 / -1; margin: 0; padding: 24px 0 10px; color: #7b6d66;
}
.pm-category-closing { align-items: center; }
.pm-category-closing .pm-eyebrow { margin-bottom: 8px; }
.pm-category-closing-actions {
  display: grid; gap: 13px; justify-items: center; min-width: 235px;
}
.pm-category-closing-actions .pm-button { width: 100%; }

.pm-subcategory-directory { padding: 72px 0 82px; }
.pm-subcategory-directory-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr);
  gap: 54px; align-items: end; margin-bottom: 31px;
}
.pm-subcategory-directory-head h2 {
  max-width: 690px; margin: 7px 0 0; color: #2e2421;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 49px); font-weight: 500;
  line-height: 1.08; letter-spacing: -.035em;
}
.pm-subcategory-directory-head > p {
  margin: 0; color: #746762; font-size: 15px; line-height: 1.65;
}
.pm-subcategory-topic-grid {
  overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #e3d6ce; border-radius: 18px; background: #fff;
  box-shadow: 0 16px 42px rgba(67, 43, 32, .06);
}
.pm-subcategory-topic-grid > a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px; align-items: center; min-height: 82px; padding: 20px 27px;
  border-bottom: 1px solid #eee6e1; color: #433631;
  font-size: 15px; font-weight: 740; line-height: 1.4;
  text-decoration: none; transition: color .16s ease, background .16s ease;
}
.pm-subcategory-topic-grid > a:nth-child(even) { border-left: 1px solid #eee6e1; }
.pm-subcategory-topic-grid > a:hover { color: #993d1d; background: #fffaf6; }
.pm-subcategory-topic-grid i {
  color: #b45a34; font-size: 17px; font-style: normal;
  transition: transform .16s ease;
}
.pm-subcategory-topic-grid > a:hover i { transform: translateX(3px); }
.pm-subcategory-backlinks {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  margin-top: 21px; padding: 0 2px;
}
.pm-subcategory-backlinks a {
  color: #814329; font-size: 13px; font-weight: 780; text-decoration: none;
}
.pm-subcategory-backlinks a:hover {
  text-decoration: underline; text-underline-offset: 3px;
}
.pm-subcategory-empty {
  grid-column: 1 / -1; padding: 38px;
}
.pm-subcategory-empty h2 {
  margin: 0; color: #332722; font-family: Georgia, "Times New Roman", serif;
  font-size: 30px; font-weight: 500;
}
.pm-subcategory-empty p { max-width: 650px; color: #746762; line-height: 1.65; }

@media (max-width: 820px) {
  .pm-category-hero {
    min-height: 0; align-items: flex-start; padding: 220px 0 48px;
    background-image:
      linear-gradient(180deg, rgba(251, 247, 241, .12) 0%, rgba(251, 247, 241, .28) 28%, rgba(251, 247, 241, .91) 59%, rgba(251, 247, 241, .99) 82%),
      url("images/public-assessments-hero-v1.jpg");
    background-position: 68% center;
  }
  .pm-category-breadcrumbs { margin-bottom: 25px; }
  .pm-category-directory { padding: 52px 0 62px; }
  .pm-category-directory-head { grid-template-columns: 1fr; gap: 15px; }
  .pm-category-topic-grid { grid-template-columns: 1fr; }
  .pm-category-topic-grid > a:nth-child(odd),
  .pm-category-topic-grid > a:nth-child(even) {
    padding-right: 3px; padding-left: 3px; border-left: 0;
  }
  .pm-subcategory-directory { padding: 52px 0 62px; }
  .pm-subcategory-directory-head { grid-template-columns: 1fr; gap: 15px; }
  .pm-subcategory-topic-grid { grid-template-columns: 1fr; }
  .pm-subcategory-topic-grid > a:nth-child(even) { border-left: 0; }
}
@media (max-width: 560px) {
  .pm-category-hero { padding: 198px 0 39px; }
  .pm-category-hero .pm-display { font-size: clamp(37px, 11vw, 49px); }
  .pm-category-directory { padding: 42px 0 50px; }
  .pm-category-directory-head h2 { font-size: 33px; }
  .pm-category-jump { gap: 7px; margin-inline: -3px; padding: 12px; }
  .pm-category-jump a { min-height: 36px; padding: 7px 11px; font-size: 11px; }
  .pm-category-group { border-radius: 14px; }
  .pm-category-group > header { display: grid; gap: 15px; padding: 21px 17px 18px; }
  .pm-category-group > header > div {
    grid-template-columns: 34px minmax(0, 1fr); gap: 11px;
  }
  .pm-category-group > header > div > span { width: 34px; height: 34px; }
  .pm-category-group h2 { font-size: 25px; }
  .pm-category-group > header > a { padding-left: 45px; }
  .pm-category-topic-grid { padding: 5px 17px 15px; }
  .pm-category-topic-grid > a { min-height: 64px; font-size: 14px; }
  .pm-category-closing-actions { width: 100%; }
  .pm-subcategory-directory { padding: 42px 0 50px; }
  .pm-subcategory-directory-head h2 { font-size: 33px; }
  .pm-subcategory-topic-grid { border-radius: 14px; }
  .pm-subcategory-topic-grid > a {
    min-height: 72px; padding: 17px; font-size: 14px;
  }
  .pm-subcategory-backlinks { display: grid; gap: 11px; margin-top: 18px; }
}
