/* 公共样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ol, ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    outline: none;
    transition: cubic-bezier(0.215, .61, .355, 1) .45s;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.clearfix:after {
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* 公共宽度 */
.pw1100 {
    width: 1100px;
    margin: 0 auto;
}

/* 页面容器 */
.page-box {
    min-height: 100vh;
    background: #fff;
    padding-top: 70px;
}

/* 移动端页面间�?*/
@media screen and (max-width: 768px) {
    .page-box {
        padding-top: 180px;
    }
}

/* banner 区域 */
.ny-banner {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #D4AF37 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ny-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/projectpro/images/banner-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.ny-banner-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.ny-banner h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.ny-banner p {
    font-size: 20px;
    opacity: 0.9;
}

/* 新闻区域 */
.ny-news {
    padding: 60px 0;
}

/* 面包�?*/
.ny-crumbs {
    margin-bottom: 40px;
    text-align: left;
}

.ny-crumbs .s1 {
    display: block;
    width: 100%;
    height: 1px;
    background: #ddd;
    margin-bottom: 15px;
}

.ny-crumbs p {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.ny-crumbs p i {
    font-style: normal;
    margin: 0 8px;
    color: #999;
}

/* 标题区域 */
.ny-title {
    text-align: left;
    margin-bottom: 50px;
}

.ny-title h2 {
    color: #D4AF37;
    font-size: 34px;
    margin-bottom: 8px;
    font-weight: normal;
}

.ny-title h3 {
    color: #4d4948;
    font-size: 22px;
    font-weight: normal;
}

/* 新闻列表 */
.ny-news .list {
    margin-bottom: 50px;
}

.ny-news .list .item {
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.ny-news .list .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ny-news .list .item a {
    display: block;
    position: relative;
    border-bottom: none;
}

/* 时间区域 */
.ny-news .list .item .time {
    position: absolute;
    left: 0;
    top: 0;
    width: 230px;
    height: 100%;
    background: #f5f8fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.ny-news .list .item a:hover .time {
    background: #D4AF37;
}

.ny-news .list .item .time .time01 {
    text-align: center;
}

.ny-news .list .item .time .time01 .s1 {
    display: block;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #999;
    transition: color 0.4s ease;
}

.ny-news .list .item a:hover .time .time01 .s1 {
    color: #fff;
}

.ny-news .list .item .time .time01 .s2 {
    display: block;
    width: 60px;
    height: 2px;
    background: #ddd;
    margin: 10px auto;
    transition: background 0.4s ease;
}

.ny-news .list .item a:hover .time .time01 .s2 {
    background: #fff;
}

/* 图片区域 */
.ny-news .list .item .img {
    float: right;
    width: 320px;
    height: 200px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.ny-news .list .item a:hover .img {
    padding-right: 25px;
}

.ny-news .list .item .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ny-news .list .item a:hover .img img {
    transform: scale(1.05);
}

/* 内容区域 */
.ny-news .list .item .con {
    padding: 30px 360px 30px 260px;
    position: relative;
    top: 50%;
    transform: translateY(0);
}

.ny-news .list .item .con h2 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
    transition: color 0.4s ease;
    line-height: 1.4;
}

.ny-news .list .item a:hover .con h2 {
    color: #D4AF37;
}

.ny-news .list .item .con p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ny-news .list .item .con div {
    font-size: 14px;
    color: #999;
}

/* 翻页 */
.filp {
    font-size: 0;
    text-align: center;
    margin-top: 50px;
}

.filp ul {
    display: inline-block;
}

.filp li {
    display: inline-block;
    margin: 0 6px;
}

.filp a {
    display: block;
    border: 1px solid #ddd;
    width: 42px;
    height: 42px;
    font-size: 14px;
    text-align: center;
    line-height: 40px;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #fff;
}

.filp a:hover,
.filp a.active {
    color: #fff;
    border-color: #D4AF37;
    background-color: #D4AF37;
}

.filp a.prev,
.filp a.next {
    width: auto;
    padding: 0 20px;
}

/* 无数�?*/
.no-data {
    text-align: center;
    padding: 80px 0;
    color: #999;
}

.no-data p {
    font-size: 16px;
}

/* 响应式设�?*/
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .pw1100 {
        width: 95%;
        padding: 0 10px;
    }
    
    .ny-news .list .item .time {
        width: 150px;
    }
    
    .ny-news .list .item .img {
        width: 250px;
    }
    
    .ny-news .list .item .con {
        padding: 25px 280px 25px 170px;
    }
    
    .ny-news .list .item .con h2 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 767px) {
    .pw1100 {
        width: 100%;
        padding: 0 15px;
    }
    
    .ny-banner {
        height: 200px;
    }
    
    .ny-banner h1 {
        font-size: 32px;
    }
    
    .ny-banner p {
        font-size: 16px;
    }
    
    .ny-news {
        padding: 40px 0;
    }
    
    .ny-title h2 {
        font-size: 24px;
    }
    
    .ny-title h3 {
        font-size: 16px;
    }
    
    .ny-news .list .item {
        margin-bottom: 20px;
    }
    
    .ny-news .list .item .time {
        display: none;
    }
    
    .ny-news .list .item .img {
        float: right;
        width: 120px;
        height: 90px;
        padding: 15px;
    }
    
    .ny-news .list .item .con {
        padding: 15px 140px 15px 15px;
        min-height: 120px;
    }
    
    .ny-news .list .item .con h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .ny-news .list .item .con p {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
    }
    
    .ny-news .list .item .con div {
        font-size: 12px;
    }
    
    .filp a {
        width: 36px;
        height: 36px;
        line-height: 34px;
        font-size: 13px;
    }
    
    .filp a.prev,
    .filp a.next {
        padding: 0 15px;
    }
}

/* ==================== 新闻详情页样�?==================== */
.ny-news-detail {
    padding-bottom: 60px;
    background: #f8f9fa;
    min-height: calc(100vh - 300px);
}

.ny-news-detail .pw1100 {
    padding: 40px;
    border-radius: 8px;
}

/* 面包屑导�?*/
.ny-news-detail .ny-crumbs {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.ny-news-detail .ny-crumbs .s1 {
    display: none;
}

.ny-news-detail .ny-crumbs a {
    color: #666;
    transition: color 0.3s ease;
}

.ny-news-detail .ny-crumbs a:hover {
    color: #D4AF37;
}

.ny-news-detail .ny-crumbs span,
.ny-news-detail .ny-crumbs i {
    color: #999;
    font-size: 14px;
}

.ny-news-detail .ny-crumbs i {
    margin: 0 10px;
}

/* 新闻详情内容 */
.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

/* 新闻头部 */
.news-detail-content .news-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #D4AF37;
}

.news-detail-content .news-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-content .news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: #999;
    font-size: 14px;
}

