/* =====================================================
   News Page Styles - Cabal Ethereal (Standalone)
   ===================================================== */

/* ===== Page Layout ===== */
.news-page {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
    background:
        radial-gradient(ellipse 70% 30% at 50% 0%, rgba(236,27,27,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(236,27,27,0.06) 0%, transparent 60%),
        linear-gradient(180deg, #080506 0%, #0b0708 50%, #080506 100%);
    overflow: hidden;
}

.news-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(236,27,27,0.05), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(236,27,27,0.04), transparent 40%);
}
.news-bg-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(236,27,27,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236,27,27,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 85%);
    opacity: 0.5;
}

/* ===== Page Header (premium theme) ===== */
.news-page-header {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px 44px;
}

.news-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 14px;
}

.news-title-icon {
    width: 34px;
    height: 34px;
    color: #ec1b1b;
    filter: drop-shadow(0 0 10px rgba(236,27,27,0.55));
    flex-shrink: 0;
}

.news-page-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 8px;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 24px rgba(236,27,27,0.25);
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #d3a3a3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-bar {
    position: relative;
    flex: 0 0 120px;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(236,27,27,0.9) 50%, transparent 100%);
}
.news-bar.right {
    background: linear-gradient(to left, transparent 0%, rgba(236,27,27,0.9) 50%, transparent 100%);
}
.news-bar::before,
.news-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #ec1b1b;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 10px rgba(236,27,27,0.8);
}
.news-bar.left::before  { right: 0; }
.news-bar.left::after   { left: 0; opacity: 0.4; width: 3px; height: 3px; }
.news-bar.right::before { left: 0; }
.news-bar.right::after  { right: 0; opacity: 0.4; width: 3px; height: 3px; }

.news-page-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0;
}

/* ===== Content Container ===== */
.news-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== Filter Tabs (angular container matching theme) ===== */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 0 auto 26px;
    padding: 5px;
    background: rgba(10,3,3,0.55);
    border: 1px solid rgba(236,27,27,0.22);
    border-radius: 2px;
    box-shadow: inset 0 0 30px rgba(236,27,27,0.06);
    max-width: fit-content;
    flex-wrap: wrap;
}

.news-tab {
    position: relative;
    padding: 9px 22px;
    font-family: 'Prompt', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: 2px;
    transition: color 0.25s ease, background 0.25s ease;
}

.news-tab:hover {
    color: #fff;
    background: rgba(236,27,27,0.08);
}

.news-tab.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(236,27,27,0.85) 0%, rgba(155,10,10,0.9) 100%);
    font-weight: 600;
    box-shadow: 0 0 16px rgba(236,27,27,0.4), inset 0 0 0 1px rgba(236,27,27,0.9);
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.news-tab.active::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ec1b1b;
    filter: drop-shadow(0 2px 3px rgba(236,27,27,0.5));
}

/* ===== News List ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 14px 22px;
    background:
        linear-gradient(135deg, rgba(236,27,27,0.03) 0%, transparent 60%),
        rgba(10,3,3,0.4);
    border: 1px solid rgba(236,27,27,0.15);
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, padding 0.25s ease;
    gap: 14px;
    overflow: hidden;
}

/* Left red accent bar (scales on hover) */
.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ec1b1b 0%, #8b0000 100%);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 8px rgba(236,27,27,0.6);
}

.news-item:hover {
    background:
        linear-gradient(90deg, rgba(236,27,27,0.12) 0%, rgba(236,27,27,0.02) 80%);
    border-color: rgba(236,27,27,0.5);
    padding-left: 26px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 14px rgba(236,27,27,0.1);
}
.news-item:hover::before {
    transform: scaleY(1);
}

.news-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

/* Category Tags — angular */
.news-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 5px 10px;
    border-radius: 2px;
    font-family: 'Cinzel', 'Prompt', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    flex-shrink: 0;
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.cat-all,
.cat-event {
    background: linear-gradient(180deg, rgba(100,116,139,0.28) 0%, rgba(60,70,85,0.2) 100%);
    color: #cbd5e1;
    border-color: rgba(148,163,184,0.35);
}

