@font-face {
    font-family: "Barlow"; 
    src: url(fonts/Barlow-Regular.ttf);
}
@font-face {
    font-family: "Barlow Light"; 
    src: url(fonts/Barlow-Light.ttf);
}

@font-face {
    font-family: "EBGaramond"; 
    src: url(fonts/EBGaramond-VariableFont_wght.ttf);
}
:root{
    --cnvs-themecolor: #0760b0;
    --cnvs-themecolor-rgb: 7 96, 176;
    --cnvs-secondary-color: #E9C46A;
    --cnvs-body-font: "Barlow Light", "PingFang SC", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --cnvs-primary-font: "EBGaramond",'Barlow', "PingFang SC", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-body-bg: #F8F8F8 /*#F6F5ED*/;
}

:root{--bs-body-font-size:14px;}
div,h1,h2,h3,h4,p{text-wrap: pretty;}

.fs-6{font-size: 0.875rem!important;}
@media (min-width: 1200px) {
    .display-6 {
        font-size: 2rem;
    }
    .ms--10{margin-left:-10%}
}
.dark{
    --cnvs-header-sticky-bg: var( --cnvs-themecolor);
    --cnvs-header-bg: var(--cnvs-themecolor);
}
.glass-effect {
    backdrop-filter: blur(1px);
    background: transparent!important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.glass-effect-1{
    backdrop-filter: blur(8px);
   
    border: 1px solid rgba(220, 234, 248, 0.4);
    background-color:rgba(220, 234, 248, 0.2);
}
.glass-effect-5{
    backdrop-filter: blur(5px);
    background: transparent!important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
img.img-glass-effect{
  filter: blur(5px);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.mfp-figure figure{background-color: #fff;}

.swiper-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.swiper-slide > div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post-thumbnail img{height: auto;}
.overlay-trigger-icon {
    --cnvs-bg-overlay-icon-size: 100px;
    --cnvs-bg-overlay-icon-rounded: 0;
}
@media (min-width: 768px) {
    .post-thumbnail img{max-width: 80%;}
}
.error404{font-size: inherit;line-height: inherit;letter-spacing: normal;}
.video-overlay,
.video-placeholder{background: none;}
.box-img {
    position: relative;
    box-shadow: 14px -14px 0 0 rgba(var(--cnvs-themecolor-rgb,253,92,99), 0.15);
}
.box-img.shadow-left {
    box-shadow: -14px -14px 0 0 rgba(var(--cnvs-themecolor-rgb,253,92,99), 0.15);
}
.feature-box{--cnvs-featured-box-font-size: 0.875rem};
.bg-color-tit{background-color: #F6F5ED;}
.bg-color-2,
.h-bg-color-2:hover { background-color: var(--cnvs-secondary-color) !important; }
.aspect-3-2{aspect-ratio: 300 / 200!important;}
.aspect-2-3{aspect-ratio: 200 / 300!important;}
.aspect-1-1{aspect-ratio: 800 / 800!important;}
.dotted-bg:before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 100%;
    background-size: 12px 12px;
    background-position: center;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(rgba(var(--cnvs-themecolor-rgb),0.3) 14%, transparent 14%);
    -webkit-mask-image: radial-gradient(rgba(0,0,0,1),rgba(0,0,0,0) 75%);
    mask-image: radial-gradient(rgba(0,0,0,1),rgba(0,0,0,0) 75%);
    z-index: 0;
}
ul.wp-block-list{margin-left: 2rem;}
.grid-filter-wrap, .grid-filter{
    --cnvs-grid-filter-item-font-size: 1rem;
}
.grid-filter li a{color: #000;}
.modal{--bs-modal-bg: #FFF}


/* Menu  */
#header {
    --cnvs-primary-menu-active-color: #075faf;
    --cnvs-primary-menu-hover-color: #075faf;
}
#header-wrap #logo img{height: 50px;}
.language-switcher a{
    display: block;
    height: 1.4rem;
    width: 1.4rem;
    border-radius: 50%;
    font-size: 0.75rem;
    line-height: 1.2rem;
}
.language-switcher a:hover {
     background-color: #f2f2f2;
}
@media only screen and (orientation: portrait) {
  #header-wrap #logo img{
    /*height: auto;*/
  }
}
@media (min-width: 992px) {
    .block-mega-menu-3 .mega-menu-small .mega-menu-content {
        max-width: 350px;
        border: 1px solid #EEE;
    }
    .block-mega-menu-3 .mega-menu-small .mega-menu-content .sub-menu-container .menu-link {
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (max-width: 991.98px) {
    .block-mega-menu-3 .mega-menu-small .mega-menu-content .sub-menu-container .menu-item {
        padding: 10px 0 8px;
    }
}
#page-title, .page-title{--cnvs-page-title-parallax-font-size: calc(1.5rem + 1vw);}



#footer{
    border-top: none;
    background-color: #005aa1;
}
#footer .divider{
    --cnvs-divider-border-color: rgba(255, 255, 255, .2);
}
#footer .menu-item{
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 400;
    border: 0 none;
}
#footer .footer-nav ul li{margin-bottom: 0; }
.team-image img{
    aspect-ratio: 800 / 800;
    object-fit: cover;
}
/* Front Page */

.owl-carousel .owl-stage {
  display: flex !important;
  align-items: stretch;
}
.oc-item {
  display: flex;
  flex-direction: column;
  width: 100%; /* 确保宽度正确 */
  
}
.cats-wrap a {
    display: block;
    position: relative;
    overflow: hidden;
}
.cats-wrap a img {
    transition: transform .5s ease-out;
    will-change: transform;
    transform-origin: center center;
}
.cats-wrap a:hover img {
    transform: scale(1.1);
}
.best-products .min-h-500 {
    min-height: 500px !important;
}
.best-products .min-h-300 {
    min-height: 300px !important;
}

#section-blog .entry-title h3 {
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
}

#section-blog .entry-title:hover h3 a {
    color: #DDD
}

#section-blog .btn-more {
    opacity: 0;
    font-size: 1.5rem;
    color: #FFF;
    margin-top: 15px;
    transition: opacity .3s ease;
}

