.dict-hero-page {
    --hero-accent: #2c5aa0;
    --hero-accent-deep: #21457a;
    --hero-soft: #eef4ff;
    --hero-line: #d9e4f2;
}

.dict-hero-page .dict-header {
    padding: 28px 30px 24px;
    border: 1px solid var(--hero-line);
    border-bottom: 1px solid var(--hero-line);
    background: linear-gradient(180deg, #ffffff 0%, var(--hero-soft) 100%);
    text-align: left;
}

.dict-hero-path {
    margin-bottom: 16px;
    color: #7b8794;
    font-size: 13px;
    line-height: 1.8;
}

.dict-hero-path a {
    color: #5e6b78;
    text-decoration: none;
}

.dict-hero-path a:hover {
    color: var(--hero-accent-deep);
}

.dict-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.dict-hero-main {
    flex: 1;
    min-width: 0;
}

.dict-hero-badge {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    margin-bottom: 14px;
    border: 1px solid var(--hero-line);
    background: #fff;
    color: var(--hero-accent-deep);
    font-size: 12px;
    letter-spacing: 1px;
}

.dict-hero-page .dict-header .word-pinyin {
    margin-bottom: 10px;
}

.dict-hero-page .dict-header h1 {
    margin: 0;
    color: #243447;
    font-size: 34px;
    line-height: 1.35;
    font-weight: 600;
}

.dict-hero-page .dict-header p {
    max-width: 760px;
    margin: 14px 0 0;
    color: #5f6b76;
    font-size: 15px;
    line-height: 1.9;
}

.dict-hero-note {
    width: 260px;
    padding: 18px 18px 16px;
    border: 1px solid var(--hero-line);
    background: rgba(255, 255, 255, 0.88);
    box-sizing: border-box;
}

.dict-hero-note h2 {
    margin: 0 0 10px;
    color: #243447;
    font-size: 16px;
}

.dict-hero-note p {
    margin: 0;
    color: #5f6b76;
    font-size: 13px;
    line-height: 1.85;
}

.dict-hero-search {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--hero-line);
    background: rgba(255, 255, 255, 0.92);
}

.dict-hero-search-copy {
    flex: 0 0 190px;
    color: #5f6b76;
    font-size: 13px;
    line-height: 1.8;
}

.dict-hero-form {
    flex: 1;
    display: flex;
    gap: 10px;
}

.dict-hero-input {
    flex: 1;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--hero-line);
    background: #fff;
    color: #243447;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.dict-hero-input:focus {
    border-color: var(--hero-accent);
}

.dict-hero-btn {
    min-width: 120px;
    height: 46px;
    border: 1px solid var(--hero-accent);
    background: var(--hero-accent);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.dict-hero-btn:hover {
    background: var(--hero-accent-deep);
    border-color: var(--hero-accent-deep);
}

.news-article-page {
    --news-accent: #2c5aa0;
    --news-accent-soft: #eef4ff;
    --news-accent-deep: #21457a;
    --news-line: #d9e4f2;
}

.news-article-page .dict-container {
    padding: 18px;
    background: transparent;
}

.news-article-page .dict-header {
    margin-bottom: 18px;
    padding: 24px 28px 20px;
    border: 1px solid var(--news-line);
    border-bottom: 1px solid var(--news-line);
    background: linear-gradient(180deg, #ffffff 0%, var(--news-accent-soft) 100%);
    text-align: left;
}

.news-article-path {
    margin-bottom: 14px;
    color: #7b8794;
    font-size: 13px;
    line-height: 1.8;
}

.news-article-path a {
    color: #5e6b78;
    text-decoration: none;
}

.news-article-path a:hover {
    color: var(--news-accent-deep);
}

.news-article-sep {
    display: inline-block;
    margin: 0 8px;
    color: #9aa6b2;
}

.news-article-page .dict-header h1 {
    margin: 0;
    color: #243447;
    font-size: 34px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: 1px;
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.news-article-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--news-line);
    background: #fff;
    color: #5f6b76;
    font-size: 12px;
    line-height: 1;
}

.news-article-lead {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 3px solid var(--news-accent);
    background: rgba(255, 255, 255, 0.88);
    color: #5f6b76;
    font-size: 14px;
    line-height: 1.9;
}

.news-article-card {
    border: 1px solid #e8e8e8;
    background: #fff;
}

.news-article-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #ececec;
    background: #f7f8fa;
}

.news-article-head h2 {
    margin: 0;
    color: #243447;
    font-size: 19px;
    font-weight: 600;
}

.news-article-head span {
    color: #7b8794;
    font-size: 13px;
}

.news-article-body {
    padding: 22px 24px 26px;
}

.news-article-body .mtitle.path {
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px dashed #e3e7eb;
}

.news-article-body .detail {
    padding: 0;
    border: 0;
    background: transparent;
}

.news-article-body .mtb,
.news-article-content {
    color: #2f3e4d;
    font-size: 16px;
    line-height: 2;
}

.news-article-body .mtb p,
.news-article-content p {
    margin: 0 0 1em;
}

.news-article-body .mtb h2,
.news-article-body .mtb h3,
.news-article-body .mtb h4,
.news-article-content h2,
.news-article-content h3,
.news-article-content h4 {
    margin: 1.4em 0 0.8em;
    color: #243447;
    line-height: 1.6;
}

.news-reading-note {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid var(--news-line);
    background: var(--news-accent-soft);
}

.news-reading-note h3 {
    margin: 0 0 8px;
    color: #243447;
    font-size: 15px;
}

.news-reading-note p {
    margin: 0;
    color: #5f6b76;
    font-size: 13px;
    line-height: 1.9;
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.news-related-card {
    padding: 16px;
    border: 1px solid #ececec;
    background: #fff;
}

.news-related-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.news-related-meta {
    color: #7b8794;
    font-size: 12px;
    line-height: 1.7;
}

.news-related-title {
    margin: 8px 0 0;
    color: #243447;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 600;
}

.news-related-desc {
    margin-top: 8px;
    color: #5f6b76;
    font-size: 13px;
    line-height: 1.8;
}

.news-side-block {
    padding: 14px;
    border: 1px solid var(--news-line);
    background: var(--news-accent-soft);
}

.news-side-block h3 {
    margin: 0 0 8px;
    color: #243447;
    font-size: 15px;
}

.news-side-block p {
    margin: 0;
    color: #5f6b76;
    font-size: 13px;
    line-height: 1.85;
}

.news-side-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.news-side-cats a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 8px;
    border: 1px solid #ececec;
    background: #fff;
    color: #4f5d6b;
    text-decoration: none;
    font-size: 13px;
}

.news-side-cats a:hover {
    border-color: var(--news-accent);
    color: var(--news-accent-deep);
}

@media (max-width: 960px) {
    .dict-hero-top,
    .dict-hero-search,
    .dict-hero-form {
        flex-direction: column;
        align-items: stretch;
    }

    .dict-hero-note,
    .dict-hero-search-copy {
        width: 100%;
        flex: none;
    }

    .dict-hero-btn {
        width: 100%;
    }

    .news-article-page .dict-container {
        padding: 12px;
    }

    .news-article-page .dict-header {
        padding: 20px 18px 16px;
    }

    .news-article-page .dict-header h1 {
        font-size: 28px;
    }

    .news-article-body {
        padding: 18px 16px 22px;
    }

    .news-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
