/* A compact learning library at the end of the homepage. */
#learning-guides {
  padding-block: 58px 48px;
}
#learning-guides .home-resources-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
#learning-guides .home-resources-eyebrow {
  margin: 0 0 12px;
  color: #b81149;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 1.7px;
}
#learning-guides h2 {
  margin: 0;
  color: #202b43;
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-transform: none;
}
#learning-guides .home-resources-intro {
  max-width: 620px;
  margin: 12px 0 0;
  color: #626b7b;
  font-size: 16px;
  line-height: 1.7;
}
#learning-guides .home-resources-browse,
#learning-guides .home-resources-family-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  color: #202b43;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
}
#learning-guides .home-resources-browse {
  flex-shrink: 0;
  padding: 10px 0;
  border-bottom: 1px solid #b7becb;
}
#learning-guides .home-resources-browse > span,
#learning-guides .home-resources-family-link > span {
  color: #d91457;
  font-size: 20px;
}
#learning-guides .home-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
#learning-guides .home-resource-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid #dfe3ea;
  border-radius: 18px;
  background: #fff;
  color: #202b43;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
#learning-guides .home-resource-topic {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #626b7b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
#learning-guides .home-resource-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff2f6;
  color: #b81149;
}
#learning-guides .home-resource-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}
#learning-guides .home-resource-card h3 {
  margin: 0 0 12px;
  color: #202b43;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.4px;
}
#learning-guides .home-resource-description {
  margin: 0 0 24px;
  color: #626b7b;
  font-size: 15px;
  line-height: 1.75;
}
#learning-guides .home-resource-format {
  margin: auto 0 18px;
  color: #626b7b;
  font-size: 12px;
  line-height: 1.6;
}
#learning-guides .home-resource-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid #e8eaf0;
  color: #b81149;
  font-size: 14px;
  font-weight: 800;
  transform-origin: left center;
  transition: scale 160ms ease, color 160ms ease;
}
#learning-guides .home-resource-card:is(:hover, :focus-visible, :active) .home-resource-action {
  color: #d91457;
  font-weight: 900;
  scale: 1.04;
}
#learning-guides .home-resource-action > span {
  font-size: 22px;
  line-height: 1;
}
#learning-guides .home-resources-family {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: 14px;
  background: #f5f6f8;
}
#learning-guides .home-resources-family h3 {
  margin: 0 0 5px;
  color: #202b43;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.5;
}
#learning-guides .home-resources-family p {
  margin: 0;
  color: #626b7b;
  font-size: 14px;
  line-height: 1.7;
}
#learning-guides .home-resources-family-link {
  flex-shrink: 0;
  padding: 10px 18px;
  border: 1px solid #d1d7e1;
  border-radius: 100px;
  background: #fff;
}
#learning-guides .home-resources-family-link:is(:hover, :focus-visible) {
  background: #fff2f6;
  border-color: #d91457;
}
@layer vip-interaction {
  #learning-guides .home-resource-card:is(:hover, :focus-visible, :active) {
    background: #fff2f6 !important;
    border-color: #e7adbf !important;
    box-shadow: 0 6px 20px #202b430a;
  }
}
@media (max-width: 900px) {
  #learning-guides .home-resources-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  #learning-guides .home-resource-card { padding: 22px; }
  #learning-guides .home-resource-card h3 { font-size: 21px; }
  #learning-guides .home-resources-family { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (max-width: 700px) {
  #learning-guides { padding-block: 38px 30px; }
  #learning-guides .home-resources-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #learning-guides .home-resource-topic { margin-bottom: 18px; }
  #learning-guides .home-resource-description { margin-bottom: 18px; }
  #learning-guides .home-resources-family { padding: 22px; }
  #learning-guides .home-resources-family-link { flex-shrink: 1; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #learning-guides .home-resource-card { transition: none; }
  #learning-guides .home-resource-action { transition: none; scale: none !important; }
}