#section-blog .grid-item .bg-overlay-content {
    top: auto;
    bottom: -40px;
    transition: bottom .3s ease;
}

#section-blog .grid-item:hover .bg-overlay-content {
    bottom: 0;
}

#section-blog .grid-item:hover .btn-more {
    opacity: 1;
}

#section-blog .entry-meta li {
    font-style: italic;
    font-size: 90%;
}

#section-blog .dark .entry-meta li,
#section-blog .dark .entry-meta li a {
    color: rgba(255,255,255,0.8);
}
a.team-item {display: block; position: relative; height: 100%;}
a.team-item  span{opacity: 0; position: absolute;  top: 2px; left: 2px; background-color: #FFF; }
a.team-item:hover span{opacity: 1;animation-name: fadeIn; }

/* Testimonials Front Page */
.owl-carousel{--cnvs-owl-nav-background: #FFF;}

.testimonials-carousel .owl-stage {
    padding: 2rem 0 1.5rem;
}
.testimonials-carousel .owl-item {
    opacity: .6;
    transition: transform .3s ease;
    transform: scale(0.8);
}
.testimonials-carousel .owl-item.active.center {
    opacity: 1;
    transform: scale(1);
}
.testimonial {
    border: 0;
    box-shadow: 0 0 35px rgba(140, 152, 164, 0.2);
    border-radius: 0.25rem;
    padding: 25px;
}
.testimonial-image {
    width: 5rem !important;
    height: auto !important;
    margin: -2.5rem auto 0;
}
@media (max-width: 768px) {
    .slider-caption h2{
      font-size: 2.7rem;
      line-height: 1.375;
    }
}
@media screen and (min-device-width: 320px) and (max-device-width: 480px) {
#portfolio-carousel h5.card-title{font-size: 14px;}
}

.js-map{ 
    background: 
    linear-gradient(to bottom, #f5f9fd, #eaf3fb),
    url('../images/hero-bg.svg') center left / contain no-repeat;
    background-blend-mode: lighten;
    position: relative;
  }
#map{
    width: 100%;
    height: 100vh; /* 更推荐用 vh 单位适配不同屏幕 */
    position: relative;
}
  @media (max-width: 768px) {
    #map {
      height: 60vh;
      background-size: cover;
    }
  }

[id^="particles-"] {
    position: fixed;
    opacity: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: repeat;
    background-size: cover;
    background-position: 50% 50%;
}

#particles-nasa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Products Page */
.product-cats .items-nav li a {
    display: block;
    position: relative;
    padding: 12px 15px;
    color: #888;
    transition: all .1s linear;
    border-bottom: 1px solid #dee2e6;
}
.product-cats .items-nav li:last-child a{border-bottom: 0 ;}

.product-cats .items-nav li:hover a {
    background-color: #F5F5F5;
    color: #111;
}
.product-cats .items-nav li ul.children{list-style: none;}
.product-cats .items-nav li ul.children li a{padding-left: 2rem; font-weight: 300;font-size: 14px;}
.product .product-image img{aspect-ratio: 384 / 288;}

/* Contact Page */
.contact-section form p{margin-bottom: 0;}

/* About Us */
.skrollable {
    transition: all 0.2s linear;
    transform-style: preserve-3d;
}
#oc-history .swiper-pagination {
    bottom: -50px !important;
}
#oc-history .swiper-pagination span {
    position: relative;
    width: auto;
    height: auto;
    margin: 0;
    opacity: 1;
    border: 0;
    color: var(--bs-gray-500);
    transition: all .3s ease;
}
#oc-history .swiper-pagination span::after {
    content: "";
    display: inline-block;
    position: relative;
    width: 0px;
    height: 2px;
    vertical-align: 4px;
    margin: 0 7px;
    background-color: var(--bs-gray-900);
    transition: all .3s ease;
}
#oc-history .swiper-pagination span.swiper-pagination-bullet-active,
#oc-history .swiper-pagination span:hover {
    color: #111;
}
#oc-history .swiper-pagination span.swiper-pagination-bullet-active::after {
    width: 25px;
    margin: 0 15px;
}

