.pesok-links {
    max-width: 1170px;
    margin: 56px auto;
}

.pesok-links .pesok-links__title {
    margin: 0 0 26px;
    font-family: 'Onest', sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--white);
}

.pesok-links .pesok-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.pesok-links .pesok-links__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: color-mix(in srgb, var(--body-black) 82%, black);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    color: var(--white);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pesok-links .pesok-links__card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--first) 55%, transparent);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.35);
}

.pesok-links .pesok-links__pic {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.pesok-links .pesok-links__pic img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
}

.pesok-links .pesok-links__card:hover .pesok-links__pic img {
    transform: scale(1.05);
}

.pesok-links .pesok-links__name {
    padding: 16px 18px 18px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.pesok-links .pesok-links__card--text {
    justify-content: center;
    min-height: 120px;
    border-left: 3px solid var(--first);
}

.pesok-links .pesok-links__card:hover .pesok-links__name {
    color: var(--first);
}

@media screen and (max-width: 600px) {
    .pesok-links {
        margin: 36px auto;
    }

    .pesok-links .pesok-links__title {
        font-size: 26px;
    }
}

.useful-band {
    position: relative;
    margin: 56px 0;
    padding: 72px 0;
    background-color: var(--body-black);
    background-image:
        linear-gradient(90deg,
            rgba(var(--black-rgb), 0.9) 0%,
            rgba(var(--black-rgb), 0.72) 45%,
            rgba(var(--black-rgb), 0.45) 100%),
        var(--useful-bg, none);
    background-size: auto, cover;
    background-position: center, center;
    background-attachment: scroll, fixed;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.useful-band .useful-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
    max-width: 1170px;
    margin: 0 auto;
}

.useful-card .useful-card__title {
    margin: 0 0 12px;
    font-family: 'Onest', sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--white);
}

.useful-card .useful-card__desc {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.useful-card .useful-card__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.useful-card .useful-card__list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.useful-card .useful-card__list li::before,
.useful-card .useful-card__list li::after {
    content: none;
}

.useful-card .useful-card__list a {
    display: block;
    padding: 16px 0;
    border: 0;
    font-size: 19px;
    line-height: 26px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.useful-card .useful-card__list a:hover,
.useful-card .useful-card__list a:focus-visible {
    color: var(--first);
}

@media (hover: none), (max-width: 991px) {
    .useful-band {
        background-attachment: scroll, scroll;
    }
}

@media screen and (max-width: 1199px) {
    .useful-band .useful-card {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media screen and (max-width: 991px) {
    .useful-band {
        padding: 48px 0;
    }

    .useful-band .useful-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media screen and (max-width: 575px) {
    .useful-band .useful-card {
        padding-left: 15px;
        padding-right: 15px;
    }

    .useful-card .useful-card__title {
        font-size: 28px;
    }

    .useful-card .useful-card__list {
        grid-template-columns: 1fr;
    }
}

.useful-card .useful-card__object {
    display: block;
    width: 260px;
    height: auto;
    margin: 18px 0 -56px -10px;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

.block-wrap--pesoklinks:last-child .useful-band {
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .useful-card .useful-card__object {
        display: none;
    }
}

@media screen and (max-width: 575px) {
    .useful-card .useful-card__list a {
        font-size: 17px;
        line-height: 24px;
    }
}

.page-content:has(> .block-wrap--pesoklinks:last-child) {
    padding-bottom: 0;
}

.page-content:has(> .block-wrap--pesoklinks:last-child) + .footer,
.page-content:has(> .block-wrap--pesoklinks:last-child) ~ .footer {
    margin-top: 0;
}

.useful-band {
    position: relative;
    isolation: isolate;
    max-width: 1170px;
    margin: 56px auto;
    padding: 44px 48px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--body-black);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.useful-band::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: -40px;
    background: var(--useful-bg, none) center / cover no-repeat;
    filter: blur(6px);
}

.useful-band::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(var(--black-rgb), 0.92) 0%,
        rgba(var(--black-rgb), 0.78) 45%,
        rgba(var(--black-rgb), 0.55) 100%);
}

.useful-band .useful-card {
    padding-left: 0;
    padding-right: 0;
}

.useful-card .useful-card__object {
    margin-bottom: -44px;
}

.block-wrap--pesoklinks:last-child .useful-band {
    margin-bottom: 56px;
}

.page-content:has(> .block-wrap--pesoklinks:last-child) {
    padding-bottom: 30px;
}

@media screen and (max-width: 1199px) {
    .useful-band {
        margin: 40px 0;
    }
}

@media screen and (max-width: 991px) {
    .useful-band {
        padding: 32px 28px;
    }
}

@media screen and (max-width: 575px) {
    .useful-band {
        padding: 26px 18px;
    }
}

.block-wrap--pesoklinks > .wrapper {
    max-width: 1170px;
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 1199px) {
    .block-wrap--pesoklinks > .wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.useful-band::before {
    inset: -10px;
    filter: blur(1.5px);
}
