/**
* Theme Name: Custom App
* Description: A custom theme for a website
* Version: 1.0
* Author: Yun-mo
*/
body {
    --main-max-width: 1480px;
    --main-padding-l-f: 20px;
    --banner-height: 800px;
    --widget-title-h1-fs: 40px;
    --widget-title-h2-fs: 32px;
    --widget-title-product-h2-fs: 24px;
    --widget-title-p-1-fs: 20px;
    --widget-title-p-2-fs: 18px;
    --widget-title-p-3-fs: 16px;
    --widget-title-p-4-fs: 14px;
    --widget-p-max-width: 610px;
    --theme-color: #0075c9;
    --theme-color-dark: #0062a9;
    --theme-p-color: #1C1C1C;
    --section-top: max(4vw, 40px);
    --section-bottom: max(4vw, 40px);
    --product-template-padding: max(1.2vw, 20px) var(--main-padding-l-f);
    --animation-duration: 0.6s;
    --header-height: 80px;
    --footer-height: 200px;
    --page-top-padding: max(2vw, 20px);
    --post-gap: max(1.2vw, 20px);
    --svg-active-color: invert(42%) sepia(99%) saturate(1241%) hue-rotate(186deg) brightness(96%) contrast(101%);
    font-family: var(--font-primary);
}

@media screen and (max-width: 900px) {
    body {
        --widget-title-h1-fs: 18px;
        --widget-title-h2-fs: 18px;
        --widget-title-product-h2-fs: 16px;
        --widget-title-p-1-fs: 16px;
        --widget-title-p-2-fs: 16px;
        --widget-title-p-3-fs: 14px;
        --widget-title-p-4-fs: 14px;
    }
}
.pc-header {
    display: block;
}
.mobile-header {
    display: none;
}
.goverlay {
    background-color: rgba(0, 0, 0, 0.80) !important;
}
.glightbox-container .gslider {
    background-color: transparent;
}
.glightbox-container .gslider-image img {
    background-color: #fff !important;
}
@media screen and (max-width: 991px) {
    .pc-header,
    .preview-area {
        display: none !important;
    }
    .mobile-header {
        display: block;
    }
}
.ss-main.select-country {
    padding: 14px 16px !important;
    line-height: 1;
    background-color: #F8F8F8 !important;
}

.ss-main.select-country:focus,
.ss-main.select-country[aria-expanded="true"],
.ss-content .ss-search input:focus {
    border-color: var(--theme-color) !important;
    box-shadow: none !important;
}

.ss-main.select-country .ss-deselect {
    display: none;
}

.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected,
.ss-content .ss-list .ss-option:hover {
    background-color: var(--theme-color) !important;
}

.custom-main-width {
    max-width: var(--main-max-width) !important;
    margin: 0 auto;
    padding: 0 var(--main-padding-l-f) !important;
    /* overflow: hidden; */
    height: 100%;
}

.widget-title {
    margin: var(--section-top) auto 0;
    text-align: center;
    overflow: hidden;
}

.widget-title h1,
.widget-title h2,
.widget-title h3 {
    line-height: 1;
    padding-bottom: 16px;
    position: relative;
    margin: 0;
    font-weight: bold;
    font-family: var(--font-primary);
}

.widget-title h2 {
    font-size: var(--widget-title-h2-fs);
}

.widget-title h1 {
    font-size: var(--widget-title-h2-fs);
}

.widget-title h2 span,
.module-title h3 span,
.widget-sub-title h3 span {
    color: var(--theme-color);
}

.module-title h3 {
    font-size: var(--widget-title-p-1-fs);
    margin-bottom: max(1.2vw, 20px);
    line-height: 1.5;
    font-weight: 700;
}

.widget-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background-color: var(--theme-color);
    border-radius: 2px;
}

.widget-title p {
    font-size: var(--widget-title-p-3-fs);
    line-height: 1.6;
    max-width: var(--widget-p-max-width);
    margin: 16px auto 24px;
    color: var(--theme-p-color);
}

.widget-sub-title h3 {
    font-size: var(--widget-title-h2-fs);
    line-height: 1;
    color: var(--theme-p-color);
    position: relative;
    padding-bottom: 20px;
    font-weight: bold;
    font-family: var(--font-primary);
}

.widget-sub-title h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background-color: var(--theme-color);
    border-radius: 2px;
}

.widget-sub-title p {
    font-size: var(--widget-title-p-3-fs);
    line-height: 1.6;
    max-width: var(--widget-p-max-width);
    margin: 32px 0 0 0;
    color: var(--theme-p-color);
}

.svg-white {
    filter: brightness(0) invert(1);
}

.sticky-top {
    top: calc(var(--header-height, 80px));
    position: sticky;
    z-index: 100;
}

