/**
 * Shared styles for pages using the Page -- Custom Full Width layout.
 * Scope page-specific rules with the .cms-custom-full-width body class.
 */
.cms-custom-full-width
    .columns
    [data-content-type="row"][data-appearance="contained"] {
    width: min(83.333333%, 1600px);
}

/* ==============================
   NEV Slider Row
   ============================== */

.esun-nev-row {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-top: 3px solid #14ae68;
}

.esun-nev-row [data-content-type="slider"] {
    margin: 0;
}

.esun-nev-slider {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.esun-nev-slider .slick-list,
.esun-nev-slider .slick-track {
    height: 620px;
}

.esun-nev-slider .slick-slide {
    height: 620px;
}

/* Slide 背景区域 */

.esun-nev-slider .pagebuilder-slide-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 左下区域增加轻微暗层，保证文字清晰 */

.esun-nev-slider .pagebuilder-slide-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.16) 42%,
            rgba(0, 0, 0, 0) 68%
        ),
        linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 48%);
    pointer-events: none;
}

/* 去掉 Page Builder 默认遮罩影响 */

.esun-nev-slider .pagebuilder-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 620px;
    padding: 0;
    background: transparent !important;
}

/* Message Text 内容定位 */

.esun-nev-slider [data-element="content"] {
    width: 100%;
    max-width: none;
    padding: 165px 8.8% 70px;
    color: #fff;
    text-align: left;
}

/* 标题 */

.esun-nev-slider [data-element="content"] h2,
.esun-nev-slider [data-element="content"] h3 {
    max-width: 1050px;
    margin: 0 0 26px;
    color: #fff;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

/* 简介 */

.esun-nev-slider [data-element="content"] p {
    max-width: 920px;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 1px;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.3);
}

/* 清除 TinyMCE 可能自动添加的多余间距 */

.esun-nev-slider [data-element="content"] p:last-child {
    margin-bottom: 0;
}

.products-show-3 .product-image-photo {
    margin: 0 auto;
}
.products-show-3 .product-reviews-summary,
.products-show-3 .product-item-inner .actions-secondary {
    display: none;
}
/* ==============================
   轮播圆点
   ============================== */

.esun-nev-slider .slick-dots {
    position: absolute;
    z-index: 20;
    right: 0;
    bottom: 66px;
    left: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esun-nev-slider .slick-dots li {
    width: 9px;
    height: 9px;
    margin: 0;
    padding: 0;
}

.esun-nev-slider .slick-dots li.slick-active {
    width: 42px;
}

.esun-nev-slider .slick-dots button {
    display: block;
    width: 9px;
    height: 9px;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    color: transparent;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0;
    line-height: 0;
    box-shadow: none;
    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.esun-nev-slider .slick-dots button::before {
    display: none;
}

.esun-nev-slider .slick-dots li.slick-active button {
    width: 42px;
    background: #14b66b;
}

/* 隐藏箭头 */

.esun-nev-slider .slick-prev,
.esun-nev-slider .slick-next {
    display: none !important;
}

/* ==============================
   平板
   ============================== */

@media (max-width: 1200px) {
    .esun-nev-slider .slick-list,
    .esun-nev-slider .slick-track,
    .esun-nev-slider .slick-slide {
        height: 540px;
    }

    .esun-nev-slider .pagebuilder-slide-wrapper,
    .esun-nev-slider .pagebuilder-overlay {
        min-height: 540px;
    }

    .esun-nev-slider [data-element="content"] {
        padding: 140px 7% 70px;
    }

    .esun-nev-slider [data-element="content"] h2,
    .esun-nev-slider [data-element="content"] h3 {
        max-width: 720px;
        margin-bottom: 22px;
        font-size: 46px;
    }

    .esun-nev-slider [data-element="content"] p {
        max-width: 700px;
        font-size: 18px;
    }

    .esun-nev-slider .slick-dots {
        bottom: 42px;
    }
}

/* ==============================
   手机
   ============================== */

@media (max-width: 767px) {
    .esun-nev-row {
        border-top-width: 2px;
    }

    .esun-nev-slider .slick-list,
    .esun-nev-slider .slick-track,
    .esun-nev-slider .slick-slide {
        height: 520px;
    }

    .esun-nev-slider .pagebuilder-slide-wrapper,
    .esun-nev-slider .pagebuilder-overlay {
        min-height: 520px;
    }

    .esun-nev-slider .pagebuilder-slide-wrapper {
        background-position: 67% center;
    }

    .esun-nev-slider .pagebuilder-slide-wrapper::before {
        background: linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.32) 55%,
            rgba(0, 0, 0, 0.04) 100%
        );
    }

    .esun-nev-slider .pagebuilder-overlay {
        align-items: flex-end;
    }

    .esun-nev-slider [data-element="content"] {
        padding: 0 24px 105px;
    }

    .esun-nev-slider [data-element="content"] h2,
    .esun-nev-slider [data-element="content"] h3 {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: 1px;
    }

    .esun-nev-slider [data-element="content"] p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.45;
        letter-spacing: 0;
    }

    .esun-nev-slider .slick-dots {
        bottom: 35px;
        gap: 10px;
    }

    .esun-nev-slider .slick-dots li,
    .esun-nev-slider .slick-dots button {
        width: 8px;
        height: 8px;
    }

    .esun-nev-slider .slick-dots li.slick-active,
    .esun-nev-slider .slick-dots li.slick-active button {
        width: 34px;
    }
}

