
/*
Theme Name: Juntengfa Industrial
Theme URI: https://whjuntengfa.com
Author: Juntengfa
Description: 武汉骏腾发自动焊接装备有限公司企业网站主题
Version: 1.0.0
Requires PHP: 7.4
Text Domain: juntengfa
*/

:root {
    --primary: #0756a5;
    --primary-dark: #063d75;
    --accent: #ed8b23;
    --text: #252f3a;
    --muted: #75808b;
    --light: #f4f7fa;
    --border: #e7ebef;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    font-size: 15px;
    line-height: 1.75;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .25s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;
}

.topbar {
    background: #f3f5f7;
    color: #687482;
    font-size: 13px;
    padding: 7px 0;
}

.header-main {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    max-width: 190px;
    max-height: 65px;
    object-fit: contain;
}

.brand-name {
    font-size: 23px;
    font-weight: 700;
    color: var(--primary);
}

.brand-desc {
    color: var(--muted);
    font-size: 12px;
}

.header-contact {
    text-align: right;
}

.header-contact span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.header-contact strong {
    color: var(--primary);
    font-size: 24px;
}

.main-nav {
    background: var(--primary);
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav a {
    display: block;
    padding: 15px 25px;
    color: #fff;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
    background: var(--accent);
}

.mobile-toggle {
    display: none;
    border: 0;
    background: var(--primary);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
}

.hero {
    min-height: 440px;
    display: flex;
    align-items: center;
    color: white;
    background:
        linear-gradient(90deg, rgba(3,35,70,.94), rgba(3,35,70,.25)),
        linear-gradient(120deg, #0756a5, #1b83b8);
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 680px;
    padding: 65px 0;
}

.hero h1 {
    font-size: 43px;
    line-height: 1.35;
    margin: 0 0 20px;
}

.hero p {
    font-size: 18px;
    color: #e8f1fa;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: white;
    border-radius: 3px;
}

.btn:hover {
    background: #d97913;
    color: white;
}

.section {
    padding: 70px 0;
}

.section-gray {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 38px;
}

.section-title h2 {
    font-size: 30px;
    color: var(--primary);
    margin: 0 0 8px;
}

.section-title p {
    color: var(--muted);
    margin: 0;
}

.product-grid,
.case-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card,
.case-card,
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: .25s;
}

.product-card:hover,
.case-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.product-card img,
.case-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.card-body p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-grid h2 {
    color: var(--primary);
    font-size: 30px;
}

.about-placeholder {
    min-height: 320px;
    background: #e5edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #789;
}

.news-card {
    padding: 22px;
}

.news-date {
    color: var(--accent);
    font-size: 13px;
}

.page-banner {
    padding: 55px 0;
    text-align: center;
    background: #edf3f8;
}

.page-banner h1 {
    color: var(--primary);
    margin: 0;
    font-size: 32px;
}

.breadcrumb {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.content-area {
    padding: 50px 0 70px;
    min-height: 400px;
}

.entry-content {
    line-height: 1.95;
    font-size: 16px;
}

.entry-content img {
    margin: 20px auto;
}

.entry-content h2,
.entry-content h3 {
    color: var(--primary);
}

.site-footer {
    background: #142b42;
    color: #d4dce5;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 35px;
}

.site-footer h3 {
    color: white;
    margin-top: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 35px;
    padding-top: 18px;
    color: #aebbc9;
    font-size: 13px;
}

.post-list article {
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
}

.post-list h2 {
    font-size: 21px;
    color: var(--primary);
}

.pagination {
    margin-top: 35px;
}

@media(max-width: 768px) {
    .container {
        width: calc(100% - 28px);
    }

    .topbar,
    .header-contact {
        display: none;
    }

    .header-main {
        min-height: 75px;
    }

    .brand img {
        max-width: 125px;
    }

    .brand-name {
        font-size: 17px;
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        display: block;
    }

    .main-nav a {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .hero {
        min-height: 330px;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero p {
        font-size: 15px;
    }

    .section {
        padding: 42px 0;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .product-grid,
    .case-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card img,
    .case-card img {
        height: 145px;
    }

    .card-body {
        padding: 12px;
    }

    .card-body h3 {
        font-size: 15px;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-banner {
        padding: 35px 0;
    }

    .page-banner h1 {
        font-size: 25px;
    }
}

/* 首页模块 */
.section-more {
    text-align: center;
    margin-top: 35px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.advantage-item {
    padding: 30px 20px;
    border: 1px solid var(--border);
    background: #fff;
}

.advantage-number {
    font-size: 35px;
    color: var(--accent);
    font-weight: bold;
}

.advantage-item h3 {
    color: var(--primary);
}

/* 产品列表布局 */
.product-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 30px;
}

.product-sidebar {
    border: 1px solid var(--border);
    height: fit-content;
}

.product-sidebar h3 {
    background: var(--primary);
    color: white;
    margin: 0;
    padding: 15px 20px;
}

.product-sidebar li a {
    display: block;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}

.product-sidebar li a:hover {
    color: var(--primary);
    background: var(--light);
}

.product-main {
    min-width: 0;
}

/* 产品详情 */
.product-detail-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    object-fit: contain;
    border: 1px solid var(--border);
}

.product-detail-info h2 {
    color: var(--primary);
    font-size: 27px;
}

.product-summary {
    color: var(--muted);
    margin: 20px 0;
}

.product-contact {
    padding: 22px;
    background: var(--light);
}

.product-contact strong {
    display: block;
    color: var(--primary);
    font-size: 27px;
    margin-bottom: 15px;
}

.product-detail-content {
    margin-top: 55px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.product-detail-content h2,
.related-products h2 {
    color: var(--primary);
}

.related-products {
    margin-top: 55px;
}

.case-contact {
    text-align: center;
    padding: 35px;
    margin-top: 45px;
    background: var(--light);
}

.case-contact h2 {
    color: var(--primary);
}

.product-placeholder {
    height: 230px;
    background: #eaf0f6;
}

@media(max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        margin-bottom: 20px;
    }

    .product-detail-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-placeholder {
        height: 145px;
    }

    .case-contact {
        padding: 25px 15px;
    }
}

/* ========================================
   Juntengfa Industrial - Page Styles
======================================== */

/* Page banner */
.page-banner {
    padding: 65px 0;
    background: linear-gradient(120deg, #092e59, #1266a5);
    color: #fff;
}

.page-banner .container {
    position: relative;
}

.page-banner-en {
    display: block;
    margin-bottom: 12px;
    color: #9bc9ef;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.page-banner h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
}

.page-banner p {
    margin: 0;
    color: #d5e7f6;
    font-size: 15px;
}

/* Content layout */
.content-layout {
    padding-top: 55px;
    padding-bottom: 65px;
}

.news-list {
    width: 100%;
}

.news-item {
    display: flex;
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid #e8edf2;
}

.news-date {
    flex: 0 0 75px;
    height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f6fb;
    color: #1768a8;
}

.news-date strong {
    font-size: 28px;
    line-height: 1.1;
}

.news-date span {
    margin-top: 5px;
    font-size: 12px;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-content h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.news-content h2 a {
    color: #18334d;
    text-decoration: none;
}

.news-content h2 a:hover {
    color: #0874c1;
}

.news-excerpt {
    color: #687887;
    font-size: 14px;
    line-height: 1.9;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: #0874c1;
    font-size: 14px;
    text-decoration: none;
}

.text-link:hover {
    color: #064c82;
}

/* Article detail */
.article-container {
    max-width: 1000px;
    padding-top: 55px;
    padding-bottom: 65px;
}

.article-detail {
    background: #fff;
}

.article-header {
    padding-bottom: 25px;
    border-bottom: 1px solid #e8edf2;
    text-align: center;
}

.article-header h1 {
    margin: 0 0 18px;
    color: #18334d;
    font-size: 30px;
    line-height: 1.5;
}

.article-meta {
    color: #8a969f;
    font-size: 13px;
}

.article-meta span {
    margin: 0 10px;
}

.article-featured-image {
    margin: 30px 0;
    text-align: center;
}

.article-featured-image img {
    max-width: 100%;
    height: auto;
}

.article-body {
    padding: 30px 0;
    color: #465563;
    font-size: 16px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.article-body h2,
.article-body h3 {
    margin: 28px 0 15px;
    color: #18334d;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-body table {
    max-width: 100%;
    border-collapse: collapse;
}

.article-body td,
.article-body th {
    padding: 8px 12px;
    border: 1px solid #ddd;
}

.article-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
    font-size: 14px;
}

.article-navigation a {
    color: #1768a8;
    text-decoration: none;
}

.back-to-list {
    margin-top: 30px;
    text-align: center;
}

/* About page */
.about-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 55px;
}

.about-text h2 {
    margin: 12px 0 25px;
    color: #173a5c;
    font-size: 30px;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 18px;
    color: #647483;
    font-size: 15px;
    line-height: 2;
}

.about-visual {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(135deg, #0c3765, #1680bd);
    color: #fff;
    text-align: center;
}

.about-visual-inner span {
    display: block;
    margin-bottom: 20px;
    color: #a9d8fa;
    font-size: 14px;
    letter-spacing: 5px;
}

.about-visual-inner strong {
    display: block;
    font-size: 34px;
}

.about-visual-inner p {
    margin-top: 15px;
    color: #d6eafa;
}

.about-business {
    background: #f5f8fb;
}

.about-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-card {
    padding: 30px;
    background: #fff;
    border: 1px solid #e8edf2;
    transition: .25s ease;
}

.info-card:hover {
    border-color: #1680bd;
    transform: translateY(-4px);
}

.info-card h3 {
    margin: 0 0 15px;
    color: #173a5c;
    font-size: 20px;
}

.info-card p {
    margin: 0;
    color: #697987;
    font-size: 14px;
    line-height: 1.9;
}

.about-page-content {
    padding-top: 20px;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 45px;
}

.contact-card {
    min-height: 180px;
    padding: 25px 18px;
    background: #f5f8fb;
    text-align: center;
}

.contact-icon {
    display: block;
    margin-bottom: 12px;
    color: #1476b6;
    font-size: 30px;
}

.contact-card h3 {
    margin: 0 0 12px;
    color: #173a5c;
    font-size: 17px;
}

.contact-card p,
.contact-card a {
    color: #637586;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contact-card a {
    text-decoration: none;
}

.contact-card a:hover {
    color: #0874c1;
}

.contact-company {
    padding: 35px;
    border: 1px solid #e5ebf0;
}

.contact-company h2 {
    margin: 0 0 20px;
    color: #173a5c;
    font-size: 24px;
}

.contact-company p {
    color: #617181;
    line-height: 1.9;
}

.contact-company a:not(.btn) {
    color: #0874c1;
}

.contact-company .btn {
    margin-top: 15px;
}

.contact-page-content {
    margin-top: 35px;
}

/* Search and empty states */
.no-content {
    padding: 55px 25px;
    background: #f5f8fb;
    text-align: center;
}

.no-content h2 {
    color: #173a5c;
}

.no-content p {
    color: #71808d;
}

.search-form {
    display: flex;
    max-width: 450px;
    gap: 8px;
    margin: 20px auto 0;
}

.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dce4eb;
}

.search-form input[type="submit"] {
    padding: 12px 20px;
    border: 0;
    background: #1268a8;
    color: #fff;
    cursor: pointer;
}

/* 404 */
.error-404 {
    padding: 100px 0;
    text-align: center;
}

.error-404 strong {
    display: block;
    color: #1268a8;
    font-size: 100px;
    line-height: 1.2;
}

.error-404 h1 {
    color: #173a5c;
    font-size: 28px;
}

.error-404 p {
    margin: 15px 0 30px;
    color: #71808d;
}

.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Buttons */
.btn-outline {
    display: inline-block;
    padding: 11px 24px;
    border: 1px solid #1768a8;
    color: #1768a8;
    text-decoration: none;
    transition: .2s ease;
}

.btn-outline:hover {
    background: #1768a8;
    color: #fff;
}

/* Pagination */
.pagination {
    margin-top: 35px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    min-width: 36px;
    margin: 3px;
    padding: 8px 10px;
    border: 1px solid #e1e8ee;
    color: #1768a8;
    text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #1768a8;
    border-color: #1768a8;
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .about-business-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .page-banner {
        padding: 42px 0;
    }

    .page-banner h1 {
        font-size: 27px;
    }

    .content-layout,
    .article-container {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .news-item {
        gap: 14px;
        padding: 20px 0;
    }

    .news-date {
        flex-basis: 58px;
        height: 62px;
    }

    .news-date strong {
        font-size: 23px;
    }

    .news-content h2 {
        font-size: 17px;
    }

    .article-header h1 {
        font-size: 23px;
    }

    .article-body {
        font-size: 15px;
    }

    .contact-grid,
    .about-business-grid {
        grid-template-columns: 1fr;
    }

    .contact-company {
        padding: 22px;
    }

    .contact-company h2 {
        font-size: 21px;
    }

    .about-text h2 {
        font-size: 25px;
    }

    .about-visual {
        min-height: 240px;
    }

    .about-visual-inner strong {
        font-size: 27px;
    }

    .error-404 {
        padding: 65px 0;
    }

    .error-404 strong {
        font-size: 75px;
    }

    .article-navigation {
        display: block;
    }

    .article-navigation > div {
        margin: 10px 0;
    }
}

/* Product backend fields frontend display */

.product-extra-info {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e8edf2;
}

.product-extra-info h2 {
    margin: 25px 0 18px;
    padding-left: 12px;
    border-left: 4px solid #1476b6;
    color: #173a5c;
    font-size: 21px;
}

.product-model {
    margin-bottom: 20px;
    padding: 15px 18px;
    background: #f2f7fb;
    color: #34536d;
}

.product-intro,
.product-applications {
    color: #5f7180;
    line-height: 1.9;
}

.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.product-spec-table th,
.product-spec-table td {
    padding: 13px 16px;
    border: 1px solid #e3eaf0;
    text-align: left;
}

.product-spec-table th {
    width: 30%;
    background: #f3f7fa;
    color: #34536d;
    font-weight: 600;
}

.product-spec-table td {
    color: #627384;
}

@media (max-width: 600px) {
    .product-spec-table th,
    .product-spec-table td {
        padding: 10px;
        font-size: 13px;
    }

    .product-spec-table th {
        width: 35%;
    }
}

/* ==============================
   第五批：产品展示优化
============================== */

.product-archive-page {
    padding: 45px 0 60px;
}

.product-archive-page .container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.archive-heading {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.archive-heading h1 {
    margin: 0 0 12px;
    font-size: 30px;
    color: #222;
}

.archive-heading p {
    margin: 0;
    color: #777;
    line-height: 1.8;
}

.product-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.product-sidebar {
    padding: 22px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.product-sidebar h2 {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #c82020;
    font-size: 20px;
}

.product-category-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-category-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.product-category-list a {
    display: block;
    padding: 12px 4px;
    color: #444;
    text-decoration: none;
    transition: color .2s, padding .2s;
}

.product-category-list a:hover,
.product-category-list a.current-category {
    padding-left: 10px;
    color: #c82020;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
}

.product-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
}

.product-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

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

.product-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 160px;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.product-card-body {
    padding: 18px;
}

.product-card-title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.5;
}

.product-card-title a {
    color: #222;
    text-decoration: none;
}

.product-card-title a:hover {
    color: #c82020;
}

.product-card-excerpt {
    min-height: 48px;
    margin-bottom: 15px;
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.product-card-more {
    display: inline-block;
    color: #c82020;
    font-size: 14px;
    text-decoration: none;
}

.product-card-more:hover {
    text-decoration: underline;
}

.product-pagination {
    margin-top: 35px;
    text-align: center;
}

.product-pagination .page-numbers {
    display: inline-block;
    margin: 3px;
    padding: 8px 13px;
    border: 1px solid #ddd;
    color: #444;
    text-decoration: none;
}

.product-pagination .page-numbers.current,
.product-pagination .page-numbers:hover {
    border-color: #c82020;
    background: #c82020;
    color: #fff;
}

.product-empty {
    padding: 35px;
    background: #f8f8f8;
    color: #777;
    text-align: center;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .product-archive-page {
        padding: 25px 0 40px;
    }

    .product-layout {
        display: block;
    }

    .product-sidebar {
        margin-bottom: 25px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card-body {
        padding: 12px;
    }

    .product-card-title {
        font-size: 15px;
    }

    .product-card-excerpt {
        font-size: 13px;
    }

    .archive-heading h1 {
        font-size: 24px;
    }
}

/* =================================
   Juntengfa Case Display
================================= */

.case-archive-page {
    padding: 45px 0 60px;
}

.case-archive-page .container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.case-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.case-sidebar {
    padding: 22px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.case-sidebar h2 {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #c82020;
    font-size: 20px;
}

.case-category-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.case-category-list li {
    border-bottom: 1px solid #eee;
}

.case-category-list a {
    display: block;
    padding: 12px 4px;
    color: #444;
    text-decoration: none;
    transition: .2s;
}

.case-category-list a:hover,
.case-category-list a.current-category {
    padding-left: 10px;
    color: #c82020;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.case-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
}

.case-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
}

.case-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.case-card:hover .case-card-image img {
    transform: scale(1.04);
}

.case-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 160px;
    align-items: center;
    justify-content: center;
    color: #999;
}

.case-card-body {
    padding: 18px;
}

.case-card-body h2 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.5;
}

.case-card-body h2 a {
    color: #222;
    text-decoration: none;
}

.case-card-body h2 a:hover {
    color: #c82020;
}

.case-card-excerpt {
    min-height: 48px;
    margin-bottom: 15px;
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.case-card-more {
    color: #c82020;
    font-size: 14px;
    text-decoration: none;
}

.case-card-more:hover {
    text-decoration: underline;
}

.case-empty {
    padding: 35px;
    background: #f8f8f8;
    color: #777;
    text-align: center;
}

.case-pagination {
    margin-top: 35px;
    text-align: center;
}

.case-pagination .page-numbers {
    display: inline-block;
    margin: 3px;
    padding: 8px 13px;
    border: 1px solid #ddd;
    color: #444;
    text-decoration: none;
}

.case-pagination .page-numbers.current,
.case-pagination .page-numbers:hover {
    border-color: #c82020;
    background: #c82020;
    color: #fff;
}

/* Case detail */

.case-detail-header {
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e8edf2;
    text-align: center;
}

.case-detail-header h1 {
    margin: 0 0 15px;
    color: #173a5c;
    font-size: 30px;
    line-height: 1.5;
}

.case-detail-meta {
    color: #89939c;
    font-size: 13px;
}

.case-detail-meta span {
    margin-left: 15px;
}

.case-detail-featured {
    margin: 25px 0;
    text-align: center;
}

.case-detail-featured img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.case-detail-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.case-detail-navigation a {
    color: #1768a8;
    text-decoration: none;
}

@media (max-width: 900px) {
    .case-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 20px;
    }

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

@media (max-width: 600px) {
    .case-archive-page {
        padding: 25px 0 40px;
    }

    .case-layout {
        display: block;
    }

    .case-sidebar {
        margin-bottom: 25px;
    }

    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .case-card-body {
        padding: 12px;
    }

    .case-card-body h2 {
        font-size: 15px;
    }

    .case-card-excerpt {
        font-size: 13px;
    }

    .case-detail-header h1 {
        font-size: 23px;
    }

    .case-detail-navigation {
        display: block;
    }

    .case-detail-navigation > div {
        margin: 10px 0;
    }
}

/* =====================================
   Juntengfa News Display Optimization
===================================== */

.news-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 35px;
    padding-top: 45px;
    padding-bottom: 60px;
}

.news-main-content {
    min-width: 0;
}

.news-card-list {
    display: flex;
    flex-direction: column;
}

.news-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #e8edf2;
}

.news-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
}

.news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.04);
}

.news-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 140px;
    align-items: center;
    justify-content: center;
    background: #edf3f8;
    color: #8da3b5;
    font-size: 22px;
    letter-spacing: 3px;
}

.news-card-date {
    margin-bottom: 10px;
    color: #999;
    font-size: 13px;
}

.news-card-content h2 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.5;
}

.news-card-content h2 a {
    color: #18334d;
    text-decoration: none;
}

.news-card-content h2 a:hover {
    color: #c82020;
}

.news-card-excerpt {
    color: #71808d;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.news-read-more {
    display: inline-block;
    margin-top: 12px;
    color: #c82020;
    font-size: 14px;
    text-decoration: none;
}

.news-read-more:hover {
    text-decoration: underline;
}

/* News sidebar */

.news-sidebar {
    min-width: 0;
}

.news-sidebar-widget {
    margin-bottom: 25px;
    padding: 22px;
    border: 1px solid #e8edf2;
    background: #fff;
}

.news-sidebar-widget h2 {
    margin: 0 0 15px;
    padding-bottom: 13px;
    border-bottom: 2px solid #c82020;
    color: #18334d;
    font-size: 19px;
}

.news-sidebar-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-sidebar-widget li {
    padding: 11px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

.news-sidebar-widget li:last-child {
    border-bottom: 0;
}

.news-sidebar-widget li a {
    color: #536576;
    font-size: 14px;
    text-decoration: none;
}

.news-sidebar-widget li a:hover {
    color: #c82020;
}

/* News pagination */

.news-pagination {
    margin-top: 35px;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-block;
    margin: 3px;
    padding: 8px 13px;
    border: 1px solid #ddd;
    color: #444;
    text-decoration: none;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
    border-color: #c82020;
    background: #c82020;
    color: #fff;
}

.news-empty {
    padding: 45px 20px;
    background: #f6f8fa;
    color: #777;
    text-align: center;
}

/* News detail */

.article-meta a {
    color: #1768a8;
    text-decoration: none;
}

.article-meta a:hover {
    color: #c82020;
}

.article-featured-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive */

@media (max-width: 900px) {
    .news-page-layout {
        grid-template-columns: minmax(0, 1fr) 230px;
        gap: 20px;
    }

    .news-card {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .news-page-layout {
        display: block;
        padding-top: 25px;
        padding-bottom: 40px;
    }

    .news-card {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 0;
    }

    .news-card-content h2 {
        font-size: 15px;
    }

    .news-card-excerpt {
        font-size: 12px;
        line-height: 1.7;
    }

    .news-card-date {
        font-size: 11px;
    }

    .news-read-more {
        margin-top: 7px;
        font-size: 12px;
    }

    .news-sidebar {
        margin-top: 30px;
    }

    .news-sidebar-widget {
        padding: 17px;
    }
}

/* =========================================
   JUNTENGFA HOMEPAGE
========================================= */

.jtf-homepage {
    width: 100%;
    overflow: hidden;
}

.jtf-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.jtf-section {
    padding: 75px 0;
}

.jtf-section-heading {
    margin-bottom: 38px;
    text-align: center;
}

.jtf-section-heading > span,
.jtf-section-label {
    display: block;
    margin-bottom: 12px;
    color: #c82020;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.jtf-section-heading h2,
.jtf-about-content h2 {
    margin: 0 0 14px;
    color: #17334d;
    font-size: 32px;
    font-weight: 700;
}

.jtf-section-heading p {
    margin: 0;
    color: #788591;
    font-size: 15px;
    line-height: 1.8;
}

/* Buttons */

.jtf-button {
    display: inline-flex;
    min-height: 46px;
    padding: 0 25px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s;
}

.jtf-button-primary {
    background: #c82020;
    color: #fff;
}

.jtf-button-primary:hover {
    background: #a71919;
    color: #fff;
}

.jtf-button-outline {
    border-color: rgba(255,255,255,.8);
    color: #fff;
}

.jtf-button-outline:hover {
    background: #fff;
    color: #17334d;
}

.jtf-button-dark {
    border-color: #17334d;
    background: #17334d;
    color: #fff;
}

.jtf-button-dark:hover {
    border-color: #c82020;
    background: #c82020;
    color: #fff;
}

/* Hero */

.jtf-hero {
    position: relative;
    display: flex;
    min-height: 500px;
    align-items: center;
    background:
        linear-gradient(110deg,
            rgba(12,29,45,.96) 0%,
            rgba(20,48,70,.90) 55%,
            rgba(20,48,70,.65) 100%);
    color: #fff;
}

.jtf-hero-content {
    max-width: 680px;
    padding: 80px 0;
}

.jtf-hero-label {
    display: block;
    margin-bottom: 22px;
    color: #e8a5a5;
    font-size: 13px;
    letter-spacing: 3px;
}

.jtf-hero h1 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 46px;
    line-height: 1.5;
    font-weight: 700;
}

.jtf-hero-content > p {
    max-width: 550px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 2;
}

.jtf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Introduction */

.jtf-intro-section {
    padding: 65px 0;
    background: #f5f7f9;
}

.jtf-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.jtf-feature-item {
    padding: 28px 22px;
    border: 1px solid #e8edf2;
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}

.jtf-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.jtf-feature-number {
    margin-bottom: 18px;
    color: #c82020;
    font-size: 28px;
    font-weight: 700;
}

.jtf-feature-item h3 {
    margin: 0 0 12px;
    color: #17334d;
    font-size: 19px;
}

.jtf-feature-item p {
    margin: 0;
    color: #788591;
    font-size: 14px;
    line-height: 1.8;
}

/* Product */

.jtf-products-section {
    background: #fff;
}

.jtf-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.jtf-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e9edf1;
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}

.jtf-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.jtf-product-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f5f7;
}

.jtf-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.jtf-product-card:hover .jtf-product-image img {
    transform: scale(1.05);
}

.jtf-product-info {
    padding: 18px;
}

.jtf-product-info h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.5;
}