.custom-pc {
    display: block;
}

.custom-mobile {
    display: none;
}

.streamer-banner {
    object-fit: cover;
    width: 100%;
    height: max(16vw, 120px);
}

.streamer-banner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.streamer-banner .streamer-content {
    grid-gap: 16px;
}

.streamer-banner .streamer-content .streamer-banner-content-title h1 {
    font-size: var(--widget-title-h2-fs);
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.streamer-banner .streamer-content .streamer-banner-content-description {
    font-size: var(--widget-title-p-3-fs);
    color: #fff;
    max-width: 680px;
}

.section-item-container {
    margin: var(--section-top) auto;
}

.section-item-container .section-item-content {
    display: grid;
    grid-gap: max(4vw, 40px);
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

.section-item-container .section-item-content .section-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-item-container .section-item-content .section-item-info {
    grid-gap: max(1.2vw, 20px);
}
.section-item-container .section-item-content .section-item-info .section-item-info-module-container {
    flex-wrap: wrap;
}
.section-item-container .section-item-info-module-container .section-item-info-module .section-item-info-value {
    font-size: max(var(--widget-title-p-2-fs), 2.4vw);
    line-height: 1;
    color: var(--theme-color);
    font-weight: bold;
}

.section-item-container .section-item-info-module-container .section-item-info-module .section-item-info-key {
    font-size: var(--widget-title-p-3-fs);
    line-height: 1;
    color: var(--theme-p-color);
}

/* Loading 效果样式 */
.page-loading,
.page-loading-other {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.page-loading.active,
.page-loading-other.active {
    display: flex;
}

.loading-wrapper {
    display: flex;
    gap: 8px;
}

.loading-wrapper .spinner-grow {
    width: 1rem;
    height: 1rem;
    animation-duration: 0.9s;
}

/* 为每个 spinner 设置不同的动画延迟 */
.loading-wrapper .spinner-grow:nth-child(1) {
    animation-delay: 0s;
}

.loading-wrapper .spinner-grow:nth-child(2) {
    animation-delay: 0.1s;
}

.loading-wrapper .spinner-grow:nth-child(3) {
    animation-delay: 0.2s;
}

.loading-wrapper .spinner-grow:nth-child(4) {
    animation-delay: 0.3s;
}

.loading-wrapper .spinner-grow:nth-child(5) {
    animation-delay: 0.4s;
}

/* Footer Styles */
.site-footer {
    background-color: #2B3440;
    padding: 60px 0 30px;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: #fff;
    font-size: var(--widget-title-p-1-fs);
    font-weight: 700;
    margin-bottom: 16px;
}
.menu-section h3 {
    padding-bottom: max(1.2vw, 20px);
    position: relative;
}
.menu-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: max(1.2vw, 20px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

/* Buy online section */
.buy-online-icons img {
    height: 40px;
    width: auto;
}

/* Follow us section */
.follow-title {
    margin-top: 30px;
}

.social-icons,
.buy-online-icons {
    display: flex;
    gap: max(2vw, 20px);
    margin-bottom: max(2.8vw, 30px);
}

/* Apps section */
.apps-title {
    margin-top: 30px;
}

.app-download {
    display: flex;
    gap: 10px;
}

.app-download img {
    height: 40px;
    width: auto;
}

/* Footer bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #fff;
    font-size: 14px;
}

.footer-links a,
.footer-links div {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    line-height: 1;
}

.footer-links div {
    margin: 0 4px;
}

.footer-links a:hover {
    color: #fff;
}
.footer-bottom .partition {
    margin: 0 16px;
    color: rgba(255,255,255,.2);
}
/* Responsive adjustments */
@media (max-width: 992px) {
    .custom-pc {
        display: none;
    }

    .custom-mobile {
        display: block;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* 响应式调整 */
@media screen and (max-width: 770px) {
    .carousel {

        height: calc(100vh - 70px);
    }
    .section-item-container .section-item-content {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-gap: max(2vw, 20px);
}

@media screen and (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 文章卡片组件样式 */
.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--animation-duration) ease;
}

.post-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 226px;
    position: relative;
    overflow: hidden;
}

.post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-thumbnail img,
.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: top center;
    transition: transform var(--animation-duration) ease;
}

.post-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.thumbnail-placeholder {
    background-color: var(--theme-color);
}

.post-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.post-category {
    line-height: 1;
}

.post-category a {
    color: var(--theme-color);
    text-decoration: none;
    font-size: var(--widget-title-p-4-fs);
    transition: color 0.3s ease;
    font-weight: bold;
}

.post-category a:hover {
    color: var(--theme-hover-color);
}

.post-title {
    font-size: var(--widget-title-p-2-fs);
    margin: 0;
    line-height: 1.4;
    font-weight: bold;
    padding-bottom: 16px;
}

.post-card .post-title a {
    color: var(--theme-p-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-title a:hover {
    color: var(--theme-color);
}

.post-meta {
    color: #666;
    font-size: var(--widget-title-p-4-fs);
    margin-top: auto;
}

/* 产品卡片组件样式 */
.product-card {
    background: #F3F4F8;
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--animation-duration) ease;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
    padding: 0 10px max(2vw, 20px);
    width: 100%;
}

.product-thumbnail {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 240px;
    height: 240px;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--animation-duration) ease;
}

.product-card:hover .product-thumbnail img {
    transform: scale(1.08);
}

.product-title {
    font-size: var(--widget-title-p-3-fs);
    color: #333;
    font-weight: bold;
    transition: color var(--animation-duration) ease;
    font-weight: 700;
    line-height: 1.5;
}

.product-card:hover .product-title {
    color: var(--theme-color);
}

/* 分页样式 */
.pagination-wrapper {
    margin-top: max(3vw, 40px);
}

.ajax-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ajax-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ajax-pagination .page-number,
.ajax-pagination .current,
.ajax-pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    color: var(--theme-p-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--animation-duration) ease;
    border: 1px solid #eee;
    font-size: var(--widget-title-p-4-fs);
}

.ajax-pagination .current {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

.ajax-pagination .page-number:hover,
.ajax-pagination .page-btn:hover {
    background: #f5f5f5;
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.ajax-pagination .page-btn {
    padding: 0;
    width: 40px;
}

.ajax-pagination .page-btn svg {
    width: 20px;
    height: 20px;
}

.ajax-pagination .dots {
    color: #999;
    letter-spacing: 2px;
    margin: 0 4px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {

    .ajax-pagination .page-number,
    .ajax-pagination .current,
    .ajax-pagination .page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
    }

    .ajax-pagination .page-btn {
        width: 36px;
    }
}

/* 面包屑导航样式 */
.streamer-banner .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--widget-title-p-4-fs);
    margin: 0;
}

.streamer-banner .breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: all var(--animation-duration) ease;
}

.streamer-banner .breadcrumb a:hover {
    color: var(--theme-color);
}

.streamer-banner .breadcrumb span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.7);
}