/* =========================================================
   Competition & Combat Robotics
   ========================================================= */

.esun-robotics-section {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    background: #fff;
    box-sizing: border-box;
}

.esun-robotics-section *,
.esun-robotics-section *::before,
.esun-robotics-section *::after {
    box-sizing: border-box;
}

.esun-robotics-section figure,
.esun-robotics-section [data-content-type="image"] {
    margin: 0;
}

/* =========================================================
   Top introduction
   ========================================================= */

.esun-robotics-intro {
    width: 100%;
    margin: 0;
}

.esun-robotics-intro > .pagebuilder-column-group {
    display: grid !important;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    align-items: center;
    gap: 88px;
}

.esun-robotics-intro > .pagebuilder-column-group > .pagebuilder-column {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    flex: none !important;
    flex-basis: auto !important;
    padding: 0 !important;
}
.esun-nev-case-intro .pagebuilder-column-line,
.esun-robotics-intro .pagebuilder-column-line {
    gap: 80px;
}

/* Top image */

.esun-robotics-main-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.esun-robotics-main-image figure,
.esun-robotics-main-image [data-element="link"] {
    display: block;
    width: 100%;
    margin: 0;
}

.esun-robotics-main-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.68 / 1;
    border-radius: 12px;
    object-fit: cover;
}

/* Main title */

.esun-robotics-title {
    width: 100%;
    margin: 0;
}

.esun-robotics-title h2,
.esun-robotics-title h3 {
    max-width: 780px;
    margin: 0;
    color: #303030;
    font-size: 43px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 7px;
    text-transform: uppercase;
}

/* Description */

.esun-robotics-description {
    width: 100%;
    max-width: 930px;
    margin: 42px 0 0;
}