.news-detail-content .news-time {
    position: relative;
    padding-left: 20px;
}

.news-detail-content .news-time::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.news-detail-content .news-views {
    position: relative;
    padding-left: 20px;
}

.news-detail-content .news-views::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 新闻封面�?*/
.news-detail-content .news-cover {
    margin-bottom: 40px;
    text-align: center;
}

.news-detail-content .news-cover img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 新闻正文 */
.news-detail-content .news-body {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 50px;
    text-align: justify;
}

.news-detail-content .news-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.news-detail-content .news-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

.news-detail-content .news-body h1,
.news-detail-content .news-body h2,
.news-detail-content .news-body h3,
.news-detail-content .news-body h4,
.news-detail-content .news-body h5,
.news-detail-content .news-body h6 {
    margin: 25px 0 15px;
    color: #333;
    font-weight: bold;
}

.news-detail-content .news-body h1 { font-size: 28px; }
.news-detail-content .news-body h2 { font-size: 24px; }
.news-detail-content .news-body h3 { font-size: 20px; }
.news-detail-content .news-body h4 { font-size: 18px; }

.news-detail-content .news-body a {
    color: #D4AF37;
    text-decoration: underline;
}

.news-detail-content .news-body a:hover {
    color: #d48b1b;
}

.news-detail-content .news-body ul,
.news-detail-content .news-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-detail-content .news-body ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.news-detail-content .news-body ol li {
    list-style-type: decimal;
    margin-bottom: 10px;
}

