/* News detail page */
.article-main-container {
    margin-top: 110px;
    padding-bottom: 80px;
}

.entry-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 25px;
}

.entry-title {
    font-size: 28px;
    font-weight: bold;
    color: #111;
    margin-bottom: 15px;
}

.entry-meta {
    color: #aaa;
    font-size: 13px;
    display: flex;
    gap: 20px;
}

.entry-meta i {
    color: #ff6a00;
    margin-right: 5px;
}

.video-stage {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video-stage video,
.video-stage iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.adminbuy_cn {
    line-height: 1.8;
    font-size: 16px;
    color: #444;
}

.adminbuy_cn img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 20px 0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-link-box {
    flex: 1;
    padding: 18px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-decoration: none !important;
    transition: 0.3s;
}

.nav-link-box:hover {
    border-color: #ff6a00;
    background: #fffaf7;
}

.nav-link-box .nav-title {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-section {
    margin-top: 60px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
}

.related-head {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.related-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 16px;
    background: #ff6a00;
    border-radius: 2px;
}

/* News list page */
.news-list-page {
    margin-top: 130px;
    padding-bottom: 80px;
}

.news-list-page .modern-title {
    font-size: 26px;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.news-list-page .modern-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 3px;
    background: #ff6a00;
}

.news-list-page .horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-list-page .list-item-card {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none !important;
    transition: 0.3s;
    padding-bottom: 25px;
    border-bottom: 1px dashed #e5e5e5;
}

.news-list-page .list-item-card:last-child {
    border-bottom: none;
}

.news-list-page .list-item-card:hover {
    transform: translateX(5px);
}

.news-list-page .item-image {
    flex-shrink: 0;
    width: 320px;
    height: 180px;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
    border-radius: 4px;
}

.news-list-page .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-list-page .list-item-card:hover .item-image img {
    transform: scale(1.05);
}

.news-list-page .item-content {
    flex-grow: 1;
    padding: 10px 0 10px 30px;
    display: flex;
    flex-direction: column;
}

.news-list-page .item-title {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 15px;
    transition: 0.3s;
}

.news-list-page .list-item-card:hover .item-title {
    color: #ff6a00;
}

.news-list-page .item-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.news-list-page .item-meta span {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-list-page .item-meta i {
    font-size: 16px;
    color: #ccc;
}

.news-list-page .pagebar .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.news-list-page .pagebar .pagination a {
    padding: 8px 18px;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 4px;
    transition: 0.3s;
    background: #fff;
    text-decoration: none;
}

.news-list-page .pagebar .pagination a:hover,
.news-list-page .pagebar .pagination a.page-num-current {
    background: #ff6a00;
    color: #fff;
    border-color: #ff6a00;
}

.support-page-bg {
    width: 100%;
    height: clamp(620px, calc(100vw * 700 / 1920), 700px) !important;
    min-height: clamp(620px, calc(100vw * 700 / 1920), 700px) !important;
    max-height: 700px !important;
    margin-top: 20px !important;
    margin-bottom: 0;
    padding: 0;
    position: relative;
    display: block;
    overflow: hidden;
    background: #f8f8f8;
}

.support-page-bg > *,
.support-page-bg img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.support-page-bg img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.support-page-bg img.pc-banner {
    display: block !important;
}

.support-page-bg img.mobile-banner {
    display: none !important;
}

.support-page-bg .banner-title {
    width: 100% !important;
    height: auto !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    margin: 0 !important;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .support-page-bg {
        height: var(--vesol-banner-mobile-height, 320px) !important;
        min-height: var(--vesol-banner-mobile-height, 320px) !important;
        max-height: var(--vesol-banner-mobile-height, 320px) !important;
        margin-top: 20px !important;
    }

    .support-page-bg img.pc-banner {
        display: none !important;
    }

    .support-page-bg img.mobile-banner {
        display: block !important;
    }

    .support-page-bg .banner-title {
        font-size: 36px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .support-page-bg {
        height: 420px !important;
        min-height: 420px !important;
        max-height: 420px !important;
        margin-top: 20px !important;
    }

    .support-page-bg img {
        object-position: center !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .support-page-bg {
        height: 520px !important;
        min-height: 520px !important;
        max-height: 520px !important;
        margin-top: 20px !important;
    }
}

/* Download list page */
.download-list-page {
    margin-top: 110px;
    padding-bottom: 60px;
}

.support-page-bg + .download-list-page {
    margin-top: 60px;
}

.download-list-page .modern-title {
    font-size: 24px;
    color: #1f2937;
    font-weight: bold;
    margin-bottom: 35px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
}

.download-list-page .left_h2::before,
.download-list-page .modern-title::before {
    display: none !important;
}

.download-list-page .modern-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 3px;
    background: #ff6a00;
    border-radius: 2px;
}

.download-list-page .dynamic-layout {
    margin: 0;
    padding: 0;
    list-style: none;
}

.download-list-page .mode-video {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.download-list-page .mode-video .item-wrap {
    width: 33.333%;
    padding: 15px;
}

.download-list-page .mode-video .item-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
    transition: 0.3s;
    border: 1px solid #f3f4f6;
}

.download-list-page .mode-video .item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(255, 106, 0, 0.15);
    border-color: #ff6a00;
}

.download-list-page .mode-video .item-thumb {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #222;
    overflow: hidden;
}

.download-list-page .mode-video .item-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: 0.6s;
}

.download-list-page .mode-video .item-card:hover .item-thumb img {
    transform: scale(1.08);
    opacity: 1;
}

.download-list-page .mode-video .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 22px;
    background: rgba(0, 0, 0, 0.5);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transition: 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
}

.download-list-page .mode-video .item-card:hover .play-btn {
    background: #ff6a00;
    border-color: #ff6a00;
    transform: translate(-50%, -50%) scale(1.15);
}

.download-list-page .mode-video .file-icon {
    display: none;
}

.download-list-page .mode-video .item-text {
    padding: 16px 15px;
    display: block;
}

.download-list-page .mode-video .item-title {
    font-size: 15px;
    margin: 0 0 10px;
    color: #111827;
    font-weight: bold;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px;
}

.download-list-page .mode-video .item-date {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.download-list-page .mode-video .item-date::before {
    content: "\f017";
    font-family: FontAwesome;
    margin-right: 6px;
}

.download-list-page .mode-list {
    display: block;
}

.download-list-page .mode-list .item-wrap {
    margin-bottom: 16px;
    width: 100%;
}

.download-list-page .mode-list .item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    text-decoration: none !important;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.download-list-page .mode-list .item-card:hover {
    border-color: #ff6a00;
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -8px rgba(255, 106, 0, 0.1);
}

.download-list-page .mode-list .item-thumb {
    display: none;
}

.download-list-page .mode-list .item-text {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.download-list-page .mode-list .file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff5f0;
    color: #ff6a00;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}

.download-list-page .mode-list .item-card:hover .file-icon {
    background: #ff6a00;
    color: #fff;
}

.download-list-page .mode-list .item-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s;
}

.download-list-page .mode-list .item-card:hover .item-title {
    color: #ff6a00;
}

.download-list-page .mode-list .item-date {
    font-size: 13px;
    color: #9ca3af;
    background: #f9fafb;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #f3f4f6;
}

.download-list-page .mode-list .item-wrap.download-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.download-list-page .mode-list .item-wrap.download-row .item-card {
    flex: 1;
    min-width: 0;
}

.download-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.download-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 106px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #4b5563;
    text-decoration: none !important;
    font-size: 13px;
    transition: 0.3s;
}

.download-action-btn:hover {
    border-color: #ff6a00;
    color: #ff6a00;
    background: #fff7ed;
}

.download-action-btn.primary {
    background: #ff6a00;
    border-color: #ff6a00;
    color: #fff;
}

.download-action-btn.primary:hover {
    background: #e65c00;
    border-color: #e65c00;
    color: #fff;
}

.download-list-page .pagebar .pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.download-list-page .pagebar .pagination a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    background: #fff;
    font-size: 14px;
}

.download-list-page .pagebar .pagination a:hover,
.download-list-page .pagebar .pagination a.page-num-current {
    background: #ff6a00;
    color: #fff;
    border-color: #ff6a00;
}

@media (max-width: 992px) {
    .download-list-page .mode-video .item-wrap {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .article-main-container {
        margin-top: 90px;
    }

    .post-navigation {
        flex-direction: column;
    }

    .download-list-page {
        margin-top: 90px;
    }

    .download-list-page .mode-video .item-wrap {
        width: 100%;
        padding: 10px 0;
    }

    .download-list-page .mode-list .item-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 18px;
    }

    .download-list-page .mode-list .item-wrap.download-row {
        flex-direction: column;
    }

    .download-actions {
        width: 100%;
    }

    .download-action-btn {
        flex: 1;
        min-height: 46px;
    }
}

@media (max-width: 767px) {
    .news-list-page {
        margin-top: 100px;
    }

    .news-list-page .list-item-card {
        flex-direction: column;
        padding-bottom: 20px;
    }

    .news-list-page .item-image {
        width: 100%;
        height: 200px;
    }

    .news-list-page .item-content {
        padding: 15px 0 0;
    }

    .news-list-page .item-title {
        font-size: 17px;
    }
}
