:root {
    --bs-primary: #51a2f5;
    --bs-primary-light: #007cfb38;
    --bs-secondary:#0431b8;
}

body {
    font-size: 16px;
    font-weight: inherit;
    text-transform: inherit;
    font-style: inherit;
    text-decoration: inherit;
}

.arvina-theme .logo a:focus {
    outline-color: var(--bs-white);
}

.arvina-theme .above-header .header-widget a:hover,
.arvina-theme .above-header .header-widget a:focus {
    color: var(--bs-white);
}

.arvina-theme .main-mobile-nav {
    background: var(--bs-secondary);
}

.arvina-theme .main-content {
    backdrop-filter: blur(13px);
    border-radius: 10px;
    padding: 30px 20px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(105.91deg, rgba(255, 255, 255, 0.2) 5.12%, rgba(255, 255, 255, 0.075) 77.57%);
}

.info-section-3 .info-box-inner {
    position: relative;
    padding: 15px 25px 30px 25px;
    background: var(--bs-white);
    box-shadow: 0px 9px 75px rgba(8, 20, 44, 0.09);
    border-radius: 30px;
    transition: var(--bs-transition);
}

.info-section-3 .info-box-inner .count
{
    position: absolute;
    right: 20px;
    left: unset;
    bottom: unset;
    opacity: .2;
    font-weight: 800;
    font-size: 50px;
    line-height: 50px;
    color: transparent;
    -webkit-text-stroke: 1px var(--bs-primary);
}

.info-section-3 .info-box-inner .info-box-icon {
    position: absolute;
    left: -15px;
    top: -15px;
    width: 100px;
    height: 100px;
    line-height: 75px;
    font-size: 30px;
    text-align: center;
    color: var(--bs-white);
    background: var(--bs-primary);
    border-radius: 50px;
    border: 10px solid var(--bs-white);
    margin: 0;
    transition: var(--bs-transition);
    z-index:1;
}

.info-section-3 .info-box-inner .content-box {
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.info-section-3 .info-box-inner .info-box-title a {
    color: var(--bs-secondary);
    text-decoration: none;
}

.info-section-3 .info-content {
    margin-top: 8px;
    margin-bottom: 20px;
}

.info-section-3 .info-box-inner .side-border-lines {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 94%;
    height: 94%;
    border: 2px dashed var(--bs-primary);
    margin: auto;
    border-radius: 30px;
    z-index: 0;
}

.info-section-3 .info-box-inner:hover {
    transform: translateY(-5px);
    background: var(--bs-secondary);
}

.info-section-3 .info-box-inner:hover .info-box-icon {
    background: var(--bs-secondary);
}

.info-section-3 .info-box-inner:hover .side-border-lines {
    border-color: var(--bs-white);
    opacity: 0.4;
    transition: var(--bs-transition);
}

.info-section-3 .info-box-inner:hover .info-content {
    color: var(--bs-white);
}

.info-section-3 .info-box-inner:hover .info-box-title a{
    color: var(--bs-white);
}

.info-section-3 .info-box-inner .info-box-icon:after {
    top: 8%;
    left: 8%;
    transform: translatex(-5%);
    padding: 0;
    z-index: 10;
    border: 2px dashed #fff;
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    content: '';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    opacity: 0;
}

.info-section-3 .info-box-inner:hover .info-box-icon:after {
    -webkit-transition: box-shadow 0.2s;
    -moz-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
    webkit-animation: spinAround 9s linear infinite;
    -moz-animation: spinAround 9s linear infinite;
    animation: spinAround 9s linear infinite;
    opacity: 1;
}

@-webkit-keyframes spinAround {
    from {
        -webkit-transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}
@-moz-keyframes spinAround {
    from {
        -moz-transform: rotate(0deg)
    }
    to {
        -moz-transform: rotate(360deg);
    }
}
@keyframes spinAround {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg);
    }
}

.service-section .service-inner-box-2 .feature-bg-shape{
    position: absolute;
    top: 0;
    width: 264px;
    height: 273px;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    inset-inline-end: 0;
    background-position: top right;
    background-repeat: no-repeat;
}

.service-section .service-inner-box-2 {
    position: relative;
    box-shadow: 0 0px 15px rgba(0, 0, 0, .1);
    background-color: var(--bs-white);
}

.service-section .service-inner-box-2:hover .service-title a {
    color: var(--bs-primary);
}

.service-section .service-inner-box-2:hover .service-img img{
    transform: scale(1.2);
}

.service-section .service-inner-box-2 .servive-wrap {
    position: relative;
}

.service-section .service-inner-box-2 .content-box {
    padding: 50px 16px 30px;
}

.service-section .service-inner-box-2 .service-icon {
    top: 0;
}