.cat-promotion {
    background: linear-gradient(180deg, rgba(234,179,8,0.22) 0%, rgba(180,130,5,0.18) 100%);
    color: #facc15;
    border-color: rgba(234,179,8,0.45);
    text-shadow: 0 0 8px rgba(234,179,8,0.4);
}

.cat-news {
    background: linear-gradient(180deg, rgba(59,130,246,0.22) 0%, rgba(29,78,216,0.18) 100%);
    color: #60a5fa;
    border-color: rgba(59,130,246,0.45);
    text-shadow: 0 0 8px rgba(59,130,246,0.4);
}

.cat-game {
    background: linear-gradient(180deg, rgba(34,197,94,0.22) 0%, rgba(21,128,61,0.18) 100%);
    color: #4ade80;
    border-color: rgba(34,197,94,0.45);
    text-shadow: 0 0 8px rgba(34,197,94,0.4);
}

.cat-rule {
    background: linear-gradient(180deg, rgba(168,85,247,0.22) 0%, rgba(109,40,217,0.18) 100%);
    color: #c084fc;
    border-color: rgba(168,85,247,0.45);
    text-shadow: 0 0 8px rgba(168,85,247,0.4);
}

.cat-ban {
    background: linear-gradient(180deg, rgba(236,27,27,0.28) 0%, rgba(139,0,0,0.22) 100%);
    color: #ff7a7a;
    border-color: rgba(236,27,27,0.55);
    text-shadow: 0 0 8px rgba(236,27,27,0.5);
}

/* Title */
.news-title {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
}

.news-item:hover .news-title {
    color: #fff;
}

/* Date */
.news-date {
    font-family: 'Cinzel', 'Prompt', sans-serif;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 1.5px;
    font-weight: 500;
}
.news-item:hover .news-date {
    color: #ff7a7a;
}

/* ===== Empty State ===== */
.news-empty {
    position: relative;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.35);
    background:
        linear-gradient(135deg, rgba(236,27,27,0.03) 0%, transparent 60%),
        rgba(10,3,3,0.3);
    border: 1px solid rgba(236,27,27,0.15);
    border-radius: 2px;
}
/* Corner L-ticks */
.news-empty::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(#ec1b1b, #ec1b1b), linear-gradient(#ec1b1b, #ec1b1b),
        linear-gradient(#ec1b1b, #ec1b1b), linear-gradient(#ec1b1b, #ec1b1b),
        linear-gradient(#ec1b1b, #ec1b1b), linear-gradient(#ec1b1b, #ec1b1b),
        linear-gradient(#ec1b1b, #ec1b1b), linear-gradient(#ec1b1b, #ec1b1b);
    background-repeat: no-repeat;
    background-size:
        16px 2px, 2px 16px,
        16px 2px, 2px 16px,
        16px 2px, 2px 16px,
        16px 2px, 2px 16px;
    background-position:
        0 0, 0 0,
        100% 0, 100% 0,
        0 100%, 0 100%,
        100% 100%, 100% 100%;
    opacity: 0.6;
}

.news-empty svg {
    margin-bottom: 14px;
    opacity: 0.5;
    width: 52px;
    height: 52px;
    color: #ec1b1b;
    filter: drop-shadow(0 0 10px rgba(236,27,27,0.4));
}

.news-empty p {
    font-size: 13px;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ===== Pagination ===== */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 2px;
    font-family: 'Cinzel', 'Prompt', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.65);
    background:
        linear-gradient(135deg, rgba(236,27,27,0.03) 0%, transparent 60%),
        rgba(10,3,3,0.45);
    border: 1px solid rgba(236,27,27,0.22);
    text-decoration: none;
    transition: color 0.2s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.page-link:hover:not(.active):not(.disabled):not(.dots) {
    color: #fff;
    background: rgba(236,27,27,0.12);
    border-color: rgba(236,27,27,0.55);
    box-shadow: 0 0 10px rgba(236,27,27,0.2);
}

.page-link.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(236,27,27,0.95) 0%, rgba(155,10,10,0.98) 100%);
    border-color: #ec1b1b;
    font-weight: 700;
    box-shadow:
        0 0 0 1px rgba(236,27,27,0.5),
        0 2px 12px rgba(236,27,27,0.4),
        inset 0 1px 0 rgba(255,255,255,0.15);
    text-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.page-link.disabled {
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    pointer-events: none;
    border-color: rgba(236,27,27,0.1);
}

.page-link.dots {
    border: none;
    background: none;
    cursor: default;
    pointer-events: none;
    color: rgba(236,27,27,0.5);
}

/* =====================================================
   News Detail Page
   ===================================================== */

/* Detail Container */
.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px 40px;
}

/* Back Button */
.news-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
    margin-bottom: 24px;
}

