/* Simple text hero */

.cwd-resources-page .cwd-hero--resources-simple {
  background: var(--cwd-home-bg);
  margin-top: 0;
}

.cwd-resources-page .cwd-hero--resources-simple .cwd-hero__container {
  padding-top: clamp(5.5rem, 12vh, 7rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.cwd-resources-page .cwd-hero--resources-simple h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cwd-home-text);
  line-height: 1.2;
}

.cwd-resources-page .cwd-hero--resources-simple h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: var(--cwd-home-accent);
}

.cwd-resources-page .cwd-breadcrumb {
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: 0;
}

/* Tighten gap between breadcrumb and article grid */

.cwd-resources-page main > section.cwd-blog.cwd-resources-index {
  padding-top: 0;
}

.cwd-resources-page .cwd-resources-index.cwd-home-section:first-of-type .cwd-section__container {
  padding-top: clamp(0.25rem, 1vw, 0.5rem);
}

.cwd-resources-page .cwd-resources-index .cwd-home-surface {
  padding-top: 0;
}

.cwd-resources-page .cwd-breadcrumb .breadcrumb {
  margin-bottom: 0;
  font-size: 0.875rem;
  --bs-breadcrumb-divider-color: rgba(44, 34, 69, 0.35);
}

.cwd-resources-page .cwd-breadcrumb .breadcrumb-item a {
  color: var(--bs-primary);
  text-decoration: none;
}

.cwd-resources-page .cwd-breadcrumb .breadcrumb-item.active {
  color: var(--cwd-home-muted);
}

.cwd-resources-page .cwd-resources-index .card {
  height: 100%;
  border: 1px solid var(--cwd-home-border-neutral);
  border-radius: calc(var(--cwd-home-radius) - 6px);
  overflow: hidden;
  box-shadow: var(--cwd-shadow-sm);
  transition: transform var(--cwd-transition), box-shadow var(--cwd-transition), border-color var(--cwd-transition);
}

.cwd-resources-page .cwd-resources-index .col:hover .card {
  transform: translateY(-6px);
  box-shadow: var(--cwd-shadow-lg);
  border-color: rgba(110, 86, 172, 0.18);
}

.cwd-resources-page .cwd-resources-index .card-img-top {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.cwd-resources-page .cwd-resources-index .row.gy-4 {
  --bs-gutter-y: 1.75rem;
}

.cwd-resources-page .cwd-resources-index .card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.cwd-resources-page .cwd-resources-index .card-body h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cwd-home-text);
  margin-bottom: 0.75rem;
  transition: color var(--cwd-transition);
}

.cwd-resources-page .cwd-resources-index .col:hover .card-body h2 {
  color: var(--bs-primary);
}

.cwd-resources-page .cwd-resources-index .card-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--cwd-home-muted);
  margin-bottom: 0;
}

.cwd-resources-page .cwd-resources-index .pagination {
  margin-bottom: 0;
}

.cwd-resources-page .cwd-footer {
  background: #fff;
}

@media (max-width: 575.98px) {
  .cwd-resources-page .cwd-resources-index .card-body h4 {
    font-size: 0.9375rem;
  }
}