.service-section .service-inner-box-2 .service-title {
    position: relative;
    background: unset;
    box-shadow: none;
    top: 0;
}

.service-section .service-inner-box-2 .read-link {
    display: inline;
    font-size: inherit;
    color: var(--bs-secondary);
    text-decoration: none;
    background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0 100% / 0 0.18rem no-repeat;
}


.service-section .service-inner-box-2 .read-link:hover,
.service-section .service-inner-box-2 .read-link:focus {
    letter-spacing: 0.03rem;
    background-size: 75% 2px;
    color: var(--bs-primary);
}

.service-section .service-inner-box-2 .read-link i {
    font-size: inherit;
    background: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 50%;
    height: 20px;
    width: 20px;
    line-height: 20px;
    margin-left: 5px;
    transition: all .3s ease;
    rotate: -40deg;
}

.service-section .service-inner-box-2 .read-link:hover i,
.service-section .service-inner-box-2 .read-link:focus i{
    background: var(--bs-secondary);
    color: var(--bs-primary);
    rotate: 0deg;
}
@media (min-width: 992px) {
    .arvina-theme .above-header .widget_social_widget li a:hover i,
    .arvina-theme .above-header .widget_social_widget li a:focus i {
        color: var(--bs-white);
        background-color: var(--bs-secondary);
    }
    .arvina-theme .above-header {
        border-bottom: none;
    }
    .arvina-theme .above-header:before {
        content: '';
        position: absolute;
        top: 0;
        right: -50px;
        width: 50%;
        height: 100%;
        background: var(--bs-primary);
        transform: skewX(40deg);
        border-radius: 20px 0 0 0;
        border-left: 5px solid var(--bs-white);
    }
    .arvina-theme .main-navigation:not(.is-sticky-menu) {
        position: relative;
    }
    .arvina-theme .main-navigation .logo:after {
        content: '';
        position: absolute;
        top: 0;
        left: -100px;
        /*width: 30%;*/
        width: 45vw;
        height: 100%;
        background: var(--bs-primary);
        border-radius: 0 0 20px 0;
        transform: skewX(40deg);
        border-right: 10px solid var(--bs-white);
        z-index: -1;
        box-shadow: 0px 9px 75px rgba(8, 20, 44, 0.09);
    }
    .arvina-theme h4.site-title::first-letter {
        color: var(--bs-white);
    }
    .arvina-theme .slider-section .main-content h1 {
        font-size: 4rem;
    }
    .slider-section + .info-section-3 {
        margin-top: -3.55rem;
    }
}
@media (min-width: 1400px) {
    .arvina-theme .main-navigation .logo:after{
        width: 42vw;
    }
}

/* 导航栏Logo文字优化 - 防止与菜单重叠 */
.arvina-theme .logo {
    max-width: 100%;
    overflow: hidden;
}

.arvina-theme .logo a {
    display: block;
}

.arvina-theme h4.site-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    padding: 8px 0;
    transition: all 0.3s ease;
}

/* 默认显示完整名称 */
.arvina-theme .site-title .full-name {
    display: inline;
}

.arvina-theme .site-title .short-name {
    display: none;
}

/* 中等屏幕优化 - 切换为简称 */
@media (min-width: 992px) and (max-width: 1199px) {
    .arvina-theme h4.site-title {
        font-size: 1.05rem;
    }

    /* 显示简称 */
    .arvina-theme .site-title .full-name {
        display: none;
    }

    .arvina-theme .site-title .short-name {
        display: inline !important;
    }

    .arvina-theme .main-navigation .logo:after {
        width: 38vw;
    }

    /* 调整列宽比例 */
    .main-navigation-area .row .col-4 {
        flex: 0 0 32%;
        max-width: 32%;
    }

    .main-navigation-area .row .col-8 {
        flex: 0 0 68%;
        max-width: 68%;
    }
}

/* 大屏幕时显示完整文字 */
@media (min-width: 1200px) and (max-width: 1399px) {
    .arvina-theme h4.site-title {
        font-size: 1.4rem;
    }
}

/* 超大屏幕 */
@media (min-width: 1400px) {
    .arvina-theme h4.site-title {
        font-size: 1.8rem;
    }
}

/* 移动端Logo样式 */
@media (max-width: 991px) {
    .mobile-logo .site-title {
        font-size: 1rem;
        line-height: 1.3;
        max-width: 100%;
    }
}
@media (max-width: 991px) {
    .info-section-3 {
        margin-top: 2rem;
    }
}

.is-large.wc-block-cart .wc-block-cart__totals-title {
    font-size: 2.5rem;
}

.wp-block-latest-posts__list .wp-block-latest-posts__post-title {
    font-size: 1.5rem;
}

