:root {
    --ej-primary-red: #C41E24;
    --ej-dark-red: #8B0000;
    --ej-gold: #D4A017;
    --ej-light-gold: #F5E6C8;
    --ej-bg-beige: #fddebb;
    --ej-bg-light-beige: #fce3d1;
    --ej-text-dark: #333;
    --ej-text-gray: #666;
    --ej-white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ej-body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    background: var(--ej-bg-beige) url(http://www.wenming.cn/2026new/images/ej-bg.png) center 130px no-repeat;
    color: var(--ej-text-dark);
    line-height: 1.6;
}

.ej-body a {
    text-decoration: none;
    color: inherit;
}

.ej-body ul {
    list-style: none;
}

.ej-part {
    width: 1280px;
    margin: 0 auto;
    position: relative;
}

.common-header {
    position: relative;
    z-index: 1000;
}

.common-header-pc {
    background: var(--ej-white);
    border-top: 2px solid var(--ej-primary-red);
    border-bottom: 1px solid var(--ej-primary-red);
}

.common-header-mobile {
    display: none;
}

.common-nav-pc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    position: relative;
}

.common-nav-left {
    width: 250px;
}

.common-nav-left .common-logo {
    width: 100%;
    height: auto;
}

.common-nav-right {
    flex: 1;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.common-nav-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 10px;
}

.common-search-box {
    display: flex;
    border-radius: 25px;
    background: #f0f0f0;
    overflow: hidden;
    width: 300px;
    margin-right: 20px;
}

.common-search-box input {
    border: none;
    padding: 8px 15px;
    flex: 1;
    outline: none;
    font-size: 14px;
    background: #f0f0f0;
}

.common-search-btn {
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.common-search-btn img {
    width: 18px;
    height: 18px;
}

.common-search-btn:hover {
    background: var(--ej-dark-red);
}

.common-quick-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.common-quick-links .common-recruit {
    color: var(--ej-primary-red);
    font-size: 14px;
    font-weight: bold;
}

.common-quick-links .common-icons {
    display: flex;
    gap: 10px;
    align-items: stretch;
    color: #9b9b9b;
}

.common-quick-links .common-icons a,
.common-quick-links .common-icons span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.common-nav-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 980px;
}

.common-nav-bottom a {
    color: var(--ej-text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 15px 0;
}

.common-nav-bottom a:hover,
.common-nav-bottom a.active {
    color: var(--ej-primary-red);
}

.common-nav-bottom a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ej-primary-red);
}

.common-nav-mobile {
    display: flex;
    flex-direction: column;
}

.common-mobile-nav-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    background: url('http://www.wenming.cn/2026new/images/ej-mb-header-bg.png') center top no-repeat;
    background-size: cover;
    height: 80px;
    flex-shrink: 0;
    position: relative;
}

.common-mobile-logo {
    width: 150px;
    height: auto;
}

.common-mobile-toggle-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.common-toggle-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: opacity 0.3s ease;
}

.common-toggle-icon.menu {
    opacity: 1;
}

.common-toggle-icon.close {
    opacity: 0;
}

.common-mobile-toggle-btn.open .common-toggle-icon.menu {
    opacity: 0;
}

.common-mobile-toggle-btn.open .common-toggle-icon.close {
    opacity: 1;
}

.common-mobile-nav-content {
    background: var(--ej-bg-beige);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s linear;
    /* display: flex;
    flex-wrap: wrap;
    justify-content: center; */
    padding: 0 20px;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 1000;
}
.common-mobile-nav-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--ej-primary-red);
}
.common-mobile-nav-content.open {
    max-height: 500px;
}
.common-mobile-nav-content-list{
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.common-mobile-nav-content a {
    min-width: 29%;
    text-align: center;
    font-size: 16px;
    color: var(--ej-text-dark);
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.common-mobile-nav-content a:hover {
    background: rgba(196, 30, 36, 0.1);
    color: var(--ej-primary-red);
}

.ej-banner {
    padding: 50px 0;
}

.ej-banner-content {
    width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.ej-banner-line {
    position: relative;
}

.ej-banner-line.right {
    width: 100px;
    height: 3px;
    background: linear-gradient(to left, transparent, var(--ej-primary-red));
}

.ej-banner-line.left {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--ej-primary-red));
}

.ej-banner-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--ej-primary-red);
    border-radius: 50%;
}

.ej-banner-line.left::after {
    left: 100%;
}

.ej-banner-line.right::after {
    left: 0;
}

.ej-banner-title {
    font-size: 52px;
    color: var(--ej-primary-red);
    text-align: center;
}

.ej-main {
    padding: 20px 0;
}

.ej-container {
    width: 1280px;
    margin: 0 auto;
    background: var(--ej-white);
    padding: 25px;
}

.ej-list {
    margin-bottom: 30px;
}

.ej-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ej-news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.ej-news-item:hover {
    background: #fafafa;
}

.ej-news-image {
    width: 200px;
    height: 110px;
    flex-shrink: 0;
    margin-right: 20px;
    overflow: hidden;
}

.ej-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.ej-news-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}


.ej-news-title {
    font-size: 18px;
    color: var(--ej-text-dark);
    line-height: 1.5;
    flex: 1;
}

.ej-news-title:hover {
    color: var(--ej-primary-red);
}

.ej-news-time {
    font-size: 14px;
    color: var(--ej-text-gray);
    margin-left: 10px;
    width: 90px;
}

.ej-load-more {
    text-align: center;
    padding: 20px 0;
}

.ej-load-btn {
    padding: 12px 40px;
    background: linear-gradient(to right, #FF6B00, #FF8C00);
    color: var(--ej-white);
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ej-load-btn:hover {
    background: linear-gradient(to right, #FF8C00, #FFA500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.common-footer {
    background: var(--ej-primary-red);
    padding: 20px 0;
    margin-top: 20px;
}

.common-footer-content {
    width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.common-copyright-pc {
    display: flex;
    align-items: center;
    gap: 15px;
}

.common-copyright-icon img {
    width: 30px;
    height: 30px;
}

.common-copyright-name {
    color: var(--ej-white);
    font-size: 14px;
    text-align: center;
}

.common-copyright-name a {
    color: var(--ej-white);
}

.common-copyright-mobile {
    display: none;
    color: var(--ej-white);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .ej-body {
        background: var(--ej-white) url(http://www.wenming.cn/2026new/images/ej-mb-bg.png) center 80px no-repeat;
        background-size: 100%;
    }

    .common-header-pc {
        display: none;
    }

    .common-header-mobile {
        display: block;
    }

    .ej-banner {
        padding: 20px 0;
        background: none;
    }

    .ej-banner-content {
        width: 100%;
        padding: 0 20px;
        gap: 15px;
    }

    .ej-banner-line {
        width: 40px;
    }

    .ej-banner-title {
        font-size: 24px;
    }

    .ej-main {
        padding: 0 10px;
    }

    .ej-container {
        width: 100%;
        padding: 0;
        background: none;
    }

    .ej-news-item {
        flex-direction: column;
        justify-content: flex-start;
        padding:  10px 0;
    }
    .ej-news-item:first-child {
        padding-top: 0;
    }
    .ej-news-image {
        width: 100%;
        height: auto;
        margin: 0 0 15px 0;
    }

    .ej-news-info {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
    }

    .ej-news-time {
        margin-left: 0;
        margin-top: 10px;
    }

    .common-footer-content {
        width: 100%;
        padding: 0 15px;
        flex-direction: column;
        gap: 10px;
    }

    .common-copyright-pc {
        display: none;
    }

    .common-copyright-mobile {
        display: block;
        font-size: 12px;
    }
}