.streamer-banner .breadcrumb span:last-child {
    color: #fff;
    margin-left: 8px;
}

/* Solution 卡片样式 */
.solution-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: max(200px, 13vw);
    max-height: 256px;
    transition: all var(--animation-duration) ease;
}

.solution-card:hover {
    /* box-shadow: 0 0 10px rgba(0, 0, 0, .3); */
    transform: scale(1.05);
}

.solution-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
}

.solution-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.solution-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    z-index: 1;
    transition: all var(--animation-duration) ease;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--animation-duration) ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-card .solution-content {
    position: absolute;
    bottom: max(2vw, 20px);
    left: 0;
    width: 100%;
    padding: 0 max(2vw, 20px);
    color: #fff;
    z-index: 2;
}

.solution-card .solution-content .widget-title h2 {
    font-size: var(--widget-title-h2-fs);
    margin: 0 0 12px;
    font-weight: bold;
    transition: color var(--animation-duration) ease;
}

.solution-card .solution-content p {
    font-size: var(--widget-title-p-4-fs);
    margin: 0;
    max-width: 80%;
    opacity: 0.9;
}

.solution-card .solution-content .learn-more {
    display: inline-flex;
    align-items: center;
    color: #fff;
    margin-top: max(2.2vw, 22px);
    font-size: var(--widget-title-p-4-fs);
}

.solution-content .learn-more .arrow-icon {
    width: 20px;
    height: 20px;
    transform: scale(0);
    transform-origin: left center;
    transition: all var(--animation-duration) ease;
}

.solution-card:hover .learn-more .arrow-icon {
    transform: scale(1) translateX(5px);
}

@media screen and (max-width: 768px) {
    .solution-card {
        height: 250px;
    }

    .solution-content .widget-title h2 {
        font-size: calc(var(--widget-title-h2-fs) * 0.8);
    }
}

/* 文章网格布局 */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--post-gap);
}

.solution-category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: max(300px, 18vw);
    transition: all var(--animation-duration) ease;
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--animation-duration) ease;
}

.solution-category-card:hover .category-image img {
    transform: scale(1.1);
    /* 图片放大比例稍大，因为外层已经有放大效果 */
}

.category-content {
    position: absolute;
    bottom: max(2vw, 20px);
    left: 0;
    width: 100%;
    padding: 0 max(2vw, 20px);
    color: #fff;
    z-index: 2;
}

