/* Хаб /service/: название раздела поверх фото, одинаковые карточки */

.page-service__item {
    aspect-ratio: 1 / 1;
    min-height: 0;
    justify-content: space-between;
    gap: 16px;
    background: #1c1c1c;
}

.page-service__item-background {
    inset: 0;
    z-index: 0;
}

.page-service__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.72) 0%,
        rgba(18, 18, 18, 0.12) 38%,
        rgba(18, 18, 18, 0.05) 62%,
        rgba(18, 18, 18, 0.58) 100%
    );
}

.page-service__item-title,
.page-service__item-arrow {
    position: relative;
    z-index: 2;
}

.page-service__item-title {
    margin: 0;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
    .page-service__item {
        aspect-ratio: 16 / 10;
        gap: 12px;
    }
}
