*{box-sizing:border-box;margin:0;padding:0}
*{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
input,textarea,[contenteditable="true"]{-webkit-user-select:auto;user-select:auto;-webkit-touch-callout:default}
body{touch-action:manipulation}
a:hover{text-decoration:none}
.hidden{display:none}
.h-vh-100{height:100dvh;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none}
.h-vh-100::-webkit-scrollbar{display:none}
#index-section{display:flex;flex-direction:column;justify-content:space-between;height:100dvh}
.header-wrapper{flex:1;overflow:hidden}
.news-container{height:100%;display:flex;flex-direction:column;gap:10px}
.search-container{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px;background:#fd7e14;position:relative;flex:0 0 auto}
.search-container-logo{height:40px;cursor:pointer}
.search-container-bar{flex:1;position:relative}
.search-news{position:relative;width:100%}
.search-news .form-control{width:100%;padding-left:2.5rem;border-radius:5px;height:40px;transition:all 0.3s ease}
.search-news .form-control:focus{box-shadow:0 4px 8px rgba(0,0,0,0.2);border-color:#007bff}
.search-news .search-icon{position:absolute;top:50%;left:0.75rem;transform:translateY(-50%);color:#666;font-size:1rem;pointer-events:none}
.search-results{position:absolute;top:100%;left:0;right:0;max-height:400px;overflow-y:auto;background:white;border:1px solid #ddd;border-radius:8px;box-shadow:0 4px 8px rgba(0,0,0,0.15);z-index:2;display:none}
.search-results.show{display:block}
.search-result-item{display:flex;align-items:center;gap:5px;text-decoration:none;overflow:hidden;margin:10px;border-radius:5px;box-shadow:rgba(0,0,0,0.24) 0 3px 8px}
.search-result-item img{width:70px;aspect-ratio:3 / 4;object-fit:cover}
.search-result-item-body{display:flex;flex-direction:column;gap:5px}
.news-menu{display:flex;align-items:center;gap:20px}
.news-menu img{width:30px}
.post-container,.content-wrapper{display:grid;grid-template-columns:repeat(10,1fr);flex:1;overflow:hidden}
.post-left{display:flex;flex-direction:column;gap:10px;padding:0 10px;grid-column:span 3}
.post-left-item{box-shadow:rgba(0,0,0,0.35) 0 5px 15px;border-radius:10px;width:100%;aspect-ratio:2 / 1;position:relative}
.post-left-item img{width:100%;aspect-ratio:2 / 1;object-fit:cover;border-radius:10px}
.post-left-item span{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;background:rgb(0 0 0 / 60%);color:#fff;width:100%;border-radius:0 0 10px 10px;font-size:16px;font-family:monospace}
.news-list,.news-post-main{overflow-y:auto;grid-column:span 7;padding:0 10px;scrollbar-width:none;-ms-overflow-style:none}
.news-list::-webkit-scrollbar,.news-post-main::-webkit-scrollbar{display:none}
.post-item{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.info-item{display:flex;flex-direction:column;border-radius:5px;box-shadow:0 2px 5px rgba(50,50,93,0.25),0 1px 3px rgba(0,0,0,0.3);border:1px solid #ccc;overflow:hidden;height:100%}
.card-img-top{width:100%;aspect-ratio:5 / 3;object-fit:cover;border-bottom:1px solid #ccc;transition:transform 0.3s}
.info-item:hover .card-img-top{transform:scale(1.05)}
.card-body,.related-info{padding:5px;flex:1;display:flex;flex-direction:column;gap:5px}
.card-title{margin:0;color:#000;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.4em;font-size:14px}
.search-result-item-title{margin:0;color:#000;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4em}
.search-result-item-text,.card-text{color:#666;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.4em;font-size:14px}
.search-result-item-categories,.post-time{color:#6c757d;font-size:12px;display:flex;gap:5px}
.read-more{font-size:smaller;padding:5px;width:100%;display:flex;justify-content:end}
.menu-popup{background:white;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,0.15);min-width:180px;z-index:1000;overflow:hidden}
.menu-item{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#333;transition:background 0.15s}
.menu-item:hover{background:#f5f5f5}
.menu-item i{font-size:18px;color:#555}
.news-post-card{display:flex;flex-direction:row;align-items:flex-start;border:1px solid #eee;border-radius:8px;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
.news-post-title{font-size:24px;text-align:center}
.post-info{flex-direction:column!important;justify-content:space-around;align-items:center!important;gap:10px;padding:10px}
.post-info-title{background:rgba(0,0,0,.05);color:rgba(0,0,0,.87);font-size:1.125rem;font-weight:500;margin:0;padding:.875rem;text-transform:capitalize;width:100%}
.news-related-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0;font-family:Arial,sans-serif}
.related-item{width:100%;box-sizing:border-box}
.post-item-detail{display:flex;flex-direction:column;justify-content:space-between;align-items:center;border-radius:5px;box-shadow:0 2px 5px -1px rgba(50,50,93,0.25),0 1px 3px -1px rgba(0,0,0,0.3);border:1px solid #ccc}
.post-item-img{position:relative;width:100%;overflow:hidden}
.post-item-img img{width:100%;height:100%;object-fit:cover;aspect-ratio:5 / 3;transition:transform 0.3s;vertical-align:middle;border-bottom:1px solid #ccc}
.news-post-content{width:100%}
.swiper-slide img,.news-post-content img{width:100%;height:auto;display:block;margin:0 auto}
.news-post-content ul,.news-post-content ol{list-style-type:disc;margin-left:20px;padding-left:20px}
.news-post-content ul li,.news-post-content ol li{margin-bottom:8px}
.news-post-content table th,.news-post-content table td{padding:8px;border:1px solid #ddd;text-align:left;vertical-align:top}
.highlight{background-color:#fff3cd;color:#856404;padding:2px 4px;border-radius:3px}
@media (max-width:767px){.post-container,.content-wrapper{display:flex;flex-direction:column;overflow-y:auto}.post-left{padding:10px;order:2}.news-list,.news-post-main{overflow:visible;order:1}.post-item{grid-template-columns:repeat(2,1fr)}.post-time{flex-direction:column}.search-results{position:fixed;top:60px;left:10px;right:10px;max-height:70vh}.search-news .form-control{font-size:12px}.search-result-item-categories{align-items:center}}
@media (min-width:1024px){.news-post-content img{max-width:500px}.news-related-list{grid-template-columns:repeat(3,1fr)}.news-related-list .post-time{flex-direction:column}}
