.f-services-style__content {
    --padding-x: 20px;
    --padding-y: 32px;
    padding: 20px;
}

.layout_2 .f-card__title {
    margin-bottom: 20px;
}

.layout_4 .f-card__title {
    margin-bottom: 20px;
}

.layout_2 .f-card__description {
    margin-top: 20px;
}

.layout_2 .f-services-style__wrapper::before, .layout_3 .f-services-style__wrapper::before, .layout_4 .f-services-style__wrapper::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: 0;
    inset-inline-start: 0;
    background: rgb(var(--color-button));
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    border-radius: 0 0 2px 2px;
    z-index: 1;
}

.layout_2 .f-services-style__wrapper:hover::before, .layout_3 .f-services-style__wrapper:hover::before, .layout_4 .f-services-style__wrapper:hover::before {
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.layout_3 .f-services-style__image {
    margin-top: 20px;
}

.layout_3 .f-card__button {
    margin-top: 15px;
}

.layout_3 .f-services-style__content {
    padding: 40px 0 40px 40px;
}

.layout_3 .f-services-style__content .f-card__title{
    padding-right: 40px;
}

.layout_3 .f-services-style__content .f-card__description{
    padding-right: 40px;
}
.layout_3 .f-services-style__content .f-card__button{
    padding-right: 40px;
}
.layout_3 .f-card__description {
    margin-top: 20px;
}

.layout_3 .f-services-style__wrapper .f-services-style__image {
    position: relative;
    transition: all var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;

}

.layout_3 .f-services-style__wrapper .f-image img {
    transition: all var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;
}

.layout_3 .f-services-style__wrapper:hover .f-image img {
    transition: all var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;
    border-radius: 120px 0 0 120px;
    overflow: hidden;
}

.f-card__forloop-3 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: rgb(var(--color-background));
    color:rgb(var(--color-button));
}

.f-multiple-services-style .f-slider-controls {
    margin-top: 0;
    margin-bottom: 0;
}

.f-services-style.color-scheme-inherit .f-gradient {
    background-color: rgb(var(--color-background-secondary));
}

.f-services-style.color-scheme-inherit .f-card__description {
    color: rgb(var(--color-foreground-secondary));
}

.header-swiper--controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .header-swiper--controls .f-slider-controls {
        margin-bottom: 0
    }
}

.f-services-style__content-inner {
    transition: color var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;
}

.f-services-style__image {
    overflow: hidden;
}

.f-card__forloop {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 52px;
    position: relative;
    color: rgb(var(--color-foreground-secondary));
    opacity: 0.3;
    transition: all var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;
}

.f-card__forloop:after {
    position: absolute;
    width: calc(100% - 70px);
    height: 1px;
    z-index: 2;
    inset-inline-end: 0px;
    background: rgb(var(--color-foreground-secondary));
    content: "";
    top: 50%;
    transform: translateY(-50%);
    transition: color var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;

}

.f-services-style__wrapper:hover .f-card__forloop {
    color: rgb(var(--color-button));
    opacity: 1
}

.f-services-style__wrapper:hover .f-card__forloop:after {
    background: rgb(var(--color-button));

}

.f-services-style__wrapper:hover .f-card__button {
    color: rgb(var(--color-button));
}

.f-services-style__wrapper:hover .f-card__button .icon {
    color: #FFFFFF
}

.f-services-style__wrapper:hover .f-card__button .icon:after {
    background: rgb(var(--color-button));
    opacity: 1;
}

.f-services-style__wrapper .f-image img, .f-services-style__wrapper svg {
    transition: transform var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;
}

.f-services-style__wrapper:hover .f-image img, .f-services-style__wrapper:hover svg {
    transition: transform var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;
    transform: scale(1.13) translateZ(0);
    backface-visibility: hidden
}


@media screen and (min-width: 768px) {
    .f-services-style {
        padding-left: calc(var(--column-gap, 0) / 2);
        padding-right: calc(var(--column-gap, 0) / 2);
    }

}

.swiper-container .f-services-style {
    padding-left: 0;
    padding-right: 0;
}

.swiper-container.f-mixed-layout {
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 1024px) {
    .f-services-style__content {
        --padding-x: 24px;
        --padding-y: 48px
    }
}

@media screen and (min-width: 1280px) {
    .f-services-style__content {
        --padding-x: 60px;
        --padding-y: 48px
    }
}

@media screen and (min-width: 1536px) {
    .f-services-style__content {
        --padding-x: 80px;
        --padding-y: 60px
    }
}

@media screen and (max-width: 767px) {
    .f-services-style.color-scheme-inherit .f-services-style__content {
        padding-top: 24px
    }
}

.f-services-style-carousel__wrapper.m\:display-grid {
    row-gap: var(--row-gap)
}

