.hv-phase3-hub,
.hv-resource-index,
.hv-tools-groups {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: #fff;
}

.hv-phase3-hub:nth-of-type(even),
.hv-tools-groups {
  background: #f7f4ec;
}

.hv-phase3-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hv-phase3-heading {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.hv-phase3-heading > span,
.hv-resource-type {
  color: #725c2e;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hv-phase3-heading h2 {
  margin: .45rem 0 .65rem;
}

.hv-choice-grid,
.hv-tools-grid,
.hv-resource-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hv-choice-card,
.hv-tool-group,
.hv-resource-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid rgba(8, 24, 39, .15);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(8, 24, 39, .06);
}

.hv-choice-card {
  min-height: 184px;
  color: #081827;
  text-decoration: none;
}

.hv-choice-card:hover,
.hv-choice-card:focus-visible,
.hv-resource-card:hover {
  border-color: #a88746;
  box-shadow: 0 10px 30px rgba(8, 24, 39, .11);
  transform: translateY(-2px);
}

.hv-choice-card strong,
.hv-tool-group h3,
.hv-resource-card h3 {
  margin: .35rem 0 .5rem;
  color: #081827;
  font-size: 1.13rem;
}

.hv-choice-card p,
.hv-tool-group p,
.hv-resource-card p {
  margin: 0 0 1rem;
  color: #536273;
}

.hv-choice-card .hv-choice-action,
.hv-resource-open {
  margin-top: auto;
  color: #715720;
  font-weight: 800;
}

.hv-tool-links {
  display: grid;
  width: 100%;
  gap: .5rem;
  margin-top: .5rem;
}

.hv-tool-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: .55rem .7rem;
  border-radius: 8px;
  background: #f7f4ec;
  color: #102c46;
  font-weight: 750;
  text-decoration: none;
}

.hv-resource-filters {
  display: grid;
  grid-template-columns: 2fr repeat(4, minmax(130px, 1fr));
  gap: .85rem;
  margin: 1.25rem 0 .75rem;
  padding: 1rem;
  border: 1px solid rgba(8, 24, 39, .14);
  border-radius: 14px;
  background: #f7f4ec;
}

.hv-resource-filters label {
  display: grid;
  gap: .35rem;
  color: #102c46;
  font-size: .84rem;
  font-weight: 800;
}

.hv-resource-filters input,
.hv-resource-filters select {
  width: 100%;
  min-height: 46px;
  padding: .62rem .7rem;
  border: 1px solid #8c98a4;
  border-radius: 8px;
  background: #fff;
  color: #081827;
  font: inherit;
}

.hv-resource-filter-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: .75rem;
}

.hv-resource-filter-actions button,
.hv-resource-open,
.hv-resource-more {
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid #102c46;
  border-radius: 8px;
  background: #fff;
  color: #102c46;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.hv-resource-open {
  display: inline-flex;
  align-items: center;
}

.hv-resource-status {
  min-height: 1.5rem;
  margin: .5rem 0 1rem;
  color: #536273;
  font-weight: 700;
}

.hv-resource-card {
  min-height: 220px;
}

.hv-resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.hv-resource-meta li {
  padding: .28rem .5rem;
  border-radius: 999px;
  background: #edf1f4;
  color: #30475c;
  font-size: .77rem;
  font-weight: 750;
}

.hv-resource-more {
  display: block;
  margin: 1.25rem auto 0;
}

.hv-resource-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed #8c98a4;
  border-radius: 12px;
  text-align: center;
}

.hv-catalog-disclosure {
  margin: 1rem auto;
  border: 1px solid rgba(8, 24, 39, .16);
  border-radius: 14px;
  background: #fff;
  overflow: clip;
}

.hv-catalog-disclosure > summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  color: #102c46;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.hv-catalog-disclosure > summary::-webkit-details-marker { display: none; }
.hv-catalog-disclosure > summary::after { content: "+"; font-size: 1.4rem; }
.hv-catalog-disclosure[open] > summary::after { content: "−"; }
.hv-catalog-disclosure > section { margin: 0; }

@media (max-width: 900px) {
  .hv-choice-grid,
  .hv-tools-grid,
  .hv-resource-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-resource-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-resource-search-field { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hv-phase3-shell { width: min(100% - 1.25rem, 1180px); }
  .hv-choice-grid,
  .hv-tools-grid,
  .hv-resource-results,
  .hv-resource-filters { grid-template-columns: 1fr; }
  .hv-resource-search-field,
  .hv-resource-filter-actions { grid-column: auto; }
  .hv-choice-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-choice-card,
  .hv-resource-card { transition: none !important; transform: none !important; }
}

@media print {
  .hv-phase3-hub,
  .hv-tools-groups,
  .hv-resource-index,
  .hv-catalog-disclosure > summary { display: none !important; }
}
