/* News directory shares the article typography and homepage components. */
.news-list-page .news-list-heading {
    position: relative;
    padding: 38px 42px;
    border: 1px solid rgba(203, 169, 100, .35);
    border-radius: 18px;
    background: radial-gradient(ellipse at right top, rgba(203, 169, 100, .16), transparent 65%), linear-gradient(120deg, rgba(33, 63, 52, .95), rgba(16, 30, 24, .9));
    box-shadow: inset 0 1px 0 rgba(255, 239, 194, .1), 0 18px 40px rgba(0, 0, 0, .18);
}
.news-list-page .news-list-heading::before {
    content: ''; position: absolute; left: 0; top: 30px; bottom: 30px; width: 3px;
    background: linear-gradient(transparent, #e0c37f, transparent);
}
.news-list-page .news-list-heading h1 { text-shadow: 0 3px 18px rgba(0, 0, 0, .4); }
.news-list-page .news-featured .article-latest-heading h2 { font-family: 'Fz GameBr', 'UTM Alexander', serif; }
.news-list-page .news-featured .article-latest-card {
    border-radius: 16px; background: linear-gradient(145deg, #264535, #14271e);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.news-list-page .news-featured .article-latest-card:hover {
    transform: translateY(-5px); border-color: #d4b574;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .3);
}
.news-list-page .article-latest-image { position: relative; }
.news-list-page .article-latest-image::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(transparent 60%, rgba(20, 39, 30, .5));
}
.news-list-page .article-latest-image img { transition: transform .4s ease; }
.news-list-page .article-latest-card:hover img { transform: scale(1.04); }
.news-list-page .article-latest-info { padding: 22px; }
.news-list-page .article-latest-info > span { padding-top: 14px; border-top: 1px solid rgba(203, 169, 100, .2); }
.news-list-page .news-directory { border-radius: 18px; background: linear-gradient(135deg, #fffdf7, #f5f0e3); }
.news-list-page .news-category-tabs { background: linear-gradient(120deg, #264535, #14271e); padding: 20px 26px; }
.news-list-page .news-category-tabs a.active { box-shadow: 0 4px 14px rgba(203, 169, 100, .2), inset 0 1px 0 rgba(255, 255, 255, .4); }
.news-list-page .news-directory-row { transition: background .2s, box-shadow .2s; }
.news-list-page .news-directory-row:hover { background: rgba(203, 169, 100, .1); box-shadow: inset 3px 0 #cba964; }
.news-list-page .news-directory-row:hover h2 { color: #806332; }
.news-list-page .news-row-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ece3cf; font-size: 18px; }
@media (max-width: 767px) {
    .news-list-page .news-list-heading { padding: 28px 22px; border-radius: 12px; }
    .news-list-page .news-category-tabs { padding: 14px; }
    .news-list-page .news-row-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .news-list-page .article-latest-card, .news-list-page .article-latest-image img { transition: none; }
    .news-list-page .news-featured .article-latest-card:hover, .news-list-page .article-latest-card:hover img { transform: none; }
}
.news-list-heading { margin-bottom: 32px; }
.news-list-heading h1 { font-family: 'Fz GameBr', 'UTM Alexander', serif; font-size: clamp(32px, 4vw, 48px); color: #f5e3b2; margin: 12px 0; line-height: 1.3; }
.news-list-heading p { color: #bbc9bd; font-size: 17px; line-height: 1.7; margin: 0; }
.news-featured { margin-bottom: 36px; }
.news-list-page .news-featured { padding: 24px; border: 1px solid rgba(203, 169, 100, .25); border-radius: 16px; background: rgba(20, 39, 30, .65); }
.news-section-empty { grid-column: 1 / -1; color: #bbc9bd; padding: 20px 0; }
@media (max-width: 767px) { .news-list-page .news-featured { padding: 16px; } }
.news-directory { background: #fffdf7; border: 1px solid rgba(203, 169, 100, .45); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 48px rgba(0, 0, 0, .2); }
.news-category-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 24px; background: #1a3025; border-bottom: 2px solid #cba964; }
.news-category-tabs a { padding: 11px 22px; border-radius: 7px; text-decoration: none; color: #d9dfd4; font-size: 16px; transition: background .2s, color .2s; }
.news-category-tabs a:hover { background: rgba(203, 169, 100, .16); color: #f5e3b2; }
.news-category-tabs a.active { background: linear-gradient(110deg, #b08c50, #eed5a0); color: #2c2113; font-weight: 700; }
.news-directory-items { list-style: none; padding: 8px 28px; margin: 0; }
.news-directory-items li + li { border-top: 1px solid #e8e0cf; }
.news-directory-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 24px; align-items: center; gap: 18px; padding: 24px 10px; color: #303d34; text-decoration: none; border-radius: 6px; transition: background .2s; }
.news-directory-row:hover { background: #f2eddf; }
.news-directory-row h2 { font-size: 19px; line-height: 1.55; margin: 0; overflow-wrap: anywhere; }
.news-category-badge { border: 1px solid #d5c49c; border-radius: 5px; padding: 6px 8px; text-align: center; color: #806332; font-size: 13px; background: #f5efdf; }
.news-directory-row time { font-size: 14px; color: #758071; white-space: nowrap; }
.news-row-arrow { color: #a9834a; font-size: 22px; }
.news-directory-empty { text-align: center; padding: 48px 20px; color: #758071; }
.news-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 22px; border-top: 1px solid #e8e0cf; }
.news-pagination a { min-width: 40px; padding: 10px; box-sizing: border-box; text-align: center; border: 1px solid #d5c49c; border-radius: 6px; color: #425b49; text-decoration: none; }
.news-pagination a.active, .news-pagination a:hover { background: #213f34; color: #f5e3b2; }
.news-category-tabs a:focus-visible, .news-directory-row:focus-visible, .news-pagination a:focus-visible { outline: 2px solid #cba964; outline-offset: -3px; }
@media (max-width: 767px) {
    .news-category-tabs { padding: 12px; gap: 6px; }
    .news-category-tabs a { padding: 9px 12px; font-size: 14px; }
    .news-directory-items { padding: 6px 14px; }
    .news-directory-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 20px 4px; }
    .news-category-badge { justify-self: start; }
    .news-directory-row h2 { grid-column: 1 / -1; grid-row: 2; font-size: 18px; }
    .news-directory-row time { grid-column: 2; grid-row: 1; font-size: 12px; }
    .news-row-arrow { display: none; }
    .news-list-heading p { font-size: 15px; }
}
/* Three compact editorial columns on the news landing page. */
.news-section-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.news-list-page .news-section-columns .news-featured { margin: 0; padding: 20px; min-width: 0; background: linear-gradient(155deg, #203b2e, #14271e); }
.news-section-columns .article-latest-heading { flex-wrap: wrap; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(203, 169, 100, .3); }
.news-section-columns .article-latest-heading h2 { font-size: 27px; }
.news-section-columns .article-latest-heading a { font-size: 13px; }
.news-section-columns .article-latest-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.news-list-page .news-section-columns .article-latest-card { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.news-list-page .news-section-columns .article-latest-card:hover { transform: none; box-shadow: none; }
.news-section-columns .article-latest-card:first-child .article-latest-image { border-radius: 10px; }
.news-list-page .news-section-columns .article-latest-info { padding: 16px 0; }
.news-section-columns .article-latest-info h3 { font-size: 19px; margin: 9px 0 12px; }
.news-list-page .news-section-columns .article-latest-info > span { border: 0; padding-top: 0; font-size: 13px; }
.news-list-page .news-section-columns .article-latest-card + .article-latest-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(203, 169, 100, .18); }
.news-section-columns .article-latest-card + .article-latest-card .article-latest-image { aspect-ratio: 1; border-radius: 8px; }
.news-list-page .news-section-columns .article-latest-card + .article-latest-card .article-latest-info { padding: 0; }
.news-section-columns .article-latest-card + .article-latest-card h3 { font-size: 16px; margin: 6px 0 0; }
.news-section-columns .article-latest-card + .article-latest-card .article-latest-info > span { display: none; }
.news-section-columns .article-latest-card:hover h3 { color: #fff0ca; }
.news-section-columns .article-latest-heading { min-height: 54px; box-sizing: border-box; }
.news-section-columns .article-latest-card:first-child .article-latest-image { aspect-ratio: 16 / 9; }
.news-section-columns .article-latest-card:first-child h3 {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden; line-height: 1.45; height: 4.35em;
}
.news-section-columns .article-latest-card + .article-latest-card h3 {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden; line-height: 1.45; height: 4.35em;
}
.news-section-columns .article-latest-card + .article-latest-card .article-latest-image { width: 100%; }
.news-section-columns .news-section-empty { min-height: 240px; }
@media (max-width: 1100px) {
    .news-section-columns { gap: 14px; }
    .news-list-page .news-section-columns .news-featured { padding: 16px; }
    .news-list-page .news-section-columns .article-latest-card + .article-latest-card { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 900px) {
    .news-section-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
/* Shared auth header/footer, with natural scrolling for long articles. */
html:has(body.article-page) { height: auto; overflow: auto; }
body.auth-page.article-page { height: auto; overflow: visible; background: #101e18; }
body.auth-page.article-page #app { height: auto; min-height: 100vh; }
.article-shell {
    flex: 1 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 115px max(24px, calc((100vw - 1320px) / 2)) 56px;
    background: linear-gradient(180deg, rgba(13, 30, 23, .82), #101e18 650px), url('/asset/image/backgrounds/page-bg.jpg') center top / cover no-repeat;
    font-family: 'UTM Alexander', Arial, sans-serif;
}
.article-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; color: #a9b7ab; font-size: 14px; }
.article-breadcrumb a { color: #e0c37f; text-decoration: none; }
.article-breadcrumb a:hover { color: #fff0ca; text-decoration: underline; }
.article-card { overflow: hidden; border: 1px solid rgba(203, 169, 100, .4); border-radius: 16px; background: #fffdf7; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); }
.article-heading { padding: 38px 48px 30px; background: linear-gradient(120deg, #213f34, #13271e); border-bottom: 3px solid #cba964; }
.article-eyebrow { color: #d4b574; font-size: 12px; letter-spacing: .22em; font-weight: 700; }
.article-heading h1 { margin: 16px 0 20px; color: #f5e3b2; font-size: clamp(26px, 3vw, 40px); line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #bbc9bd; font-size: 14px; line-height: 1.6; }
.article-content { padding: 38px 48px 46px; color: #303d34; font-family: 'UTM Alexander', Arial, sans-serif; font-size: 18px; line-height: 1.9; overflow-wrap: anywhere; overflow-x: auto; background: linear-gradient(180deg, #fffdf7, #f8f5ec); }
/* Normalize editor font overrides while preserving emphasis and text colors. */
.article-content :where(p, span, div, li, td, th, a, strong, em) { font-family: inherit !important; }
.article-content :where(p, li) { font-size: inherit !important; line-height: inherit !important; }
.article-heading h1, .article-latest-heading h2 { font-family: 'Fz GameBr', 'UTM Alexander', serif; }
.article-content strong, .article-content b { font-weight: 700; }
.article-content hr { border: 0; height: 1px; margin: 30px 0; background: linear-gradient(90deg, transparent, #cba964, transparent); }
.article-content figure { margin: 24px 0; }
.article-content figcaption { margin-top: 10px; text-align: center; color: #758071; font-size: 14px; }
.article-content img { display: inline-block; box-shadow: 0 8px 24px rgba(30, 50, 36, .12); }
.article-content table tbody tr:nth-child(even) { background: rgba(203, 169, 100, .08); }
.article-content table tbody tr:hover { background: rgba(203, 169, 100, .15); }
.article-content > :first-child { margin-top: 0; }
.article-content p { margin: 0 0 18px; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { font-family: 'Fz GameBr', 'UTM Alexander', serif !important; color: #254c39; line-height: 1.45; margin: 32px 0 16px; }
.article-content h2, .article-content h3 { border-left: 3px solid #cba964; padding-left: 14px; }
.article-content h2 { font-size: 26px; border-bottom: 1px solid #e4dac4; padding-bottom: 10px; }
.article-content h3 { font-size: 22px; }
.article-content img, .article-content video { max-width: 100% !important; height: auto !important; border-radius: 8px; }
.article-content iframe { max-width: 100%; }
.article-content ul, .article-content ol { padding-left: 26px; margin: 16px 0; }
.article-content li { margin-bottom: 8px; }
.article-content a { color: #876325; text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid #cba964; background: #f2eddf; color: #465b4c; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-content th, .article-content td { border: 1px solid #ddd4bf; padding: 12px 14px; }
.article-content th { background: #213f34; color: #f5e3b2; font-weight: 700; }
.article-content pre { overflow-x: auto; padding: 16px; background: #f0ecdf; border-radius: 8px; }
.article-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 48px; border-top: 1px solid #e5dbc8; background: #f5f1e7; color: #687467; font-size: 14px; }
.article-back { display: inline-block; padding: 11px 18px; border: 1px solid #bba16a; border-radius: 7px; background: #213f34; color: #f5e3b2; text-decoration: none; font-weight: 700; transition: background .2s; }
.article-back:hover { background: #305842; }
.article-back:focus-visible { outline: 2px solid #876325; outline-offset: 3px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.article-layout > .article-card { min-width: 0; }
.article-latest { margin-top: 0; padding: 18px; border: 1px solid rgba(203, 169, 100, .3); border-radius: 12px; background: #14271e; }
.article-layout .article-latest-grid { grid-template-columns: 1fr; gap: 16px; }
.article-layout .article-latest-heading { flex-wrap: wrap; gap: 10px; }
.article-layout .article-latest-heading h2 { font-size: 23px; }
.article-layout .article-latest-info { padding: 14px; }
.article-layout .article-latest-info h3 { font-size: 18px; }
@media (max-width: 1023px) {
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .article-layout .article-latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .article-layout .article-latest-grid { grid-template-columns: 1fr; }
}
.article-latest-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.article-latest-heading h2 { color: #f5e3b2; font-size: 26px; margin: 0; }
.article-latest-heading a { color: #d4b574; font-size: 14px; text-decoration: none; }
.article-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-latest-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; border: 1px solid rgba(203, 169, 100, .3); background: #1a3025; color: #f5e3b2; text-decoration: none; transition: transform .2s, border-color .2s; }
.article-latest-card:hover { transform: translateY(-4px); border-color: #cba964; }
.article-latest-card:focus-visible { outline: 2px solid #cba964; outline-offset: 4px; }
.article-latest-image { aspect-ratio: 16 / 9; overflow: hidden; background: #13271e; }
.article-latest-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-latest-info { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.article-latest-info time { color: #a9b7ab; font-size: 13px; }
.article-latest-info h3 { font-size: 20px; line-height: 1.45; margin: 12px 0 18px; overflow-wrap: anywhere; }
.article-latest-info > span { margin-top: auto; color: #d4b574; font-size: 14px; }
@media (max-width: 767px) {
    .article-latest-grid { grid-template-columns: 1fr; gap: 16px; }
    .article-latest-heading h2 { font-size: 22px; }
    .article-shell { padding: 90px 14px 28px; }
    .article-breadcrumb { gap: 8px; font-size: 13px; margin-bottom: 16px; }
    .article-card { border-radius: 12px; }
    .article-heading { padding: 26px 20px 22px; }
    .article-heading h1 { font-size: 27px; }
    .article-content { padding: 24px 20px 28px; font-size: 16px; line-height: 1.8; }
    .article-bottom { padding: 20px; }
}
