/* v157: universal full-card links and accessible five-way discovery panel. */
.material-grid a.material-card.pm-chapter-link,
.pm-theory-grid a.material-card.pm-chapter-link {
  display:flex;flex-direction:column;height:100%;min-width:0;cursor:pointer;
  color:inherit;text-decoration:none;-webkit-tap-highlight-color:rgba(104,87,217,.16);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.material-grid a.material-card.pm-chapter-link:hover,
.pm-theory-grid a.material-card.pm-chapter-link:hover {
  transform:translateY(-3px);box-shadow:0 14px 28px rgba(23,35,59,.12);
  border-color:rgba(104,87,217,.42);
}
.material-grid a.material-card.pm-chapter-link:focus-visible,
.pm-theory-grid a.material-card.pm-chapter-link:focus-visible {
  outline:3px solid #6857d9;outline-offset:4px;
}
.material-grid a.material-card.pm-chapter-link .material-open {
  color:#6857d9;display:inline-flex;gap:5px;font-weight:700;
}
/* Home introduction - all five feature tiles are real links. */
.home-find-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.home-find-grid a.home-find-item.pm-feature-link {
  display:block;cursor:pointer;min-width:0;color:inherit;text-decoration:none;
  border-radius:8px;transition:background-color .18s ease,transform .18s ease;
  -webkit-tap-highlight-color:rgba(104,87,217,.15);
}
.home-find-grid a.home-find-item.pm-feature-link:hover {
  background:rgba(104,87,217,.055);transform:translateY(-2px);
}
.home-find-grid a.home-find-item.pm-feature-link:focus-visible{
  outline:3px solid #6857d9;outline-offset:3px;
}
.home-find-grid .home-find-item {padding-left:15px;padding-right:15px}
@media (min-width:1051px){
  .home-find-grid .home-find-item+.home-find-item{border-left:1px solid rgba(23,35,59,.10)}
  .home-find-grid .home-find-item{border-top:0}
}
@media (min-width:768px) and (max-width:1050px){
  .home-find-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-find-grid .home-find-item{border:0!important;padding:18px 16px}
  .home-find-grid .home-find-item:not(:nth-child(3n + 1)){border-left:1px solid rgba(23,35,59,.10)!important}
  .home-find-grid .home-find-item:nth-child(n+4){border-top:1px solid rgba(23,35,59,.10)!important}
}
@media (min-width:431px) and (max-width:767px){
  .home-find-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-find-grid .home-find-item{border:0!important}
  .home-find-grid .home-find-item:nth-child(even){border-left:1px solid rgba(23,35,59,.10)!important}
  .home-find-grid .home-find-item:nth-child(n+3){border-top:1px solid rgba(23,35,59,.10)!important}
  .home-find-grid .home-find-item:last-child:nth-child(odd){grid-column:1/-1}
}
@media (max-width:430px){
  .home-find-grid{grid-template-columns:1fr}
  .home-find-grid .home-find-item{border-left:0!important}
  .home-find-grid .home-find-item+.home-find-item{border-top:1px solid rgba(23,35,59,.10)!important}
}
@media (prefers-reduced-motion:reduce){
 .home-find-grid a.home-find-item.pm-feature-link,
 .material-grid a.material-card.pm-chapter-link{transition:none}
 .home-find-grid a.home-find-item.pm-feature-link:hover,
 .material-grid a.material-card.pm-chapter-link:hover{transform:none}
}
