:root {
    --orange: #f36b21;
    --orange-dark: #d95513;
    --orange-soft: #fff4ec;
    --ink: #1f2937;
    --muted: #667085;
    --line: #e9e5e1;
    --surface: #ffffff;
    --canvas: #faf9f7;
    --shadow: 0 14px 34px rgba(38, 28, 20, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 50%;
    z-index: 1000;
    padding: 9px 18px;
    color: #fff;
    background: linear-gradient(135deg, #ff962d, #fc7f03);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(217, 85, 19, 0.24);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    opacity: 0;
    outline: 3px solid transparent;
    outline-offset: 2px;
    transform: translate(-50%, calc(-100% - 20px));
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.skip-link:focus {
    opacity: 1;
    outline-color: rgba(252, 127, 3, 0.3);
    transform: translate(-50%, 0);
}

.site-shell {
    width: min(922px, calc(100% - 40px));
    margin: 0 auto;
}

.flo-header {
    height: 104px;
    min-width: 1200px;
    padding-top: 44px;
    padding-bottom: 24px;
    color: #666;
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    font-size: 16px;
    line-height: normal;
}

.flo-header-body {
    display: flex;
    width: 1058px;
    margin: 0 auto;
    align-items: center;
}

.flo-logo {
    flex: 0 0 auto;
    height: 40px;
}

.flo-logo img {
    display: inline;
    width: 122px;
    height: 36px;
    cursor: pointer;
}

.flo-nav-list {
    display: flex;
    margin-left: 40px;
}

.flo-nav-item {
    height: 34px;
    margin: 0 12px;
    color: #666;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.flo-nav-item:hover,
.flo-nav-item.is-active {
    color: #FF962D;
    border-bottom: 2px solid #FF962D;
}

.flo-nav-item2:hover,
.flo-nav-item2.is-active {
    color: #0093EF;
    border-bottom-color: #0093EF;
}

.flo-nav-item3:hover,
.flo-nav-item3.is-active {
    color: #F47094;
    border-bottom-color: #F47094;
}

.flo-nav-item4:hover,
.flo-nav-item4.is-active {
    color: #06C0C1;
    border-bottom-color: #06C0C1;
}

.flo-top-operation {
    flex: 1;
    text-align: right;
}

.flo-top-operation [hidden] {
    display: none !important;
}

.flo-btn-login {
    display: inline-flex;
    width: 94px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #FC922A;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1;
}

.flo-top-operation .flo-top-operation-menus-wrapper {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 34px;
    text-align: center;
}

.flo-top-operation .dropdown {
    position: relative;
    display: inline-block;
    width: 100px;
}

.flo-top-operation .dropdown-trigger {
    display: inline-block;
    height: 34px;
    padding: 0;
    color: #666;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.flo-top-operation .dropdown-trigger::after {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    vertical-align: baseline;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M2.3 5.4L8 11l5.7-5.6' fill='none' stroke='%23666' stroke-width='1.3'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
    content: "";
    transform: translateY(1px);
}

.flo-top-operation .dropdown-content {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 99;
    display: none;
    min-width: 100px;
    padding: 6px 16px;
    background: #fefefe;
}

.flo-top-operation .dropdown:hover .dropdown-content,
.flo-top-operation .dropdown:focus-within .dropdown-content {
    display: block;
}

.flo-top-operation .flo-top-operation-menu {
    display: block;
    width: 100%;
    height: 36px;
    padding: 0;
    color: #666;
    background: transparent;
    border: 0;
    font: inherit;
    line-height: 36px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.flo-top-operation .flo-top-operation-menu:hover,
.flo-top-operation .flo-top-operation-menu:focus {
    color: #FF962D;
}

.mobile-header {
    display: none;
}

body.news-index-body {
    background: #fff;
}

.news-index-page {
    padding-top: 32px;
    padding-bottom: 32px;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.news-index-title {
    display: flex;
    margin: 0 0 28px;
    align-items: center;
    gap: 12px;
    color: #494949;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
}

.news-index-title::before {
    width: 6px;
    height: 26px;
    flex: none;
    background: #ff962d;
    border-radius: 3px;
    content: "";
}

.news-category-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.news-category-card {
    display: flex;
    height: 110px;
    padding: 0 32px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: #fff7ef;
    border: 1px solid #ffd9b3;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.news-category-card:hover {
    box-shadow: 0 6px 18px rgba(252, 127, 3, 0.15);
    transform: translateY(-2px);
}

.news-category-card.is-active {
    background: linear-gradient(135deg, #ff962d 0%, #fc7f03 100%);
    border-color: #fc7f03;
}

.news-category-card-name {
    color: #494949;
    font-size: 22px;
    font-weight: 700;
}

.news-category-card-description {
    color: #7d7d7d;
    font-size: 13px;
}

.news-category-card.is-active .news-category-card-name,
.news-category-card.is-active .news-category-card-description {
    color: #fff;
}

.news-board {
    padding: 8px 28px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
}

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

.news-list-item {
    display: flex;
    padding: 17px 0;
    align-items: center;
    gap: 16px;
    border-bottom: 1px dashed #f0f0f0;
}

.news-list-item:last-child {
    border-bottom: 0;
}

.news-list-item-dot {
    width: 6px;
    height: 6px;
    flex: none;
    background: #ff962d;
    border-radius: 50%;
}

.news-list-item-link {
    overflow: hidden;
    min-width: 0;
    flex: 1;
    color: #383838;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.news-list-item-link:hover {
    color: #ff962d;
}

.news-list-item-date {
    flex: none;
    color: #7d7d7d;
    font-size: 13px;
}

.news-list-empty {
    padding: 48px 0;
    color: #7d7d7d;
    text-align: center;
}

.news-list-empty h2 {
    margin: 0 0 6px;
    color: #494949;
    font-size: 20px;
}

.news-list-empty p {
    margin: 0;
}

.news-hero {
    padding: 48px 0 44px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 208, 171, 0.28), transparent 28%),
        linear-gradient(125deg, #d95715, #fa7a2d 62%, #f69a55);
}

.news-hero h1 {
    margin: 12px 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.news-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #8a8179;
    font-size: 13px;
}

.news-hero .breadcrumbs {
    color: rgba(255, 255, 255, 0.76);
}

.breadcrumbs a:hover {
    color: var(--orange-dark);
}

.news-hero .breadcrumbs a:hover {
    color: #fff;
}

.news-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
    padding-top: 42px;
    padding-bottom: 72px;
    align-items: start;
}

.category-panel {
    position: sticky;
    top: 92px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(38, 28, 20, 0.04);
}

.panel-title {
    padding: 18px 20px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #98a2b3;
    letter-spacing: 0.08em;
}

.category-nav {
    padding: 0 10px 12px;
}

.category-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    margin: 2px 0;
    border-radius: 9px;
    color: #475467;
    transition: background 0.18s ease, color 0.18s ease;
}

.category-nav a:hover,
.category-nav a.is-active {
    color: var(--orange-dark);
    background: var(--orange-soft);
}

.category-count {
    min-width: 23px;
    padding: 1px 7px;
    text-align: center;
    color: #98a2b3;
    background: #f4f4f2;
    border-radius: 20px;
    font-size: 12px;
}

.category-nav a.is-active .category-count {
    color: var(--orange-dark);
    background: #fff;
}

.article-list {
    min-width: 0;
}

.article-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 25px;
    padding: 22px;
    margin-bottom: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card.no-cover {
    grid-template-columns: 1fr;
}

.article-card:hover {
    border-color: #f1cbb3;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.article-card-cover {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f1ee;
    border-radius: 11px;
}

.article-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-cover img {
    transform: scale(1.025);
}

.article-card-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #98a2b3;
    font-size: 13px;
}

.category-pill,
.featured-pill {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 2px 10px;
    color: var(--orange-dark);
    background: var(--orange-soft);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
}

.featured-pill {
    color: #8a5a00;
    background: #fff6d6;
}

.article-card h2 {
    margin: 10px 0 8px;
    font-size: clamp(19px, 2.1vw, 24px);
    line-height: 1.42;
}

.article-card h2 a:hover {
    color: var(--orange-dark);
}

.article-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.read-more {
    align-self: flex-start;
    margin-top: 14px;
    color: var(--orange-dark);
    font-size: 14px;
    font-weight: 600;
}

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

.empty-state {
    padding: 78px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.empty-state h2 {
    margin: 0 0 6px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-top: 20px;
}

.pagination a,
.pagination > span:not(.page-state) {
    padding: 7px 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.pagination a:hover {
    color: var(--orange-dark);
    border-color: #efb68f;
}

.pagination .is-disabled {
    color: #c1bab3;
    background: #f7f6f4;
}

.page-state {
    color: var(--muted);
    font-size: 14px;
}

.preview-banner {
    padding: 10px 20px;
    text-align: center;
    color: #7a4b00;
    background: #fff1c2;
    border-bottom: 1px solid #f1d278;
    font-size: 14px;
}

body.news-article-body {
    background: #fff;
}

.article-page {
    max-width: 922px;
    padding-top: 64px;
    padding-bottom: 40px;
}

.article-detail {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.article-header {
    padding: 0;
    border: 0;
}

.article-header h1 {
    padding-bottom: 12px;
    margin: 0 0 20px;
    color: #494949;
    border-bottom: 1px solid #f0f0f0;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
}

.article-summary {
    margin: 0 0 8px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    color: #8a8179;
    font-size: 13px;
}

.article-byline a {
    color: var(--orange-dark);
}

.article-cover {
    overflow: hidden;
    margin: 20px 0 0;
    background: #f3f1ee;
    border-radius: 0;
}

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

.article-content {
    margin-top: 20px;
    color: #333;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content > :last-child {
    margin-bottom: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.article-content h2 {
    padding: 0;
    margin: 8px 0;
    border: 0;
}

.article-content h3 {
    margin: 8px 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre,
.article-content table {
    margin: 8px 0;
}

.article-content a {
    color: var(--orange-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content img {
    width: 100%;
    height: auto !important;
    margin: 8px 0;
    border-radius: 0;
}

.article-content blockquote {
    padding: 14px 20px;
    color: #596273;
    background: #faf6f2;
    border-left: 4px solid #efb68f;
}

.article-content pre {
    overflow-x: auto;
    padding: 18px;
    color: #f8fafc;
    background: #1f2937;
    border-radius: 9px;
    font-size: 14px;
}

.article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.article-content th,
.article-content td {
    min-width: 100px;
    padding: 9px 12px;
    border: 1px solid var(--line);
}

.article-content th {
    background: #faf8f5;
}

.related-section {
    padding-top: 42px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.section-heading h2 {
    margin: 0;
    font-size: 23px;
}

.section-heading > a {
    color: var(--orange-dark);
    font-size: 14px;
}

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

.related-grid article {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
}

.related-grid time {
    color: #98a2b3;
    font-size: 12px;
}

.related-grid h3 {
    margin: 6px 0;
    font-size: 17px;
    line-height: 1.55;
}

.related-grid h3 a:hover {
    color: var(--orange-dark);
}

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

.error-page {
    min-height: 60vh;
    padding: 100px 20px;
    text-align: center;
}

.error-code {
    color: #f4c3a5;
    font-size: 76px;
    font-weight: 800;
    line-height: 1;
}

.error-page h1 {
    margin: 12px 0 8px;
}

.error-page p {
    margin: 0 0 25px;
    color: var(--muted);
}

.primary-button {
    display: inline-flex;
    padding: 9px 20px;
    color: #fff;
    background: var(--orange);
    border-radius: 8px;
    font-weight: 600;
}

.primary-button:hover {
    background: var(--orange-dark);
}

.flo-footer {
    padding: 10px;
    margin-top: 20px;
    color: #414141;
    background: #fff;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    font-size: 14px;
    line-height: normal;
}

.flo-footer a {
    color: #414141;
    text-decoration: underline;
}

.flo-footer-police {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flo-footer-police img {
    width: auto;
    height: 16px;
    margin-right: 5px;
}

@media (max-width: 760px) {
    .site-shell {
        width: min(100% - 28px, 922px);
    }

    .news-index-page {
        padding-top: 24px;
        padding-bottom: 28px;
    }

    .news-index-title {
        margin-bottom: 20px;
        font-size: 24px;
    }

    .news-category-tabs {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .news-category-card {
        height: 92px;
        padding: 0 20px;
    }

    .news-category-card-name {
        font-size: 20px;
    }

    .news-board {
        padding: 4px 14px;
    }

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

    .news-list-item-link {
        font-size: 14px;
    }

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

    .flo-header {
        display: none;
    }

    .mobile-header {
        position: relative;
        z-index: 999;
        display: block;
        background: linear-gradient(180deg, #FC7F03 -3%, #FFD3A7 100%);
        user-select: none;
    }

    .mobile-header-content {
        position: relative;
        display: flex;
        height: 67.5px;
        padding: 0 34px;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-header-action {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }

    .mobile-home-icon {
        width: 22px;
    }

    .mobile-user-icon {
        width: 17.5px;
    }

    .news-hero {
        padding: 34px 0 31px;
    }

    .news-layout {
        display: block;
        padding-top: 24px;
        padding-bottom: 50px;
    }

    .category-panel {
        position: static;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .panel-title {
        display: none;
    }

    .category-nav {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding: 10px;
        scrollbar-width: none;
    }

    .category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-nav a {
        flex: 0 0 auto;
        gap: 7px;
        padding: 7px 11px;
        margin: 0;
    }

    .article-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
        border-radius: 12px;
    }

    .article-card-cover {
        align-self: start;
        aspect-ratio: 1 / 1;
    }

    .article-card-meta {
        gap: 5px;
        font-size: 11px;
    }

    .article-card h2 {
        margin: 6px 0 4px;
        font-size: 17px;
    }

    .article-card p {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }

    .read-more {
        display: none;
    }

    .article-page {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .article-detail {
        padding: 0;
        margin: 0;
        border-radius: 0;
    }

    .article-header {
        padding: 0;
    }

    .article-header h1 {
        padding-bottom: 10px;
        margin: 0 0 16px;
        font-size: 22px;
    }

    .article-summary {
        font-size: 14px;
    }

    .article-content {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.8;
    }

    .article-content h2 {
        font-size: 14px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .flo-footer {
        padding: 10px 0;
        font-family: PingFangSC-Regular;
        font-size: 12px;
        font-weight: 400;
    }

    .flo-footer > div {
        margin-bottom: 2px;
    }
}

@media (max-width: 430px) {
    .article-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .category-pill,
    .featured-pill {
        min-height: 22px;
        padding: 1px 8px;
    }

    .article-card-meta time {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