.jtf-product-info h3 a {
    color: #17334d;
    text-decoration: none;
}

.jtf-product-info h3 a:hover {
    color: #c82020;
}

.jtf-product-info p {
    min-height: 48px;
    margin: 0 0 12px;
    color: #788591;
    font-size: 13px;
    line-height: 1.8;
}

.jtf-text-link {
    color: #c82020;
    font-size: 13px;
    text-decoration: none;
}

.jtf-section-more {
    margin-top: 38px;
    text-align: center;
}

/* About */

.jtf-about-section {
    padding: 80px 0;
    background: #f3f6f8;
}

.jtf-about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.jtf-about-image {
    min-height: 350px;
}

.jtf-about-image-placeholder {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #193d59, #365d78);
    color: #fff;
    text-align: center;
}

.jtf-about-image-placeholder span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 4px;
}

.jtf-about-image-placeholder strong {
    margin-top: 12px;
    color: #d5e1e9;
    font-size: 13px;
    letter-spacing: 3px;
}

.jtf-about-content h2 {
    text-align: left;
}

.jtf-about-content p {
    margin: 0 0 18px;
    color: #687887;
    font-size: 15px;
    line-height: 2;
}

.jtf-about-content .jtf-button {
    margin-top: 12px;
}

/* Cases */

