/* ========================================
   HOME — RESOURCE LINKS BLOCK
   Row of icon links below the banner video. Light band with soft
   rounded cards; icon chips flip to brand blue on hover.
   Enqueued after main style.
======================================== */

.home-resource-links {
  background: #fff;
  margin-top: 6.25rem; /* 100px */
  padding: 4.5rem 0 4.75rem;
}

.home-resource-links .hrl-heading {
  color: var(--blue);
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 auto 2.75rem;
  max-width: 760px;
}

/* ---- Grid of icon links ---- */
.home-resource-links .hrl-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin: 0;
}

.home-resource-links .hrl-item {
  margin: 0;
}

.home-resource-links .hrl-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  height: 100%;
  padding: 2rem 1rem 1.75rem;
  background: #f5f7fb;
  border: 1px solid #e4eaf3;
  border-radius: 18px;
  color: #24354f;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.home-resource-links .hrl-item > a:hover {
  background: #fff;
  border-color: rgba(0, 48, 135, 0.3);
  box-shadow: 0 14px 30px rgba(0, 48, 135, 0.1);
  transform: translateY(-4px);
}

.home-resource-links .hrl-item > a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.home-resource-links .hrl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 48, 135, 0.07);
  transition: background 0.2s ease;
}

.home-resource-links .hrl-item > a:hover .hrl-icon {
  background: var(--blue);
}

.home-resource-links .hrl-icon i {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--blue);
  transition: color 0.2s ease;
}

.home-resource-links .hrl-item > a:hover .hrl-icon i {
  color: #fff;
}

.home-resource-links .hrl-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.home-resource-links .hrl-label {
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 600;
}

/* ---- CTA button ---- */
.home-resource-links .hrl-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---- Responsive / a11y ---- */
@media (prefers-reduced-motion: reduce) {
  .home-resource-links .hrl-item > a,
  .home-resource-links .hrl-icon,
  .home-resource-links .hrl-icon i {
    transition: none;
  }
  .home-resource-links .hrl-item > a:hover {
    transform: none;
  }
}

@media screen and (max-width: 992px) {
  .home-resource-links .hrl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .home-resource-links {
    padding: 3rem 0;
  }
  .home-resource-links .hrl-heading {
    font-size: 1.45rem;
    margin-bottom: 1.75rem;
  }
  .home-resource-links .hrl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .home-resource-links .hrl-item > a {
    padding: 1.5rem 0.75rem 1.25rem;
    border-radius: 14px;
  }
  .home-resource-links .hrl-icon {
    width: 52px;
    height: 52px;
  }
  .home-resource-links .hrl-icon i {
    font-size: 1.4rem;
  }
}
