/* =========================================================================
   FIXI NEWS PAGES STYLESHEET (LIST & DETAIL)
   Dong bo 2 Theme chinh thuc: Go Tram Hoang Gia (Theme 0) & Cam Tim (Theme 1)
   ========================================================================= */

.fixi-news-page {
    --news-font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --news-bg-card: #ffffff;
    --news-bg-soft: #faf6f0;
    --news-border: #ebdccb;
    --news-border-subtle: #f2e8dc;
    --news-text-title: #3d1c10;
    --news-text-body: #4a2f1b;
    --news-text-muted: #8c735d;
    --news-accent: #8c1a1b;
    --news-accent-2: #d97706;
    --news-accent-soft: #faf2e6;
    --news-accent-text: #8b4513;
    --news-hero-bg: linear-gradient(135deg, #3d1c10 0%, #5a2c17 55%, #3d1c10 100%);
    --news-hero-title: #f7d08a;
    --news-hero-sub: #fcd34d;
    --news-hero-desc: #e2d0bc;
    --news-hero-border: rgba(229, 169, 59, 0.45);
    --news-btn-bg: linear-gradient(135deg, #a62425 0%, #8c1a1b 100%);
    --news-btn-hover: linear-gradient(135deg, #bd2a2b 0%, #9f1f20 100%);
    --news-btn-text: #fffde7;
    --news-shadow: 0 4px 18px rgba(61, 28, 16, 0.07);
    --news-shadow-hover: 0 12px 28px rgba(61, 28, 16, 0.13);
    --news-placeholder-bg: linear-gradient(135deg, #4a2415 0%, #7a381d 100%);
    --news-placeholder-text: #f7d08a;

    font-family: var(--news-font-main);
    min-height: calc(100vh - 220px);
    padding: 18px 0 64px 0;
    color: var(--news-text-body);
    background: transparent !important;
}

/* Theme 1: Tuoi sang Hien Dai (Cam & Tim) */
.fixi-news-page.theme-cam-tim {
    --news-bg-card: #ffffff;
    --news-bg-soft: #f8fafc;
    --news-border: #e2e8f0;
    --news-border-subtle: #f1f5f9;
    --news-text-title: #1e293b;
    --news-text-body: #334155;
    --news-text-muted: #64748b;
    --news-accent: #ff5500;
    --news-accent-2: #5b1d8e;
    --news-accent-soft: #f3effa;
    --news-accent-text: #5b1d8e;
    --news-hero-bg: linear-gradient(135deg, #2b0f4c 0%, #43166d 55%, #591d8e 100%);
    --news-hero-title: #ffffff;
    --news-hero-sub: #ff944d;
    --news-hero-desc: #dccff0;
    --news-hero-border: rgba(255, 118, 38, 0.4);
    --news-btn-bg: linear-gradient(135deg, #ff7626 0%, #ff5500 100%);
    --news-btn-hover: linear-gradient(135deg, #ff944d 0%, #ff661a 100%);
    --news-btn-text: #ffffff;
    --news-shadow: 0 4px 18px rgba(30, 41, 59, 0.06);
    --news-shadow-hover: 0 12px 28px rgba(91, 29, 142, 0.14);
    --news-placeholder-bg: linear-gradient(135deg, #2b0f4c 0%, #5b1d8e 100%);
    --news-placeholder-text: #ff944d;
}

.fixi-news-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ================= HERO BANNER ================= */
.fixi-news-hero {
    background: var(--news-hero-bg);
    border: 1px solid var(--news-hero-border);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
}

.fixi-news-hero::before {
    content: "帥";
    position: absolute;
    right: 26px;
    bottom: -32px;
    font-size: 165px;
    font-family: "Times New Roman", Georgia, serif;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

.fixi-news-hero-left {
    position: relative;
    z-index: 2;
    flex: 1 1 380px;
}

.fixi-news-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--news-hero-sub);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.fixi-news-hero-title {
    margin: 0 0 6px 0;
    font-size: 27px;
    font-weight: 800;
    color: var(--news-hero-title);
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.fixi-news-hero-desc {
    margin: 0;
    font-size: 14px;
    color: var(--news-hero-desc);
    line-height: 1.55;
    max-width: 640px;
}

.fixi-news-hero-search {
    position: relative;
    z-index: 2;
    flex: 0 1 340px;
    width: 100%;
}

.fixi-news-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.fixi-news-search-form input[type="text"] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 9px 12px !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: #1e293b !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
}

.fixi-news-search-form button {
    border: none;
    background: var(--news-btn-bg);
    color: var(--news-btn-text);
    font-weight: 700;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.fixi-news-search-form button:hover {
    background: var(--news-btn-hover);
    transform: translateY(-1px);
}

/* ================= CATEGORY FILTER BAR ================= */
.fixi-news-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.fixi-news-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    color: var(--news-text-body) !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.fixi-news-cat-pill:hover {
    border-color: var(--news-accent);
    color: var(--news-accent) !important;
    background: var(--news-accent-soft);
    transform: translateY(-1px);
}

.fixi-news-cat-pill.active {
    background: var(--news-btn-bg);
    border-color: transparent;
    color: var(--news-btn-text) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.fixi-news-cat-count {
    font-size: 11.5px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
}

.fixi-news-cat-pill.active .fixi-news-cat-count {
    background: rgba(255, 255, 255, 0.22);
    color: inherit;
}

.fixi-news-search-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--news-accent-soft);
    border: 1px solid var(--news-border);
    border-left: 4px solid var(--news-accent);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--news-text-title);
}

.fixi-news-clear-search {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--news-accent) !important;
    text-decoration: none !important;
}

.fixi-news-clear-search:hover {
    text-decoration: underline !important;
}

/* ================= MAIN 2-COLUMN LAYOUT ================= */
.fixi-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.fixi-news-main {
    min-width: 0;
}

/* ================= FEATURED NEWS CARD ================= */
.fixi-news-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--news-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fixi-news-featured:hover {
    transform: translateY(-3px);
    box-shadow: var(--news-shadow-hover);
    border-color: var(--news-accent-2);
}

.fixi-news-featured-media {
    position: relative;
    display: block;
    min-height: 290px;
    background: var(--news-placeholder-bg);
    overflow: hidden;
}

.fixi-news-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.fixi-news-featured:hover .fixi-news-featured-media img {
    transform: scale(1.04);
}

.fixi-news-featured-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fixi-news-featured-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.fixi-news-badge-hot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--news-btn-bg);
    color: var(--news-btn-text);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.fixi-news-badge-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--news-accent-soft);
    color: var(--news-accent-text);
    border: 1px solid var(--news-border);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-decoration: none !important;
}

.fixi-news-featured-title {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.fixi-news-featured-title a {
    color: var(--news-text-title) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.fixi-news-featured-title a:hover {
    color: var(--news-accent) !important;
}

.fixi-news-featured-excerpt {
    margin: 0 0 16px 0;
    font-size: 14.5px;
    line-height: 1.68;
    color: var(--news-text-body);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fixi-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: var(--news-text-muted);
    margin-bottom: 14px;
}

.fixi-news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fixi-news-readmore-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--news-btn-bg);
    color: var(--news-btn-text) !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.fixi-news-readmore-btn:hover {
    background: var(--news-btn-hover);
    transform: translateX(2px);
    color: var(--news-btn-text) !important;
}

/* ================= NEWS CARD GRID ================= */
.fixi-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.fixi-news-card {
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--news-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fixi-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--news-shadow-hover);
    border-color: var(--news-accent-2);
}

.fixi-news-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--news-placeholder-bg);
    overflow: hidden;
}

.fixi-news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fixi-news-card:hover .fixi-news-card-media img {
    transform: scale(1.05);
}

.fixi-news-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--news-placeholder-text);
    background: var(--news-placeholder-bg);
    padding: 20px;
    text-align: center;
}

