/* Getting Approved — Paper "Cubbi Website — Getting Approved" (desktop 2ZC-0 / mobile 4YY-0). */

.ga-hero {
  background: #fff;
  max-width: 90rem;
  margin-inline: auto;
  padding: 1.25rem 4rem 2.5rem;
}
.ga-hero h1 {
  width: fit-content;
  margin-bottom: 1.25rem;
}
.ga-hero p {
  max-width: 78rem;
  margin-bottom: 0.75rem;
}

.ga-section {
  background: #fff;
  max-width: 90rem;
  margin-inline: auto;
  padding: 2.25rem 4rem 2rem;
}
.ga-section:last-of-type {
  padding-bottom: 5rem;
}
.ga-section h2 {
  width: fit-content;
  margin-bottom: 0.75rem;
}
.ga-section .timeframe {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--green-700);
  margin: 0 0 1rem;
}
.ga-section > p {
  max-width: 78rem;
}

.doc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.doc-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}
.doc-card .doc-media {
  height: 14rem;
  background: #fff; /* CUB-233: Jake's call — page is all white, image wells included */
  border-bottom: 1px solid var(--cream-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-500);
}
.doc-card .doc-body {
  background: #fff;
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
}
.doc-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-700);
  margin: 0 0 0.5rem;
}
.doc-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.doc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}
.doc-pills li {
  background: var(--lilac-100);
  color: var(--green-700);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0 var(--purple-500); /* CUB-254: same hard offset as the site's buttons */
}

@media (max-width: 63.9rem) {
  .ga-hero,
  .ga-section {
    padding-inline: 1.25rem;
  }
  .doc-cards {
    grid-template-columns: 1fr;
  }
}

.doc-card .doc-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}
