.anchor-alias {
  display: block;
  position: relative;
  top: -88px;
  visibility: hidden;
}

.guide-library {
  position: relative;
  overflow: hidden;
  background: #e8edf0;
}

.guide-library::before {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  right: -260px;
  top: -260px;
  border: 1px solid rgba(31, 95, 133, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(31, 95, 133, .035), 0 0 0 140px rgba(31, 95, 133, .025);
  pointer-events: none;
}

.guide-library > .section-intro {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.resource-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 20px;
  align-items: stretch;
}

.resource-feature {
  display: flex;
  flex-direction: column;
  min-height: 580px;
  padding: 3.5rem;
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 28px 70px rgba(16, 43, 63, .2);
}

.resource-badge {
  align-self: flex-start;
  padding: .55rem .8rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #a7d9e4;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.resource-feature h3 {
  max-width: 680px;
  margin: 2.7rem 0 1rem;
  font: 500 clamp(2.6rem, 4vw, 4.5rem)/.98 Georgia, serif;
  letter-spacing: -.055em;
}

.resource-feature p {
  max-width: 640px;
  margin: 0;
  color: #c9dbe4;
  font-size: 1.05rem;
  line-height: 1.7;
}

.resource-feature ul {
  display: grid;
  gap: .7rem;
  margin: 2rem 0 2.4rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  list-style: none;
}

.resource-feature li {
  display: flex;
  gap: .7rem;
  align-items: center;
  font-size: .9rem;
  font-weight: 750;
}

.resource-feature li::before {
  content: "✓";
  color: #92d2df;
  font-weight: 900;
}

.resource-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-weight: 900;
}

.resource-link b {
  font-size: 1.4rem;
}

.resource-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}

.resource-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgba(16, 43, 63, .12);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(16, 43, 63, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.resource-row:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 95, 133, .35);
  box-shadow: 0 18px 38px rgba(16, 43, 63, .11);
}

.resource-row:focus-visible,
.resource-feature:focus-visible {
  outline: 4px solid #65a9c5;
  outline-offset: 4px;
}

.resource-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8f0f3;
  color: var(--teal);
  font-size: .68rem;
  font-weight: 950;
}

.resource-row h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.resource-row p {
  margin-top: .55rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.resource-row > b {
  color: var(--accent);
  font-size: 1.35rem;
}

.resource-help {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  margin-top: 20px;
  padding: 2.2rem 2.5rem;
  border: 1px solid rgba(16, 43, 63, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .68);
}

.resource-help h3 {
  margin: .4rem 0 .3rem;
  font: 500 2rem/1.05 Georgia, serif;
  letter-spacing: -.035em;
}

.resource-help p {
  max-width: 700px;
  margin: .4rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.resource-help .button {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .resource-layout {
    grid-template-columns: 1fr;
  }

  .resource-feature {
    min-height: 0;
  }

  .resource-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .resource-help .button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .resource-feature {
    padding: 2rem;
    border-radius: 20px;
  }

  .resource-feature h3 {
    font-size: 2.6rem;
  }

  .resource-row {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1.4rem;
  }

  .resource-row > b {
    display: none;
  }

  .resource-help {
    padding: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-row {
    transition: none;
  }
}
