.dst-services {
    --dst-services-navy: #203354;
    --dst-services-lime: #84bd2d;
    container: dst-services / inline-size;
    width: 100%;
}

.dst-services .dst-services__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2vw, 24px);
    list-style: none;
    margin: 0;
    padding: 0;
}

@container dst-services (min-width: 520px) {
    .dst-services .dst-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container dst-services (min-width: 920px) {
    .dst-services .dst-services__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.dst-services .dst-services__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e7e6e2;
    border-bottom: 3px solid var(--dst-services-lime);
}

.dst-services .dst-services__image {
    aspect-ratio: 3 / 2;
    background: #eef0f2;
}

.dst-services .dst-services__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dst-services .dst-services__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: clamp(16px, 2cqi, 24px);
    overflow-wrap: anywhere;
    font-family: var(--e-global-typography-text-font-family, inherit);
}

.dst-services .dst-services__title {
    color: var(--dst-services-navy);
    font-family: var(--e-global-typography-primary-font-family, inherit);
    font-size: clamp(1.125rem, 2cqi, 1.375rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.dst-services .dst-services__description {
    color: #505a66;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
}

.dst-services .dst-services__link {
    color: var(--dst-services-navy);
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 44px;
    margin-top: auto;
    font-size: 0.9375rem;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: var(--dst-services-lime);
    text-underline-offset: 4px;
}

.dst-services .dst-services__link:hover,
.dst-services .dst-services__link:focus-visible {
    text-decoration-color: currentColor;
}

.dst-services .dst-services__link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