.news-back-btn:hover {
    color: #ec1b1b;
}

.news-back-btn svg {
    flex-shrink: 0;
}

.news-back-bottom {
    margin-top: 30px;
    margin-bottom: 0;
}

/* Article */
.news-article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.news-article-header {
    padding: 28px 28px 20px;
}

.news-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.news-article-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.news-article-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    margin: 0;
}

.news-article-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 28px;
}

.news-article-body {
    padding: 24px 28px 32px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.42;
}

.news-article-body p {
    margin: 0;
}

.news-article-body p:last-child {
    margin-bottom: 0;
}

.news-article-body p > br:only-child {
    display: block;
    content: "";
    margin-top: 0.5em;
}

.news-article-body h1 {
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.news-article-body h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.news-article-body h3 {
    font-size: 1.17em;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.news-article-body ul,
.news-article-body ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

.news-article-body li {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.75);
}

.news-article-body strong {
    color: #fff;
    font-weight: 600;
}

.news-article-body img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px 0;
    display: block;
}

.news-article-body img:first-child {
    margin-top: 0;
}

.news-article-body a {
    color: #ec1b1b;
    text-decoration: none;
}

.news-article-body a:has(> img) {
    display: contents;
}

.news-article-body a:hover {
    text-decoration: underline;
}

/* Quill Editor Content Classes */
.news-article-body .ql-align-center {
    text-align: center;
}

.news-article-body .ql-align-center img {
    margin-left: auto;
    margin-right: auto;
}

.news-article-body .ql-align-right {
    text-align: right;
}

.news-article-body .ql-align-right img {
    margin-left: auto;
    margin-right: 0;
}

.news-article-body .ql-align-justify {
    text-align: justify;
}

.news-article-body .ql-indent-1 {
    padding-left: 3em;
}

.news-article-body .ql-indent-2 {
    padding-left: 6em;
}

.news-article-body .ql-indent-3 {
    padding-left: 9em;
}

.news-article-body .ql-size-small {
    font-size: 0.75em;
}

.news-article-body .ql-size-large {
    font-size: 1.5em;
}

.news-article-body .ql-size-huge {
    font-size: 2.5em;
}

/* ===== Table Styles ===== */
.news-article-body table.news-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-article-body table.news-table th,
.news-article-body table.news-table td {
    padding: 12px 16px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-article-body table.news-table thead th {
    background: rgba(236, 27, 27, 0.12);
    color: #ec1b1b;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    border-bottom: 2px solid rgba(236, 27, 27, 0.3);
}

.news-article-body table.news-table tbody td {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
}

.news-article-body table.news-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.04);
}

.news-article-body table.news-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.07);
}

.news-article-body table.news-table img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    width: auto;
}

