/* =========================================
   DV2 About Page — Base Layout
========================================= */

/* Constrain About content */
.first-about-grid-container {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    margin-top: 0;
    /* rely on hero spacing instead */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5rem;
    row-gap: 6rem;
    align-items: center;
    grid-auto-flow: row dense;
}

/* Images */
.first-about-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    justify-self: center;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    grid-column: 2;
}

/* -------------------------------------------------
   GRID pairing fix: explicit column placement
   (order does not work in CSS Grid)
------------------------------------------------- */

  /* Swap pairs: image goes to col 1, the following text goes to col 2 */
  .first-about-img-swop-order-2,
  .first-about-img-swop-order-4 {
    grid-column: 1;
  }
  
  .first-about-img-swop-order-2 + div,
  .first-about-img-swop-order-4 + div {
    grid-column: 2;
  }

/* Text blocks */
.first-about-grid-container>div {
    max-width: 60ch;
    position: relative;
}

/* Headings */
.first-about-heading,
.values-heading {
    margin-bottom: 1rem;
}

/* Paragraph rhythm */
.first-about-grid-container p {
    margin-bottom: 1.25rem;
}

.first-about-grid-container>div::before {
    content: "";
    display: block;
    width: 3rem;
    height: 2px;
    background: var(--color-tertiary-base);
    margin-bottom: 1.25rem;
    opacity: 0.35;
}

/* Values list */
.values-list {
    margin-top: 1rem;
    padding-left: 1.25rem;
    font-size: var(--text-base);
    line-height: var(--line-height-relaxed);
}

/* Values list refinement */
.values-list li {
    margin-bottom: 0.75rem;
}

.values-list strong {
    color: var(--color-neutral-shade);
}

/* Soften transition from hero to content */
.dv2-about-hero {
    margin-bottom: 10rem;
    /* was larger via global rhythm */
}

.first-about-grid-container p:last-child {
    margin-bottom: 0;
}

