.feature-rows {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 96px) 0;
}

.feature-rows.theme-dark {
    background: linear-gradient(90deg, var(--dark-blue-500) 40%, rgba(14, 75, 149, 0.85) 85%);
}

.feature-rows.theme-light {
    background: var(--white);
}

.feature-rows-inner {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5.4vw, 82px);
}

/* Intro
 --------------------------------------------- */
.feature-rows-head {
    display: flex;
    flex-flow: row wrap;
    gap: clamp(32px, 6vw, 96px);
    align-items: flex-start;
}

.feature-rows-head-lead {
    flex: 1 1 420px;
    min-width: 300px;
}

.feature-rows-head-body {
    flex: 1 1 380px;
    min-width: 280px;
    padding-top: 6px;
}

.feature-rows-eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.feature-rows[class] .feature-rows-heading {
    margin: 22px 0 0;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.feature-rows-head-body p {
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 1.55;
    text-wrap: pretty;
}

.feature-rows-head-body > *:first-child {
    margin-top: 0;
}

/* Rows
 --------------------------------------------- */
.feature-row {
    margin-top: clamp(48px, 6vw, 84px);
    display: flex;
    flex-flow: row wrap;
    gap: clamp(32px, 5.5vw, 84px);
    align-items: center;
}

.feature-row.is-flipped {
    flex-direction: row-reverse;
}

.feature-row-copy {
    flex: 1 1 380px;
    min-width: 290px;
}

.feature-row-label {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.feature-row-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.feature-row-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.feature-row-label-text {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.feature-rows[class] .feature-row-heading {
    margin: 18px 0 0;
    font-weight: 300;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.feature-row-content {
    margin-top: 26px;
}

.feature-row-content p {
    margin: 16px 0 0;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.5;
    text-wrap: pretty;
}

.feature-row-content > *:first-child {
    margin-top: 0;
}

.feature-row-content ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-row-content ul li {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.5;
    text-wrap: pretty;
}

/* Square bullet, aligned to the first line of text. */
.feature-row-content ul li::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-top: 9px;
}

.feature-row-media {
    flex: 1 1 440px;
    min-width: 290px;
    max-width: 620px;
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
}

.feature-row-media img,
.feature-row-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark theme
 --------------------------------------------- */
.theme-dark .feature-rows-heading,
.theme-dark .feature-rows-head-body,
.theme-dark .feature-row-heading,
.theme-dark .feature-row-content {
    color: var(--white);
}

.theme-dark .feature-rows-eyebrow {
    color: var(--orange);
}

.theme-dark .feature-row-label-text,
.theme-dark .feature-row-icon {
    color: var(--blue-100);
}

.theme-dark .feature-row-content ul li::before {
    background: var(--blue-100);
}

.theme-dark .feature-row-media {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
}

/* Light theme
 --------------------------------------------- */
.theme-light .feature-rows-heading,
.theme-light .feature-rows-head-body,
.theme-light .feature-row-heading,
.theme-light .feature-row-content {
    color: var(--dark-blue);
}

.theme-light .feature-rows-eyebrow,
.theme-light .feature-row-label-text,
.theme-light .feature-row-icon {
    color: var(--blue);
}

.theme-light .feature-row-content ul li::before {
    background: var(--orange);
}

.theme-light .feature-row-media {
    border: 1px solid var(--blue-50);
    background: var(--off-white);
}

@media screen and (max-width: 767px) {
    .feature-row,
    .feature-row.is-flipped {
        flex-direction: column;
        /* align-items: center only sizes children by content in a row; reset
           it here or the copy and media both shrink-to-fit and overflow the
           viewport instead of stretching to its width. */
        align-items: stretch;
    }

    .feature-row-copy,
    .feature-row-media {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}