/* ===== Horizontal Rule ===== */
.news-article-body hr {
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

/* ===== Blockquote ===== */
.news-article-body blockquote {
    border-left: 4px solid #ec1b1b;
    margin: 16px 0;
    padding: 12px 20px;
    background: rgba(236, 27, 27, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* ===== Video Embed ===== */
.news-article-body iframe,
.news-article-body .ql-video {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 8px;
    margin: 20px auto;
    background: #000;
}

/* ===== Blacklist Search Box ===== */
.blacklist-search-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.blacklist-search-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blacklist-search-icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
}

.blacklist-search-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 9px 14px;
    font-size: 13px;
    color: #fff;
    font-family: 'Prompt', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

.blacklist-search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.blacklist-search-input:focus {
    border-color: rgba(239, 68, 68, 0.5);
}

.blacklist-search-btn {
    flex-shrink: 0;
    padding: 9px 20px;
    background: linear-gradient(135deg, #ec1b1b, #b91c1c);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Prompt', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.blacklist-search-btn:hover {
    opacity: 0.85;
}

.blacklist-clear-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 13px;
    font-family: 'Prompt', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blacklist-clear-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.blacklist-search-result {
    font-size: 12px;
    margin-top: 10px;
    min-height: 0;
}

.blacklist-search-result:empty {
    margin-top: 0;
}

.blacklist-search-result.found {
    color: #4ade80;
}

.blacklist-search-result.not-found {
    color: #f87171;
}

/* Highlight */
.blacklist-highlight {
    background: rgba(239, 68, 68, 0.4);
    color: #fff;
    padding: 1px 3px;
    border-radius: 2px;
    font-style: inherit;
}

/* Not Found State */
.news-not-found {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.3);
}

.news-not-found svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

.news-not-found h2 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px;
}

.news-not-found p {
    font-size: 13px;
    margin: 0 0 24px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ec1b1b, #b91c1c);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.news-back-link:hover {
    opacity: 0.9;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .news-page {
        padding-top: 80px;
        padding-bottom: 100px;
    }

    .news-page-header {
        padding: 28px 16px 30px;
    }

    .news-title-row {
        gap: 12px;
        margin-bottom: 12px;
    }
    .news-page-title {
        font-size: 22px;
        letter-spacing: 4px;
    }
    .news-title-icon { width: 26px; height: 26px; }
    .news-bar { flex: 0 0 40px; }
    .news-page-subtitle {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .news-content {
        padding: 0 12px;
    }

    .news-tabs {
        padding: 4px;
        gap: 2px;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    .news-tabs::-webkit-scrollbar { display: none; }
    .news-tab {
        padding: 8px 14px;
        font-size: 11.5px;
        letter-spacing: 0.6px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .news-item {
        padding: 12px 14px 12px 18px;
        gap: 10px;
    }
    .news-item:hover {
        padding-left: 22px;
    }

    .news-category {
        min-width: 64px;
        padding: 4px 8px;
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .news-title {
        font-size: 12.5px;
    }

    .news-date {
        font-size: 10.5px;
        letter-spacing: 1px;
    }

    .blacklist-search-box {
        padding: 12px;
    }

    .blacklist-search-inner {
        flex-wrap: wrap;
    }

    .blacklist-search-icon {
        display: none;
    }

    .blacklist-search-input {
        flex: 1;
        min-width: 0;
    }

    .news-detail-container {
        padding: 20px 12px 30px;
    }

    .news-article-header {
        padding: 20px 18px 16px;
    }

    .news-article-title {
        font-size: 17px;
    }

    .news-article-divider {
        margin: 0 18px;
    }

    .news-article-body {
        padding: 18px 18px 24px;
        font-size: 13px;
    }

    .news-article-body table.news-table {
        font-size: 12px;
    }

    .news-article-body table.news-table th,
    .news-article-body table.news-table td {
        padding: 8px 10px;
    }

    .news-article-body table.news-table img {
        max-width: 60px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .news-page-header {
        padding: 22px 12px 22px;
    }

    .news-page-title {
        font-size: 20px;
        letter-spacing: 3px;
    }
    .news-title-icon { width: 22px; height: 22px; }
    .news-bar { flex: 0 0 28px; }

    .news-tab {
        padding: 7px 12px;
        font-size: 11px;
    }

    .news-item {
        padding: 11px 12px 11px 16px;
        gap: 10px;
    }

    .news-item-left {
        gap: 10px;
    }

    .news-category {
        min-width: 58px;
        padding: 3px 7px;
        font-size: 9px;
    }

    .news-date {
        font-size: 10px;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .news-page {
        padding-bottom: 100px;
    }

    .news-detail-container {
        padding: 15px 8px 25px;
    }

    .news-article-header {
        padding: 18px 14px 14px;
    }

    .news-article-title {
        font-size: 16px;
    }

    .news-article-divider {
        margin: 0 14px;
    }

    .news-article-body {
        padding: 16px 14px 20px;
    }

    .news-article-body h3 {
        font-size: 14px;
    }

    .news-article-body table.news-table {
        font-size: 11px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .news-article-body table.news-table th,
    .news-article-body table.news-table td {
        padding: 6px 8px;
        white-space: nowrap;
    }

    .news-article-body table.news-table img {
        max-width: 50px;
        max-height: 50px;
    }
}