.jtf-cases-section {
    background: #fff;
}

.jtf-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jtf-case-card {
    overflow: hidden;
    border: 1px solid #e8edf2;
    background: #fff;
}

.jtf-case-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f5f7;
}

.jtf-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.jtf-case-card:hover .jtf-case-image img {
    transform: scale(1.05);
}

.jtf-case-info {
    padding: 20px;
}

.jtf-case-info h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.jtf-case-info h3 a {
    color: #17334d;
    text-decoration: none;
}

.jtf-case-info h3 a:hover {
    color: #c82020;
}

.jtf-case-info p {
    margin: 0;
    color: #788591;
    font-size: 14px;
    line-height: 1.8;
}

/* News */

.jtf-news-section {
    background: #f5f7f9;
}

.jtf-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.jtf-news-card {
    overflow: hidden;
    border: 1px solid #e8edf2;
    background: #fff;
}

.jtf-news-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #edf1f4;
}

.jtf-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

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

.jtf-news-info {
    padding: 18px;
}

.jtf-news-info time {
    color: #999;
    font-size: 12px;
}

.jtf-news-info h3 {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.jtf-news-info h3 a {
    color: #17334d;
    text-decoration: none;
}

.jtf-news-info h3 a:hover {
    color: #c82020;
}

.jtf-news-info p {
    margin: 0;
    color: #788591;
    font-size: 13px;
    line-height: 1.8;
}

/* Contact */

.jtf-contact-section {
    padding: 65px 0;
    background: #17334d;
    color: #fff;
    text-align: center;
}

.jtf-contact-content > span {
    color: #e5a1a1;
    font-size: 12px;
    letter-spacing: 3px;
}

.jtf-contact-content h2 {
    margin: 16px 0;
    color: #fff;
    font-size: 30px;
}

.jtf-contact-content p {
    margin: 0 0 25px;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    line-height: 1.8;
}

/* Placeholder and empty states */

.jtf-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    background: #edf1f4;
    color: #91a1af;
    font-size: 18px;
    letter-spacing: 2px;
}