.news-detail-content .news-body blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: #f5f5f5;
    border-left: 4px solid #D4AF37;
    font-style: italic;
}

.news-detail-content .news-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.news-detail-content .news-body table th,
.news-detail-content .news-body table td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    text-align: left;
}

.news-detail-content .news-body table th {
    background: #f5f5f5;
    font-weight: bold;
}

.news-detail-content .news-body pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 20px 0;
}

.news-detail-content .news-body code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

/* 新闻底部 */
.news-detail-content .news-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.news-detail-content .btn-back {
    display: inline-block;
    padding: 12px 40px;
    background: #D4AF37;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.news-detail-content .btn-back:hover {
    background: #d48b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 159, 32, 0.4);
}

/* 响应式设�?- 详情�?*/
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .ny-news-detail .pw1100 {
        padding: 30px;
    }
    
    .news-detail-content .news-title {
        font-size: 28px;
    }
}

@media only screen and (max-width: 767px) {
    .ny-news-detail {
        padding: 30px 0;
    }
    
    .ny-news-detail .pw1100 {
        padding: 20px 15px;
        border-radius: 0;
    }
    
    .news-detail-content .news-title {
        font-size: 22px;
    }
    
    .news-detail-content .news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-detail-content .news-body {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .news-detail-content .news-body p {
        text-indent: 0;
    }
    
    .news-detail-content .news-body h1 { font-size: 22px; }
    .news-detail-content .news-body h2 { font-size: 20px; }
    .news-detail-content .news-body h3 { font-size: 18px; }
    
    .news-detail-content .btn-back {
        padding: 10px 30px;
        font-size: 14px;
    }
}

/* ==================== 案例展示区样式 ==================== */
.case-showcase {
    padding: 60px 0;
    background: #f8f8f8;
}

.cases-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cases-container.reverse {
    flex-direction: row-reverse;
}

.case-zt {
    width: 100%;
    padding: 20px 0;
    border-radius: 15px;
    overflow: hidden;
}

.case-card {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #F5F5F5;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.case-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.case-card.reverse.animate-in {
    animation-delay: 0.2s;
}

.case-card.reverse {
    flex-direction: row-reverse;
}

.case-image {
    width: 40%;
    overflow: hidden;
}

.case-card.full-width .case-image {
    width: 100%;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.case-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

.case-highlights {
    margin: 15px 0;
    padding-left: 20px;
}

.case-highlights li {
    margin-bottom: 8px;
    position: relative;
}

.case-highlights li::before {
    content: '*';
    position: absolute;
    left: -15px;
    color: #D4AF37;
}

.case-conclusion {
    font-weight: bold;
    color: #D4AF37;
    margin-top: 15px;
}

.case-content .more {
    margin-top: 20px;
}

.case-content .more a {
    display: inline-block;
    color: #D4AF37;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 5px 18px;
    border: 1px solid #D4AF37;
}

.case-intro-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* 案例展示区响应式设计 */
@media only screen and (max-width: 767px) {
    .case-showcase {
        padding: 30px 0;
    }
    
    .cases-container {
        padding: 0 15px;
    }
    
    .case-card {
        flex-direction: column;
        gap: 0;
        margin-bottom: 25px;
    }
    
    .case-card.reverse {
        flex-direction: column;
    }
    
    .case-image {
        width: 100%;
        height: 200px;
    }
    
    .case-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .case-content {
        width: 100%;
        padding: 20px;
    }
    
    .case-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .case-desc {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .case-highlights {
        margin: 12px 0;
        padding-left: 15px;
    }
    
    .case-highlights li {
        margin-bottom: 6px;
        font-size: 14px;
    }
    
    .case-highlights li::before {
        left: -12px;
    }
    
    .case-conclusion {
        margin-top: 12px;
        font-size: 14px;
    }
    
    .case-content .more {
        margin-top: 15px;
    }
    
    .case-content .more a {
        font-size: 14px;
        padding: 4px 15px;
    }
    
    .case-intro-text {
        font-size: 14px;
        padding: 0 15px;
        margin-bottom: 20px;
        text-align: left;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .case-card {
        gap: 20px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-title {
        font-size: 20px;
    }
    
    .case-desc {
        font-size: 14px;
    }
}
