.news-detail {
    padding: 2rem 0 3.75rem;
    background-color: #f5f7fa;
}

.news-detail .iaoa-breadcrumb {
    margin-bottom: 1.5rem;
}

.news-detail__article {
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px rgba(15, 23, 42, 0.07);
    padding: 1.65rem 1.35rem 2.35rem;
}

.news-detail__head {
    margin-bottom: 1.85rem;
}

.news-detail__title {
    margin: 0 0 1.15rem;
    padding-bottom: 0.9rem;
    border-bottom: 3px solid rgba(33, 150, 243, 0.75);
    font-size: clamp(1.65rem, 2.2vw + 1rem, 2.35rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.25rem;
    margin-bottom: 1.35rem;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    background: rgba(33, 150, 243, 0.06);
    border: 1px solid rgba(33, 150, 243, 0.12);
    border-radius: 10px;
}

.news-detail__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.news-detail__meta-item .bi {
    color: var(--color-primary);
    opacity: 0.9;
}

.news-detail__summary {
    margin: 0;
    padding: 1rem 1.1rem 1.05rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    background: linear-gradient(90deg, rgba(33, 150, 243, 0.07) 0%, rgba(249, 250, 251, 0.95) 12%, var(--color-surface-muted) 100%);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 10px 10px 0;
}

.news-detail__figure {
    margin: 0 0 2.25rem;
    border-radius: 14px;
    overflow: hidden;
}

.news-detail__cover-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.news-detail__body {
    font-size: 1.0625rem;
    line-height: 1.82;
    color: var(--color-text);
}

.news-detail__body > *:first-child {
    margin-top: 0;
}

.news-detail__body > *:last-child {
    margin-bottom: 0;
}

.news-detail__body p {
    margin: 0 0 1.25rem;
}

.news-detail__body h1 {
    margin: 2rem 0 0.85rem;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-primary-dark);
}

.news-detail__body h2,
.news-detail__body h3,
.news-detail__body h4 {
    margin: 2.15rem 0 0.85rem;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--color-primary-dark);
}

.news-detail__body h2 {
    font-size: 1.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.news-detail__body h3 {
    font-size: 1.22rem;
}

.news-detail__body h4 {
    font-size: 1.08rem;
    color: var(--color-text);
}

.news-detail__body strong {
    font-weight: 600;
    color: var(--color-text);
}

.news-detail__body ul,
.news-detail__body ol {
    margin: 0 0 1.2rem;
    padding-left: 1.35rem;
}

.news-detail__body li {
    margin-bottom: 0.4rem;
}

.news-detail__body a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.news-detail__body a:hover {
    color: var(--color-primary-dark);
}

.news-detail__body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.news-detail__body hr {
    margin: 2rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.12), transparent);
}

.news-detail__body blockquote {
    margin: 1.35rem 0;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    border-left: 4px solid rgba(33, 150, 243, 0.45);
    background: var(--color-surface-muted);
    color: var(--color-text-muted);
}

.news-detail__body pre,
.news-detail__body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9em;
}

.news-detail__body pre {
    margin: 1.15rem 0;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 10px;
    background: #0f172a;
    color: #e2e8f0;
}

.news-detail__body table {
    width: 100%;
    margin: 1.15rem 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.news-detail__body th,
.news-detail__body td {
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    text-align: left;
}

.news-detail__body th {
    background: var(--color-surface-muted);
}

.news-detail--missing .iaoa-breadcrumb {
    margin-bottom: 2rem;
}

.news-detail__empty {
    text-align: center;
    padding: 2.5rem 1rem 3rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, var(--color-surface-muted) 0%, var(--color-surface) 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 36px rgba(15, 23, 42, 0.06);
}

.news-detail__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1.25rem;
    font-size: 2.25rem;
    color: rgba(33, 150, 243, 0.85);
    background: rgba(33, 150, 243, 0.1);
    border-radius: 50%;
}

.news-detail__empty-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.news-detail__empty-lead {
    margin: 0 auto 1.75rem;
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.news-detail__empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10rem;
    padding: 0.6rem 1.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, var(--color-primary), #2563eb);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.news-detail__empty-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}

@media (min-width: 768px) {
    .news-detail {
        padding: 2.5rem 0 4.25rem;
    }

    .news-detail__article {
        padding: 2.15rem 2.1rem 2.85rem;
    }

    .news-detail__empty {
        padding: 3rem 1.5rem 3.5rem;
    }
}

/* --- News list page (.news-list*) --- */
.news-list .iaoa-breadcrumb {
    margin-bottom: 1.5rem;
}

.pagination-heading {
    margin-bottom: 1.75rem;
}

.pagination-heading__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.pagination-heading__meta-line {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.pagination-heading__meta-sep {
    margin: 0 0.35rem;
    color: rgba(148, 163, 184, 0.95);
}

.news-list__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.news-list__card {
    margin: 0;
    background: var(--color-surface);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.news-list__card:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.06),
        0 14px 36px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.news-list__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    text-decoration: none;
    color: inherit;
}

.news-list__media {
    position: relative;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    overflow: hidden;
    background: #0c2340;
}

.news-list__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 1.1rem 1.2rem 1.25rem;
    gap: 0.35rem;
}

.news-list__date {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.news-list__date .bi {
    opacity: 0.85;
}

.news-list__card-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.2rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color 0.18s ease;
}

.news-list__card-link:hover .news-list__card-title {
    color: #1d4ed8;
}

.news-list__excerpt {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-list__empty {
    margin: 2rem 0;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: 12px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    margin-top: 2.25rem;
}

.pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-primary);
    background: var(--color-surface);
    border: 1px solid rgba(33, 150, 243, 0.35);
    border-radius: 10px;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.pagination__btn:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.pagination__btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    color: var(--color-text-muted);
    border-color: var(--color-border);
    background: var(--color-surface-muted);
}

.pagination__status {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

@media (min-width: 576px) {
    .news-list__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.35rem;
    }
}

@media (min-width: 992px) {
    .news-list__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}