.fixi-news-media-placeholder i {
    font-size: 34px;
    opacity: 0.85;
}

.fixi-news-xiangqi-piece {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid currentColor;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.22), inset 0 0 0 4.5px currentColor, 0 4px 12px rgba(0, 0, 0, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Times New Roman", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1 !important;
    opacity: 0.95 !important;
    background: rgba(0, 0, 0, 0.18);
}

.fixi-news-side-thumb-fallback .fixi-news-xiangqi-piece {
    width: 34px;
    height: 34px;
    font-size: 18px !important;
    border-width: 1.5px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2), inset 0 0 0 3px currentColor;
}

.fixi-news-media-placeholder .fixi-news-placeholder-label,
.fixi-news-media-placeholder > span:not(.fixi-news-xiangqi-piece) {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.fixi-news-card-cat-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.fixi-news-card-body {
    padding: 18px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fixi-news-card-body .fixi-news-meta {
    margin-bottom: 9px;
    font-size: 12px;
}

.fixi-news-card-title {
    margin: 0 0 10px 0;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fixi-news-card-title a {
    color: var(--news-text-title) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.fixi-news-card-title a:hover {
    color: var(--news-accent) !important;
}

.fixi-news-card-excerpt {
    margin: 0 0 16px 0;
    font-size: 13.8px;
    line-height: 1.62;
    color: var(--news-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.fixi-news-card-footer {
    padding-top: 12px;
    border-top: 1px solid var(--news-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.fixi-news-card-author {
    color: var(--news-text-muted);
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 55%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixi-news-card-link {
    font-weight: 700;
    color: var(--news-accent) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.fixi-news-card-link:hover {
    gap: 8px;
}

/* ================= EMPTY STATE ================= */
.fixi-news-empty {
    background: var(--news-bg-card);
    border: 1px dashed var(--news-border);
    border-radius: 14px;
    padding: 52px 24px;
    text-align: center;
    box-shadow: var(--news-shadow);
}

.fixi-news-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background: var(--news-accent-soft);
    color: var(--news-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.fixi-news-empty h3 {
    margin: 0 0 8px 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--news-text-title);
}

.fixi-news-empty p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--news-text-muted);
}

/* ================= PAGINATION ================= */
.fixi-news-pagination {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.fixi-news-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid var(--news-border);
    background: var(--news-bg-card);
    color: var(--news-text-title) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.fixi-news-page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--news-accent);
    color: var(--news-accent) !important;
    background: var(--news-accent-soft);
}

.fixi-news-page-btn.active {
    background: var(--news-btn-bg);
    border-color: transparent;
    color: var(--news-btn-text) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.fixi-news-page-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.fixi-news-page-dots {
    padding: 0 6px;
    color: var(--news-text-muted);
    font-weight: 700;
}

/* ================= SIDEBAR ================= */
.fixi-news-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fixi-news-widget {
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: 13px;
    overflow: hidden;
    box-shadow: var(--news-shadow);
}

.fixi-news-widget-header {
    padding: 14px 18px;
    background: var(--news-bg-soft);
    border-bottom: 1px solid var(--news-border-subtle);
    display: flex;
    align-items: center;
    gap: 9px;
}

.fixi-news-widget-header i {
    color: var(--news-accent);
    font-size: 15px;
}

.fixi-news-widget-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--news-text-title);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.fixi-news-widget-body {
    padding: 14px 16px;
}

.fixi-news-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fixi-news-side-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--news-border-subtle);
}

.fixi-news-side-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.fixi-news-side-thumb {
    flex: 0 0 78px;
    width: 78px;
    height: 58px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--news-placeholder-bg);
    display: block;
}

.fixi-news-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.fixi-news-side-item:hover .fixi-news-side-thumb img {
    transform: scale(1.06);
}

.fixi-news-side-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--news-placeholder-text);
    font-size: 18px;
}

.fixi-news-side-info {
    flex: 1;
    min-width: 0;
}

.fixi-news-side-title {
    margin: 0 0 5px 0;
    font-size: 13.8px;
    font-weight: 650;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fixi-news-side-title a {
    color: var(--news-text-title) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.fixi-news-side-title a:hover {
    color: var(--news-accent) !important;
}

.fixi-news-side-meta {
    font-size: 11.8px;
    color: var(--news-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fixi-news-rank-badge {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--news-accent-soft);
    color: var(--news-accent-text);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.fixi-news-rank-badge.rank-1 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.fixi-news-rank-badge.rank-2 {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #ffffff;
}

.fixi-news-rank-badge.rank-3 {
    background: linear-gradient(135deg, #b45309, #92400e);
    color: #ffffff;
}

.fixi-news-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fixi-news-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--news-text-body) !important;
    font-size: 13.8px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.fixi-news-cat-list a:hover {
    background: var(--news-accent-soft);
    color: var(--news-accent) !important;
}

/* ================= NEWS DETAIL PAGE ================= */
.fixi-news-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--news-text-muted);
    margin-bottom: 18px;
    padding: 10px 16px;
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: 10px;
}

.fixi-news-breadcrumb a {
    color: var(--news-accent-text) !important;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fixi-news-breadcrumb a:hover {
    color: var(--news-accent) !important;
    text-decoration: underline !important;
}

.fixi-news-breadcrumb .sep {
    font-size: 10px;
    opacity: 0.55;
}

.fixi-news-breadcrumb .current {
    color: var(--news-text-title);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}

.fixi-news-detail-card {
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--news-shadow);
}

.fixi-news-detail-header {
    padding: 28px 32px 22px 32px;
    border-bottom: 1px solid var(--news-border-subtle);
    background: var(--news-bg-soft);
}

.fixi-news-detail-title {
    margin: 12px 0 16px 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.32;
    color: var(--news-text-title);
    letter-spacing: -0.3px;
}

.fixi-news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: var(--news-text-muted);
}

.fixi-news-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fixi-news-detail-meta i {
    color: var(--news-accent);
}

.fixi-news-detail-body {
    padding: 28px 32px 32px 32px;
}

.fixi-news-detail-lead {
    background: var(--news-accent-soft);
    border-left: 4px solid var(--news-accent);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--news-text-title);
}

.fixi-news-detail-lead p:last-child {
    margin-bottom: 0;
}

.fixi-news-detail-cover {
    margin: 0 0 26px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--news-border-subtle);
    background: var(--news-bg-soft);
}

.fixi-news-detail-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Rich Content Typography (CKEditor output) */
.fixi-news-prose {
    font-size: 16px;
    line-height: 1.85;
    color: var(--news-text-body);
    word-break: break-word;
}

.fixi-news-prose p {
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.85;
}

.fixi-news-prose h1,
.fixi-news-prose h2,
.fixi-news-prose h3,
.fixi-news-prose h4 {
    color: var(--news-text-title);
    font-weight: 800;
    line-height: 1.38;
    margin-top: 28px;
    margin-bottom: 12px;
}

.fixi-news-prose h2 {
    font-size: 21px;
    padding-left: 12px;
    border-left: 4px solid var(--news-accent);
}

.fixi-news-prose h3 {
    font-size: 18px;
}

.fixi-news-prose img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    margin: 14px auto;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.fixi-news-prose ul,
.fixi-news-prose ol {
    padding-left: 24px;
    margin: 0 0 18px 0;
}

.fixi-news-prose li {
    margin-bottom: 8px;
    line-height: 1.75;
}

.fixi-news-prose blockquote {
    margin: 22px 0;
    padding: 16px 22px;
    background: var(--news-bg-soft);
    border-left: 4px solid var(--news-accent-2);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--news-text-title);
}

