/* Homepage four-card B2B solutions strip. */
.woao-home-solutions,
.woao-home-solutions * {
    box-sizing: border-box;
}

.woao-home-solutions {
    --woao-sol-primary: #0a63a8;
    --woao-sol-dark: #084f87;
    --woao-sol-red: #d71f18;
    --woao-sol-muted: #526274;
    margin: 0;
    padding: 72px 24px;
    background: #edf5fa;
    color: #1f2937;
}

.entry-content .woao-home-solutions p,
.woao-home-solutions p {
    margin-bottom: 0;
    padding-bottom: 0;
}

.entry-content .woao-home-solutions p.woao-home-solutions__eyebrow,
.woao-home-solutions p.woao-home-solutions__eyebrow {
    margin-bottom: 14px;
}

.woao-home-solutions p:empty,
.woao-home-solutions br {
    display: none;
}

.woao-home-solutions__inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.woao-home-solutions__heading {
    max-width: 820px;
    margin: 0 auto 32px;
    text-align: center;
}

.woao-home-solutions__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    margin: 0 auto 14px;
    color: var(--woao-sol-red);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.woao-home-solutions__eyebrow::before {
    width: 24px;
    height: 2px;
    margin-right: 8px;
    background: var(--woao-sol-red);
    content: "";
}

.woao-home-solutions h2 {
    margin: 0;
    padding: 0;
    color: var(--woao-sol-dark);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.woao-home-solutions__heading > p:last-child {
    margin: 18px 0 0;
    color: var(--woao-sol-muted);
    font-size: 15px;
    line-height: 1.6;
}

.woao-home-solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.woao-home-solutions__card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d5e3ee;
    border-radius: 6px;
    background: #ffffff;
    transition: box-shadow 160ms ease, border-color 160ms ease;
}

.woao-home-solutions__card:hover {
    border-color: #b7d0e2;
    box-shadow: 0 10px 22px rgba(8, 79, 135, 0.08);
}

.woao-home-solutions__media {
    display: flex;
    aspect-ratio: 16 / 10;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f4f8fb;
}

.woao-home-solutions__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.woao-home-solutions__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 10px 14px 20px;
}

.woao-home-solutions__body h3 {
    margin: 0;
    padding: 0;
    color: var(--woao-sol-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.woao-home-solutions__body p {
    margin: 6px 0 0;
    color: var(--woao-sol-muted);
    font-size: 13px;
    line-height: 1.55;
}

.woao-home-solutions__link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    color: var(--woao-sol-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.woao-home-solutions__link span {
    margin-left: 4px;
}

.woao-home-solutions__link:hover,
.woao-home-solutions__media:hover + .woao-home-solutions__body .woao-home-solutions__link {
    color: var(--woao-sol-dark);
}

.woao-home-solutions__link:focus-visible,
.woao-home-solutions__media:focus-visible,
.woao-home-solutions__more a:focus-visible {
    outline: 3px solid rgba(10, 99, 168, 0.35);
    outline-offset: 2px;
}

.entry-content .woao-home-solutions p.woao-home-solutions__more,
.woao-home-solutions p.woao-home-solutions__more {
    margin: 28px 0 0;
    text-align: center;
}

.woao-home-solutions__more a {
    display: inline-flex;
    align-items: center;
    color: var(--woao-sol-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.woao-home-solutions__more a:hover {
    color: var(--woao-sol-dark);
}

.woao-home-solutions__more a span {
    margin-left: 4px;
}

@media (max-width: 1100px) {
    .woao-home-solutions {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .woao-home-solutions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .woao-home-solutions {
        padding: 44px 16px;
    }

    .woao-home-solutions h2 {
        font-size: 26px;
    }

    .woao-home-solutions__heading > p:last-child {
        font-size: 14px;
    }

    .woao-home-solutions__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .woao-home-solutions__card {
        transition: none;
    }
}