.wp-block-file.has-background {
    padding: 0.5rem;
}

.sidebar .wp-block-latest-comments li a {
    color: var(--bs-secondary);
}

.sidebar .wp-block-latest-comments li a:hover,
.sidebar .wp-block-latest-comments li a:focus {
    color: var(--bs-primary);
}

.about-section .about-video-btn {
    text-decoration: none;
}

.woocommerce table.shop_table td a {
    text-decoration: none;
}

.post-title{
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出显示省略号 */
    width: 100%; /* 或固定宽度，如300px，必须设宽度才生效 */
    color: #0d0b1a;
}
.news-main{
    height: 120px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #626262;
    line-height: 2;
}
.news-content{
    color: #626262;
    min-height: auto;
}
.news-content img{
    display: inline-block;
}
.news-content p{
    /*text-indent: 32px;*/
    line-height: 2.5;
    margin-bottom: 1rem;
}

/* 修复文章详情页面高度和滚动问题 */
.blog-post-content {
    min-height: auto;
    overflow: visible;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* 防止长内容导致的页面跳动 */
#news-detail {
    min-height: auto;
    overflow: visible;
}

/* 页脚优化样式 */
.footer-section {
    background: #f8f9fa;
}

.footer-top {
    padding: 60px 0 40px;
    background: var(--bs-secondary);
    position: relative;
}

.footer-top .contact-area {
    transition: all 0.3s ease;
    padding: 20px 10px;
    border-radius: 10px;
}

.footer-top .contact-area:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.footer-top .contact-icon .contact-corn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    line-height: 1;
    font-size: 28px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: var(--bs-white);
    color: var(--bs-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-top .contact-area:hover .contact-corn {
    transform: rotate(360deg);
    background: var(--bs-primary);
    color: var(--bs-white);
}

.footer-top .contact-info .title {
    color: var(--bs-white);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-top .contact-info .text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

.footer-top .contact-info .text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-top .contact-info .text a:hover {
    color: var(--bs-white);
    text-decoration: underline;
}

.footer-main {
    padding: 50px 0 30px;
    background: var(--bs-white);
}

.footer-main .widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-main .widget_seperator {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.footer-main .widget_seperator span {
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.footer-main .widget_seperator span:first-child {
    width: 60px;
    background: var(--bs-secondary);
}

.footer-main .widget_seperator span:nth-child(2) {
    width: 30px;
    background: var(--bs-primary);
}

.footer-main .widget_seperator span:last-child {
    width: 15px;
    background: var(--bs-primary);
    opacity: 0.5;
}

.footer-main .textwidget p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-main .about-addresss {
    font-style: normal;
    color: #555;
    line-height: 2.2;
}

.footer-main .about-addresss i {
    color: var(--bs-primary);
    margin-right: 10px;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.footer-main .about-addresss a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-main .about-addresss a:hover {
    color: var(--bs-primary);
}

.footer-main .widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-main .widget_categories ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.footer-main .widget_categories ul li:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.footer-main .widget_categories ul li:hover:before {
    left: 5px;
}

.footer-main .widget_categories ul li a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-main .widget_categories ul li a:hover {
    color: var(--bs-primary);
    padding-left: 5px;
}

.footer-copyright {
    padding: 25px 0;
    background: var(--bs-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright .copyright-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* 响应式优化 */
@media (max-width: 991px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-top .contact-icon .contact-corn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        line-height: 1;
        font-size: 24px;
        flex-shrink: 0;
    }
    
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-main .widget {
        text-align: center;
    }
    
    .footer-main .widget_categories ul li {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 20px;
    }
    
    .footer-top .contact-icon .contact-corn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 55px;
        height: 55px;
        line-height: 1;
        font-size: 22px;
        flex-shrink: 0;
    }
    
    .footer-top .contact-info .title {
        font-size: 1rem;
    }
    
    .footer-top .contact-info .text {
        font-size: 0.9rem;
    }
}

/* 二维码弹窗样式 */
.qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.qrcode-modal.active {
    display: flex;
}

.qrcode-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.qrcode-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: qrcodeModalSlideIn 0.3s ease;
    z-index: 1;
}

@keyframes qrcodeModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.qrcode-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
    font-size: 16px;
}

.qrcode-modal-close:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: rotate(90deg);
}

.qrcode-modal-body {
    text-align: center;
}

.qrcode-image {
    max-width: 280px;
    max-height: 280px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qrcode-text {
    margin-top: 15px;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

/* 联系我们链接样式 */
.contact-link {
    cursor: pointer;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .qrcode-modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .qrcode-image {
        max-width: 240px;
        max-height: 240px;
    }
}
