/* WordPress 套版边界：同事样式保留原有视觉，补充主题模板中的安全兜底。 */
.naisigu-site { min-width: 320px; }
.naisigu-site .main-center { overflow: hidden; }
.naisigu-site .header-logo img { object-fit: contain; }
.naisigu-site .footer img { object-fit: contain; }
.naisigu-site .header-top-nav .links,
.naisigu-site .header-nav .header-nav-items,
.naisigu-site .header-nav .header-nav-links {
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
}
.naisigu-site .header-top-nav .links,
.naisigu-site .header-nav .header-nav-items {
    flex-shrink: 0;
}
.naisigu-site .header-top-nav .links.active {
    color: #1c1d21;
    font-weight: 500;
}
.naisigu-site .header-nav .header-nav-items.active .header-nav-links {
    color: #ef7d25;
    opacity: 1;
}
.naisigu-site .header-nav .header-nav-items.active .header-nav-links::after {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #ef7d25;
}
.naisigu-site .header-nav .header-nav-links {
    position: relative;
}
.naisigu-site .bread-items > .bread-links {
    display: block;
    width: auto;
    height: auto;
    min-width: max-content;
    margin: 0;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
}
.naisigu-site .bread-items > .bread-links::before,
.naisigu-site .bread-items > .bread-links::after {
    display: none;
}
.naisigu-site .sport-section3 .contents .tits,
.naisigu-site .sport-section3 .contents .sub-tits { overflow-wrap: anywhere; }
.naisigu-site .wp-content { line-height: 1.8; }
.naisigu-site .wp-content img { height: auto; }
.naisigu-404-main {
    min-height: 620px;
    padding: 110px 7vw 130px;
    display: flex;
    align-items: center;
    gap: clamp(36px, 8vw, 150px);
    background: #fff;
}
.naisigu-404-visual {
    position: relative;
    flex: 1 1 52%;
    min-height: 360px;
    overflow: hidden;
    background: #1c1d21;
}
.naisigu-404-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .08));
}
.naisigu-404-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}
.naisigu-404-code {
    position: absolute;
    z-index: 1;
    left: clamp(24px, 5vw, 80px);
    bottom: 20px;
    color: #fff;
    font-size: clamp(100px, 15vw, 250px);
    line-height: .8;
    font-weight: 200;
    letter-spacing: -.08em;
}
.naisigu-404-content {
    flex: 0 1 420px;
}
.naisigu-404-eyebrow {
    margin-bottom: 18px;
    color: #ef7d25;
    font-size: 14px;
    letter-spacing: .18em;
    font-weight: 500;
}
.naisigu-404-content h1 {
    margin-bottom: 20px;
    color: #1c1d21;
    font-size: clamp(30px, 3vw, 52px);
    line-height: 1.2;
    font-weight: 500;
}
.naisigu-404-description {
    margin-bottom: 36px;
    color: #666;
    font-size: 17px;
    line-height: 1.9;
}
.naisigu-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.naisigu-404-button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid #1c1d21;
    color: #1c1d21;
    font-size: 15px;
    transition: all .3s;
}
.naisigu-404-button:hover,
.naisigu-404-button-primary {
    border-color: #ef7d25;
    background: #ef7d25;
    color: #fff;
}
@media (max-width: 767px) {
    .naisigu-site .header-top { padding: 14px 20px; }
    .naisigu-site .header-logo { height: 48px; margin-right: 10px; }
    .naisigu-site .header-top-nav .links { padding: 0 14px; font-size: 18px; }
    /* .naisigu-site .header-bottom { overflow-x: auto; } */
    .naisigu-site .header-bottom .cont_1260 { min-width: max-content; }
    .naisigu-site .header-nav { flex-shrink: 0; }
    .naisigu-404-main { min-height: 0; padding: 70px 20px 80px; display: block; }
    .naisigu-404-visual { min-height: 220px; margin-bottom: 44px; }
    .naisigu-404-visual img { min-height: 220px; }
    .naisigu-404-code { font-size: 110px; }
    .naisigu-404-description { font-size: 15px; }
    .naisigu-404-button { flex: 1 1 calc(50% - 12px); padding: 0 12px; }
}

/* About Us 宣言改为单个富文本字段后，保持内容居中并避免编辑器自动生成的 p 标签带来额外间距。 */
.about-value .about-manifesto-content {
    display: block;
    text-align: center;
}
.about-value .about-manifesto-content p {
    margin: 0;
}

/* 新闻正文沿用 naisigu/single-news.html 的标题、富文本和相关动态结构。 */
.naisigu-news-detail .w-single-news-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
}
.naisigu-news-detail .w-single-news-content h2,
.naisigu-news-detail .w-single-news-content h3,
.naisigu-news-detail .w-single-news-content h4 {
    margin: 28px 0 14px;
    color: #222;
    line-height: 1.5;
}
.naisigu-news-detail .w-single-news-content ul,
.naisigu-news-detail .w-single-news-content ol {
    padding-left: 28px;
    font-size: 20px;
    line-height: 1.7;
}
.naisigu-news-detail .w-related-news .w-related-box {
    display: block;
}
@media (max-width: 767px) {
    .naisigu-news-detail .w-single-news-content ul,
    .naisigu-news-detail .w-single-news-content ol {
        font-size: 17px;
    }
}

/* 新闻详情页沿用新闻归档的新版耐斯顾视觉，不再加载旧套版详情布局。 */
.news-detail-page {
    padding: 34px 0 90px;
    background: #fff;
}
.news-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    color: #999;
    font-size: 14px;
    line-height: 1.8;
}
.news-detail-breadcrumb a { color: #777; }
.news-detail-breadcrumb strong { color: #1c1d21; font-weight: 400; }
.news-detail-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0 46px;
}
.news-detail-header {
    margin-bottom: 30px;
    text-align: center;
}
.news-detail-header h1 {
    margin: 0 auto 18px;
    color: #1c1d21;
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 500;
    line-height: 1.35;
}
.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    color: #999;
    font-size: 14px;
}
.news-detail-meta a { color: #999; }
.news-detail-cover {
    overflow: hidden;
    margin-bottom: 30px;
    background: #f5f5f5;
    text-align: center;
}
.news-detail-cover img {
    display: block;
    width: 100%;
    max-height: 560px;
    margin: 0 auto;
    object-fit: cover;
}
.news-detail-excerpt {
    margin: 0 0 28px;
    padding: 18px 24px;
    border-left: 3px solid #ef7d25;
    background: #fafafa;
    color: #666;
    font-size: 16px;
    line-height: 1.9;
}
.news-detail-content {
    color: #333;
    font-size: 16px;
    line-height: 2;
}
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    margin: 30px 0 14px;
    color: #1c1d21;
    line-height: 1.5;
}
.news-detail-content p { margin: 0 0 18px; }
.news-detail-content img { max-width: 100%; height: auto; }
.news-detail-content ul,
.news-detail-content ol { padding-left: 24px; }
.news-detail-nav {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 14px;
}
.news-detail-nav a { color: #555; }
@media (max-width: 767px) {
    .news-detail-page { padding: 24px 20px 60px; }
    .news-detail-breadcrumb { margin-bottom: 20px; }
    .news-detail-header h1 { font-size: 28px; }
    .news-detail-excerpt { padding: 14px 16px; font-size: 15px; }
    .news-detail-content { font-size: 15px; line-height: 1.9; }
    .news-detail-nav { flex-wrap: wrap; justify-content: center; }
}
