.resource-page {
  background: #f7f8fb;
}

.resource-page .page-hero {
  position: relative;
  overflow: hidden;
}

.resource-page .page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -11rem auto;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(212, 171, 76, .26);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(212, 171, 76, .05), 0 0 0 7rem rgba(212, 171, 76, .035);
  pointer-events: none;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 4rem;
  align-items: start;
}

.resource-article {
  max-width: 48rem;
}

.resource-article > p:first-of-type {
  font-size: 1.18rem;
  color: var(--navy);
}

.resource-article h2 {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(16, 28, 56, .14);
}

.resource-article h3 {
  margin-top: 2rem;
}

.resource-article a:not(.button),
.resource-aside a {
  color: #75570d;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.resource-aside {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(16, 28, 56, .12);
  box-shadow: 0 1rem 2.5rem rgba(16, 28, 56, .08);
}

.resource-aside strong,
.resource-aside span {
  display: block;
}

.resource-aside span {
  margin-top: .35rem;
  color: #5d6678;
  font-size: .88rem;
}

.resource-aside nav {
  display: grid;
  gap: .7rem;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(16, 28, 56, .12);
}

.comparison-table {
  width: 100%;
  margin: 1.6rem 0 2rem;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 .8rem 2rem rgba(16, 28, 56, .06);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border: 1px solid rgba(16, 28, 56, .12);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.decision-list {
  display: grid;
  gap: .85rem;
  padding: 0;
  list-style: none;
}

.decision-list li {
  padding: 1rem 1.1rem 1rem 2.8rem;
  position: relative;
  background: #fff;
  border-left: 3px solid #d4ab4c;
}

.decision-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: #75570d;
  font-weight: 800;
}

.editor-line {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 28, 56, .14);
  color: #5d6678;
  font-size: .9rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.resource-card {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid rgba(16, 28, 56, .12);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2.5rem rgba(16, 28, 56, .11);
}

.resource-card span {
  margin-top: auto;
  color: #75570d;
  font-weight: 800;
}

.source-list li + li {
  margin-top: .7rem;
}

.resource-disclaimer {
  margin-top: 3rem;
  padding: 1rem 1.2rem;
  background: #eef1f6;
  border-left: 3px solid #d4ab4c;
  color: #475264;
  font-size: .9rem;
}

.content-prose p.resource-disclaimer {
  color: #475264;
}

@media (max-width: 1080px) {
  .resource-page .site-header__inner {
    gap: 1rem;
  }

  .resource-page .header-phone {
    display: none;
  }
}

@media (max-width: 860px) {
  .resource-page .site-header__inner {
    min-height: 5rem;
  }

  .resource-page .brand-link {
    min-width: 0;
  }

  .resource-page .brand {
    width: min(12rem, 48vw);
  }

  .resource-page .header-actions .button {
    padding: .72rem .9rem;
    white-space: nowrap;
  }

  .resource-layout,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-layout {
    gap: 2rem;
  }

  .resource-aside {
    position: static;
    order: -1;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }
}

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