.jtf-empty {
    padding: 35px 20px;
    background: #f5f7f9;
    color: #788591;
    text-align: center;
}

/* Responsive */

@media (max-width: 900px) {

    .jtf-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jtf-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jtf-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jtf-about-layout {
        gap: 30px;
    }

    .jtf-hero {
        min-height: 420px;
    }

    .jtf-hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 600px) {

    .jtf-section {
        padding: 48px 0;
    }

    .jtf-section-heading {
        margin-bottom: 25px;
    }

    .jtf-section-heading h2,
    .jtf-about-content h2 {
        font-size: 25px;
    }

    .jtf-hero {
        min-height: 400px;
    }

    .jtf-hero-content {
        padding: 55px 0;
    }

    .jtf-hero h1 {
        font-size: 31px;
    }

    .jtf-hero-content > p {
        font-size: 14px;
    }

    .jtf-feature-grid {
        gap: 12px;
    }

    .jtf-feature-item {
        padding: 20px 15px;
    }

    .jtf-feature-item h3 {
        font-size: 16px;
    }

    .jtf-feature-item p {
        font-size: 12px;
    }

    .jtf-product-grid {
        gap: 12px;
    }

    .jtf-product-info {
        padding: 12px;
    }

    .jtf-product-info h3 {
        font-size: 14px;
    }

    .jtf-product-info p {
        font-size: 12px;
    }

    .jtf-about-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .jtf-about-image,
    .jtf-about-image-placeholder {
        min-height: 230px;
    }

    .jtf-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .jtf-case-info {
        padding: 12px;
    }

    .jtf-case-info h3 {
        font-size: 14px;
    }

    .jtf-case-info p {
        font-size: 12px;
    }

    .jtf-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .jtf-news-info {
        padding: 12px;
    }

    .jtf-news-info h3 {
        font-size: 14px;
    }

    .jtf-news-info p {
        font-size: 12px;
    }

    .jtf-contact-content h2 {
        font-size: 23px;
    }
}