.honor_container .nav-tabs {
    --bs-nav-tabs-border-width: 0px;
    --bs-nav-link-color: #111;
    --bs-nav-link-hover-color: var(--bs-danger);
    --bs-nav-tabs-link-active-bg: #eaf3fb;
}
.honor_container .nav-tabs .nav-item .nav-link.active {
    top: 0;
}
.honor_container .nav-tabs .nav-item .nav-link.active i {
    color: var(--bs-danger);
}
.section-scroller {
    background-image: linear-gradient(to top, #eaf3fb 30%,  rgba(241,244,248,.5) 30%, #FFF 30%);
    background-repeat: no-repeat;

}
.section-scroller .swiper-container,
.section-scroller .swiper-container .swiper-slide { overflow: visible; }

.device-xl .section-scroller .swiper-container .swiper-slide { width: 38%; }
.device-lg .section-scroller .swiper-container .swiper-slide { width: 42%; }
.device-md .section-scroller .swiper-container .swiper-slide { width: 58%; }
.device-sm .section-scroller .swiper-container .swiper-slide { width: 42%; }
.device-xs .section-scroller .swiper-container .swiper-slide { width: 65%; }

.section-scroller { overflow: visible; }
.swiper-container-horizontal>.swiper-scrollbar {
    width: 80%;
    max-width: 1140px;
    left: 50%;
    bottom: -60px;
    height: 8px;
    z-index: 1;
    background-color: rgba(0,0,0,0.045);
    transform: translateX(-50%);
}

body:not(.dark) .swiper-scrollbar-drag { opacity: .2; }
.section-scroller { overflow: visible; }
.section-scroller:not(:hover) .slider-arrow-left-1,
.section-scroller:not(:hover) .slider-arrow-right-1 { opacity: 0; }

.slider-arrow-left,
.slider-arrow-right,
.slider-arrow-top-sm,
.slider-arrow-bottom-sm{
    border-radius: 50%;
    left: 20px;
    transition: all .3s ease;
    background-color: var(--bs-dark);
}
.slider-arrow-right,
.slider-arrow-bottom-sm {
    left: auto;
    right: 20px;
}
.slider-arrow-top-sm, .slider-arrow-bottom-sm{top: 50%}
.slider-arrow-left:hover,
.slider-arrow-right:hover{
    transform: translateY(-50%) scale(1.15);
    background-color: var(--cnvs-themecolor) !important;
}

.swiper-button-disabled {
    opacity: 0;
    z-index: -99;
}

.slider-arrow-left i,
.slider-arrow-right i 
.slider-arrow-left-sm i,
.slider-arrow-right i,{
    color: #FFF;
    font-size: 26px;
}

/* Blog */
.post-list .entry {
    background-color: #FFF;
    padding: 0;
    vertical-align: top;
    border-bottom: 0;
    border-radius: 4px;
    -webkit-transform-origin: 50% 50% 0px;
        transform-origin: 50% 50% 0px;
    -webkit-transition: all 250ms cubic-bezier(.02, .01, .5, 1);
        -o-transition: all 250ms cubic-bezier(.02, .01, .5, 1);
            transition: all 250ms cubic-bezier(.02, .01, .5, 1);
}
.post-list .entry:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,.05);
    -webkit-transform: translate(0, -8px);
        -ms-transform: translate(0, -8px);
            -o-transform: translate(0, -8px);
                transform: translate(0, -8px);
}
.post-list .entry-title,
.post-list .entry-meta,
.post-list .entry-content { padding: 0 20px; }
.post-list .entry-title h3 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
}
.post-list .entry-title a { color: #333; }
.post-list .entry-content p {
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 22px !important;
}
.post-list .entry-meta {
    font-size: 0.8125rem;
    text-transform: uppercase;
    border-top: 1px solid #E9EBEE;
    padding: 15px 0;
    margin: 15px 15px 0;
}
.dark .post-list .entry-meta { border-top-color: #444; }
.post-list .entry-meta li {
    margin-left: 0;
    margin-right: 0;
}
.post-list .entry::after { display: none; }
.post-list .entry-meta li::before { content: none; }
.post-list .entry-meta.nohover,
.post-list .entry:hover .entry-meta.hover { display: block; }
.post-list .entry-meta.hover,
.post-list .entry:hover .entry-meta.nohover { display: none; }
.post-list .entry-user { padding: 20px; }
.post-list .entry-user img {
    display: inline-block;
    height: 48px;
    width: 48px;
    border-radius: 100%;
    background-color: white;
}
.post-list .entry-user h4 {
    display: inline-block;
    margin-bottom: 0;
    margin-left: 8px;
    vertical-align: middle;
    font-size: 16px;
    line-height: 1.25;
}
.post-list .entry-user h4 span {
    display: block;
    font-size: 11px;
    color: #AAA !important;
    text-transform: lowercase;
    font-weight: 300;
}
.post-list .entry-image .social-icon {
    display: inline-block;
    float: none;
}
.entry-content li{margin-bottom: 10px;}
.tit-lang-zh-cn .entry-content{
    line-height: 1.615rem;
}

.entry-content a:not(.btn-link):not(.text-decoration-underline):not(.more-link){ color: #034394;}

/* Services */
@media (min-width: 768px) {
  .process-wrap .feature-box-border-horizontal .feature-box { position: relative; }
  .process-wrap .feature-box-border-horizontal .feature-box:not(.noborder) .fbox-icon::before,
  .process-wrap .feature-box-border-horizontal.border-hover-animate .feature-box:not(.noborder) .fbox-icon::after {
      content: "";
      position: absolute;
      top: 31px;
      left: calc(50% + 32px);
      width: calc(100% - 64px);
      height: 2px;
      border: 1px solid #EEE;
      z-index: 0;
  }
  .process-wrap .feature-box-border-horizontal.border-dashed .feature-box:not(.noborder) .fbox-icon::before,
  .process-wrap .feature-box-border-horizontal.border-dashed.border-hover-animate .feature-box:not(.noborder) .fbox-icon::after {
      border-style: dashed;
  }
  .process-wrap .feature-box-border-horizontal.border-hover-animate .feature-box:not(.noborder) .fbox-icon::after {
      display: block;
      border-color: #222;
      width: 0;
      transform-origin: top left;
      transition: width .3s ease-in-out;
  }
  .process-wrap .feature-box-border-horizontal.border-hover-animate .feature-box:not(.noborder):hover .fbox-icon::after {  width: calc(100% - 64px); }
  .process-wrap .feature-box-border-horizontal .fbox-icon i,
  .process-wrap .feature-box-border-horizontal .fbox-border.fbox-light .fbox-icon i {
      line-height: 60px;
      font-size: 24px;
      z-index: 1;
      text-align: center;
      box-shadow: 0 0 0px 10px #fffef5;
  }
  .process-wrap .feature-box-border-horizontal .feature-box.flex-column:not(.noborder) .fbox-icon::before,
  .process-wrap .feature-box-border-horizontal.border-hover-animate .feature-box.flex-column:not(.noborder) .fbox-icon::after {
      left: calc(0% + 100px);
  }
}
/* Team */
@media (max-width: 991px) {
    .single-post .entry-content .entry-image.alignright{
        float: none;
        text-align: center;
        margin: 0;
    }
}

/* Portifolio */
.portfolio .entry-content p{margin-bottom: 15px;}
@media screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .portfolio-item .bg-white{min-height: 270px;}
    .portfolio-item .bg-white h3{
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }
    .grid-filter li:last-child {
        width: 100%;
    }
    .grid-filter .dropdown li{width: 100%;}
}
.grid-filter .dropdown-toggle {white-space: normal; text-align: left;}
.grid-filter .dropdown:hover>.dropdown-menu {
  display: block;
}
.grid-filter .dropdown>.dropdown-toggle:active {
    pointer-events: none;
}
.grid-filter .dropdown li a{border-radius: 0;}
.grid-filter .dropdown-item:hover, .grid-filter .dropdown-item:focus,
.grid-filter .dropdown li a.dropdown-item:active {background-color: var(--cnvs-themecolor); color: #FFF;}
/* Misc */
.floating-btn-wrap {
    --cnvs-floating-btn-size: 4rem;
    --cnvs-floating-btn-pos-right: var(--cnvs-floating-btn-size);
    --cnvs-floating-btn-pos-bottom: var(--cnvs-floating-btn-size);
    --cnvs-floating-btn-transition: .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    --cnvs-floating-btn-bg-color: var(--cnvs-themecolor);
    --cnvs-floating-btn-icon-color: #FFF;
    --cnvs-floating-btn-bg-active-color: var(--bs-dark);
    --cnvs-floating-btn-box-width: 25rem;
    --cnvs-floating-btn-box-padding: 2rem;
    --cnvs-floating-btn-box-radius: .3rem;
    --cnvs-floating-btn-box-bg: #FFF;
    --cnvs-floating-btn-box-shadow: 0px 0px 13px 3px rgba(0,0,0,0.07);
    position: fixed;
    right: 3rem /*var(--cnvs-floating-btn-pos-right)*/;
    bottom: var(--cnvs-floating-btn-pos-bottom);
    z-index: 199;
}
.floating-btn-wrap .floating-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--cnvs-floating-btn-size);
    height: var(--cnvs-floating-btn-size);
    border-radius: var(--cnvs-floating-btn-size);
    color: var(--cnvs-floating-btn-icon-color);
    cursor: pointer;
    z-index: 3;
    transform: translate(-50%, -50%);
    transition: transform .3s ease;
}
.floating-btn-wrap .floating-btn:hover,
.floating-btn-open .floating-btn-wrap .floating-btn {
    transform: translate(-50%, -50%) scale(1.1);
    /*background-color: var(--cnvs-floating-btn-bg-active-color);*/
}
.floating-btn-wrap .floating-btn .floating-btn-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: calc(var(--cnvs-floating-btn-size) * .5);
    -webkit-transition: var(--cnvs-floating-btn-transition);
    transition: var(--cnvs-floating-btn-transition);
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, transform;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-backface-visibility: hidden;
}
.floating-btn-wrap .floating-btn .floating-btn-icon.btn-active,
.floating-btn-open .floating-btn-wrap .floating-btn .floating-btn-icon {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.floating-btn-open .floating-btn-wrap .floating-btn .floating-btn-icon.btn-active {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}
