/* 知识产权页 */
.news-detail {
    padding: 0 20px;
    color: #fff;
    font-family: sans-serif;
}

/* ===== 置顶 Hero ===== */
.featured-news {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.featured-image {
    flex: 1;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.featured-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.featured-content .date {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.featured-content .title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-content .desc {
    text-align: left;
    font-size: 16px;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.read-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    text-decoration: none;
    text-align: center;
}

.read-btn.primary {
    background-color: #26bbff;
    color: #101014;
    font-weight: bold;
}

.read-btn.outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid hsla(0, 0%, 100%, 0.35);
}

.domain-distribution {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 20px;
    background: rgba(16, 16, 20, 0.9);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.domain-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.domain-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.domain-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.domain-name {
    font-size: 16px;
    color: #fff;
    margin-bottom: 4px;
}

.domain-desc {
    font-size: 14px;
    color: #bbb;
    line-height: 1.4;
}

/* ===== 知识产权列表（与首页预览同风格） ===== */
.ip-list-section {
    max-width: 1440px;
    margin: 0 auto 80px;
    padding: 0 16px;
    color: #fff;
    font-family: sans-serif;
}

.ip-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ip-panel-aside {
    flex-shrink: 0;
}

.ip-stat-num {
    display: block;
    font-size: clamp(2.75rem, 10vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #fff;
}

.ip-stat-label {
    margin: 10px 0 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.ip-panel-main {
    flex: 1;
    min-width: 0;
}

.ip-panel-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

.ip-empty {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

.ip-entry {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
}

.ip-entry-type {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.35;
    word-break: break-all;
}

.ip-entry-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ip-entry-meta {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
}

.ip-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.ip-page-btn {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ip-page-btn:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.ip-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ip-page-info {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.45);
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
    .news-detail {
        padding: 0 32px;
    }

    .ip-list-section {
        padding: 0 32px;
    }

    .featured-news {
        padding: 64px 32px;
    }

    .featured-content {
        align-self: flex-start;
        padding: 20px 15px;
    }

    .featured-content .title {
        font-size: 36px;
    }

    .ip-panel {
        flex-direction: row;
        align-items: flex-start;
        gap: 48px;
    }

    .ip-panel-aside {
        width: 120px;
    }

    .ip-panel-list {
        column-gap: 40px;
    }

    .ip-entry {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px 12px;
        padding: 14px 0;
        align-items: start;
    }

    .ip-entry-type {
        grid-column: 1;
        grid-row: 1;
        word-break: normal;
        align-self: start;
    }

    .ip-entry-meta {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .ip-entry-name {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 15px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (min-width: 1280px) {
    .featured-news {
        flex-direction: row;
        align-self: center;
        padding: 66px 64px;
    }

    .featured-image {
        flex: 0 0 648px;
    }

    .featured-image img {
        width: 648px;
        height: 364px;
    }

    .featured-content {
        flex: 1;
        padding: 20px;
        margin-right: 50px;
    }

    .featured-content .title {
        font-size: 40px;
    }

    .ip-list-section {
        padding: 0 64px;
    }

    .ip-panel-aside {
        width: 128px;
    }

    .ip-panel-list {
        column-gap: 56px;
    }

    .ip-entry-name {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .featured-content {
        margin: 0;
        align-self: flex-start;
        padding: 20px 0 40px 0;
    }

    .news-detail {
        padding: 16px 16px 50px 16px;
    }

    .featured-image {
        height: 200px;
    }

    .ip-panel-aside {
        display: flex;
        align-items: baseline;
        gap: 12px;
    }

    .ip-stat-num {
        font-size: 2.25rem;
    }

    .ip-stat-label {
        margin: 0;
    }
}