.fixi-news-prose a {
    color: var(--news-accent);
    text-decoration: underline;
    font-weight: 600;
}

.fixi-news-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border: 1px solid var(--news-border);
    border-radius: 8px;
}

.fixi-news-prose table {
    width: 100% !important;
    display: table;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid var(--news-border);
    border-radius: 8px;
    overflow: hidden;
}

.fixi-news-table-wrap table {
    margin: 0;
    border: none;
    border-radius: 0;
}

.fixi-news-prose th,
.fixi-news-prose td {
    padding: 10px 14px;
    border: 1px solid var(--news-border);
    text-align: left;
    vertical-align: top;
}

.fixi-news-table-wrap tr:first-child th,
.fixi-news-table-wrap tr:first-child td {
    border-top: none;
}

.fixi-news-table-wrap tr:last-child td {
    border-bottom: none;
}

.fixi-news-table-wrap tr th:first-child,
.fixi-news-table-wrap tr td:first-child {
    border-left: none;
}

.fixi-news-table-wrap tr th:last-child,
.fixi-news-table-wrap tr td:last-child {
    border-right: none;
}

.fixi-news-prose th {
    background: var(--news-bg-soft);
    color: var(--news-text-title);
    font-weight: 700;
}

.fixi-news-prose tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.018);
}

