body.page-agent-resources .agent-resources-page > * + * {
  margin-top: 30px;
}

body.page-agent-resources .agent-resources-page {
  padding-bottom: 18px;
}

body.page-agent-resources .agent-resources-image-card,
body.page-agent-resources .agent-resources-intro,
body.page-agent-resources .agent-resource-card,
body.page-agent-resources .agent-resources-close {
  border: 1px solid rgba(18,64,93,.12);
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 28px rgba(10,25,47,.06);
}

body.page-agent-resources .agent-resources-image-card {
  overflow: hidden;
  border-radius: 22px;
}

body.page-agent-resources .agent-resources-image-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

body.page-agent-resources .agent-resources-intro {
  padding: clamp(26px,4vw,42px);
  border-radius: 22px;
}

body.page-agent-resources .agent-resources-intro h1 {
  margin: 6px 0 12px;
  color: var(--navy);
  font-size: clamp(36px,5vw,54px);
  line-height: 1.03;
}

body.page-agent-resources .agent-resources-intro p {
  max-width: 900px;
  margin: 12px 0 0;
  color: var(--text-main);
  line-height: 1.7;
}

body.page-agent-resources .agent-resources-lead {
  font-size: 18px;
  font-weight: 750;
}

body.page-agent-resources .agent-resources-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

body.page-agent-resources .agent-resource-card {
  min-width: 0;
  padding: clamp(22px,3vw,30px);
  border-radius: 18px;
}

body.page-agent-resources .agent-resource-card h2 {
  margin: 6px 0 11px;
  color: var(--navy);
  font-size: clamp(22px,2.5vw,28px);
  line-height: 1.18;
}

body.page-agent-resources .agent-resource-card p {
  margin: 0;
  color: var(--text-main);
  line-height: 1.65;
}

body.page-agent-resources .agent-resource-label {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.page-agent-resources .agent-resource-featured {
  background: linear-gradient(135deg,rgba(239,247,251,.96),rgba(255,255,255,.92));
  border-color: rgba(0,104,183,.20);
}

body.page-agent-resources .agent-resource-wide {
  grid-column: 1 / -1;
}

body.page-agent-resources .agent-resource-card .button-row {
  margin-top: 20px;
}

body.page-agent-resources .agent-resource-link-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 20px;
}

body.page-agent-resources .agent-resource-link-grid a {
  display: block;
  padding: 16px;
  border: 1px solid rgba(18,64,93,.12);
  border-radius: 13px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

body.page-agent-resources .agent-resource-link-grid a:hover,
body.page-agent-resources .agent-resource-link-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0,104,183,.34);
  box-shadow: 0 10px 22px rgba(10,25,47,.07);
}

body.page-agent-resources .agent-resource-link-grid strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

body.page-agent-resources .agent-resource-link-grid span {
  display: block;
  margin-top: 5px;
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.5;
}

body.page-agent-resources .agent-resource-callout {
  margin-top: 16px !important;
  padding: 15px 17px;
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  background: rgba(255,107,34,.08);
  color: var(--navy) !important;
  font-weight: 850;
}

body.page-agent-resources .agent-resources-close {
  padding: clamp(26px,4vw,40px);
  border-radius: 22px;
}

body.page-agent-resources .agent-resources-close h2 {
  margin: 6px 0 10px;
  color: var(--navy);
  font-size: clamp(27px,3vw,38px);
  line-height: 1.12;
}

body.page-agent-resources .agent-resources-close p {
  max-width: 860px;
  margin: 0;
  color: var(--text-main);
  line-height: 1.7;
}

body.page-agent-resources .agent-resources-close .button-row {
  margin-top: 20px;
}

@media (max-width:820px) {
  body.page-agent-resources .agent-resources-grid,
  body.page-agent-resources .agent-resource-link-grid {
    grid-template-columns: 1fr;
  }

  body.page-agent-resources .agent-resource-wide {
    grid-column: auto;
  }
}

@media (max-width:560px) {
  body.page-agent-resources .agent-resources-page > * + * {
    margin-top: 20px;
  }

  body.page-agent-resources .agent-resource-card .button-row,
  body.page-agent-resources .agent-resources-close .button-row {
    flex-direction: column;
  }

  body.page-agent-resources .agent-resource-card .btn,
  body.page-agent-resources .agent-resources-close .btn {
    width: 100%;
  }
}
