/* Service-page navigation: panorama layout over the shared page pattern. */
.service-gateway {
    margin-top: 0;
    position: relative;
    isolation: isolate;
    color: #725c43;
    padding: 45px 0 52px;
}

.service-gateway__inner {
    max-width: 1160px;
    margin: auto;
    padding-inline: 24px;
}

.service-gateway a {
    text-decoration: none;
}

.service-gateway a:focus-visible {
    outline: 3px solid #007d9b;
    outline-offset: 4px;
}

.service-gateway h2,.service-gateway h3 {
    font-family: var(--hemu-font-songti);
    font-weight: 400;
}

.service-gateway h2 {
    font-size: 44px;
    line-height: 1.3;
    margin: 0;
    color: inherit;
}

.service-gateway h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 0 0 8px;
    color: inherit;
}

.service-gateway p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

.service-gateway__label {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #8a806b;
}

.service-gateway__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.service-gateway__heading p {
    max-width: 290px;
    color: #8a755f;
}

.service-gateway__panorama {
    height: 295px;
    overflow: hidden;
    border-radius: 21px;
    position: relative;
    background: #c6c7ad;
}

.service-gateway__panorama img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
    display: block;
}

.service-gateway__panorama:after {
    content: '';
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(transparent,#19362b66);
}

.service-gateway__panorama span {
    position: absolute;
    left: 30px;
    bottom: 42px;
    z-index: 1;
    color: #fff9ee;
    font: 27px var(--hemu-font-songti);
}

.service-gateway__links {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
    margin: -24px 24px 0;
    position: relative;
    z-index: 2;
}

.service-gateway__link {
    padding: 21px 19px 19px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 13px;
    background: #fff7e9;
    min-height: 185px;
    color: #6d5b42;
    box-shadow: 0 5px 15px #3b35250b;
}

.service-gateway__link:nth-child(2) {
    background: #dce9ec;
    color: #245466;
}

.service-gateway__link:nth-child(3) {
    background: #dfe8d8;
    color: #506a43;
}

.service-gateway__link:nth-child(4) {
    background: #e7e0d7;
    color: #65564b;
}

.service-gateway__link:hover {
    filter: brightness(1.035);
}

.service-gateway__link p {
    font-size: 13px;
    opacity: .85;
    margin-bottom: 13px;
}

.service-gateway__link .service-gateway__number {
    font: 12px var(--hemu-font-songti);
    margin-bottom: 12px;
    opacity: .6;
}

.service-gateway__more {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}


@media(max-width:991px) {
    .service-gateway h2 {
        font-size: 38px;
    }

    .service-gateway__links {
        grid-template-columns: repeat(2,minmax(0,1fr));
        margin-inline: 20px;
    }

    .service-gateway__link {
        min-height: 165px;
    }

    .service-gateway__panorama {
        height: 260px;
    }

}

@media(max-width:575px) {
    .service-gateway__inner {
        padding-inline: 20px;
    }

    .service-gateway {
        padding: 30px 0 36px;
    }

    .service-gateway__heading {
        display: block;
        margin-bottom: 23px;
    }

    .service-gateway h2 {
        font-size: 34px;
    }

    .service-gateway__heading p {
        margin-top: 13px;
        max-width: none;
        font-size: 13px;
    }

    .service-gateway__panorama {
        height: 235px;
    }

    .service-gateway__panorama img {
        object-position: 34% center;
    }

    .service-gateway__panorama span {
        font-size: 22px;
        left: 20px;
        bottom: 35px;
        max-width: 200px;
        line-height: 1.5;
    }

    .service-gateway__links {
        gap: 10px;
        margin-inline: 10px;
        margin-top: -18px;
    }

    .service-gateway__link {
        padding: 17px 14px;
        min-height: 186px;
    }

    .service-gateway__link h3 {
        font-size: 18px;
    }

    .service-gateway__link p {
        font-size: 12px;
        line-height: 1.6;
    }

    .service-gateway__link .service-gateway__number {
        margin-bottom: 9px;
    }

    .service-gateway__more {
        font-size: 12px;
    }

}