/* =========================================
   JUNTENGFA HEADER & FOOTER
========================================= */

.jtf-topbar {
    background: #17334d;
    color: #fff;
    font-size: 12px;
}

.jtf-topbar-inner {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.jtf-topbar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.jtf-header {
    position: relative;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.jtf-header-inner {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.jtf-brand {
    min-width: 0;
}

.jtf-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.jtf-brand .custom-logo {
    display: block;
    width: auto;
    max-width: 230px;
    max-height: 65px;
    object-fit: contain;
}

.jtf-site-name {
    display: flex;
    flex-direction: column;
    color: #17334d;
    text-decoration: none;
}

.jtf-logo-text {
    font-size: 27px;
    font-weight: 700;
}

.jtf-site-name small {
    margin-top: 4px;
    color: #8995a0;
    font-size: 11px;
}

.jtf-navigation {
    display: flex;
    align-items: center;
}

.jtf-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jtf-menu > li {
    position: relative;
}

.jtf-menu > li > a {
    display: block;
    padding: 35px 15px;
    color: #253b50;
    font-size: 15px;
    text-decoration: none;
    transition: color .2s;
}

.jtf-menu > li:hover > a,
.jtf-menu > li.current-menu-item > a,
.jtf-menu > li.current-menu-ancestor > a {
    color: #c82020;
}

.jtf-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 190px;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    list-style: none;
}

.jtf-menu li:hover > .sub-menu,
.jtf-menu li:focus-within > .sub-menu {
    display: block;
}

.jtf-menu .sub-menu a {
    display: block;
    padding: 12px 18px;
    color: #34495e;
    font-size: 14px;
    text-decoration: none;
}

.jtf-menu .sub-menu a:hover {
    background: #f5f7f9;
    color: #c82020;
}

.jtf-mobile-toggle {
    display: none;
}

/* Footer */

.jtf-footer {
    background: #142b40;
    color: #d1dbe3;
}

.jtf-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr;
    gap: 35px;
    padding-top: 60px;
    padding-bottom: 50px;
}

.jtf-footer-column h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 18px;
}