.fixi-news-prose tbody tr:hover {
    background: var(--news-accent-soft);
}

.fixi-news-prose iframe,
.fixi-news-prose video {
    max-width: 100%;
    border-radius: 10px;
}

/* Tags & Share Footer */
.fixi-news-tags {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed var(--news-border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fixi-news-tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--news-text-muted);
    margin-right: 4px;
}

.fixi-news-tag-item {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--news-bg-soft);
    border: 1px solid var(--news-border);
    color: var(--news-text-body) !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.fixi-news-tag-item:hover {
    background: var(--news-accent-soft);
    border-color: var(--news-accent);
    color: var(--news-accent) !important;
}

.fixi-news-detail-actions {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--news-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.fixi-news-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 9px;
    background: var(--news-bg-soft);
    border: 1px solid var(--news-border);
    color: var(--news-text-title) !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.fixi-news-btn-back:hover {
    border-color: var(--news-accent);
    color: var(--news-accent) !important;
    background: var(--news-accent-soft);
}

.fixi-news-share-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fixi-news-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--news-border);
    background: var(--news-bg-card);
    color: var(--news-text-title) !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.fixi-news-share-btn:hover {
    border-color: var(--news-accent);
    color: var(--news-accent) !important;
    background: var(--news-accent-soft);
}

