:root {
  --powder-blush: #ffbdab;
  --burnt-peach: #db7556;
  --papaya-whip: #fff1db;
  --harvest-orange: #f27c27;
  --cream: #ffffbf;
  --shadow-grey: #232020;
  --color-focus: #1d4ed8;

  --radius-pill: 999px;
  --radius-panel: 1.25rem;
  --border-strong: 2px solid rgba(35, 32, 32, 0.18);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;

  --content-width: 58rem;
}

/* Resource page layout only */

.resources-shell {
  background: transparent;
}

.resources-main {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: var(--space-6) var(--space-4);
  flex: 1;
}

.resources-panel {
  min-height: 28rem;
}

.resources-title {
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: var(--space-3);
}

.resources-disclaimer {
  max-width: 42rem;
  margin: 0 auto var(--space-5);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.resource-column {
  display: grid;
  gap: var(--space-3);
  padding: 0 0.5rem;
}

.resource-heading {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: 2px;
}

.resource-subtext {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.35;
  min-height: 2.5rem;
}

.resource-box {
  min-height: 14rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 2px solid var(--shadow-grey);
  border-radius: 1rem;
  box-shadow: 0.6rem 0.6rem 0 var(--shadow-grey);
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.resource-line {
  font-size: 0.98rem;
  line-height: 1.35;
}

.resource-line a {
  text-decoration: none;
}

.resource-line a:hover,
.resource-line a:focus {
  text-decoration: underline;
}

@media (max-width: 63rem) {
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resource-subtext {
    min-height: 0;
  }

  .resource-box {
    min-height: auto;
  }
}