.jtf-footer-column p {
    color: #bdc9d3;
    font-size: 13px;
    line-height: 2;
}

.jtf-footer-logo {
    margin-bottom: 18px;
    color: #fff;
    font-size: 23px;
}

.jtf-footer-logo .custom-logo {
    max-width: 190px;
    max-height: 55px;
    width: auto;
    height: auto;
}

.jtf-footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jtf-footer-column li {
    margin-bottom: 13px;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.jtf-footer-column a {
    color: #bdc9d3;
    text-decoration: none;
}

.jtf-footer-column a:hover {
    color: #fff;
}

.jtf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
}

.jtf-footer-bottom-inner {
    display: flex;
    min-height: 65px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.jtf-footer-bottom p {
    margin: 0;
    color: #9eafbd;
    font-size: 12px;
}

.jtf-footer-bottom a {
    color: #bdc9d3;
    text-decoration: none;
}

.jtf-footer-contact-link {
    display: inline-block;
    margin-top: 8px;
}

/* Breadcrumb */

.jtf-breadcrumb {
    padding: 15px 0;
    border-bottom: 1px solid #edf0f2;
    background: #fafbfc;
}

.jtf-breadcrumb .jtf-container {
    color: #8995a0;
    font-size: 13px;
    line-height: 1.8;
}

.jtf-breadcrumb a {
    color: #667787;
    text-decoration: none;
}

.jtf-breadcrumb a:hover {
    color: #c82020;
}

.jtf-breadcrumb-separator {
    margin: 0 10px;
    color: #b8c0c7;
}

/* Skip link */

.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    z-index: 9999;
    padding: 10px 15px;
    background: #fff;
    color: #17334d;
}

