.rh-download-index .rh-resource-hero {
  padding: 2.5rem 0;
  background: #fff;
}
.rh-download-index h1 { font-size: 2.25rem; line-height: 1.25; }
.rh-download-index h2 { font-size: 1.5rem; line-height: 1.35; }
.rh-download-index .rh-download-intro { margin-top: .8rem; max-width: 52rem; line-height: 1.65; }
.rh-download-index .rh-resource-section { padding: 2rem 0; }
.rh-download-index .rh-resource-grid { margin-top: 1.25rem; }
.rh-download-index .rh-resource-card { min-height: 0; padding: 1.2rem; }
.rh-download-index .rh-resource-card h3 { font-size: 1.25rem; line-height: 1.4; }
.rh-download-index .rh-resource-card-meta { letter-spacing: 0; }
.rh-download-index .rh-core-downloads > :last-child { grid-column: span 12; }
.rh-download-index .rh-resource-card p { margin-top: .6rem; }
.rh-download-index .rh-template-disclosure { border-block: 1px solid #d5cec4; }
.rh-download-index summary { cursor: pointer; padding: 1.2rem .25rem; font-size: 1.25rem; font-weight: 600; line-height: 1.5; }
.rh-download-index summary span { display: inline-block; margin-inline-start: 1rem; font-size: .85rem; font-weight: 400; }
.rh-download-index summary:focus-visible { outline: 2px solid #ae5e03; outline-offset: 3px; }
.rh-download-index .rh-template-note { max-width: 54rem; line-height: 1.65; padding-top: .5rem; }
.rh-download-index .rh-template-downloads { padding-bottom: 1.5rem; }
.rh-download-index .rh-loading-resource { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.rh-download-index .rh-loading-resource > div { min-width: 0; flex: 1 1 24rem; }
.rh-download-index .rh-resource-card, .rh-download-index h1, .rh-download-index h2, .rh-download-index h3 { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .rh-download-index h1 { font-size: 1.8rem; }
  .rh-download-index .rh-resource-hero { padding: 2rem 0; }
  .rh-download-index summary span { display: block; margin-inline-start: 1.3rem; }
  .rh-download-index .rh-resource-card[data-featured="true"] { min-height: 0; }
}

.rh-resource-hero {
  border-bottom: 1px solid rgba(174, 94, 3, .18);
  background: linear-gradient(180deg, #f8f4ed 0%, #f3ede4 100%);
}

.rh-resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.rh-resource-meta span {
  border: 1px solid rgba(74, 57, 36, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .72);
  padding: .45rem .7rem;
  color: #5e5141;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
}

.rh-resource-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(74, 57, 36, .1);
}

.rh-resource-section:first-child {
  border-top: 0;
}

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

.rh-resource-card {
  grid-column: span 6;
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(74, 57, 36, .14);
  border-radius: 8px;
  background: #fff;
  padding: 1.5rem;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.rh-resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(174, 94, 3, .42);
  box-shadow: 0 18px 36px -28px rgba(42, 33, 23, .45);
}

.rh-resource-card[data-featured="true"] {
  grid-column: span 6;
  min-height: 17rem;
  background: #2a2117;
  color: #f8f4ed;
}

.rh-resource-card[data-featured="true"] p,
.rh-resource-card[data-featured="true"] .rh-resource-card-meta {
  color: rgba(248, 244, 237, .72);
}

.rh-resource-card h3 {
  margin-top: .65rem;
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.22;
}

.rh-resource-card p {
  margin-top: .8rem;
  max-width: 52rem;
  color: #6b5d4b;
  font-size: .93rem;
  line-height: 1.65;
}

.rh-resource-card-meta {
  margin-top: 1rem;
  color: #8a7963;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rh-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.4rem;
}

.rh-resource-link {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(174, 94, 3, .36);
  border-radius: 5px;
  padding: .62rem .9rem;
  color: #9a5203;
  font-size: .78rem;
  font-weight: 700;
}

.rh-resource-link:hover {
  border-color: #ae5e03;
  background: #fff8ec;
}

.rh-resource-link-primary {
  border-color: #ae5e03;
  background: #ae5e03;
  color: #fff;
}

.rh-resource-link-primary:hover {
  background: #8e4c02;
  color: #fff;
}

.rh-resource-card[data-featured="true"] .rh-resource-link:not(.rh-resource-link-primary) {
  border-color: rgba(248, 244, 237, .32);
  color: #f8f4ed;
}

.rh-document-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  gap: 3.5rem;
  align-items: start;
}

.rh-document-panel {
  border: 1px solid rgba(74, 57, 36, .14);
  border-radius: 8px;
  background: #fff;
  padding: 1.5rem;
}

.rh-document-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(74, 57, 36, .14);
  border-radius: 8px;
  background: #eee7dc;
}

.rh-document-list {
  margin-top: 1.25rem;
  display: grid;
  gap: .8rem;
}

.rh-document-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .75rem;
  color: #5f5140;
  line-height: 1.55;
}

.rh-document-list strong {
  color: #ae5e03;
  font-family: var(--font-sans); font-variant-numeric: tabular-nums;
  font-size: .75rem;
}

.rh-document-note {
  margin-top: 2rem;
  border-left: 3px solid #ae5e03;
  background: #f7f1e8;
  padding: 1rem 1.15rem;
  color: #675946;
  font-size: .86rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .rh-resource-card,
  .rh-resource-card[data-featured="true"] {
    grid-column: span 12;
  }

  .rh-document-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .rh-resource-section {
    padding: 3rem 0;
  }

  .rh-resource-card {
    min-height: 0;
    padding: 1.2rem;
  }

  .rh-resource-actions {
    flex-direction: column;
  }

  .rh-resource-link {
    width: 100%;
  }
}