.esun-robotics-description p {
    margin: 0;
    color: #3b3b3b;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

/* =========================================================
   Bottom gallery
   ========================================================= */

.esun-robotics-gallery {
    width: 100%;
    margin: 42px 0 0;
}

.esun-robotics-gallery > .pagebuilder-column-group {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.esun-robotics-gallery > .pagebuilder-column-group > .pagebuilder-column {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    flex: none !important;
    flex-basis: auto !important;
    padding: 0 !important;
}
.esun-nev-case-body .pagebuilder-column-line,
.esun-robotics-gallery .pagebuilder-column-line {
    gap: 20px;
}
.esun-robotics-two-imgs .pagebuilder-column-line {
    gap: 20px;
}
/* =========================================================
   Banner card
   ========================================================= */

.esun-robot-card {
    position: relative;
    width: 100%;
    min-height: 355px;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    isolation: isolate;
    cursor: pointer;
}

/* Banner background wrapper */

.esun-robot-card .pagebuilder-banner-wrapper {
    position: relative;
    width: 100%;
    min-height: 355px;
    overflow: hidden;
    border-radius: 12px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition:
        background-size 0.55s ease,
        transform 0.55s ease;
}

/* Hover gray overlay */

.esun-robot-card .pagebuilder-banner-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: rgba(45, 47, 48, 0.54);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Remove Page Builder default overlay */

.esun-robot-card .pagebuilder-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    min-height: 100%;
    padding: 0 !important;
    background: transparent !important;
}

/* Poster content fills the entire card */

.esun-robot-card .pagebuilder-poster-content {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
}

/* Default text position: bottom */

.esun-robot-card [data-element="content"] {
    position: absolute;
    right: 24px;
    bottom: 32px;
    left: 24px;
    z-index: 3;
    width: auto;
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: center;
    transform: translateY(0);
    transition:
        bottom 0.45s cubic-bezier(0.2, 0.75, 0.25, 1),
        color 0.3s ease,
        transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.esun-robot-card [data-element="content"] p {
    margin: 0;
    color: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

/* White-background image gets dark default text */

.esun-robot-card-dark-text [data-element="content"] {
    color: #2f2f2f;
}

.esun-robot-card-dark-text [data-element="content"] p {
    text-shadow: none;
}

/* =========================================================
   Hover state
   ========================================================= */

.esun-robot-card:hover .pagebuilder-banner-wrapper::before,
.esun-robot-card:focus-within .pagebuilder-banner-wrapper::before {
    opacity: 1;
}

/* Move text vertically to the center */

.esun-robot-card:hover [data-element="content"],
.esun-robot-card:focus-within [data-element="content"] {
    bottom: 50%;
    color: #fff;
    transform: translateY(50%);
}

.esun-robot-card:hover [data-element="content"] p,
.esun-robot-card:focus-within [data-element="content"] p {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

/* Slight image enlargement */

.esun-robot-card:hover .pagebuilder-banner-wrapper,
.esun-robot-card:focus-within .pagebuilder-banner-wrapper {
    background-size: 106%;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1200px) {
    .esun-robotics-section {
        padding: 80px 28px 65px;
    }

    .esun-robotics-intro > .pagebuilder-column-group {
        grid-template-columns: minmax(0, 44%) minmax(0, 56%);
        gap: 50px;
    }

    .esun-robotics-title h2,
    .esun-robotics-title h3 {
        font-size: 33px;
        letter-spacing: 5px;
    }

    .esun-robotics-description {
        margin-top: 30px;
    }

    .esun-robotics-description p {
        font-size: 16px;
    }

    .esun-robotics-gallery > .pagebuilder-column-group {
        gap: 16px;
    }

    .esun-robot-card,
    .esun-robot-card .pagebuilder-banner-wrapper {
        min-height: 370px;
    }

    .esun-robot-card [data-element="content"] {
        right: 18px;
        bottom: 24px;
        left: 18px;
    }

    .esun-robot-card [data-element="content"] p {
        font-size: 15px;
    }

    .esun-robot-card:hover [data-element="content"],
    .esun-robot-card:focus-within [data-element="content"] {
        bottom: 50%;
    }
}

/* =========================================================
   Small tablet: two cards per row
   ========================================================= */

@media (max-width: 991px) {
    .esun-robotics-intro > .pagebuilder-column-group {
        gap: 35px;
    }

    .esun-robotics-title h2,
    .esun-robotics-title h3 {
        font-size: 27px;
        letter-spacing: 3px;
    }

    .esun-robotics-description {
        margin-top: 22px;
    }

    .esun-robotics-gallery {
        margin-top: 36px;
    }

    .esun-robotics-gallery > .pagebuilder-column-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .esun-robot-card,
    .esun-robot-card .pagebuilder-banner-wrapper {
        min-height: 410px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .esun-robotics-section {
        padding: 45px 18px 50px;
    }

    .esun-robotics-intro > .pagebuilder-column-group {
        display: block !important;
    }

    .esun-robotics-intro > .pagebuilder-column-group > .pagebuilder-column {
        width: 100% !important;
        max-width: 100% !important;
    }

    .esun-robotics-main-image img {
        aspect-ratio: 1.45 / 1;
    }

    .esun-robotics-title {
        margin-top: 30px;
    }

    .esun-robotics-title h2,
    .esun-robotics-title h3 {
        font-size: 27px;
        line-height: 1.2;
        letter-spacing: 3px;
    }

    .esun-robotics-description {
        margin-top: 22px;
    }

    .esun-robotics-description p {
        font-size: 15px;
        line-height: 1.55;
    }

    .esun-robotics-gallery {
        margin-top: 34px;
    }

    .esun-robotics-gallery > .pagebuilder-column-group {
        display: block !important;
    }

    .esun-robotics-gallery > .pagebuilder-column-group > .pagebuilder-column {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 18px;
    }

    .esun-robotics-gallery
        > .pagebuilder-column-group
        > .pagebuilder-column:last-child {
        margin-bottom: 0;
    }

    .esun-robot-card,
    .esun-robot-card .pagebuilder-banner-wrapper {
        min-height: 410px;
    }

    .esun-robot-card [data-element="content"] p {
        font-size: 16px;
    }

    /* Touch devices: keep text visible at bottom */
    .esun-robot-card [data-element="content"] {
        right: 20px;
        bottom: 26px;
        left: 20px;
    }
}

/***************/
/* =========================================================
   Three-image gallery slider
   ========================================================= */

.esun-robot-gallery-row {
    width: 100%;
    margin: 0;
    padding: 40px 0px 120px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

.esun-robot-gallery-row *,
.esun-robot-gallery-row *::before,
.esun-robot-gallery-row *::after {
    box-sizing: border-box;
}

.esun-robot-gallery-slider {
    position: relative;
    width: 100%;
    max-width: 1948px;
    margin: 0 auto;
}

/* =========================================================
   Slick spacing
   ========================================================= */

.esun-robot-gallery-slider .slick-list {
    margin: 0 -9px;
    overflow: hidden;
}

.esun-robot-gallery-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.esun-robot-gallery-slider .slick-slide {
    float: none;
    height: auto;
    margin: 0 9px;
}

.esun-robot-gallery-slider .slick-slide > div {
    height: 100%;
}

/* =========================================================
   Individual slides
   ========================================================= */

.esun-robot-gallery-slide {
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.esun-robot-gallery-slider .pagebuilder-slide-wrapper {
    position: relative;
    width: 100%;
    min-height: 490px;
    overflow: hidden;
    border-radius: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition:
        transform 0.5s ease,
        filter 0.4s ease;
}

/* Remove Page Builder default overlay */

.esun-robot-gallery-slider .pagebuilder-overlay {
    min-height: 490px;
    padding: 0 !important;
    background: transparent !important;
}

.esun-robot-gallery-slider [data-element="content"] {
    display: none;
}

/* Subtle image interaction */

.esun-robot-gallery-slider .slick-slide:hover .pagebuilder-slide-wrapper {
    transform: scale(1.015);
}

/* =========================================================
   Bottom controls
   ========================================================= */

.esun-robot-gallery-slider .slick-dots {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: -83px;
    left: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esun-robot-gallery-slider .slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
    transition: width 0.3s ease;
}

.esun-robot-gallery-slider .slick-dots li.slick-active {
    width: 38px;
}

.esun-robot-gallery-slider .slick-dots button {
    display: block;
    width: 10px;
    height: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    color: transparent;
    background: #d6ebe0;
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.esun-robot-gallery-slider .slick-dots button::before {
    display: none;
}

.esun-robot-gallery-slider .slick-dots li.slick-active button {
    width: 38px;
    background: #14b668;
}

/* =========================================================
   Previous/next arrow buttons
   ========================================================= */

.esun-robot-gallery-slider .slick-prev,
.esun-robot-gallery-slider .slick-next {
    position: absolute;
    top: auto;
    bottom: -96px;
    z-index: 15;
    display: grid !important;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #14b668;
    background: transparent;
    box-shadow: none;
    font-size: 0;
    line-height: 1;
    opacity: 1;
    transform: none;
    cursor: pointer;
}

.esun-robot-gallery-slider .slick-prev {
    left: calc(50% - 145px);
}

.esun-robot-gallery-slider .slick-next {
    right: calc(50% - 145px);
}

.esun-robot-gallery-slider .slick-prev::before,
.esun-robot-gallery-slider .slick-next::before {
    display: block;
    color: #14b668;
    font-family: Arial, sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    opacity: 1;
}

.esun-robot-gallery-slider .slick-prev::before {
    content: "\2039";
}

.esun-robot-gallery-slider .slick-next::before {
    content: "\203A";
}

.esun-robot-gallery-slider .slick-prev:hover,
.esun-robot-gallery-slider .slick-next:hover {
    color: #0e9956;
    background: transparent;
    transform: scale(1.15);
}

.esun-robot-gallery-slider .slick-prev:hover::before,
.esun-robot-gallery-slider .slick-next:hover::before {
    color: #0e9956;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1200px) {
    .esun-robot-gallery-row {
        padding: 35px 30px 110px;
    }

    .esun-robot-gallery-slider .pagebuilder-slide-wrapper,
    .esun-robot-gallery-slider .pagebuilder-overlay {
        min-height: 430px;
    }

    .esun-robot-gallery-slider .slick-prev {
        left: calc(50% - 135px);
    }

    .esun-robot-gallery-slider .slick-next {
        right: calc(50% - 135px);
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .esun-robot-gallery-row {
        padding: 25px 18px 100px;
    }

    .esun-robot-gallery-slider .slick-list {
        margin: 0;
    }

    .esun-robot-gallery-slider .slick-slide {
        margin: 0;
    }

    .esun-robot-gallery-slide,
    .esun-robot-gallery-slider .pagebuilder-slide-wrapper {
        border-radius: 12px;
    }

    .esun-robot-gallery-slider .pagebuilder-slide-wrapper,
    .esun-robot-gallery-slider .pagebuilder-overlay {
        min-height: 340px;
    }

    .esun-robot-gallery-slider .slick-dots {
        bottom: -68px;
        gap: 12px;
    }

    .esun-robot-gallery-slider .slick-prev,
    .esun-robot-gallery-slider .slick-next {
        bottom: -81px;
    }

    .esun-robot-gallery-slider .slick-prev {
        left: calc(50% - 112px);
    }

    .esun-robot-gallery-slider .slick-next {
        right: calc(50% - 112px);
    }

    .esun-robot-gallery-slider .slick-dots li,
    .esun-robot-gallery-slider .slick-dots button {
        width: 8px;
        height: 8px;
    }

    .esun-robot-gallery-slider .slick-dots li.slick-active,
    .esun-robot-gallery-slider .slick-dots li.slick-active button {
        width: 30px;
    }
}

/***************/
/* =========================================================
   Material selection title
   ========================================================= */

.esun-material-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    margin: 0;
    padding: 0;
    background: #fff;
    box-sizing: border-box;
}

.esun-material-title-row > div,
.esun-material-title-row [data-element="inner"] {
    width: 100%;
}

.esun-material-title {
    width: 100%;
    margin: 0;
    color: #303030;
    text-align: center;
}

.esun-material-title h1,
.esun-material-title h2,
.esun-material-title h3 {
    margin: 0;
    color: #303030;
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 8px;
    text-align: center;
    text-transform: uppercase;
}

/* Green underline */

.esun-material-title::after {
    content: "";
    display: block;
    width: 88px;
    height: 3px;
    margin: 23px auto 0;
    background: #17b568;
}

/* Tablet */

@media (max-width: 1200px) {
    .esun-material-title-row {
        min-height: 190px;
    }

    .esun-material-title h1,
    .esun-material-title h2,
    .esun-material-title h3 {
        font-size: 34px;
        letter-spacing: 6px;
    }

    .esun-material-title::after {
        width: 76px;
        margin-top: 20px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .esun-material-title-row {
        min-height: 150px;
    }
    .esun-material-title {
        font-size: 22px;
        line-height: 1.3;
        letter-spacing: 3px;
    }
    .esun-material-title h1,
    .esun-material-title h2,
    .esun-material-title h3 {
        font-size: 25px;
        line-height: 1.3;
        letter-spacing: 3px;
    }

    .esun-material-title::after {
        width: 58px;
        height: 2px;
        margin-top: 16px;
    }
}

/* ==============================
   右侧三个应用项目
   扁平组件通过 Grid 自动组成三行
   ============================== */

.esun-nev-case-products {
    display: grid !important;
    grid-template-columns: minmax(280px, 38%) minmax(0, 62%);
    grid-auto-flow: row;
    grid-auto-rows: auto;
    column-gap: 28px;
    row-gap: 0;
    align-items: start;
    padding: 0 !important;
}

/* 每张图片占左侧两行：标题行 + 文字行 */

.esun-nev-case-products > .esun-nev-product-image {
    grid-column: 1;
    grid-row: auto / span 2;
    align-self: stretch;
    margin: 0 0 24px;
    overflow: hidden;
    border-radius: 12px;
}

.esun-nev-product-image figure,
.esun-nev-product-image [data-content-type="image"] {
    width: 100%;
    height: 100%;
    margin: 0;
}

.esun-nev-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 185px;
    aspect-ratio: 1.8 / 1;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.esun-nev-product-image:hover img {
    transform: scale(1.04);
}

/* 标题自动进入右侧第一行 */

.esun-nev-case-products > .esun-nev-product-title {
    grid-column: 2;
    align-self: end;
    margin: 34px 0 0;
}

.esun-nev-product-title h3,
.esun-nev-product-title h4 {
    margin: 0;
    color: #090909;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

/* 文字自动进入标题下面 */

.esun-nev-case-products > .esun-nev-product-text {
    grid-column: 2;
    align-self: start;
    margin: 18px 0 24px;
}

.esun-nev-product-text p {
    margin: 0;
    color: #171717;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
}

/* 清除 Page Builder 子组件宽度干扰 */

.esun-nev-case-products > * {
    width: auto !important;
    max-width: none !important;
}

/* 平板 */

@media (max-width: 1200px) {
    .esun-nev-case-products {
        grid-template-columns: minmax(210px, 40%) minmax(0, 60%);
        column-gap: 20px;
    }

    .esun-nev-product-image img {
        min-height: 155px;
    }

    .esun-nev-case-products > .esun-nev-product-title {
        margin-top: 18px;
    }

    .esun-nev-product-title h3,
    .esun-nev-product-title h4 {
        font-size: 20px;
    }

    .esun-nev-case-products > .esun-nev-product-text {
        margin-top: 10px;
    }

    .esun-nev-product-text p {
        font-size: 15px;
    }
}

/* 手机端恢复正常上下排列 */

@media (max-width: 767px) {
    .esun-nev-case-products {
        display: block !important;
        margin-top: 46px;
    }

    .esun-nev-case-products > .esun-nev-product-image {
        display: block;
        margin: 0;
    }

    .esun-nev-product-image img {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1.8 / 1;
    }

    .esun-nev-case-products > .esun-nev-product-title {
        display: block;
        margin: 18px 0 0;
    }

    .esun-nev-case-products > .esun-nev-product-text {
        display: block;
        margin: 10px 0 34px;
    }

    .esun-nev-product-title h3,
    .esun-nev-product-title h4 {
        font-size: 20px;
    }

    .esun-nev-product-text p {
        font-size: 15px;
        line-height: 1.55;
    }
}

/* Page Builder product carousel card shell. */
.products-show-3 .slick-track {
    display: flex !important;
    align-items: stretch;
}

.products-show-3 .slick-slide {
    height: auto;
    padding: 0 14px;
    box-sizing: border-box;
}

.products-show-3 .slick-slide > div {
    height: 100%;
}

.products-show-3 .product-item {
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
}

.products-show-3 .product-item-info {
    width: 100%;
    height: 100%;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #dcece4;
    border-radius: 30px;
    background: #fff;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .products-show-3 .slick-slide {
        padding: 0 8px;
    }

    .products-show-3 .product-item-info {
        padding: 14px;
        border-radius: 22px;
    }
}
