﻿/* News CSS - Optimized 2025 (Grok) | Mobile-First */
:root{--news-border:#c3d3e0;--news-text:#383838;--news-hover:#004175;--news-muted:#6c757d;--news-bg:#f8f9fa;--transition:color .3s ease-in-out;--news-gap:10px}*,::before,::after{box-sizing:border-box}:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#6c757d;--bs-gray-600:#495057;--bs-gray-700:#212529;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,127;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,42,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}p{margin-top:0;margin-bottom:1rem}.b1,.h1{font-size:calc(1.375rem + 1.5vw)}@media(min-width:1200px){.b1,.h1{font-size:2.5rem}}.b2,.h2{font-size:calc(1.325rem + .9vw)}@media(min-width:1200px){.b2,.h2{font-size:2rem}}.b3,.h3{font-size:calc(1.3rem + .6vw)}@media(min-width:1200px){.b3,.h3{font-size:1.75rem}}.b4,.h4{font-size:calc(1.275rem + .3vw)}@media(min-width:1200px){.b4,.h4{font-size:1.5rem}}.b5,.h5{font-size:1.25rem}.b6,.h6{font-size:1rem}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.375rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}#topnews{border:1px solid var(--news-border);margin-bottom:10px;padding:4px;border-radius:.375rem;box-shadow:var(--shadow-sm)}#topnews ul.lastest-news{padding:0;margin:0;list-style:none}#topnews ul.lastest-news li{text-indent:10px;padding:2px 0;border-bottom:1px dotted #bbdbf6}#topnews ul.lastest-news li:last-child{border-bottom:none}#topnews ul.lastest-news a{display:block;background:transparent url("../images/squared-blue.png") no-repeat 5px 9px;color:var(--news-text);font-weight:400;text-decoration:none;transition:var(--transition)}#topnews ul.lastest-news a:hover{background:#fff url("../images/squared-blue.png") no-repeat 5px 9px;color:var(--news-hover);transform:translateX(5px)}div.news_column .socialicon{margin:-8px 0}div.news_column .imghome{margin:4px 10px 0 0;border-radius:.25rem}div.news_column .text-muted{font-size:12px;color:var(--news-muted)}#hometext h2{font-weight:700;margin-bottom:1rem;line-height:1.3}div.news_column .imgalt{display:block;text-align:center;margin-top:5px;font-style:italic;color:var(--news-muted)}div.news_column div.items p,div.news_column #hometext,#news_detail h1,p.copyright{margin-bottom:10px;line-height:1.6}div.news_column div.copyright{margin-top:10px;font-size:.875em;text-align:center;background:var(--news-bg);padding:5px;border-radius:.25rem}div.news_column p.adminlink{margin-bottom:10px;text-align:right}div.news_column ul.related{display:flex;flex-wrap:wrap;gap:var(--news-gap);padding:0;list-style:none;margin:0}div.span-25 ul.related{width:100%}div.news_column ul.related li{padding:0 4px;flex:1 1 auto;min-width:200px}div.news_column .panel-heading{font-size:14px;font-weight:700;background:var(--news-bg);padding:10px;border-radius:.375rem .375rem 0 0}div.span-25 ul.related li{padding:0 10px}div.news_column ul.related a{color:#3b3b3b;padding-left:6px;text-align:left;text-decoration:none;display:block;padding:8px 0;border-bottom:1px solid var(--news-border);transition:var(--transition)}div.news_column ul.related a:hover{color:var(--news-hover);padding-left:10px}.txtrequired{color:#ff0000;font-weight:700}.content-box{padding:10px;border:1px solid var(--news-border);border-radius:.375rem}.panel-body.other-news>div.clearfix{margin-bottom:15px}.panel-body.other-news>div.clearfix:last-child{margin-bottom:0}ul.other-news{padding-left:0;margin-left:0;list-style:none}ul.other-news li{padding:5px 0;border-bottom:1px solid var(--news-border)}ul.other-news li:last-child{border-bottom:none}#hot-news li{display:block;padding-bottom:10px;border-bottom:1px solid #dadada}#hot-news li:last-child{border-bottom:none}#hot-news li a{text-indent:6px;text-decoration:none;transition:var(--transition)}#hot-news li a:hover{color:var(--news-hover);text-indent:10px}.session-warning{display:none}html{scroll-behavior:smooth}.news-card{background:#fff;border-radius:.5rem;overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .3s ease,box-shadow .3s ease}.news-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.card-image{width:100%;height:200px;object-fit:cover}.card-body{padding:1rem}.article-title{font-size:1.2rem;margin:0 0 .5rem;color:var(--news-text);font-weight:600}.article-title a{text-decoration:none;color:inherit}.article-title a:hover{color:var(--news-hover)}.article-date,.views-count,.comments-count{font-size:.875rem;color:var(--news-muted);margin-right:.5rem}.article-excerpt{font-size:.95rem;color:#555;line-height:1.5;margin:10px 0}.read-more{display:inline-block;background:var(--primary);color:#fff;padding:.5rem 1rem;border-radius:.25rem;text-decoration:none;font-size:.875rem;transition:background .3s ease}.read-more:hover{background:#0056b3}.newh3{border-bottom:1px solid #ccc;font-size:1.25rem;line-height:1.5;padding:10px 0;margin:0 0 .5rem;color:var(--news-hover)}/* Print Styles */@media print{#print{width:100%;max-width:none}#print #footer{display:none}.news-card{box-shadow:none;border:1px solid #000}}/* Dark Mode Support */@media(prefers-color-scheme:dark){:root{--news-border:#495057;--news-text:#e9ecef;--news-hover:#adb5bd;--news-muted:#ced4da;--news-bg:#343a40}.news-card{background:#495057;color:#e9ecef;border-color:#6c757d}}/* Responsive Mobile-First */@media(max-width:479px){div.news_column ul.related,div.news_column ul.fixedwidth{padding:4px;width:100%;display:flex;flex-direction:column}div.news_column div.fixedwidth{float:none;width:100%}div.news_column ul.related li{padding:0 4px 4px 0}.news-grid{flex-direction:column}.news-card{flex:1 1 auto;margin-bottom:1rem}}@media(min-width:480px)and(max-width:767px){div.news_column ul.related{padding:4px;display:flex;flex-wrap:wrap}div.news_column ul.fixedwidth,div.news_column div.fixedwidth{width:100%;float:left}.news-grid{gap:15px}.news-card{flex:1 1 calc(50% - .5rem)}}@media(min-width:768px){div.news_column ul.related{padding:4px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--news-gap)}div.news_column ul.fixedwidth{width:28%}div.news_column div.fixedwidth{float:left;width:68%}.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.news-card{flex:1 1 300px}}@media(min-width:992px)and(max-width:1199px){div.news_column ul.related{padding:4px;grid-template-columns:repeat(2,1fr)}div.news_column ul.fixedwidth{width:28%}div.news_column div.fixedwidth{width:68%}}@media(min-width:1200px){div.news_column ul.related{padding:4px;grid-template-columns:repeat(3,1fr)}div.news_column ul.fixedwidth{width:28%}div.news_column div.fixedwidth{width:68%}}