@media screen and (max-width: 767px) {
    .f-services-style-carousel__wrapper.m\:display-grid {
        row-gap: var(--row-gap-mobile)
    }
}

@media screen and (min-width: 768px) {
    .f-services-style-carousel[data-enable-slider=true] {
        width: 140vw
    }
}

.f-card__description {
    color: rgb(var(--color-foreground-secondary));
    margin-top: 10px;
}

.f-card__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    pointer-events: auto;
    font-weight: 600;
    color: rgb(var(--color-foreground));
    transition: color var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;


}

.f-card__button .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: rgb(var(--color-foreground-secondary));
    position: relative;

}

.f-card__button .icon:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(var(--color-foreground-secondary));
    opacity: 0.3;
    z-index: -1;
    transition: all var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;


}

.f-card__title {
    transition: color var(--f-duration-image) cubic-bezier(0.15, 0.75, 0.5, 1) 0s;
}

.f-card__subtitle {
    margin-bottom: 10px;
}

.f-services-style__wrapper {
    position: relative;
}

.f-image-included {
    padding: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

.f-slide__overlay::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--color-image-overlay);
    opacity: var(--opacity-image-overlay);
    pointer-events: none
}


.f-hover-box--scale-up:hover .f-services-style__content-inner {
    color: #ffffff;
}

.f-hover-box--scale-up:hover .f-services-style__content-inner .f-card__title {
    color: #ffffff;
}


.border-color {
    border: 1px solid rgb(var(--color-border));
}

.f-services-style__wrapper.content_overlay_2:hover .f-card__description {
    visibility: visible;
    opacity: 1;
}

.layout-4-center {
    display: flex;
}

.layout-4-center .f-card__subtitle {
    font-size: 90px;
    font-weight: 700;
    line-height: 0.85;
}

.layout-4-center .f-card__subtitle:after {
    display: none;
}

/* 图文列表轮播布局能力（合并） */
.f-services-style__body--split {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}

.f-services-style__body--split .f-section__header {
    margin-bottom: 0;
}

.f-multiple-services-style .f-services-style__aside {
    margin-bottom: var(--f-section-header-spacing-bottom, 60px);
}

.f-multiple-services-style .f-slider-controls__button {
    border-radius: var(--blocks-radius);
}

.f-multiple-services-style .f-section__header {
    margin-bottom: 0;
}

.f-services-style__body--split .f-services-style__aside .f-section__heading {
    font-size: clamp(30px, 3.6vw, 52px);
    line-height: 1.1;
    max-width: 480px;
}

.f-services-style__body--split .f-services-style__aside .f-section__description {
    max-width: 420px;
}

.f-services-style__stage {
    min-width: 0;
}

.f-services-style__header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgb(var(--color-foreground));
    text-decoration: none;
    border-bottom: 1px solid rgb(var(--color-border));
    padding-bottom: 8px;
    margin-top: 24px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.f-services-style__header-link:hover {
    color: rgb(var(--color-button));
    border-color: rgb(var(--color-button));
}

.f-services-style__body--split .header-swiper--controls {
    display: block;
}

@media (max-width: 1200px) {
    .f-services-style__body--split {
        grid-template-columns: 1fr;
    }
}

/* 头部与「图文列表轮播」一致（标题左侧模式） */
.f-services-style__body--split .f-services-style__aside .f-section__subheading {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.f-services-style__body--split .f-services-style__aside .f-section__heading {
    font-size: clamp(30px, 3.6vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    max-width: 480px;
}

.f-services-style__body--split .f-services-style__aside .f-section__description {
    color: rgb(var(--color-foreground-secondary));
    font-size: 16px;
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 24px;
}

/* 头部左右排列 + 箭头无底部外边距（与图文列表轮播一致） */
.f-services-style .header-swiper--controls {
    flex-wrap: nowrap;
}

.f-services-style .header-swiper--controls .f-section__header {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 760px;
    margin-bottom: 0;
}

.f-services-style__body--split .f-services-style__aside {
    margin-bottom: 0;
}

.header-swiper--controls .f-services-style__header-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 769px) {
    .header-swiper--controls .f-services-style__header-side {
        margin-top: 30px;
    }
}

.header-swiper--controls .f-services-style__header-link {
    margin-top: 10px;
}

.f-services-style__body--split .f-services-style__header-side {
    flex-direction: column;
    align-items: flex-start;
}

.f-services-style__body--split .f-services-style__header-side .f-slider-controls {
    margin-top: 25px;
}

.f-services-style .header-swiper--controls .f-services-style__header-side {
    flex: 0 0 auto;
}

.f-services-style .header-swiper--controls .f-slider-controls,
.f-services-style .f-multiple-services-style .f-slider-controls {
    margin-bottom: 0;
}