.skip-link:focus {
    top: 10px;
}

/* Back to top */

.jtf-back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 90;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 3px;
    background: #c82020;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
}

.jtf-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Search */

.jtf-search-container {
    padding-top: 45px;
    padding-bottom: 65px;
}

.jtf-search-form {
    max-width: 650px;
    margin: 0 auto 35px;
}

.jtf-search-form form {
    display: flex;
    gap: 10px;
}

.jtf-search-form label {
    flex: 1;
}

.jtf-search-form input[type="search"] {
    width: 100%;
    min-height: 46px;
    padding: 10px 15px;
    border: 1px solid #dce2e7;
    border-radius: 2px;
    font-size: 14px;
}

.jtf-search-form input[type="submit"] {
    min-width: 100px;
    padding: 10px 20px;
    border: 0;
    background: #c82020;
    color: #fff;
    cursor: pointer;
}

.jtf-search-count {
    margin-bottom: 20px;
    color: #788591;
    font-size: 14px;
}

.jtf-search-item {
    display: grid;
    grid-template-columns: 180px minmax(0,1fr);
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid #e8edf2;
}

.jtf-search-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f5f7;
}

.jtf-search-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jtf-search-date {
    color: #999;
    font-size: 12px;
}

.jtf-search-content h2 {
    margin: 8px 0;
    font-size: 19px;
}

.jtf-search-content h2 a {
    color: #17334d;
    text-decoration: none;
}

.jtf-search-content h2 a:hover {
    color: #c82020;
}

.jtf-search-content p {
    color: #788591;
    font-size: 14px;
    line-height: 1.8;
}

.jtf-search-empty {
    padding: 55px 20px;
    background: #f5f7f9;
    text-align: center;
}

.jtf-search-empty h2 {
    color: #17334d;
    font-size: 24px;
}

.jtf-search-empty p {
    color: #788591;
    line-height: 1.8;
}

.jtf-pagination {
    margin-top: 35px;
    text-align: center;
}

/* 404 */

.jtf-404-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 85px 20px;
    text-align: center;
}

.jtf-404-number {
    color: #c82020;
    font-size: clamp(90px, 16vw, 170px);
    font-weight: 800;
    line-height: 1;
}

.jtf-404-content h1 {
    margin: 25px 0 15px;
    color: #17334d;
    font-size: 27px;
}

.jtf-404-content > p {
    color: #788591;
    font-size: 15px;
    line-height: 1.8;
}

.jtf-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.jtf-404-search {
    max-width: 500px;
    margin: 40px auto 0;
}

/* Responsive */

@media (max-width: 900px) {

    .jtf-header-inner {
        min-height: 75px;
    }

    .jtf-mobile-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 8px;
        border: 1px solid #e0e5e9;
        background: #fff;
        cursor: pointer;
    }

    .jtf-mobile-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #17334d;
    }

    .jtf-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: 75vh;
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
    }

    .jtf-navigation.is-open {
        display: block;
    }

    .jtf-menu {
        display: block;
        padding: 10px 4%;
    }

    .jtf-menu > li > a {
        padding: 13px 10px;
        border-bottom: 1px solid #eee;
    }

    .jtf-menu .sub-menu {
        position: static;
        display: none;
        padding-left: 20px;
        box-shadow: none;
    }

    .jtf-menu li.submenu-open > .sub-menu {
        display: block;
    }

    .jtf-footer-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

}

@media (max-width: 600px) {

    .jtf-topbar-inner {
        min-height: 34px;
    }

    .jtf-topbar-left {
        display: none;
    }

    .jtf-topbar-inner {
        justify-content: center;
    }

    .jtf-topbar-right {
        justify-content: center;
        gap: 12px;
        font-size: 11px;
    }

    .jtf-brand .custom-logo {
        max-width: 175px;
        max-height: 52px;
    }

    .jtf-logo-text {
        font-size: 21px;
    }

    .jtf-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
        padding-top: 40px;
        padding-bottom: 35px;
    }

    .jtf-footer-column h3 {
        font-size: 16px;
    }

    .jtf-footer-column p,
    .jtf-footer-column li {
        font-size: 12px;
    }

    .jtf-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        padding: 15px 0;
        text-align: center;
    }

    .jtf-search-container {
        padding-top: 25px;
        padding-bottom: 40px;
    }

    .jtf-search-item {
        grid-template-columns: 105px minmax(0,1fr);
        gap: 12px;
    }

    .jtf-search-content h2 {
        font-size: 15px;
    }

    .jtf-search-content p {
        font-size: 12px;
    }

    .jtf-search-form form {
        gap: 6px;
    }

    .jtf-search-form input[type="submit"] {
        min-width: 75px;
        padding: 8px 12px;
    }

    .jtf-404-content {
        padding: 60px 10px;
    }

    .jtf-404-content h1 {
        font-size: 21px;
    }

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

}

