/* About page ------------------------------------------------------------- */

.about-hero {
    position: relative;
    padding-top: 9rem;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .about-hero {
        padding-top: 10rem;
    }
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 520px;
    background: linear-gradient(180deg, rgba(23, 141, 114, 0.12), rgba(255, 255, 255, 0));
    z-index: 0;
    pointer-events: none;
}

:where(.uc-dark) .about-hero::before {
    background: linear-gradient(180deg, rgba(23, 141, 114, 0.22), rgba(14, 14, 15, 0));
}

.about-hero > * {
    position: relative;
    z-index: 1;
}

/* Value cards reuse the site card pattern; this just evens out heading heights */
.about-value-card h3 {
    min-height: 2.4em;
}

/* Segment pills */
.about-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-segments li {
    display: inline-flex;
}

.about-segments li a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-primary, #178d72);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary, #178d72);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.about-segments li a:hover {
    background: var(--color-primary, #178d72);
    color: #fff;
}

:where(.uc-dark) .about-segments li a {
    color: #fff;
}