.fixi-news-share-btn.share-fb {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff !important;
}

.fixi-news-share-btn.share-fb:hover {
    background: #166fe5;
    color: #ffffff !important;
}

/* Related Articles Section */
.fixi-news-related {
    margin-top: 32px;
}

.fixi-news-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px 0;
    font-size: 19px;
    font-weight: 800;
    color: var(--news-text-title);
}

.fixi-news-section-heading i {
    color: var(--news-accent);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .fixi-news-layout {
        grid-template-columns: 1fr;
    }

    .fixi-news-sidebar {
        position: static;
    }

    .fixi-news-featured {
        grid-template-columns: 1fr;
    }

    .fixi-news-featured-media {
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 767px) {
    .fixi-news-page {
        padding: 12px 0 48px 0;
    }

    .fixi-news-hero {
        padding: 20px 18px;
        border-radius: 12px;
    }

    .fixi-news-hero-title {
        font-size: 21px;
    }

    .fixi-news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fixi-news-featured-body {
        padding: 18px;
    }

    .fixi-news-featured-title {
        font-size: 19px;
    }

    .fixi-news-detail-header {
        padding: 20px 18px 16px 18px;
    }

    .fixi-news-detail-title {
        font-size: 22px;
    }

    .fixi-news-detail-body {
        padding: 20px 18px 24px 18px;
    }

    .fixi-news-prose {
        font-size: 15px;
    }

    .fixi-news-breadcrumb .current {
        max-width: 220px;
    }
}
