.homepage-services {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.homepage-services__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
}

.homepage-services__header h2 {
    margin: 0;
    color: #0F263B;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
}

.homepage-services__more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #004488;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.homepage-services__more-link:hover {
    text-decoration: none;
}

.homepage-services__more-link img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.homepage-services-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    min-width: 0;
    min-height: 0;
    border: 0;
    background: none;
}

.homepage-services-card:hover {
    text-decoration: none;
}

.homepage-services-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #004488;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
}

.homepage-services-card__icon img {
    width: 42px;
    height: 42px;
}

.homepage-services-card__title-row {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.homepage-services-card__title-row strong {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

.homepage-services-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    width: 100%;
}

.homepage-services-card__body strong {
    color: #004488;
    font-size: 16px;
    line-height: 1.5;
}

.homepage-services-card__description {
    color: var(--cke-ink);
    font-size: 14px;
    line-height: 1.5;
}

.homepage-services-card__arrow img {
    width: 24px;
    height: 24px;
}

.homepage-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.homepage-services__grid > * + * {
    position: relative;
    padding-left: 16px;
}

.homepage-services__grid > * + *::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e1e8f0;
}

@media (max-width: 1200px) {
    .homepage-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-services__grid > * + * {
        padding-left: 0;
    }

    .homepage-services__grid > * + *::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .homepage-services__grid {
        grid-template-columns: 1fr;
    }
}
