:root{
  --red:#12a6e6; --red-dark:#0a86bf; --ink:#142236; --muted:#64758b;
  --line:#deebf4; --soft:#f2f8fc; --white:#fff; --green:#0f9f6e;
  --shadow:0 14px 38px rgba(15,45,80,.10); --radius:14px; --admin:#0d1c2c;
  --brand-cyan:#3bd6ff; --brand-blue:#139fe0; --brand-deep:#0a6fa5;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#f8fbff,#f3f9fd 48%,#ffffff);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.container{width:min(1180px,calc(100% - 32px));margin:auto}
.hidden{display:none!important}

/* Reader header */
.top-strip{background:linear-gradient(90deg,#071e31,#0c4a70 55%,#0da0df);color:#ecf8ff;font-size:11px}
.top-strip .container{height:35px;display:flex;align-items:center;justify-content:space-between}
.top-strip nav{display:flex;gap:18px}
.site-header{background:rgba(255,255,255,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(168,214,236,.7);position:sticky;top:0;z-index:50;box-shadow:0 12px 34px rgba(16,91,132,.08)}
.header-main{height:100px;display:flex;align-items:center;gap:26px}
.logo{display:flex;align-items:center;gap:0;min-width:260px}
.logo-mark{display:none}
.logo strong{font-size:25px;display:block;line-height:1.05;color:var(--brand-deep)}
.logo small{font-size:9px;letter-spacing:1.45px;color:#5f7891}
.main-nav{display:flex;align-items:center;gap:10px;flex:1;font-size:12px;font-weight:700;flex-wrap:wrap}
.main-nav a{padding:12px 16px;position:relative;border-radius:999px;transition:.2s}
.main-nav a:hover,.main-nav a.active{color:var(--brand-deep);background:linear-gradient(135deg,#eefbff,#e8f6ff);box-shadow:0 8px 20px rgba(12,146,207,.1)}
.main-nav a.active:after{content:"";position:absolute;left:14px;right:14px;bottom:6px;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--brand-cyan),var(--brand-blue))}
.header-tools{display:flex;align-items:center;gap:10px}
.icon-btn{width:44px;height:44px;border:1px solid #d6edf7;background:linear-gradient(135deg,#ffffff,#f2fbff);border-radius:50%;display:grid;place-items:center;color:var(--brand-deep);box-shadow:0 10px 24px rgba(18,166,230,.12)}
.menu-btn{display:none}
.search-panel{background:#fff;border-bottom:1px solid var(--line);padding:16px 0;display:none}
.search-panel.open{display:block}
.search-panel form{display:flex;gap:8px}
.search-panel input{flex:1;border:1px solid var(--line);border-radius:9px;padding:12px 14px;outline:none}
.btn{border:0;border-radius:9px;padding:11px 16px;font-size:11px;font-weight:700}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-dark)}
.btn-light{background:#fff;border:1px solid var(--line);color:#4e5768}
.btn-dark{background:#10243d;color:#fff}

/* Reader pages */
.breaking{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#fbfdff,#f2f9ff)}
.breaking .container{min-height:50px;display:flex;align-items:center;gap:18px;font-size:11px;overflow:hidden}
.breaking-label{position:relative;z-index:3;flex:0 0 auto;background:linear-gradient(90deg,var(--brand-blue),var(--brand-cyan));color:#fff;padding:8px 16px;border-radius:999px;font-weight:800;box-shadow:0 8px 18px rgba(18,166,230,.20)}

.breaking-ticker{position:relative;flex:1;min-width:0;overflow:hidden;scrollbar-width:none;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.breaking-ticker::-webkit-scrollbar{display:none}
.breaking-track{display:flex;align-items:center;width:max-content;animation:breakingTickerMove 36s linear infinite;will-change:transform}
.breaking-group{display:flex;align-items:center;flex-shrink:0}
.breaking-item{display:flex;align-items:center;gap:10px;white-space:nowrap;padding:12px 22px 12px 0;color:#1b2f43;transition:.2s}
.breaking-item:hover{color:var(--brand-blue)}
.breaking-item strong{font-size:11px;font-weight:650;letter-spacing:.01em}
.breaking-dot{color:#7bcfea;font-size:18px;line-height:1;margin-left:7px}
.breaking-ticker:hover .breaking-track{animation-play-state:paused}
.breaking-empty{padding:12px;color:#728296;font-size:10px}
@keyframes breakingTickerMove{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media(max-width:780px){
  .breaking .container{gap:11px;min-height:48px}
  .breaking-label{padding:7px 12px;font-size:10px}
  .breaking-track{animation-duration:34s}
  .breaking-item{padding-right:13px}
  .breaking-item strong{font-size:10px}
}

.section{padding:34px 0}
.section-soft{background:linear-gradient(180deg,#f5fbff,#eef7fc)}
.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;border-bottom:2px solid #d6e6f2;padding-bottom:10px}
.section-title h2{margin:0;font-size:20px}
.section-title a{font-size:10px;color:var(--red);font-weight:700}
.section-title h2:before{content:"";display:inline-block;width:5px;height:22px;background:linear-gradient(180deg,var(--brand-cyan),var(--brand-blue));vertical-align:-5px;margin-right:9px;border-radius:2px}
.hero-grid{display:grid;grid-template-columns:1.65fr .85fr;gap:23px}
.hero-main{position:relative;border-radius:26px;overflow:hidden;min-height:470px;background:#111;box-shadow:0 26px 50px rgba(9,50,85,.18)}
.hero-main img{width:100%;height:100%;object-fit:cover;position:absolute}
.hero-main:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(7,10,18,.9))}
.hero-copy{position:absolute;z-index:2;left:30px;right:30px;bottom:28px;color:#fff}
.tag-label{display:inline-flex;background:linear-gradient(90deg,var(--brand-blue),var(--brand-cyan));color:#fff;padding:6px 10px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.5px}
.hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:31px;line-height:1.35;margin:13px 0 10px}
.meta{display:flex;flex-wrap:wrap;gap:10px;color:#919aab;font-size:9px}
.hero-copy .meta{color:#d2d7e0}
.side-news{display:grid;gap:17px}
.side-card{display:grid;grid-template-columns:120px 1fr;gap:12px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.side-card img{width:120px;height:82px;object-fit:cover;border-radius:9px}
.side-card h3{font-family:Georgia,"Times New Roman",serif;font-size:13px;line-height:1.45;margin:4px 0 8px}
.eyebrow{color:var(--brand-deep);font-size:8px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.news-card{border:1px solid #dcecf6;border-radius:22px;overflow:hidden;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);transition:.22s;box-shadow:0 14px 34px rgba(15,69,110,.08)}
.news-card:hover{transform:translateY(-6px) scale(1.01);box-shadow:0 24px 42px rgba(15,69,110,.15)}
.news-card img{width:100%;height:190px;object-fit:cover}
.news-body{padding:17px}
.news-card h3{font-family:Georgia,"Times New Roman",serif;font-size:15px;line-height:1.55;margin:7px 0 11px}
.news-card p{color:var(--muted);font-size:10px;line-height:1.7;margin:0 0 13px}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px}
.list-news{display:grid;gap:18px}
.list-card{display:grid;grid-template-columns:240px 1fr;gap:18px;padding:16px;border:1px solid #dbeaf4;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 12px 28px rgba(15,69,110,.06)}
.list-card img{width:240px;height:150px;object-fit:cover;border-radius:18px}
.list-card h3{font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.45;margin:6px 0 9px}
.list-card p{font-size:10px;color:var(--muted);line-height:1.7}
.sidebar-box{border:1px solid #dbeaf4;border-radius:22px;padding:19px;margin-bottom:20px;background:rgba(255,255,255,.92);box-shadow:0 14px 34px rgba(15,69,110,.07)}
.sidebar-box h3{font-size:14px;margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid #111827}
.trend-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.trend-item:last-child{border:0}
.trend-number{font-size:25px;font-weight:800;color:#d6dae2}
.trend-item a{font-family:Georgia,"Times New Roman",serif;font-size:11px;line-height:1.5}
.newsletter{background:linear-gradient(160deg,#0f2b44,#16537a);color:#fff}
.newsletter p{font-size:9px;color:#adb5c4;line-height:1.6}
.newsletter input{width:100%;border:0;border-radius:8px;padding:11px;margin:8px 0}
.page-head{padding:35px 0 22px;background:linear-gradient(135deg,#eefaff,#f9fdff);border-bottom:1px solid var(--line)}
.page-head h1{font-family:Georgia,"Times New Roman",serif;font-size:31px;margin:0 0 8px}
.page-head p{font-size:11px;color:var(--muted);margin:0}
.pagination{display:flex;justify-content:center;gap:6px;margin-top:28px}
.pagination button{width:34px;height:34px;border:1px solid var(--line);background:#fff;border-radius:7px;font-size:10px}
.pagination button.active{background:var(--red);color:#fff;border-color:var(--red)}
.empty-state{border:1px dashed #cfd4dd;border-radius:13px;padding:50px;text-align:center;color:#8991a0}

/* Article */
.article-page{padding:44px 0}
.article-shell{width:min(820px,calc(100% - 32px));margin:auto}
.article-shell h1{font-family:Georgia,"Times New Roman",serif;font-size:42px;line-height:1.3;margin:14px 0}
.article-lead{font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.8;color:#606a7b}
.article-info{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:22px 0}
.author-box{display:flex;align-items:center;gap:10px}
.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800}
.author-box strong,.author-box small{display:block}
.author-box strong{font-size:10px}.author-box small{font-size:8px;color:#939baa;margin-top:3px}
.share-tools{display:flex;gap:7px}
.share-tools button{border:1px solid var(--line);background:#fff;border-radius:50%;width:34px;height:34px}
.article-cover{width:100%;border-radius:14px;margin:20px 0 28px}
.article-content{font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:2;color:#2e384a}
.article-content h2,.article-content h3{font-family:"Segoe UI",Arial,sans-serif;line-height:1.45;margin-top:34px}
.article-content blockquote{border-left:4px solid var(--brand-blue);background:#f2fbff;padding:18px 22px;margin:25px 0;font-style:italic}
.article-content img{border-radius:12px;margin:22px 0}
.article-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:30px}
.article-tags span{background:#f0f2f5;padding:7px 10px;border-radius:20px;font-size:9px}

/* Footer */
.footer{background:#111827;color:#fff;margin-top:45px}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:35px;padding:45px 0}
.footer h4{font-size:11px;margin:0 0 14px}
.footer p,.footer a{display:block;color:#9da6b7;font-size:9px;line-height:1.8;margin-bottom:6px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:16px 0;color:#778196;font-size:9px}

/* Login */
.login-page{min-height:100vh;background:linear-gradient(135deg,#111827,#202b43);display:grid;place-items:center;padding:20px}
.login-card{width:min(420px,100%);background:#fff;border-radius:18px;padding:35px;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.login-card .logo{margin-bottom:28px}
.login-card h1{font-size:23px;margin:0 0 7px}
.login-card>p{font-size:10px;color:var(--muted);margin:0 0 25px}
.form-field{margin-bottom:17px}
.form-field label{display:block;font-size:9px;font-weight:800;letter-spacing:.8px;color:#697286;margin-bottom:8px}
.form-field input,.form-field textarea,.form-field select{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;outline:none}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:#8790a0;box-shadow:0 0 0 3px rgba(40,50,70,.05)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.full-btn{width:100%}
.login-note{font-size:8px;color:#9aa2b2;text-align:center;margin-top:16px}

/* Admin */
.admin-body{background:#f4f6fa}
.admin-sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:var(--admin);color:#fff;padding:24px 17px;display:flex;flex-direction:column;z-index:60;overflow-x:hidden}
.admin-sidebar .logo{color:#fff;padding:0 0 22px;min-width:0;width:100%;max-width:100%}
.admin-nav-label{font-size:8px;letter-spacing:1.4px;color:#677187;font-weight:800;padding:12px 12px 7px}
.admin-nav a{display:flex;align-items:center;gap:11px;color:#aeb6c7;padding:12px;border-radius:9px;font-size:10px;margin-bottom:3px}
.admin-nav a:hover,.admin-nav a.active{background:rgba(255,255,255,.07);color:#fff}
.admin-nav a.active{border-left:3px solid var(--brand-cyan);background:linear-gradient(90deg,rgba(18,166,230,.24),transparent)}
.admin-profile{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding:17px 5px 0;display:flex;align-items:center;gap:10px}
.admin-profile strong,.admin-profile small{display:block}.admin-profile strong{font-size:10px}.admin-profile small{font-size:8px;color:#717b91}
.admin-main{margin-left:245px;min-height:100vh}
.admin-top{height:78px;background:#fff;border-bottom:1px solid var(--line);padding:0 27px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:40}
.admin-top h1{font-size:18px;margin:0}.admin-top small{font-size:8px;color:#9aa2b2}
.admin-actions{display:flex;gap:8px}
.admin-content{padding:25px 27px 50px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px;box-shadow:var(--shadow)}
.stat-card small{font-size:8px;color:#8f97a7;font-weight:700;letter-spacing:.8px}
.stat-card strong{display:block;font-size:27px;margin:8px 0 4px}
.stat-card span{font-size:8px;color:var(--green)}
.admin-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.75fr);gap:19px;margin-top:19px}
.admin-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;box-shadow:var(--shadow)}
.admin-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.admin-card-head h2{font-size:14px;margin:0}
.admin-card-head a{font-size:9px;color:var(--red);font-weight:700}
.table-wrap{overflow:auto}
.admin-table{width:100%;border-collapse:collapse;min-width:700px}
.admin-table th{text-align:left;font-size:8px;letter-spacing:.8px;color:#929aaa;border-bottom:1px solid var(--line);padding:11px 8px}
.admin-table td{font-size:9px;padding:12px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.table-title{display:flex;align-items:center;gap:10px;min-width:260px}
.table-title img{width:62px;height:42px;object-fit:cover;border-radius:7px}
.table-title strong{font-size:9px;line-height:1.5}
.status{display:inline-block;border-radius:15px;padding:5px 8px;font-size:8px;font-weight:700}
.status-published{background:#e7f8f1;color:#0f9f6e}
.status-draft{background:#fff3dc;color:#b77617}
.status-scheduled{background:#e9f8ff;color:#0d89c4}
.table-actions{display:flex;gap:5px}
.table-actions button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:6px 8px;font-size:8px}
.activity-list{display:grid;gap:15px}
.activity{display:flex;gap:10px}
.activity-dot{width:8px;height:8px;border-radius:50%;background:var(--red);margin-top:4px}
.activity strong{display:block;font-size:9px}.activity small{font-size:8px;color:#949cab}
.chart{height:180px;display:flex;align-items:end;gap:9px;padding-top:20px}
.chart span{flex:1;background:linear-gradient(var(--brand-cyan),var(--brand-blue));border-radius:5px 5px 0 0;min-height:10px;position:relative}
.chart span:after{content:attr(data-label);position:absolute;bottom:-19px;left:50%;transform:translateX(-50%);font-size:7px;color:#8d96a7}

/* Editor */
.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:19px}
.editor-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;box-shadow:var(--shadow)}
.editor-title{border:0!important;padding:0!important;font-size:27px!important;font-weight:800;line-height:1.4;resize:none}
.toolbar{display:flex;gap:3px;align-items:center;padding:7px;border:1px solid var(--line);border-bottom:0;border-radius:9px 9px 0 0;background:#fafbfc;overflow:auto}
.toolbar button,.toolbar select{border:0;background:transparent;border-radius:5px;min-width:30px;height:30px;font-size:10px}
.toolbar button:hover{background:#e9ecf1}
.rich-editor{min-height:430px;border:1px solid var(--line);border-radius:0 0 9px 9px;padding:22px;outline:none;font-family:Georgia,"Times New Roman",serif;font-size:14px;line-height:2}
.rich-editor h2{font-family:"Segoe UI",Arial,sans-serif}
.editor-foot{display:flex;justify-content:space-between;font-size:8px;color:#949cab;margin-top:8px}
.setting-group{border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:17px}
.setting-group h3{font-size:12px;margin:0 0 14px}
.upload-box{border:1.5px dashed #cdd2dc;border-radius:10px;height:155px;display:grid;place-items:center;text-align:center;overflow:hidden;background:#fafbfc;cursor:pointer}
.upload-box img{width:100%;height:100%;object-fit:cover}
.upload-box span{font-size:9px;color:#8d96a7}
.toast{position:fixed;right:22px;bottom:22px;background:#111827;color:#fff;padding:12px 15px;border-radius:9px;font-size:10px;opacity:0;transform:translateY(20px);transition:.2s;z-index:100}
.toast.show{opacity:1;transform:none}

/* Responsive */
@media(max-width:1000px){
  .main-nav{gap:13px}.main-nav a{font-size:10px}
  .news-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .admin-grid,.editor-layout{grid-template-columns:1fr}
}
@media(max-width:780px){
  .top-strip{display:none}.header-main{height:68px}
  .main-nav{position:fixed;left:0;right:0;top:68px;background:#fff;display:none;flex-direction:column;align-items:flex-start;padding:18px 22px;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
  .main-nav.open{display:flex}.main-nav a{padding:8px 0}.main-nav a.active:after{display:none}
  .menu-btn{display:grid}.logo{min-width:0;flex:1}
  .hero-grid,.content-layout{grid-template-columns:1fr}.hero-main{min-height:390px}
  .side-news{grid-template-columns:1fr 1fr}.side-card{grid-template-columns:95px 1fr}.side-card img{width:95px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .admin-sidebar{transform:translateX(-100%);transition:.25s}.admin-sidebar.open{transform:none}
  .admin-main{margin-left:0}.admin-menu{display:inline-grid}
  .article-shell h1{font-size:32px}
}
@media(max-width:560px){
  .container{width:min(100% - 22px,1180px)}
  .news-grid,.side-news,.stats-grid,.footer-grid,.form-row{grid-template-columns:1fr}
  .hero-main{min-height:350px}.hero-copy{left:20px;right:20px;bottom:20px}.hero-copy h1{font-size:23px}
  .list-card{grid-template-columns:115px 1fr;gap:12px}.list-card img{width:115px;height:90px}.list-card p{display:none}.list-card h3{font-size:13px}
  .article-info{align-items:flex-start;gap:10px}.article-shell h1{font-size:27px}.article-lead{font-size:14px}
  .admin-content{padding:17px 12px}.admin-top{padding:0 13px}.admin-actions .btn-light{display:none}
  .editor-card{padding:17px}.editor-title{font-size:22px!important}
}


/* Role-based accounts and review */
.logout-icon{margin-left:auto;border:0;background:transparent;color:#8b95a9;font-size:18px;padding:6px}
.login-error{min-height:18px;color:#d72f35;font-size:9px;margin:-6px 0 8px}
.demo-accounts{margin-top:18px;padding:13px;background:#f5f6f8;border-radius:10px}
.demo-accounts strong{display:block;font-size:9px;margin-bottom:7px}
.demo-accounts button{display:block;width:100%;border:0;background:transparent;text-align:left;color:#687184;font-size:8px;padding:5px 0}
.permission-summary{display:grid;gap:17px}
.permission-summary>div{display:grid;grid-template-columns:28px 1fr;column-gap:9px}
.permission-summary span{grid-row:span 2;width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#eaf8ff;color:var(--brand-blue)}
.permission-summary strong{font-size:10px}.permission-summary small{font-size:8px;color:#8e97a7;line-height:1.5}
.account-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:19px}
.account-form-card{align-self:start;position:sticky;top:98px}
.muted-note{font-size:8px;color:#8d96a7}
.role-readonly{background:#f5f6f8;border-radius:9px;padding:13px;margin-bottom:15px}
.role-readonly span,.role-readonly strong,.role-readonly small{display:block}
.role-readonly span{font-size:8px;color:#9098a7}.role-readonly strong{font-size:11px;margin:4px 0}.role-readonly small{font-size:8px;color:#8c95a5}
.status-rejected{background:#ffe8e8;color:#c42e34}
.danger-button{color:#d52e35!important}
.approve-button{color:#0b8e63!important}
.editor-notice{background:#eef4ff;border:1px solid #dbe7ff;color:#51617b;border-radius:9px;padding:12px 14px;font-size:9px;line-height:1.6;margin-bottom:20px}
.editor-notice strong{color:#25324a}
.remove-cover{margin-top:8px}
.rich-editor img{max-width:100%;height:auto;border-radius:10px;margin:16px 0}
.filter-tabs{display:flex;gap:7px;margin-bottom:14px;overflow:auto}
.filter-tabs button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 13px;font-size:9px;font-weight:700;white-space:nowrap}
.filter-tabs button.active{background:#172033;color:#fff;border-color:#172033}
.table-search{border:1px solid var(--line);border-radius:8px;padding:9px;font-size:9px}
.table-title small{display:block;color:#949cab;font-size:8px;margin-top:3px}
.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.review-article{width:100%;background:#fff;border:1px solid var(--line);border-radius:13px;padding:35px;box-shadow:var(--shadow)}
.review-meta{position:sticky;top:98px}
.review-meta h3{font-size:13px;margin:0 0 15px}
.review-row{padding:11px 0;border-bottom:1px solid var(--line)}
.review-row span,.review-row strong{display:block}.review-row span{font-size:8px;color:#929aaa}.review-row strong{font-size:10px;margin-top:4px}
.reject-action{color:#cf2f35}
@media(max-width:1000px){.account-layout,.review-layout{grid-template-columns:1fr}.account-form-card,.review-meta{position:static}}

:root{
  --bronze:#b7792b;
  --bronze-light:#e7bf72;
  --bronze-dark:#6b3f1e;
  --reader-bg:#fbfaf7;
  --reader-ink:#17202b;
  --reader-navy:#0d2030;
}
body:not(.admin-body){background:var(--reader-bg)}
body:not(.admin-body)::before{
  content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;
  background:
    radial-gradient(circle at 88% 5%,rgba(59,214,255,.14),transparent 25%),
    radial-gradient(circle at 12% 18%,rgba(116,128,255,.10),transparent 18%),
    linear-gradient(180deg,#fbfdff 0,#f3f9fd 55%,#fff 100%);
}
body.search-open{overflow:hidden}
body:not(.admin-body) .site-header{background:rgba(255,255,255,.94);backdrop-filter:blur(16px);box-shadow:0 8px 30px rgba(20,31,43,.04)}
body:not(.admin-body) .top-strip{background:linear-gradient(90deg,#071e31,#0c4a70 55%,#0da0df)}
body:not(.admin-body) .logo-mark{
  background-image:url('assets/dong-son-drum.svg');background-size:cover;background-position:center;
  color:transparent;border-radius:50%;box-shadow:0 5px 14px rgba(99,59,26,.25);
  animation:dongSonSpin 58s linear infinite;
}
body:not(.admin-body) .logo strong{letter-spacing:-.4px}
body:not(.admin-body) .logo small{color:#0d90cf;font-weight:700}
body:not(.admin-body) .main-nav a::before{
  content:"";position:absolute;left:14px;right:14px;bottom:6px;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--brand-cyan),var(--brand-blue));
  transform:scaleX(0);transform-origin:center;transition:transform .22s ease;
}
body:not(.admin-body) .main-nav a:hover::before{transform:scaleX(1)}
body:not(.admin-body) .icon-btn{transition:.2s;border-color:#d7edf7;background:linear-gradient(135deg,#fff,#f1fbff)}
body:not(.admin-body) .icon-btn:hover{transform:translateY(-2px);border-color:var(--brand-cyan);color:var(--brand-blue)}
body:not(.admin-body) .btn-red{background:linear-gradient(90deg,var(--brand-blue),var(--brand-cyan));box-shadow:0 10px 22px rgba(18,166,230,.2)}
body:not(.admin-body) .section-title{border-bottom-color:#d4e8f4}
body:not(.admin-body) .section-title h2:before{background:linear-gradient(var(--brand-cyan),var(--brand-blue))}
body:not(.admin-body) .eyebrow{color:var(--brand-blue)}
body:not(.admin-body) .news-card,
body:not(.admin-body) .sidebar-box,
body:not(.admin-body) .list-card{border-color:#d8eaf5}
body:not(.admin-body) .news-card{box-shadow:0 6px 20px rgba(29,39,50,.035)}
body:not(.admin-body) .news-card:hover{box-shadow:0 18px 45px rgba(29,39,50,.11)}
body:not(.admin-body) .card-image-link,
body:not(.admin-body) .list-image-link{display:block;overflow:hidden}
body:not(.admin-body) .news-card img,
body:not(.admin-body) .list-card img,
body:not(.admin-body) .side-card img{transition:transform .45s ease,filter .45s ease}
body:not(.admin-body) .news-card:hover img,
body:not(.admin-body) .list-card:hover img,
body:not(.admin-body) .side-card:hover img{transform:scale(1.035);filter:saturate(1.07)}

@keyframes dongSonSpin{to{transform:rotate(360deg)}}
.reader-drum-decor{
  position:fixed;z-index:-2;right:-170px;top:110px;width:470px;height:470px;
  opacity:.055;pointer-events:none;filter:sepia(.15);animation:dongSonSpin 110s linear infinite;
}
.reader-drum-decor img{width:100%;height:100%}

/* Advertising placeholders */
.ad-slot{position:relative;overflow:hidden;border:1px solid #d6e9f5;background:
  linear-gradient(135deg,rgba(18,166,230,.08),rgba(255,255,255,.97)),
  repeating-linear-gradient(-45deg,transparent 0 12px,rgba(18,166,230,.03) 12px 24px);
  border-radius:22px;color:#5f7b92;text-align:center;display:flex;align-items:center;justify-content:center;min-height:90px;box-shadow:0 14px 34px rgba(15,69,110,.06)}
.ad-slot::before{content:"QUẢNG CÁO";position:absolute;top:8px;right:10px;font-size:7px;letter-spacing:1.2px;color:#7fa8c0;font-weight:800}
.ad-slot-inner{padding:20px}
.ad-slot strong{display:block;font-size:13px;color:#16577d;margin-bottom:5px}
.ad-slot span{font-size:9px;line-height:1.5}
.ad-wide{margin:24px auto;min-height:96px}
.ad-sidebar{min-height:250px;margin-bottom:20px}
.ad-inline{min-height:112px;margin:22px 0}
.ad-feed{min-height:165px}
.ad-feed .ad-slot-inner{max-width:360px}
.ad-dark{background:linear-gradient(145deg,#0f2436,#15537a);border-color:#2c7297;color:#d5eff7}
.ad-dark strong{color:#dcf7ff}
.ad-dark::before{color:#a9d5e6}

/* Search modal inspired by quick-search news portals */
.search-panel{display:none!important}
.search-modal{position:fixed;inset:0;z-index:200;display:none;padding:64px 20px 24px;align-items:flex-start;justify-content:center}
.search-modal.open{display:flex}
.search-modal-backdrop{position:absolute;inset:0;border:0;border-radius:0;background:rgba(7,18,28,.74);backdrop-filter:blur(8px)}
.search-dialog{position:relative;width:min(820px,100%);max-height:calc(100vh - 90px);overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.35);border-radius:22px;box-shadow:0 40px 100px rgba(0,0,0,.28);display:flex;flex-direction:column;animation:searchDialogIn .22s ease-out}
@keyframes searchDialogIn{from{opacity:0;transform:translateY(-15px) scale(.985)}to{opacity:1;transform:none}}
.search-dialog-top{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 27px 15px;background:linear-gradient(135deg,#ffffff,#eff9fe)}
.search-kicker{font-size:8px;letter-spacing:1.8px;font-weight:800;color:#0c92cf}
.search-dialog-top h2{font-family:Georgia,"Times New Roman",serif;font-size:24px;margin:5px 0 0;color:#142433}
.search-close{width:38px;height:38px;border:1px solid #dbeaf4;background:#fff;border-radius:50%;font-size:24px;line-height:1;color:#37566f}
.global-search-form{margin:0 27px;display:grid;grid-template-columns:36px 1fr auto;align-items:center;border:2px solid #8bdcf5;background:#fff;border-radius:13px;box-shadow:0 7px 24px rgba(18,166,230,.12);overflow:hidden}
.search-field-icon{display:grid;place-items:center;font-size:23px;color:#1097d5}
.global-search-form input{min-width:0;border:0;outline:0;padding:14px 8px;font-size:13px;color:#172433;background:transparent}
.global-search-form button{align-self:stretch;border:0;background:linear-gradient(90deg,var(--brand-blue),var(--brand-cyan));color:#fff;padding:0 21px;font-size:10px;font-weight:800}
.search-hint{display:flex;gap:17px;padding:10px 28px 13px;color:#9299a2;font-size:8px;border-bottom:1px solid #eee9e1}
.global-search-results{overflow:auto;padding:0 13px 15px}
.search-suggestion-head{display:flex;align-items:center;justify-content:space-between;padding:14px 12px 9px;color:#5e6873;font-size:9px;font-weight:700}
.search-suggestion-head small{font-size:8px;color:#a0a6ae}
.search-suggestion-list{display:grid;gap:3px}
.search-suggestion{display:grid;grid-template-columns:74px 1fr 28px;gap:13px;align-items:center;padding:9px 11px;border-radius:12px;transition:.16s;border:1px solid transparent}
.search-suggestion:hover,.search-suggestion.active{background:#f1fbff;border-color:#c9e9f7;transform:translateX(2px)}
.search-suggestion img{width:74px;height:55px;object-fit:cover;border-radius:8px}
.search-suggestion-copy{min-width:0}
.search-suggestion-copy small{display:block;color:#0d91ce;font-size:7px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.7px;margin-bottom:4px}
.search-suggestion-copy strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:12px;line-height:1.45;color:#1a2733}
.search-suggestion-copy em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8a929b;font-size:8px;font-style:normal;margin-top:4px}
.suggestion-arrow{color:#0b90cc;font-weight:800}
.search-view-all{margin:10px 12px 0;border-top:1px solid #eee8df;padding:14px 4px 2px;display:flex;justify-content:space-between;color:#9b622d;font-size:9px;font-weight:800}
.search-no-result{margin:10px;padding:32px;text-align:center;border:1px dashed #d8cec1;border-radius:12px;color:#79818a}
.search-no-result strong,.search-no-result span{display:block}.search-no-result strong{font-size:12px;color:#4c5661}.search-no-result span{font-size:9px;margin-top:6px}

/* Dedicated search page */
.search-page-hero{background:linear-gradient(120deg,#0d2030,#16384f);color:#fff;padding:42px 0 38px;position:relative;overflow:hidden}
.search-page-hero::after{content:"";position:absolute;width:300px;height:300px;right:7%;top:-115px;background:url('assets/dong-son-drum.svg') center/contain no-repeat;opacity:.18;animation:dongSonSpin 80s linear infinite}
.search-page-hero .container{position:relative;z-index:1}
.search-page-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:34px;margin:0 0 8px}
.search-page-hero p{font-size:10px;color:#c0ccd5;margin:0 0 20px}
.search-page-form{max-width:760px;display:grid;grid-template-columns:1fr auto;background:#fff;border-radius:12px;overflow:hidden;padding:5px;box-shadow:0 12px 30px rgba(0,0,0,.16)}
.search-page-form input{border:0;outline:0;padding:13px 15px;font-size:12px}
.search-page-form button{border:0;border-radius:9px;background:linear-gradient(90deg,var(--brand-blue),var(--brand-cyan));color:#fff;padding:0 24px;font-size:10px;font-weight:800}
.search-result-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:13px;margin-bottom:20px;border-bottom:1px solid #d5e8f4}
.search-result-summary strong{font-size:13px}.search-result-summary span{font-size:9px;color:#8b929b}
.search-exact-note{padding:12px 14px;background:#eef8f2;border:1px solid #cfe8d8;border-radius:10px;font-size:9px;color:#347052;margin-bottom:17px}

/* Page refinements */
body:not(.admin-body) .page-head{background:linear-gradient(120deg,#eff9fe,#f8fdff);border-bottom-color:#d9ebf5}
body:not(.admin-body) .hero-main{box-shadow:0 18px 50px rgba(13,32,48,.15)}
body:not(.admin-body) .hero-main:after{background:linear-gradient(transparent 16%,rgba(8,17,26,.94))}
body:not(.admin-body) .side-card{background:rgba(255,255,255,.78);padding:12px;border:1px solid #dcecf6;border-radius:18px;box-shadow:0 10px 24px rgba(15,69,110,.06)}
body:not(.admin-body) .side-card:last-child{border-bottom:1px solid #dcecf6}
body:not(.admin-body) .footer{background:linear-gradient(135deg,#081a2c,#0d3d5f 60%,#117cb3);border-top:4px solid #44d5ff}

@media(max-width:780px){
  .search-modal{padding:20px 11px}.search-dialog{max-height:calc(100vh - 40px);border-radius:17px}.search-dialog-top{padding:20px 18px 13px}.global-search-form{margin:0 18px}.search-hint{padding-left:19px}.search-suggestion{grid-template-columns:64px 1fr 18px}.search-suggestion img{width:64px;height:50px}
  .reader-drum-decor{width:340px;height:340px;right:-190px;top:100px}
}
@media(max-width:560px){
  .search-dialog-top h2{font-size:19px}.global-search-form{grid-template-columns:30px 1fr}.global-search-form button{grid-column:1/-1;height:40px}.search-hint{gap:10px;flex-wrap:wrap}.search-suggestion-copy em{display:none}.search-suggestion{grid-template-columns:58px 1fr 15px;padding:8px 6px}.search-suggestion img{width:58px;height:47px}.search-suggestion-copy strong{font-size:10px}
  .search-page-hero{padding:31px 0}.search-page-hero h1{font-size:27px}.search-page-form{grid-template-columns:1fr}.search-page-form button{height:42px}
  .ad-wide{min-height:105px}.ad-slot strong{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .logo-mark,.reader-drum-decor,.search-page-hero::after{animation:none!important}
  *{scroll-behavior:auto!important}
}


/* HotGenZ branding */
.logo{position:relative}

.admin-brand-logo{display:flex;align-items:center;justify-content:center}

.logo-image{display:block;height:56px;width:auto;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 8px 16px rgba(18,166,230,.12))}
.logo-copy{display:flex;flex-direction:column;gap:4px}
.site-footer .logo-image{height:42px}
.admin-sidebar .logo{padding:12px 14px 14px;border-radius:20px;background:linear-gradient(135deg,#ffffff,#f2fbff);box-shadow:0 10px 30px rgba(0,0,0,.16);justify-content:center;align-items:center;overflow:hidden}
.admin-sidebar .logo-image{display:block;width:min(100%,210px);max-width:100%;height:auto;max-height:54px;margin:0 auto;object-fit:contain}

.footer .logo strong{font-size:22px}
.footer .logo small{font-size:8px}
body:not(.admin-body) .logo{min-width:320px}
.search-kicker{color:#0a90cf}
.search-dialog-top h2{color:#13304c}
.search-modal{backdrop-filter:blur(8px)}
.reader-drum-decor{opacity:.16}
.reader-drum-decor::after{background:radial-gradient(circle at center,rgba(66,205,244,.45),transparent 62%)}
.search-view-all,.admin-card-head a,.section-title a{color:var(--brand-deep)}
.ad-slot{transition:.2s}
.ad-slot:hover{transform:translateY(-2px)}
.ad-slot::before{color:#7da0b7}
.ad-slot strong{color:#1d587d}
.ad-slot.ad-filled{padding:8px;background:linear-gradient(135deg,#f5fcff,#ffffff);border-color:#cfe7f3}
.ad-slot.ad-filled .ad-slot-inner{padding:0}
.ad-slot-image-link{display:block;position:relative}
.ad-slot-image-link img{width:100%;display:block;border-radius:14px;object-fit:cover}
.ad-slot-copy{padding:14px 16px 16px}
.ad-slot-copy strong{display:block;font-size:12px;margin-bottom:4px}
.ad-slot-copy span{display:block;font-size:9px;line-height:1.6}
.ad-slot-url{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:8px;font-weight:700;color:var(--brand-deep);letter-spacing:.5px;text-transform:uppercase}
.search-page-hero{background:linear-gradient(135deg,#eff8fd,#f7fcff)}
.search-result-summary strong{color:#113a58}
.exact-note{background:#eaf8ff;border:1px solid #cdeafb;color:#135a82}
.admin-section-title{display:flex;align-items:center;justify-content:space-between;margin:6px 0 14px}
.ad-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ad-manager-card{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fbfdff}
.ad-manager-card h3{margin:0;font-size:13px}
.ad-manager-slot{font-size:8px;color:#7b8ea3;letter-spacing:1px;text-transform:uppercase}
.ad-manager-preview{margin:14px 0 16px;border:1px dashed #bcd6e7;border-radius:14px;overflow:hidden;min-height:160px;background:#f4fbff;display:grid;place-items:center}
.ad-manager-preview img{width:100%;height:100%;max-height:220px;object-fit:cover}
.ad-manager-empty{padding:22px;text-align:center;color:#7a91a5;font-size:9px;line-height:1.7}
.ad-manager-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.admin-inline-note{font-size:8px;color:#7a8ca1;line-height:1.6;margin-top:8px}
.admin-top h1,.stat-card strong,.admin-card-head h2{color:#132a42}
@media(max-width:1000px){
  .ad-admin-grid{grid-template-columns:1fr}
}
@media(max-width:780px){
  .header-main{height:auto;min-height:88px;padding:14px 0;align-items:center}
  .logo-image{height:50px}
  body:not(.admin-body) .logo{min-width:0;flex:1}
  .site-footer .logo-image{height:50px}
  .main-nav{gap:6px}
}
@media(max-width:560px){
  .logo-image{height:42px}
  .ad-manager-preview{min-height:120px}
}


/* Gen Z refresh */
.header-main{position:relative}
.header-main::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(19,159,224,.32),transparent)}
.top-strip nav a{opacity:.95;transition:.2s}
.top-strip nav a:hover{opacity:1;color:#fff}
.hero-copy{backdrop-filter:blur(2px)}
.hero-copy h1 a,.side-card h3 a,.news-card h3 a,.list-card h3 a,.trend-item a{transition:.2s}
.hero-copy h1 a:hover,.side-card h3 a:hover,.news-card h3 a:hover,.list-card h3 a:hover,.trend-item a:hover{color:var(--brand-blue)}
.section-title h2{letter-spacing:-.02em}
.trend-number{color:#cdeeff}
.newsletter{border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 36px rgba(5,28,46,.2)}
.btn,.breaking-label,.tag-label{letter-spacing:.02em}
.btn-red{background:linear-gradient(90deg,var(--brand-blue),var(--brand-cyan));box-shadow:0 12px 24px rgba(18,166,230,.18)}
.btn-red:hover{background:linear-gradient(90deg,#0c93d0,#3bd6ff)}
.footer a,.footer p{color:#e7f7ff}
.footer a:hover{color:#fff}
.search-dialog{border-radius:28px}
.search-no-result{border-radius:18px}
.site-header .container, .breaking .container{position:relative;z-index:1}
.hero-main:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 0 40%,rgba(59,214,255,.08) 100%);z-index:1;pointer-events:none}
.hero-copy{z-index:2}
.side-card{padding:10px 0;border-bottom:1px solid #e3eef5}
.section{padding:38px 0}
.admin-card,.stat-card,.editor-card{border-radius:20px}
.mobile-nav-backdrop,
.admin-sidebar-backdrop{display:none}

@media(max-width:780px){
  :root{--mobile-gutter:14px}
  html{scroll-padding-top:82px}
  body{overflow-x:hidden;-webkit-text-size-adjust:100%}
  body.nav-open,body.admin-nav-open{overflow:hidden}
  .container{width:calc(100% - (var(--mobile-gutter) * 2));max-width:none}
  button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}

  /* Reader header and phone navigation */
  body:not(.admin-body) .site-header{top:0}
  .header-main{height:76px!important;min-height:76px!important;padding:10px 0!important;gap:10px}
  .logo-image{height:43px!important;max-width:190px}
  body:not(.admin-body) .logo{min-width:0!important;flex:1;overflow:hidden}
  .header-tools{gap:7px;flex:0 0 auto}
  .icon-btn{width:42px;height:42px;min-width:42px;border-radius:14px;font-size:20px}
  .menu-btn{display:grid;position:relative;z-index:73}
  .menu-btn[aria-expanded="true"]{background:linear-gradient(135deg,#0b8fc9,#39d5ff);color:#fff;border-color:transparent}
  .main-nav{
    position:absolute!important;left:0!important;right:0!important;top:100%!important;
    display:flex!important;flex-direction:column;align-items:stretch;gap:5px!important;
    max-height:calc(100dvh - 92px);overflow:auto;overscroll-behavior:contain;
    padding:12px!important;margin:0;background:rgba(255,255,255,.98)!important;
    border:1px solid #dcecf6!important;border-radius:0 0 22px 22px;
    box-shadow:0 24px 45px rgba(8,44,69,.18)!important;
    opacity:0;visibility:hidden;transform:translateY(-12px);pointer-events:none;
    transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:72
  }
  .main-nav.open{opacity:1;visibility:visible;transform:none;pointer-events:auto}
  .main-nav a{width:100%;min-height:45px;padding:12px 14px!important;border-radius:13px;font-size:12px!important;display:flex;align-items:center}
  .main-nav a.active{background:linear-gradient(135deg,#eaf9ff,#f5fcff)}
  .main-nav a.active:after,.main-nav a:before{display:none!important}
  .mobile-nav-extra{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:10px;margin-top:5px;border-top:1px solid #e6f0f6}
  .mobile-nav-extra a{justify-content:center!important;background:#f2f8fc;color:#15557c!important;font-size:10px!important;font-weight:800}
  .mobile-nav-backdrop{display:block;position:fixed;inset:76px 0 0;background:rgba(5,22,34,.42);backdrop-filter:blur(2px);opacity:0;visibility:hidden;pointer-events:none;transition:.2s;z-index:49;border:0;width:100%}
  body.nav-open .mobile-nav-backdrop{opacity:1;visibility:visible;pointer-events:auto}

  /* Ticker */
  .breaking .container{width:100%;padding-left:var(--mobile-gutter);gap:9px}
  .breaking-label{padding:7px 10px;border-radius:0 999px 999px 0;margin-left:calc(var(--mobile-gutter) * -1)}
  .breaking-ticker{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 90%,transparent);mask-image:linear-gradient(90deg,#000 0,#000 90%,transparent)}

  /* Reader content */
  .section{padding:27px 0}
  .section-title{align-items:flex-end;margin-bottom:15px;padding-bottom:9px}
  .section-title h2{font-size:18px;line-height:1.25}
  .section-title a{font-size:9px;white-space:nowrap}
  .hero-grid,.content-layout{grid-template-columns:minmax(0,1fr)!important;gap:18px}
  .hero-main{min-height:390px;border-radius:21px}
  .hero-copy{left:20px;right:20px;bottom:20px}
  .hero-copy h1{font-size:clamp(22px,6.4vw,29px);line-height:1.34;margin:10px 0 8px}
  .side-news{grid-template-columns:1fr!important;gap:11px}
  body:not(.admin-body) .side-card{grid-template-columns:110px minmax(0,1fr);gap:12px;padding:10px;border-radius:15px}
  .side-card img{width:110px;height:78px;border-radius:11px}
  .side-card h3{font-size:12px;margin:3px 0 6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .news-card{border-radius:18px}
  .news-card img{height:auto;aspect-ratio:16/10}
  .news-body{padding:14px}
  .news-card h3{font-size:14px;margin:6px 0 9px}
  .news-card p{font-size:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .content-layout>aside{order:2}
  .list-news{gap:12px}
  .list-card{grid-template-columns:128px minmax(0,1fr);gap:12px;padding:11px;border-radius:16px}
  .list-card img{width:128px;height:94px;border-radius:12px}
  .list-card h3{font-size:14px;line-height:1.4;margin:4px 0 7px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .list-card p{display:none}
  .sidebar-box{border-radius:17px;padding:16px;margin-bottom:14px}
  .footer{margin-top:22px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;padding:34px 0}
  .footer-grid>div:first-child{grid-column:1/-1}
  .footer .logo{min-width:0!important}

  /* Article */
  .article-page{padding:27px 0}
  .article-shell{width:calc(100% - (var(--mobile-gutter) * 2))}
  .article-shell h1{font-size:clamp(27px,7.5vw,36px);line-height:1.28;margin:11px 0}
  .article-lead{font-size:15px;line-height:1.72}
  .article-info{align-items:flex-start;gap:13px;flex-wrap:wrap;margin:18px 0;padding:13px 0}
  .share-tools{margin-left:auto}
  .share-tools button{width:38px;height:38px}
  .article-cover{border-radius:13px;margin:16px 0 22px}
  .article-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}
  .article-content h2{font-size:22px;margin-top:29px}
  .article-content h3{font-size:18px;margin-top:25px}
  .article-content blockquote{margin:20px 0;padding:15px 16px}
  .article-content iframe,.article-content video{max-width:100%;height:auto;aspect-ratio:16/9}
  .page-head{padding:27px 0 19px}
  .page-head h1{font-size:27px}

  /* Search */
  .search-modal{padding:0;align-items:flex-end}
  .search-dialog{width:100%;max-height:92dvh;border-radius:24px 24px 0 0!important}
  .search-dialog-top{padding:18px 16px 12px}
  .global-search-form{margin:0 16px}
  .search-hint{padding-left:17px}
  .search-page-hero{padding:29px 0}
  .search-page-hero::after{width:190px;height:190px;right:-55px;top:-65px}
  .search-page-hero h1{font-size:28px}
  .search-result-summary{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:15px}

  /* Ads */
  .ad-wide,.ad-inline,.ad-sidebar{border-radius:16px}
  .ad-slot-copy{padding:12px}

  /* Login */
  .login-page{padding:max(18px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom));background:linear-gradient(145deg,#071e31,#0e547d)!important}
  .login-card{padding:25px 20px;border-radius:22px}
  .login-card .logo{min-width:0!important;margin-bottom:20px}
  .login-card h1{font-size:22px}

  /* Admin sliding navigation */
  .admin-sidebar{width:min(84vw,300px);padding:18px 14px;transform:translateX(-105%);box-shadow:18px 0 50px rgba(0,0,0,.24);z-index:82}
  .admin-sidebar.open{transform:none}
  .admin-sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(4,14,24,.52);backdrop-filter:blur(2px);opacity:0;visibility:hidden;pointer-events:none;border:0;width:100%;z-index:81;transition:.22s}
  body.admin-nav-open .admin-sidebar-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  .admin-main{margin-left:0}
  .admin-top{height:auto;min-height:72px;padding:11px 14px;gap:10px;align-items:center}
  .admin-top>div:first-child{min-width:0}
  .admin-top h1{font-size:16px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45vw}
  .admin-actions{gap:6px;align-items:center;overflow-x:auto;scrollbar-width:none}
  .admin-actions::-webkit-scrollbar{display:none}
  .admin-actions .btn{min-height:40px;padding:9px 11px;white-space:nowrap}
  .admin-menu{display:inline-grid!important;place-items:center;min-width:42px;font-size:18px!important}
  .admin-content{padding:18px 13px 38px}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px}
  .stat-card{padding:15px;border-radius:16px}
  .stat-card strong{font-size:23px}
  .admin-grid,.editor-layout,.account-layout,.review-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px}
  .admin-card,.editor-card,.review-article{padding:16px;border-radius:17px}
  .admin-card-head{gap:10px;align-items:flex-start;flex-wrap:wrap}
  .table-search{width:100%;min-height:40px}
  .table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;box-shadow:inset -18px 0 18px -20px rgba(13,32,48,.4)}
  .admin-table{min-width:680px}
  .admin-table th,.admin-table td{padding:11px 7px}
  .filter-tabs{margin-inline:-3px;padding:3px;scroll-snap-type:x proximity}
  .filter-tabs button{min-height:39px;scroll-snap-align:start}
  .account-form-card,.review-meta{position:static}
  .toolbar{padding:6px;scrollbar-width:none;overscroll-behavior-x:contain}
  .toolbar::-webkit-scrollbar{display:none}
  .toolbar button,.toolbar select{min-width:38px;height:38px}
  .editor-title{font-size:23px!important}
  .rich-editor{min-height:360px;padding:16px;font-size:15px;line-height:1.85}
  .upload-box{height:145px}
  .review-article.article-shell{width:100%}
  .review-article h1{font-size:27px}

  .admin-sidebar .logo{padding:10px 12px 12px}
  .admin-sidebar .logo-image{width:min(100%,188px);max-height:48px}
  .toast{left:14px;right:14px;bottom:max(14px,env(safe-area-inset-bottom));text-align:center}
}

@media(max-width:560px){
  :root{--mobile-gutter:11px}
  .header-main{height:70px!important;min-height:70px!important;padding:8px 0!important}
  .logo-image{height:38px!important;max-width:160px}
  .icon-btn{width:40px;height:40px;min-width:40px;border-radius:13px}
  .mobile-nav-backdrop{inset:70px 0 0}
  .main-nav{max-height:calc(100dvh - 82px);border-radius:0 0 18px 18px}
  .breaking .container{min-height:43px}
  .breaking-label{font-size:9px}
  .hero-main{min-height:330px}
  .hero-copy{left:16px;right:16px;bottom:16px}
  .hero-copy .meta span:nth-child(n+4){display:none}
  .news-grid{grid-template-columns:1fr!important;gap:13px}
  .news-card{display:grid;grid-template-columns:120px minmax(0,1fr)}
  .news-card .card-image-link{height:100%}
  .news-card img{height:100%;min-height:145px;aspect-ratio:auto}
  .news-body{padding:12px}
  .news-card h3{font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .news-card p{display:none}
  .list-card{grid-template-columns:108px minmax(0,1fr);padding:9px;gap:10px}
  .list-card img{width:108px;height:86px}
  .list-card h3{font-size:12.5px}
  .list-card .meta span:nth-child(n+3){display:none}
  .footer-grid{grid-template-columns:1fr;gap:20px}
  .footer-grid>div:first-child{grid-column:auto}
  .footer-bottom{text-align:center;line-height:1.6}
  .article-content{font-size:15px;line-height:1.85}
  .article-shell h1{font-size:27px}
  .article-lead{font-size:14px}
  .search-dialog-top h2{font-size:18px}
  .global-search-form{grid-template-columns:34px 1fr;margin:0 13px}
  .global-search-form button{grid-column:1/-1;height:42px}
  .search-suggestion{grid-template-columns:58px minmax(0,1fr) 14px}
  .search-suggestion-copy em{display:none}
  .search-page-form{grid-template-columns:1fr}
  .search-page-form button{height:43px}
  .form-row{grid-template-columns:1fr}
  .admin-top h1{max-width:40vw;font-size:15px}
  .admin-actions .btn-light:not(.admin-menu){display:none}
  .admin-actions .btn-red,.admin-actions .reject-action{display:inline-flex}
  .admin-card,.editor-card,.review-article{padding:14px}
  .editor-foot{gap:8px;flex-wrap:wrap}
  .ad-admin-grid{grid-template-columns:1fr}
}

@media(max-width:390px){
  .logo-image{max-width:142px;height:35px!important}
  .admin-sidebar .logo-image{max-width:170px;max-height:44px}
  .header-tools{gap:5px}
  .icon-btn{width:37px;height:37px;min-width:37px}
  body:not(.admin-body) .side-card{grid-template-columns:94px minmax(0,1fr)}
  .side-card img{width:94px;height:72px}
  .news-card{grid-template-columns:104px minmax(0,1fr)}
  .news-card img{min-height:135px}
  .list-card{grid-template-columns:96px minmax(0,1fr)}
  .list-card img{width:96px;height:80px}
  .stats-grid{grid-template-columns:1fr!important}
  .admin-top h1{max-width:34vw}
}

@media(orientation:landscape) and (max-height:520px) and (max-width:920px){
  .main-nav{max-height:calc(100dvh - 70px)}
  .search-dialog{max-height:100dvh;border-radius:0!important}
  .hero-main{min-height:300px}
}

/* Mobile navigation visibility/specificity fixes */
.mobile-nav-extra{display:none}
@media(max-width:780px){
  .main-nav .mobile-nav-extra{display:grid}
  body:not(.admin-body) .menu-btn[aria-expanded="true"]{background:linear-gradient(135deg,#0b8fc9,#39d5ff);color:#fff;border-color:transparent}
}

@media (min-width:781px){
  body:not(.admin-body) .top-strip{font-size:12px}
  body:not(.admin-body) .main-nav{font-size:14px;gap:8px}
  body:not(.admin-body) .main-nav a{padding:12px 14px}
  body:not(.admin-body) .btn{font-size:12px}

  body:not(.admin-body) .breaking .container{font-size:12px}
  body:not(.admin-body) .breaking-label{font-size:11px}
  body:not(.admin-body) .breaking-item strong{font-size:12px}
  body:not(.admin-body) .breaking-empty{font-size:11px}

  body:not(.admin-body) .section-title h2{font-size:24px}
  body:not(.admin-body) .section-title a{font-size:12px}
  body:not(.admin-body) .tag-label{font-size:10px;padding:7px 12px}
  body:not(.admin-body) .hero-copy h1{font-size:34px}
  body:not(.admin-body) .meta{font-size:10.5px}

  body:not(.admin-body) .eyebrow{font-size:9.5px}
  body:not(.admin-body) .side-card h3{font-size:15px;line-height:1.5}
  body:not(.admin-body) .news-body{padding:20px}
  body:not(.admin-body) .news-card h3{font-size:17px;line-height:1.5}
  body:not(.admin-body) .news-card p{font-size:12px;line-height:1.75}

  body:not(.admin-body) .list-card h3{font-size:20px;line-height:1.48}
  body:not(.admin-body) .list-card p{font-size:12px;line-height:1.75}
  body:not(.admin-body) .sidebar-box h3{font-size:16px}
  body:not(.admin-body) .trend-item a{font-size:13px;line-height:1.55}
  body:not(.admin-body) .newsletter p{font-size:11px}
  body:not(.admin-body) .newsletter input{font-size:13px}

  body:not(.admin-body) .page-head p{font-size:13px}
  body:not(.admin-body) .pagination button{font-size:12px}
  body:not(.admin-body) .author-box strong{font-size:12px}
  body:not(.admin-body) .author-box small{font-size:10px}
  body:not(.admin-body) .article-tags span{font-size:11px}

  body:not(.admin-body) .footer h4{font-size:13px}
  body:not(.admin-body) .footer p,
  body:not(.admin-body) .footer a{font-size:10.5px;line-height:1.85}
  body:not(.admin-body) .footer-bottom{font-size:10px}

  body:not(.admin-body) .search-kicker{font-size:10px}
  body:not(.admin-body) .global-search-form input{font-size:14px}
  body:not(.admin-body) .global-search-form button{font-size:12px}
  body:not(.admin-body) .search-hint{font-size:10px}
  body:not(.admin-body) .search-suggestion-head{font-size:11px}
  body:not(.admin-body) .search-suggestion-copy small{font-size:9px}
  body:not(.admin-body) .search-suggestion-copy strong{font-size:14px}
  body:not(.admin-body) .search-suggestion-copy em{font-size:10px}
  body:not(.admin-body) .search-view-all{font-size:11px}
}

/* Điện thoại: tăng nhẹ các dòng phụ nhưng vẫn giữ bố cục gọn */
@media (max-width:780px){
  body:not(.admin-body) .meta{font-size:10px}
  body:not(.admin-body) .eyebrow{font-size:9px}
  body:not(.admin-body) .footer h4{font-size:12px}
  body:not(.admin-body) .footer p,
  body:not(.admin-body) .footer a{font-size:10px}
  body:not(.admin-body) .footer-bottom{font-size:9.5px}
}


/* Newsletter subscription and admin list */
.newsletter form{display:grid;gap:8px}
.newsletter form input{margin:8px 0 0}
.newsletter-feedback{min-height:17px;font-size:9px;line-height:1.5;color:#d9eafa}
.newsletter-feedback.success{color:#91f0ca}
.newsletter-feedback.error{color:#ffd1d1}
.newsletter-stats{grid-template-columns:minmax(220px,320px)}
.newsletter-admin-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.newsletter-admin-tools .table-search{width:min(280px,100%)}
.newsletter-table{min-width:650px}
@media(max-width:780px){
  .newsletter-stats{grid-template-columns:1fr!important}
  .newsletter-admin-tools{width:100%}
  .newsletter-admin-tools .table-search{width:100%}
  .newsletter-admin-tools .btn{flex:1}
}

/* Security-safe utility classes (replace inline styles for strict CSP) */
.mt-19{margin-top:19px}
.text-warning{color:#b77617}
.trend-tip-copy{font-size:9px;line-height:1.6}
.chart-height-42{height:42%}.chart-height-58{height:58%}.chart-height-49{height:49%}
.chart-height-74{height:74%}.chart-height-64{height:64%}.chart-height-90{height:90%}.chart-height-79{height:79%}
/* Sửa font tiếng Việt trên website */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
}

.hero-copy h1,
.side-card h3,
.news-card h3,
.list-card h3,
.trend-item a,
.page-head h1,
.article-shell h1,
.article-lead,
.article-content,
.rich-editor,
.search-dialog-top h2,
.search-suggestion-copy strong,
.search-page-hero h1 {
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  font-kerning: normal;
  font-variant-ligatures: none;
  word-break: normal;
}

.hero-copy h1,
.article-shell h1,
.page-head h1 {
  font-weight: 700;
}