/* =========================================
   JUNTENGFA NEWS ARCHIVE
========================================= */

.jtf-news-banner {
    padding: 65px 0;
    background: linear-gradient(110deg, #17334d, #345d79);
    color: #fff;
}

.jtf-news-banner span {
    color: #e8a5a5;
    font-size: 12px;
    letter-spacing: 3px;
}

.jtf-news-banner h1 {
    margin: 15px 0;
    color: #fff;
    font-size: 36px;
}

.jtf-news-banner p {
    margin: 0;
    color: rgba(255,255,255,.8);
    font-size: 14px;
}

.jtf-news-container {
    padding-top: 45px;
    padding-bottom: 70px;
}

.jtf-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 35px;
    align-items: start;
}

.jtf-news-list-item {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #e9edf1;
}

.jtf-news-list-item:first-child {
    padding-top: 0;
}

.jtf-news-list-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f5f7;
}

.jtf-news-list-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

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

.jtf-news-list-content {
    min-width: 0;
}

.jtf-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    color: #999;
    font-size: 12px;
}

.jtf-news-category {
    color: #c82020;
}

.jtf-news-list-content h2 {
    margin: 13px 0;
    font-size: 20px;
    line-height: 1.5;
}

.jtf-news-list-content h2 a {
    color: #17334d;
    text-decoration: none;
}

.jtf-news-list-content h2 a:hover {
    color: #c82020;
}

.jtf-news-excerpt {
    color: #788591;
    font-size: 14px;
    line-height: 1.9;
}

.jtf-news-excerpt p {
    margin: 0;
}

.jtf-news-readmore {
    display: inline-block;
    margin-top: 14px;
    color: #c82020;
    font-size: 13px;
    text-decoration: none;
}

.jtf-news-sidebar-box {
    margin-bottom: 25px;
    padding: 22px;
    border: 1px solid #e9edf1;
    background: #fff;
}

.jtf-news-sidebar-box h3 {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #c82020;
    color: #17334d;
    font-size: 18px;
}

.jtf-news-sidebar-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jtf-news-sidebar-box li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f4;
    font-size: 14px;
}

.jtf-news-sidebar-box li:last-child {
    border-bottom: 0;
}

.jtf-news-sidebar-box a {
    color: #687887;
    text-decoration: none;
}

.jtf-news-sidebar-box a:hover {
    color: #c82020;
}

.jtf-news-empty {
    padding: 60px 20px;
    background: #f5f7f9;
    text-align: center;
}

.jtf-news-empty h2 {
    color: #17334d;
}

.jtf-news-empty p {
    margin: 15px 0 25px;
    color: #788591;
    font-size: 14px;
}

@media (max-width: 900px) {

    .jtf-news-layout {
        grid-template-columns: 1fr;
    }

    .jtf-news-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 15px;
    }

}

@media (max-width: 600px) {

    .jtf-news-banner {
        padding: 42px 0;
    }

    .jtf-news-banner h1 {
        font-size: 28px;
    }

    .jtf-news-container {
        padding-top: 25px;
        padding-bottom: 45px;
    }

    .jtf-news-list-item {
        grid-template-columns: 115px minmax(0,1fr);
        gap: 13px;
        padding: 18px 0;
    }

    .jtf-news-list-content h2 {
        margin: 7px 0;
        font-size: 15px;
    }

    .jtf-news-excerpt {
        font-size: 12px;
        line-height: 1.6;
    }

    .jtf-news-readmore {
        margin-top: 8px;
        font-size: 12px;
    }

    .jtf-news-sidebar {
        grid-template-columns: 1fr;
    }

}
/* Logo */
.jtf-site-logo {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.jtf-site-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 首页 Banner */
.jtf-home-banners {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.jtf-banner-track {
    position: relative;
    width: 100%;
}

.jtf-banner-slide {
    display: none;
    width: 100%;
}

.jtf-banner-slide.active {
    display: block;
}

.jtf-banner-slide a {
    display: block;
}

.jtf-banner-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
}

.jtf-banner-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.jtf-banner-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.jtf-banner-dots button.active {
    width: 25px;
    border-radius: 10px;
    background: #fff;
}

@media (max-width: 768px) {
    .jtf-banner-slide img {
        max-height: 260px;
        object-fit: cover;
    }

    .jtf-banner-dots {
        bottom: 8px;
    }
}
/* Logo 行右侧服务热线 */
.jtf-header-contact {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    padding-left: 25px;
}

.jtf-contact-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.jtf-contact-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #c82020;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.jtf-contact-phone:hover {
    color: #a51212;
}

.jtf-contact-icon {
    font-size: 23px;
}

@media (max-width: 768px) {
    .jtf-header-contact {
        padding-left: 8px;
    }

    .jtf-contact-label {
        font-size: 10px;
    }

    .jtf-contact-phone {
        font-size: 15px;
        gap: 3px;
    }

    .jtf-contact-icon {
        font-size: 15px;
    }
}