.category-content h2 {
    font-size: var(--widget-title-h2-fs);
    margin: 0 0 12px;
    font-weight: bold;
    transition: color var(--animation-duration) ease;
}

.category-content p {
    font-size: var(--widget-title-p-4-fs);
    margin: 0;
    max-width: 80%;
    opacity: 0.9;
}

/* Learn More 按钮 */
.category-content .learn-more {
    display: inline-flex;
    align-items: center;
    color: #fff;
    margin-top: max(2.2vw, 22px);
    font-size: var(--widget-title-p-4-fs);
}

.category-content .learn-more .arrow-icon {
    width: 20px;
    height: 20px;
    transform: scale(0);
    transform-origin: left center;
    transition: all var(--animation-duration) ease;
}

.solution-category-card:hover .learn-more .arrow-icon {
    transform: scale(1) translateX(5px);
}

/* Application Gallery 样式 */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: max(1.2vw, 20px);
}

.application-item {
    text-align: center;
    border-radius: 8px;
}

.application-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #f2f3f4;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--animation-duration) ease;
}

.application-item:hover .application-image img {
    transform: scale(1.05);
}

.application-title {
    font-size: var(--widget-title-p-3-fs);
    color: #fff;
    padding: 14px 0;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

/* 联系表单样式 */
.product-contact {
    margin-top: var(--product-base-mr);
    background-color: #fff;
    padding: var(--product-base-pd);
}

.contact-form-wrapper h2 {
    font-size: var(--widget-title-h2-fs);
    font-weight: bold;
    margin-bottom: max(2vw, 20px);
    text-align: center;
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: max(1.6vw, 10px);
}

.contact-form label span:not([data-source]) {
    color: #ff0000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: max(2vw, 20px);
}

.form-row p {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.form-column {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    color: #333;
    position: relative;
}

.form-group label:after {
    content: "*";
    color: #ff0000;
    margin-left: 4px;
    position: absolute;
}

.form-control {
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    font-size: 14px;
    background-color: #F8F8F8 !important;
    transition: all 0.3s ease;
}

.form-control:focus,
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: var(--theme-color) !important;
    /* background-color: #fff !important; */
    outline: none;
    box-shadow: none;
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.honeypot-964-wrap {
    display: none !important;
}

/* 输入框样式 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    min-width: 200px;
    padding: 12px 16px;
    background: #F8F8F8;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    font-size: var(--widget-title-p-4-fs);
    color: var(--theme-p-color);
    transition: all var(--animation-duration) ease;
}

.form-submit {
    text-align: center;
    margin-top: 16px;
}

.submit-btn {
    padding: 12px 48px;
    background-color: var(--theme-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0062a9;
}

.wpcf7-form .wpcf7-spinner {
    display: none;
}

.wpcf7-form[data-status="submitting"] .wpcf7-spinner {
    display: inline-block;
}

/* 表单验证消息样式 */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}

.wpcf7 form.failed .wpcf7-response-output {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

/* Lightbox 基础样式 */
.lightbox {
    cursor: zoom-in;
    overflow: hidden;
    display: block;
}

.lightbox img {
    transition: transform var(--animation-duration) ease;
}

.lightbox:hover img {
    transform: scale(1.05);
}

.gclose {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: fixed;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

.gclose:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gnext,
.gprev {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.gnext:hover,
.gprev:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    right: max(2vw, 20px);
    bottom: max(2vw, 20px);
    width: 44px;
    height: 44px;
    background: var(--theme-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--animation-duration) ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #0062a9;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .solution-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-content h2 {
        font-size: calc(var(--widget-title-h2-fs) * 0.9);
    }
    .product-thumbnail {
        width: auto;
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    .solution-categories-grid {
        grid-template-columns: 1fr;
    }

    .solution-category-card {
        height: 250px;
    }

    .category-content h2 {
        font-size: calc(var(--widget-title-h2-fs) * 0.8);
    }

    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
    .post-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 480px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}

/* 分类侧边栏头部样式 */
.category-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 20px; */
    /*padding-bottom: 15px;*/
    border-bottom: 1px solid #eee;
}

.category-sidebar-header h2 {
    margin: 0;
    font-size: var(--widget-title-p-2-fs);
    font-weight: 600;
}

.mobile-category-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    color: var(--theme-p-color);
    cursor: pointer;
    width: 32px;
    height: 32px;
}

.mobile-category-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform var(--animation-duration) ease;
    display: block;
}

.mobile-category-toggle.active svg {
    transform: rotate(-180deg);
}

/* 移动端样式 */
@media (max-width: 991px) {
    .mobile-category-toggle {
        display: block;
    }

    .category-list {
        display: none;
        margin-top: 20px;
    }

    .category-sidebar.expanded .category-list {
        display: block;
        animation: slideDown var(--animation-duration) ease;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
