:root{--primary:#2563eb;--dark:#0f172a;--muted:#64748b;--bg:#f8fafc;--card:#fff;--border:#e2e8f0;--green:#16a34a;--red:#dc2626}
*{box-sizing:border-box}body{margin:0;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;background:var(--bg);color:#1e293b;line-height:1.55}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{max-width:1180px;margin:auto;padding:0 16px}.topbar{background:var(--dark);color:#fff;font-size:14px;padding:8px 0}.header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}.logo{font-weight:800;font-size:22px;color:var(--primary)}.nav{display:flex;gap:18px;align-items:center}.nav a{font-weight:600;color:#334155}.nav a:hover{color:var(--primary)}.hero{background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:#fff;padding:44px 0}.hero h1{font-size:40px;margin:0 0 10px}.hero p{font-size:18px;opacity:.95}.searchbox{margin-top:22px;display:flex;max-width:660px;background:#fff;border-radius:16px;padding:8px;box-shadow:0 20px 40px rgba(0,0,0,.15)}.searchbox input{flex:1;border:0;padding:14px;font-size:16px;outline:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:12px;border:0;background:var(--primary);color:#fff;font-weight:700;cursor:pointer;transition:.2s}.btn:hover{filter:brightness(.95);transform:translateY(-1px)}.btn-green{background:var(--green)}.btn-red{background:var(--red)}.btn-light{background:#eef2ff;color:#1d4ed8}.layout{display:grid;grid-template-columns:180px 1fr 180px;gap:18px;margin-top:24px}.main{min-width:0}.card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:0 10px 25px rgba(15,23,42,.04);margin-bottom:18px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.soft-card{display:flex;flex-direction:column;gap:10px}.soft-img{height:150px;border-radius:14px;background:#eef2ff;object-fit:cover}.soft-title{font-size:18px;font-weight:800;color:#0f172a}.meta{color:var(--muted);font-size:14px}.ad-box{display:block;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:10px;margin-bottom:14px;text-align:center;overflow:hidden}.ad-img img{border-radius:12px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-title h2{margin:0;font-size:24px}.detail-head{display:grid;grid-template-columns:220px 1fr;gap:22px}.download-panel{text-align:center;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid var(--border);border-radius:22px;padding:24px}.countdown{font-size:44px;font-weight:900;color:var(--primary);margin:15px 0}.donate{background:#fff7ed;border-color:#fed7aa}.bank-info{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bank-info div{background:#fff;border:1px solid #fed7aa;padding:12px;border-radius:12px}.footer{margin-top:40px;background:#0f172a;color:#cbd5e1;padding:35px 0}.footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}.breadcrumb{font-size:14px;color:var(--muted);margin:12px 0}.table{width:100%;border-collapse:collapse}.table th,.table td{border-bottom:1px solid var(--border);padding:10px;text-align:left}.alert{padding:12px;border-radius:12px;margin-bottom:14px}.alert-success{background:#dcfce7;color:#166534}.alert-danger{background:#fee2e2;color:#991b1b}.admin-wrap{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.admin-side{background:#0f172a;color:#fff;padding:20px}.admin-side a{display:block;padding:11px 12px;border-radius:10px;color:#cbd5e1}.admin-side a:hover{background:#1e293b;color:#fff}.admin-main{padding:22px}.form-control{width:100%;padding:11px;border:1px solid var(--border);border-radius:10px;background:#fff}.form-group{margin-bottom:13px}label{font-weight:700;display:block;margin-bottom:6px}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.media-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.media-item{border:1px solid var(--border);border-radius:12px;padding:8px;background:#fff}.media-item img{height:90px;width:100%;object-fit:cover;border-radius:8px}
@media(max-width:1000px){.layout{grid-template-columns:1fr}.side{display:none}.grid{grid-template-columns:repeat(2,1fr)}.detail-head{grid-template-columns:1fr}.admin-wrap{grid-template-columns:1fr}.admin-side{position:static}.media-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.header-inner{flex-direction:column;align-items:flex-start;gap:10px}.nav{flex-wrap:wrap;gap:10px}.hero h1{font-size:28px}.searchbox{flex-direction:column}.grid{grid-template-columns:1fr}.footer .cols,.row,.bank-info{grid-template-columns:1fr}.card{padding:14px}.btn{width:100%}.media-grid{grid-template-columns:repeat(2,1fr)}}
/* v2 SEO + editor */
.editor-toolbar{position:sticky;top:0;z-index:2;display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px 12px 0 0}.editor-toolbar button{border:1px solid #d1d5db;background:#fff;border-radius:8px;padding:7px 10px;cursor:pointer}.html-editor{min-height:320px;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 12px 12px;background:#fff;padding:16px;line-height:1.75;outline:none}.html-editor img,.article-content img{max-width:100%;height:auto;border-radius:14px}.download-btn,.article-content .download-btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff!important;text-decoration:none;padding:13px 20px;border-radius:999px;font-weight:800;box-shadow:0 12px 24px rgba(22,163,74,.22)}.toc{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:14px;margin:16px 0}.toc ol{margin:8px 0 0 20px}.toc a{text-decoration:none;color:#0f172a}.toc .lv3{margin-left:16px}.article-content{font-size:17px;line-height:1.85}.article-content h2,.article-content h3{scroll-margin-top:80px}.article-card{display:grid;grid-template-columns:160px 1fr;gap:16px}.article-card img{width:160px;height:105px;object-fit:cover;border-radius:14px}.link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.link-pill{display:block;padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;text-decoration:none;background:#fff}.finder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}.finder-item{border:1px solid #e5e7eb;border-radius:12px;padding:8px;background:#fff}.finder-item img{width:100%;height:95px;object-fit:cover;border-radius:8px}.badge{display:inline-block;padding:4px 9px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:12px;font-weight:700}@media(max-width:700px){.article-card{grid-template-columns:1fr}.article-card img{width:100%;height:auto}.html-editor{min-height:240px}.editor-toolbar button{padding:8px}.toc{font-size:14px}}

/* v3.1 collapsible table of contents */
.toc{background:#f8fafc;border:1px solid #dbeafe;border-radius:16px;padding:0;margin:18px 0;overflow:hidden;box-shadow:0 8px 20px rgba(15,23,42,.04)}
.toc summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:linear-gradient(135deg,#eff6ff,#ffffff);font-weight:800;color:#0f172a;user-select:none}
.toc summary::-webkit-details-marker{display:none}
.toc summary::after{content:'−';width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;font-size:18px;font-weight:900;line-height:1;flex:0 0 auto}
.toc:not([open]) summary::after{content:'+'}
.toc summary small{font-size:12px;color:#64748b;font-weight:700;margin-left:auto}
.toc ol{margin:0;padding:12px 18px 16px 36px;background:#fff;border-top:1px solid #dbeafe}
.toc li{margin:7px 0;color:#334155}
.toc a{color:#0f172a;text-decoration:none;font-weight:600}
.toc a:hover{color:#2563eb;text-decoration:underline}
.toc .lv3{margin-left:18px;font-size:95%}
@media(max-width:700px){.toc summary{padding:12px 14px}.toc summary small{display:none}.toc ol{padding:10px 14px 14px 30px}.toc .lv3{margin-left:10px}}

/* v3.2 professional mobile menu */
.logo{display:inline-flex;align-items:center;gap:10px}
.logo-mark{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;box-shadow:0 10px 20px rgba(37,99,235,.22)}
.mobile-menu-btn{display:none;width:44px;height:44px;border:1px solid var(--border);border-radius:14px;background:#fff;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.mobile-menu-btn span{width:20px;height:2px;background:#0f172a;border-radius:999px;transition:.22s}
.mobile-menu-btn.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.mobile-menu-btn.active span:nth-child(2){opacity:0}
.mobile-menu-btn.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.menu-backdrop{display:none;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:49;backdrop-filter:blur(2px)}
body.menu-open{overflow:hidden}
.nav-admin{background:#eef2ff;color:#1d4ed8!important;padding:8px 12px;border-radius:999px}
@media(max-width:760px){
  .header-inner{flex-direction:row;align-items:center;gap:0;padding:10px 0}
  .topbar{font-size:12px;text-align:center}
  .mobile-menu-btn{display:inline-flex;position:relative;z-index:61}
  .nav{position:fixed;top:0;right:-88%;width:min(86vw,360px);height:100vh;z-index:60;background:#fff;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:82px 18px 22px;box-shadow:-24px 0 60px rgba(15,23,42,.22);transition:right .25s ease;border-left:1px solid var(--border)}
  .nav::before{content:'Menu';position:absolute;top:22px;left:18px;font-size:22px;font-weight:900;color:#0f172a}
  .nav a{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 14px;border-radius:14px;border:1px solid #eef2f7;margin-bottom:10px;background:linear-gradient(180deg,#fff,#f8fafc);font-weight:800;color:#0f172a;box-shadow:0 8px 18px rgba(15,23,42,.04)}
  .nav a::after{content:'›';font-size:22px;color:#94a3b8}
  .nav a:hover{background:#eff6ff;color:#2563eb;transform:translateX(-2px)}
  body.menu-open .nav{right:0}
  body.menu-open .menu-backdrop{display:block}
  .logo{font-size:18px;max-width:calc(100% - 56px)}
  .logo span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* v3.2 download AdSense popup */
.download-ad-modal{position:fixed;inset:0;z-index:100;background:rgba(15,23,42,.72);display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(3px)}
.download-ad-box{width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.5)}
.download-ad-head{position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}
.download-ad-head b{display:block;font-size:18px;color:#0f172a}.download-ad-head span{display:block;font-size:13px;color:#64748b;margin-top:2px}
.download-ad-close{border:0;border-radius:999px;padding:10px 14px;background:#e2e8f0;color:#64748b;font-weight:900;white-space:nowrap;cursor:not-allowed}
.download-ad-close.ready{background:#16a34a;color:#fff;cursor:pointer;box-shadow:0 10px 20px rgba(22,163,74,.2)}
.download-ad-content{padding:16px;text-align:center}.download-ad-note{color:#64748b;font-size:14px;margin:12px 0 0}
.download-ad-progress{height:9px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-top:14px}.download-ad-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#2563eb,#06b6d4);border-radius:999px;transition:width .8s linear}
@media(max-width:640px){.download-ad-modal{align-items:flex-end;padding:10px}.download-ad-box{border-radius:22px 22px 14px 14px}.download-ad-head{padding:12px}.download-ad-head b{font-size:16px}.download-ad-close{padding:9px 12px;font-size:13px}.download-ad-content{padding:12px}}

/* v3.4 polished buttons and form controls - no content/function changes */
:root{
  --radius-sm:10px;--radius-md:14px;--radius-lg:18px;
  --input-bg:#ffffff;--input-focus:#2563eb;--input-shadow:0 10px 24px rgba(37,99,235,.10);
}
button,.btn,input,select,textarea{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}
.btn,button[type="submit"],button[type="button"],input[type="submit"],input[type="button"],.editor-toolbar button{
  border-radius:14px;min-height:42px;border:1px solid transparent;
  box-shadow:0 10px 20px rgba(37,99,235,.13);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,border-color .18s ease,background .18s ease;
}
.btn:active,button[type="submit"]:active,button[type="button"]:active,input[type="submit"]:active,input[type="button"]:active{transform:translateY(0) scale(.99)}
.btn:hover,button[type="submit"]:hover,button[type="button"]:hover,input[type="submit"]:hover,input[type="button"]:hover{box-shadow:0 14px 28px rgba(37,99,235,.18)}
.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="url"],input[type="search"],input[type="file"],select,textarea{
  width:100%;min-height:44px;padding:12px 14px;border:1px solid #dbe3ef;border-radius:14px;background:var(--input-bg);color:#0f172a;
  outline:none;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
input[type="file"]{padding:10px;background:#f8fafc;cursor:pointer}
textarea{min-height:120px;resize:vertical;line-height:1.65}
select{
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);
  background-position:calc(100% - 20px) 19px,calc(100% - 14px) 19px;background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:42px;
}
.form-control:focus,input:focus,select:focus,textarea:focus{border-color:var(--input-focus);box-shadow:0 0 0 4px rgba(37,99,235,.12),0 10px 24px rgba(37,99,235,.08);background:#fff}
.form-control::placeholder,input::placeholder,textarea::placeholder{color:#94a3b8}
.form-group label,label{color:#0f172a;font-size:14px;margin-bottom:7px}
input[type="checkbox"],input[type="radio"]{width:18px;height:18px;accent-color:#2563eb;vertical-align:middle;margin-right:7px;cursor:pointer}
.table input,.table select,.table textarea{min-height:40px;padding:9px 12px;border-radius:12px}
.card .form-control,.admin-main .form-control,.card input,.card select,.card textarea,.admin-main input,.admin-main select,.admin-main textarea{border-color:#dbe3ef}
.searchbox{border:1px solid rgba(255,255,255,.35)}
.searchbox input{border-radius:12px;box-shadow:none;min-height:48px}
.searchbox input:focus{box-shadow:none;border-color:transparent}
.editor-toolbar{border-radius:16px 16px 0 0;gap:8px;background:linear-gradient(180deg,#fff,#f8fafc)}
.editor-toolbar button{background:#fff;color:#0f172a;border-color:#dbe3ef;box-shadow:0 4px 12px rgba(15,23,42,.05);font-weight:700}
.editor-toolbar button:hover{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe;transform:translateY(-1px)}
.html-editor{border-color:#dbe3ef;border-radius:0 0 16px 16px;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)}
.admin-side a{border-radius:14px;transition:background .18s ease,color .18s ease,transform .18s ease}.admin-side a:hover{transform:translateX(2px)}
.alert{border-radius:16px;border:1px solid transparent}.alert-success{border-color:#bbf7d0}.alert-danger{border-color:#fecaca}
@media(max-width:640px){
  .btn,button[type="submit"],button[type="button"],input[type="submit"],input[type="button"]{min-height:46px;border-radius:15px}
  .form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="url"],input[type="search"],input[type="file"],select,textarea{min-height:46px;border-radius:15px;font-size:16px}
}

/* v3.5 Media Manager UX + monthly folders */
.media-toolbar,.media-filter{margin-bottom:16px;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e2e8f0;box-shadow:0 16px 40px rgba(15,23,42,.05)}
.media-upload-form,.media-filter-form{display:grid;grid-template-columns:220px 1fr auto;gap:14px;align-items:end}
.media-upload-action{display:flex;align-items:end}.media-upload-action .btn{white-space:nowrap}
.media-count{margin:10px 0 14px;color:#64748b}.media-count b{color:#0f172a}
.media-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.media-card{padding:12px;border-radius:18px;border:1px solid #e2e8f0;box-shadow:0 14px 34px rgba(15,23,42,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;overflow:hidden}
.media-card:hover{transform:translateY(-3px);box-shadow:0 20px 46px rgba(15,23,42,.10);border-color:#bfdbfe}
.media-preview{height:138px;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#f8fafc,#eef2ff);display:grid;place-items:center;border:1px solid #edf2f7}
.media-preview img{width:100%;height:100%;object-fit:cover;border-radius:0}
.media-file-icon{height:100%;width:100%;display:grid;place-items:center;text-align:center;color:#334155;font-size:15px}.media-file-icon b{display:block;font-size:18px;margin-top:4px;color:#1d4ed8}
.media-name{font-weight:800;color:#0f172a;margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.media-meta{display:flex;justify-content:space-between;gap:8px;margin-top:7px;color:#64748b;font-size:12px}.media-meta span{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:3px 8px;white-space:nowrap}
.media-path{margin-top:8px;color:#94a3b8;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:10px;padding:6px 8px}
.media-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.btn-sm{min-height:34px!important;padding:7px 10px!important;border-radius:11px!important;font-size:12px!important;box-shadow:none!important}.btn-danger{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}.btn-danger:hover{filter:brightness(.96);box-shadow:0 12px 24px rgba(220,38,38,.18)!important}
.media-delete{margin-top:8px}.media-delete .btn{width:100%}
@media(max-width:760px){.media-upload-form,.media-filter-form{grid-template-columns:1fr}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.media-preview{height:112px}.media-card{padding:9px;border-radius:16px}.media-actions{display:grid;grid-template-columns:1fr}.media-actions .btn{width:100%}.media-meta{display:block}.media-meta span{display:inline-block;margin:0 4px 4px 0}.media-path{display:none}}
@media(max-width:420px){.media-grid{grid-template-columns:1fr}.media-preview{height:180px}}

/* v3.6 Posts Admin UI - modern layout like requested screenshot */
.admin-main{background:#f6f8fc;min-height:100vh;padding:28px 30px 86px;color:#0b1f44}
.post-admin-page{max-width:1440px;margin:0 auto}.post-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.post-topbar h1{margin:6px 0 0;font-size:30px;line-height:1.2;color:#0b1f44;font-weight:900;letter-spacing:-.02em}.post-breadcrumb{display:flex;align-items:center;gap:9px;font-size:13px;color:#64748b}.post-breadcrumb a{color:#2563eb;font-weight:700}.post-breadcrumb b{color:#64748b}.post-top-actions{display:flex;gap:10px;flex-wrap:wrap}.post-edit-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.post-main-col,.post-side-col{min-width:0}.post-side-col{position:sticky;top:18px}.post-card{background:rgba(255,255,255,.92);border:1px solid #e4eaf3;border-radius:22px;box-shadow:0 18px 50px rgba(15,23,42,.07);padding:22px;margin-bottom:20px;overflow:hidden}.post-card-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}.post-card-title span{width:5px;height:22px;border-radius:999px;background:linear-gradient(180deg,#2563eb,#7c3aed);box-shadow:0 0 0 5px rgba(37,99,235,.08)}.post-card-title h2{font-size:16px;color:#0b1f44;margin:0;font-weight:900}.post-card-title .btn-mini{margin-left:auto;min-height:34px!important;padding:7px 12px!important;border-radius:12px!important;font-size:12px}.post-form-grid{display:grid;gap:18px;margin-bottom:20px}.post-form-grid.two{grid-template-columns:1fr 1fr}.field-box label,.side-field label{font-size:14px;color:#0b1f44;font-weight:900;margin-bottom:9px}.field-box label em{font-style:normal;color:#ef4444}.post-input,.post-select,.post-textarea,.slug-wrap{width:100%;border:1px solid #d9e3f0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 2px 5px rgba(15,23,42,.03)!important;transition:border-color .18s ease,box-shadow .18s ease}.post-input,.post-select{min-height:48px!important;padding:13px 15px!important}.post-textarea{padding:15px!important;line-height:1.65}.post-input:focus,.post-select:focus,.post-textarea:focus,.slug-wrap:focus-within{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.11),0 12px 28px rgba(37,99,235,.08)!important}.field-help{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;color:#64748b;font-size:12px}.field-help b{font-weight:800;color:#64748b}.slug-wrap{display:flex;align-items:center;min-height:48px;overflow:hidden}.slug-wrap span{background:#f8fafc;border-right:1px solid #e2e8f0;color:#64748b;height:48px;display:flex;align-items:center;padding:0 12px;font-size:13px;white-space:nowrap}.slug-wrap input{border:0!important;box-shadow:none!important;min-height:46px!important;border-radius:0!important;flex:1;padding:0 12px!important}.slug-wrap i{font-style:normal;color:#16a34a;font-weight:900;padding:0 14px}.mini-copy{border:0;background:transparent;color:#2563eb;font-weight:800;cursor:pointer;padding:0}.image-summary-grid{grid-template-columns:1fr 1fr}.post-image-row{display:grid;grid-template-columns:1fr 245px;gap:14px}.image-drop{height:180px;border:1.5px dashed #cbd5e1;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc);display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-align:center;margin:0!important;cursor:pointer;transition:.2s}.image-drop:hover{border-color:#2563eb;background:#eff6ff}.image-drop input{display:none}.image-drop-icon{width:52px;height:52px;border-radius:18px;background:#dbeafe;display:grid;place-items:center;font-size:23px}.image-drop strong{color:#2563eb}.image-drop small{font-weight:600;color:#64748b}.image-preview-box{position:relative;height:180px;border-radius:18px;overflow:hidden;background:#f1f5f9;border:1px solid #e2e8f0;display:grid;place-items:center;color:#94a3b8;font-weight:800}.image-preview-box img{width:100%;height:100%;object-fit:cover}.image-preview-box.is-empty{border-style:dashed;background:#f8fafc}.remove-image{position:absolute;right:10px;top:10px;width:28px;height:28px;border-radius:50%;border:0;background:#fff;color:#ef4444;font-size:20px;font-weight:900;box-shadow:0 10px 24px rgba(15,23,42,.18);cursor:pointer}.check-line{display:flex!important;align-items:center;gap:8px;margin-top:10px!important;color:#64748b!important;font-size:13px!important;font-weight:700!important}.check-line input{width:18px!important;height:18px!important}.full-editor-box{margin-top:4px}.editor-note{margin-top:8px;color:#64748b;font-size:13px}.seo-card{background:linear-gradient(180deg,#fff,#fbfdff)}.side-card{padding:20px}.publish-card .btn{width:100%;margin-bottom:10px}.save-main{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;box-shadow:0 16px 28px rgba(37,99,235,.2)!important}.save-secondary{background:#fff!important;border:1px solid #e2e8f0!important;color:#0b1f44!important}.side-field{margin-top:15px}.side-field small{display:block;color:#64748b;font-size:12px;margin-top:6px;line-height:1.5}.status-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;margin-top:10px}.status-chip.on{background:#dcfce7;color:#15803d}.status-chip.off{background:#fee2e2;color:#b91c1c}.seo-checklist{list-style:none;margin:0;padding:0}.seo-checklist li{display:flex;align-items:center;gap:10px;padding:10px 0;color:#64748b;font-size:13px;font-weight:700;border-bottom:1px solid #eef2f7}.seo-checklist li:last-child{border-bottom:0}.seo-checklist li:before{content:'';width:16px;height:16px;border-radius:50%;border:2px solid #cbd5e1;flex:0 0 auto}.seo-checklist li.ok{color:#0f172a}.seo-checklist li.ok:before{content:'✓';border-color:#16a34a;background:#16a34a;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900}.post-sticky-actions{position:fixed;left:240px;right:0;bottom:0;z-index:20;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-top:1px solid #e2e8f0;padding:12px 30px;display:flex;justify-content:flex-end;gap:10px;box-shadow:0 -12px 34px rgba(15,23,42,.08)}.post-list-card{padding:0}.post-list-head{padding:20px 22px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.post-list-head b{display:block;color:#0b1f44;font-size:18px}.post-list-head small{display:block;color:#64748b;margin-top:3px}.modern-table{width:100%;border-collapse:separate;border-spacing:0}.modern-table th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:13px 14px;border-bottom:1px solid #e2e8f0}.modern-table td{padding:14px;border-bottom:1px solid #eef2f7;vertical-align:middle}.modern-table tr:hover td{background:#fbfdff}.post-title-cell{display:flex;align-items:center;gap:12px;min-width:260px}.post-title-cell img{width:58px;height:44px;object-fit:cover;border-radius:12px;flex:0 0 auto}.post-title-cell strong{display:block;color:#0b1f44}.post-title-cell small{display:block;color:#64748b;margin-top:3px}.link-blue{color:#2563eb;font-weight:700}.actions-cell{display:flex;gap:7px;flex-wrap:wrap}.modern-table-wrap{overflow:auto}.post-form-shell .editor-toolbar{position:relative;top:auto;border-color:#d9e3f0;border-radius:15px 15px 0 0}.post-form-shell .html-editor{min-height:260px;border-color:#d9e3f0;border-radius:0 0 15px 15px;background:#fff}.post-form-shell .btn{border-radius:14px}.post-form-shell .btn-light{background:#fff;color:#2563eb;border:1px solid #dbeafe}.post-form-shell .btn-sm{min-height:34px!important;padding:7px 11px!important;font-size:12px!important;border-radius:11px!important}.post-form-shell .btn-danger{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important}
@media(max-width:1180px){.post-edit-grid{grid-template-columns:1fr}.post-side-col{position:static;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.post-side-col .post-card{margin-bottom:0}.post-image-row{grid-template-columns:1fr 220px}.post-sticky-actions{left:0}}
@media(max-width:820px){.admin-main{padding:18px 14px 90px}.post-topbar{align-items:flex-start;flex-direction:column}.post-form-grid.two,.image-summary-grid{grid-template-columns:1fr}.post-side-col{grid-template-columns:1fr}.post-image-row{grid-template-columns:1fr}.image-drop,.image-preview-box{height:170px}.slug-wrap{display:block}.slug-wrap span{height:auto;border-right:0;border-bottom:1px solid #e2e8f0;padding:9px 12px}.slug-wrap input{width:100%}.slug-wrap i{display:none}.post-sticky-actions{padding:10px 14px;display:grid;grid-template-columns:1fr;gap:8px}.post-sticky-actions .btn{width:100%}.post-top-actions{width:100%}.post-top-actions .btn{flex:1}.modern-table{min-width:850px}}

/* v3.7 - Post UI phương án 1 + User manager */
.admin-option-one{--op1:#6d5dfc;--op1b:#8b5cf6;--op1dark:#071a35;--op1text:#0b1f44}.admin-option-one .option-one-topbar{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,255,.92));border:1px solid #e7edf6;border-radius:26px;padding:22px 24px;box-shadow:0 18px 50px rgba(15,23,42,.06);margin-bottom:22px}.admin-option-one .option-one-topbar h1{font-size:34px}.sub-title{margin:6px 0 0;color:#64748b;font-weight:600}.admin-option-one .option-one-card{border-radius:24px;border:1px solid #e7edf6;box-shadow:0 22px 60px rgba(15,23,42,.075);background:rgba(255,255,255,.96)}.admin-option-one .post-card-title span{background:linear-gradient(180deg,#a78bfa,#6d5dfc);box-shadow:0 0 0 5px rgba(109,93,252,.1)}.admin-option-one .save-main,.admin-option-one .btn:not(.btn-light):not(.btn-danger){background:linear-gradient(135deg,#6d5dfc,#8b5cf6)!important;box-shadow:0 16px 34px rgba(109,93,252,.25)}.admin-option-one .post-input:focus,.admin-option-one .post-select:focus,.admin-option-one .post-textarea:focus,.admin-option-one .slug-wrap:focus-within{border-color:#7c3aed!important;box-shadow:0 0 0 4px rgba(124,58,237,.12),0 12px 28px rgba(124,58,237,.08)!important}.admin-option-one .image-drop:hover{border-color:#7c3aed;background:#f5f3ff}.admin-option-one .image-drop-icon{background:#ede9fe;color:#6d5dfc}.admin-option-one .image-drop strong{color:#6d5dfc}.admin-option-one .post-breadcrumb a{color:#6d5dfc}.admin-option-one .mini-copy{color:#6d5dfc}.admin-option-one .link-blue{color:#6d5dfc}.admin-option-one .post-sticky-actions .btn:last-child{background:linear-gradient(135deg,#6d5dfc,#8b5cf6)!important}.admin-option-one .seo-checklist li.ok:before{border-color:#22c55e;background:#22c55e}.admin-option-one .post-side-col .post-card{background:linear-gradient(180deg,#fff,#fbfdff)}
.login-body{min-height:100vh;background:radial-gradient(circle at 20% 10%,#dbeafe 0,#f8fafc 35%,#eef2ff 100%);display:grid;place-items:center}.login-shell{width:100%;padding:20px}.login-card{max-width:430px;margin:auto;background:rgba(255,255,255,.94);border:1px solid #e2e8f0;border-radius:28px;padding:30px;box-shadow:0 30px 90px rgba(15,23,42,.15)}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}.login-brand span{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:grid;place-items:center;font-weight:900;font-size:24px}.login-brand b{display:block;color:#0b1f44;font-size:20px}.login-brand small{display:block;color:#64748b}.login-card h1{margin:0 0 18px;color:#0b1f44;font-size:30px}.login-btn{width:100%;margin-top:8px;background:linear-gradient(135deg,#2563eb,#7c3aed)!important}
.user-form-shell .post-edit-grid{grid-template-columns:minmax(0,1fr) 330px}.user-title-cell{display:flex;align-items:center;gap:12px}.user-avatar{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 12px 26px rgba(37,99,235,.25)}.user-title-cell strong{display:block;color:#0b1f44}.user-title-cell small{display:block;color:#64748b}.role-chip{display:inline-flex;align-items:center;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;text-transform:capitalize}.role-admin{background:#ede9fe;color:#6d28d9}.role-editor{background:#dbeafe;color:#1d4ed8}.role-viewer{background:#f1f5f9;color:#475569}.user-table td{white-space:nowrap}.user-table .user-title-cell{white-space:normal}
.admin-side h2{display:flex;align-items:center;gap:10px}.admin-side h2:before{content:'F';width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#7c3aed);display:grid;place-items:center;color:#fff;font-weight:900}.admin-side{background:linear-gradient(180deg,#071a35,#0f172a 60%,#111827)}.admin-side a{margin-bottom:4px}.admin-side a[href*="posts.php"],.admin-side a[href*="users.php"]{position:relative}.admin-side a[href*="posts.php"]:hover,.admin-side a[href*="users.php"]:hover{background:linear-gradient(135deg,rgba(37,99,235,.95),rgba(124,58,237,.95));color:#fff}
@media(max-width:1180px){.user-form-shell .post-edit-grid{grid-template-columns:1fr}.admin-option-one .option-one-topbar{align-items:flex-start}.admin-option-one .option-one-topbar h1{font-size:28px}}@media(max-width:760px){.admin-option-one .option-one-topbar{padding:18px;border-radius:20px;display:block}.admin-option-one .post-top-actions,.admin-option-one .option-one-topbar>.btn{margin-top:12px}.user-table td,.user-table th{white-space:normal}.login-card{border-radius:22px;padding:22px}.admin-option-one .option-one-topbar h1{font-size:25px}}

/* v3.8 - Global UI/UX polish, Vietnamese font rendering, all admin controls */
:root{
  --ui-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Arial,"Helvetica Neue",sans-serif;
  --ui-blue:#2563eb;--ui-indigo:#4f46e5;--ui-purple:#7c3aed;--ui-text:#0b1f44;--ui-muted:#64748b;--ui-line:#d9e3f0;--ui-soft:#f8fbff;
}
html{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body,input,textarea,select,button{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;font-feature-settings:"kern" 1;letter-spacing:0}
body{color:#0f2447;background:#f5f8fc}.admin-main{background:linear-gradient(180deg,#f8fbff,#f4f7fb);min-height:100vh;color:var(--ui-text)}
input,textarea,select,.form-control,.post-input,.post-select,.post-textarea{
  width:100%;min-height:46px;padding:12px 14px;border:1px solid var(--ui-line)!important;border-radius:14px!important;background:#fff;color:#0b1f44;outline:0;font-size:14px;line-height:1.45;box-shadow:0 1px 0 rgba(15,23,42,.02);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease;appearance:none;-webkit-appearance:none;
}
textarea,.post-textarea{min-height:110px;resize:vertical;line-height:1.65}
select,.post-select{background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:40px!important}
input:focus,textarea:focus,select:focus,.form-control:focus,.post-input:focus,.post-select:focus,.post-textarea:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.12),0 12px 28px rgba(15,23,42,.06)!important;background:#fff}
input::placeholder,textarea::placeholder{color:#94a3b8;opacity:1}.field-box label,label{font-size:14px;color:#0b1f44;font-weight:800;margin-bottom:8px}.field-box label em{font-style:normal;color:#ef4444}.field-help{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:8px;color:#64748b;font-size:12.5px;font-weight:600}.field-help b{color:#64748b}.field-help b.good,.count-good{color:#16a34a!important}.field-help b.warn,.count-warn{color:#f97316!important}.field-help b.bad,.count-bad{color:#ef4444!important}
.btn,button.btn,input[type="submit"],.editor-toolbar button{min-height:42px;border-radius:14px!important;font-weight:800;border:1px solid transparent;box-shadow:0 10px 24px rgba(37,99,235,.12);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,background .18s ease}.btn:hover,button.btn:hover,.editor-toolbar button:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(37,99,235,.16)}.btn:active,button.btn:active{transform:translateY(0)}.btn-light,.save-secondary{background:#fff!important;color:#2563eb!important;border-color:#dbeafe!important;box-shadow:0 8px 20px rgba(15,23,42,.05)!important}.btn-danger,.btn-red{background:#ef4444!important;color:#fff!important;border-color:#ef4444!important}.btn-sm{min-height:34px!important;padding:7px 11px!important;font-size:12px!important;border-radius:11px!important}
input[type="checkbox"],input[type="radio"]{width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;border:1.5px solid #cbd5e1!important;border-radius:6px!important;appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;background:#fff;vertical-align:middle;cursor:pointer;box-shadow:none!important}input[type="radio"]{border-radius:50%!important}input[type="checkbox"]:checked,input[type="radio"]:checked{border-color:#2563eb!important;background:#2563eb!important}input[type="checkbox"]:checked:after{content:'✓';color:#fff;font-size:14px;font-weight:900;line-height:1}input[type="radio"]:checked:after{content:'';width:8px;height:8px;border-radius:50%;background:#fff}.check-line{display:flex!important;align-items:center!important;gap:9px!important;color:#64748b!important;font-size:13px!important;font-weight:700!important}
.card,.post-card,.option-one-card,.side-card{border:1px solid #e7edf6!important;border-radius:24px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 20px 55px rgba(15,23,42,.07)!important}.post-card-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}.post-card-title span{width:6px;height:24px;border-radius:999px;background:linear-gradient(180deg,#60a5fa,#2563eb);display:inline-block}.post-card-title h2{margin:0;font-size:18px;color:#0b1f44}.post-breadcrumb{display:flex;align-items:center;gap:8px;color:#64748b;font-size:13px;font-weight:700}.post-breadcrumb a{color:#2563eb}.post-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.post-topbar h1{margin:8px 0 0;color:#0b1f44;font-size:32px;line-height:1.15;letter-spacing:-.02em}.post-top-actions{display:flex;gap:10px;flex-wrap:wrap}.sub-title{margin:7px 0 0;color:#64748b;font-weight:600}.post-edit-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.post-main-col{min-width:0}.post-side-col{position:sticky;top:18px}.post-form-grid{display:grid;gap:18px;margin-bottom:18px}.post-form-grid.two{grid-template-columns:1fr 1fr}.image-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.post-image-row{display:grid;grid-template-columns:1fr 260px;gap:16px;align-items:stretch}.image-drop{height:180px;border:1.5px dashed #cbd5e1;border-radius:18px;background:#fbfdff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;cursor:pointer;transition:.18s}.image-drop:hover{border-color:#2563eb;background:#eff6ff}.image-drop input{display:none}.image-drop-icon{width:52px;height:52px;border-radius:18px;background:#dbeafe;color:#2563eb;display:grid;place-items:center;font-size:23px}.image-drop strong{color:#2563eb}.image-drop small{font-weight:600;color:#64748b;max-width:210px}.image-preview-box{position:relative;height:180px;border-radius:18px;overflow:hidden;background:#f1f5f9;border:1px solid #e2e8f0;display:grid;place-items:center;color:#94a3b8;font-weight:800}.image-preview-box img{width:100%;height:100%;object-fit:cover}.image-preview-box.is-empty{border-style:dashed;background:#f8fafc}.remove-image{position:absolute;right:10px;top:10px;width:30px;height:30px;min-height:30px;border-radius:50%!important;border:0!important;background:#fff!important;color:#ef4444!important;font-size:20px;font-weight:900;box-shadow:0 10px 24px rgba(15,23,42,.18);cursor:pointer}.slug-wrap{display:flex;align-items:center;border:1px solid var(--ui-line);border-radius:14px;background:#fff;overflow:hidden;transition:.18s}.slug-wrap:focus-within{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}.slug-wrap span{height:46px;display:flex;align-items:center;padding:0 12px;background:#f8fafc;color:#64748b;border-right:1px solid #e2e8f0;font-size:13px;white-space:nowrap}.slug-wrap input{border:0!important;box-shadow:none!important;border-radius:0!important;min-height:46px}.slug-wrap i{font-style:normal;color:#16a34a;font-weight:900;padding:0 12px}.mini-copy{border:0;background:transparent;color:#2563eb;font-weight:800;cursor:pointer;padding:0}.editor-toolbar{background:#fff;border-color:#d9e3f0!important;border-radius:16px 16px 0 0!important;box-shadow:0 8px 20px rgba(15,23,42,.03)}.editor-toolbar button{background:#fff!important;color:#0b1f44!important;border-color:#e2e8f0!important;box-shadow:none!important;min-height:36px}.html-editor{border-color:#d9e3f0!important;border-radius:0 0 16px 16px!important;background:#fff;min-height:280px;font-size:15px}.editor-note{margin-top:8px;color:#64748b;font-size:13px}.post-sticky-actions{position:fixed;left:240px;right:0;bottom:0;z-index:20;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border-top:1px solid #e2e8f0;padding:12px 30px;display:flex;justify-content:flex-end;gap:10px;box-shadow:0 -12px 34px rgba(15,23,42,.08)}.status-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900}.status-chip.on{background:#dcfce7;color:#15803d}.status-chip.off{background:#fee2e2;color:#b91c1c}.seo-checklist{list-style:none;margin:0;padding:0}.seo-checklist li{display:flex;align-items:center;gap:10px;padding:10px 0;color:#64748b;font-size:13px;font-weight:700;border-bottom:1px solid #eef2f7}.seo-checklist li:last-child{border-bottom:0}.seo-checklist li:before{content:'';width:16px;height:16px;border-radius:50%;border:2px solid #cbd5e1;flex:0 0 auto}.seo-checklist li.ok{color:#0f172a}.seo-checklist li.ok:before{content:'✓';border-color:#16a34a;background:#16a34a;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900}.modern-table-wrap{overflow:auto}.modern-table{width:100%;border-collapse:separate;border-spacing:0}.modern-table th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:13px 14px;border-bottom:1px solid #e2e8f0;white-space:nowrap}.modern-table td{padding:14px;border-bottom:1px solid #eef2f7;vertical-align:middle}.modern-table tr:hover td{background:#fbfdff}.post-title-cell{display:flex;align-items:center;gap:12px;min-width:260px}.post-title-cell img{width:58px;height:44px;object-fit:cover;border-radius:12px;flex:0 0 auto}.post-title-cell strong{display:block;color:#0b1f44}.post-title-cell small{display:block;color:#64748b;margin-top:3px}.actions-cell{display:flex;gap:7px;flex-wrap:wrap}.user-avatar{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 12px 26px rgba(37,99,235,.25)}
.admin-side{background:linear-gradient(180deg,#071a35,#0f172a 58%,#111827)!important;color:#fff;box-shadow:18px 0 45px rgba(15,23,42,.08)}.admin-side h2{font-size:22px;letter-spacing:-.02em;display:flex;align-items:center;gap:10px}.admin-side h2:before{content:'F';width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#7c3aed);display:grid;place-items:center;color:#fff;font-weight:900}.admin-side a{border-radius:14px!important;margin-bottom:5px;color:#cbd5e1}.admin-side a:hover{background:linear-gradient(135deg,rgba(37,99,235,.9),rgba(124,58,237,.9))!important;color:#fff!important}.option-one-topbar{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(248,251,255,.94));border:1px solid #e7edf6;border-radius:26px;padding:22px 24px;box-shadow:0 18px 50px rgba(15,23,42,.06);margin-bottom:22px}.save-main,.admin-option-one .btn:not(.btn-light):not(.btn-danger){background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important}.post-list-card{padding:0!important;overflow:hidden}.post-list-head{padding:20px 22px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.post-list-head b{display:block;color:#0b1f44;font-size:18px}.post-list-head small{display:block;color:#64748b;margin-top:3px}.software-form-shell .post-side-col .post-card{margin-bottom:18px}
@media(max-width:1180px){.post-edit-grid{grid-template-columns:1fr}.post-side-col{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.post-side-col .post-card{margin-bottom:0}.post-image-row{grid-template-columns:1fr 220px}.post-sticky-actions{left:0}.admin-wrap{grid-template-columns:230px 1fr}}
@media(max-width:900px){.post-form-grid.two,.image-summary-grid{grid-template-columns:1fr}.post-side-col{grid-template-columns:1fr}.post-topbar{align-items:flex-start;flex-direction:column}.post-top-actions{width:100%}.post-top-actions .btn{flex:1}.post-sticky-actions{padding:10px 14px;display:grid;grid-template-columns:1fr;gap:8px}.post-sticky-actions .btn{width:100%}.admin-main{padding:18px 14px 90px}}
@media(max-width:760px){.admin-wrap{grid-template-columns:1fr}.admin-side{position:relative;border-radius:0 0 24px 24px}.option-one-topbar{padding:18px;border-radius:20px}.post-topbar h1{font-size:25px}.post-image-row{grid-template-columns:1fr}.image-drop,.image-preview-box{height:170px}.slug-wrap{display:block}.slug-wrap span{height:auto;border-right:0;border-bottom:1px solid #e2e8f0;padding:9px 12px;white-space:normal}.slug-wrap i{display:none}.modern-table{min-width:850px}.btn{width:auto}.post-side-col{display:block}.post-side-col .post-card{margin-bottom:14px}}

/* =========================
   V4 Admin UI/UX - Professional CMS
   ========================= */
:root{
  --fs-bg:#f5f7fb;--fs-card:#fff;--fs-dark:#071b34;--fs-dark2:#0d2747;--fs-text:#0f2344;--fs-muted:#6b7a99;--fs-line:#dfe7f3;--fs-blue:#2563eb;--fs-blue2:#0b5cff;--fs-purple:#7c3aed;--fs-green:#16a34a;--fs-red:#ef4444;--fs-radius:18px;--fs-shadow:0 18px 45px rgba(15,35,68,.08);
}
html{font-synthesis-weight:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body.admin-v4{margin:0;background:var(--fs-bg)!important;color:var(--fs-text)!important;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;font-size:14px;line-height:1.55;letter-spacing:-.005em}
.admin-v4 *{box-sizing:border-box}.admin-v4 a{text-decoration:none}.admin-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.admin-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#071b34 0%,#07172c 62%,#091a31 100%);color:#fff;padding:22px 18px;display:flex;flex-direction:column;box-shadow:16px 0 42px rgba(5,22,45,.12);overflow-y:auto}.brand-box{display:flex;align-items:center;gap:13px;margin-bottom:28px}.brand-icon{width:42px;height:42px;border-radius:16px;background:linear-gradient(135deg,#2f6dff,#7c3aed);display:grid;place-items:center;font-size:22px;font-weight:900;box-shadow:0 14px 28px rgba(47,109,255,.28)}.brand-box strong{display:block;font-size:20px;font-weight:850;line-height:1}.brand-box span{display:block;color:#aebbd0;margin-top:4px;font-size:12px}.side-title{font-size:12px;text-transform:uppercase;color:#8da1bd;margin:20px 0 8px;letter-spacing:.06em}.side-nav a{height:44px;border-radius:14px;display:flex!important;align-items:center;gap:12px;color:#dbe7f7!important;padding:0 12px!important;margin:4px 0!important;font-weight:700;transition:.18s}.side-nav a span{width:20px;text-align:center;opacity:.92}.side-nav a:hover,.side-nav a.active{background:linear-gradient(135deg,#0b5cff,#2d6dff)!important;color:#fff!important;box-shadow:0 12px 30px rgba(37,99,235,.25);transform:translateX(2px)}.sidebar-user{margin-top:auto;border-radius:16px;background:rgba(255,255,255,.07);padding:12px;display:flex;align-items:center;gap:10px}.avatar-dot,.top-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:850;background:linear-gradient(135deg,#4568ff,#7c3aed)}.sidebar-user b,.top-user b{display:block;font-size:13px}.sidebar-user span,.top-user span{display:block;color:#aebbd0;font-size:12px}.sidebar-user a{margin-left:auto;color:#fff!important;opacity:.85}.admin-content-wrap{min-width:0}.admin-header{height:78px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border-bottom:1px solid #e7edf6;display:flex;align-items:center;gap:20px;padding:0 28px;position:sticky;top:0;z-index:40}.hamburger{width:38px;height:38px;border:0;background:#fff;color:#0b5cff;border-radius:12px;font-size:20px;cursor:pointer;box-shadow:0 8px 22px rgba(15,35,68,.07)}.quick-search{width:min(430px,38vw);height:44px;border:1px solid #dfe7f3;border-radius:14px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 12px;box-shadow:0 8px 20px rgba(15,35,68,.04)}.quick-search input{border:0;outline:0;flex:1;font:inherit;color:var(--fs-text)}.quick-search kbd{font:700 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial;background:#eef4ff;color:#0b5cff;border-radius:8px;padding:5px 8px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.view-site,.help-btn{height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe7f3;background:#fff;color:#0b5cff;border-radius:12px;padding:0 14px;font-weight:750}.icon-btn{position:relative;width:40px;height:40px;border-radius:12px;border:1px solid #dfe7f3;background:#fff;cursor:pointer}.icon-btn i{position:absolute;right:-5px;top:-6px;background:#ef4444;color:#fff;border-radius:999px;font-style:normal;font-size:10px;font-weight:800;min-width:18px;height:18px;display:grid;place-items:center}.top-user{display:flex;align-items:center;gap:9px}.top-user span{color:#6b7a99}.admin-main{padding:28px 30px 92px!important;max-width:1540px;margin:0 auto;width:100%}.fs-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.fs-page-head h1{font-size:31px;line-height:1.15;margin:0;color:#0d2345;font-weight:850;letter-spacing:-.03em}.fs-page-head p{margin:7px 0 0;color:var(--fs-muted)}.fs-breadcrumb{display:flex;align-items:center;gap:10px;color:#6b7a99;font-weight:650;font-size:13px;flex-wrap:wrap}.fs-breadcrumb a{color:#356bea}.fs-edit-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.fs-main-panel{min-width:0}.fs-right-panel{display:flex;flex-direction:column;gap:16px;position:sticky;top:96px}.fs-card{background:rgba(255,255,255,.97)!important;border:1px solid #e5edf8!important;border-radius:18px!important;box-shadow:var(--fs-shadow)!important;padding:22px!important}.fs-basic-card{padding:24px!important}.fs-form-row{margin-bottom:22px}.fs-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:22px}.fs-field label,.side-field label{display:block;margin:0 0 9px!important;color:#10264b!important;font-weight:800!important;font-size:14px}.fs-field em{color:#ef4444;font-style:normal}.fs-input,.fs-select,.fs-textarea,.admin-v4 input[type="text"],.admin-v4 input[type="password"],.admin-v4 input[type="email"],.admin-v4 input[type="number"],.admin-v4 input[type="url"],.admin-v4 input[type="search"],.admin-v4 input[type="datetime-local"],.admin-v4 select,.admin-v4 textarea,.form-control,.post-input,.post-select,.post-textarea{width:100%;min-height:46px;border:1px solid #d9e3f0!important;border-radius:12px!important;background:#fff!important;color:#12284a!important;padding:11px 14px!important;font:600 14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Arial,sans-serif!important;outline:none!important;box-shadow:none!important;transition:border-color .18s,box-shadow .18s,background .18s}.fs-textarea,.admin-v4 textarea{min-height:110px;resize:vertical}.fs-input::placeholder,.fs-textarea::placeholder,.admin-v4 input::placeholder,.admin-v4 textarea::placeholder{color:#90a0bb}.fs-input:focus,.fs-select:focus,.fs-textarea:focus,.admin-v4 input:focus,.admin-v4 select:focus,.admin-v4 textarea:focus,.form-control:focus{border-color:#2f6dff!important;box-shadow:0 0 0 4px rgba(47,109,255,.12)!important}.field-counter{display:flex;align-items:center;justify-content:space-between;margin-top:7px;color:#6b7a99;font-size:12px;font-weight:650}.field-counter b{font-weight:800;color:#6b7a99}.field-counter i{font-style:normal;color:#12a150}.help-text{display:block;color:#6b7a99;margin-top:8px;font-weight:650}.fs-slug-control{height:46px;border:1px solid #d9e3f0;border-radius:12px;display:flex;align-items:center;background:#fff;overflow:hidden;transition:.18s}.fs-slug-control:focus-within{border-color:#2f6dff;box-shadow:0 0 0 4px rgba(47,109,255,.12)}.fs-slug-control span{height:100%;display:flex;align-items:center;background:#f8fbff;border-right:1px solid #e5edf8;color:#52627d;padding:0 12px;white-space:nowrap;font-size:13px;font-weight:650}.fs-slug-control input{border:0!important;box-shadow:none!important;border-radius:0!important;min-height:44px!important;padding:0 10px!important}.fs-slug-control i{color:#16a34a;font-style:normal;font-weight:900;padding:0 12px;font-size:18px}.image-upload-line{display:grid;grid-template-columns:1.08fr .92fr;gap:16px;align-items:stretch;max-width:630px}.fs-dropzone{min-height:166px;border:1.5px dashed #c7d3e5;border-radius:14px;background:#fbfdff;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;cursor:pointer;transition:.18s}.fs-dropzone:hover{border-color:#2f6dff;background:#f4f8ff}.fs-dropzone input{display:none}.drop-icon{width:48px;height:48px;border-radius:16px;background:#edf4ff;color:#2f6dff;display:grid;place-items:center;font-size:22px}.fs-dropzone b{color:#0b5cff}.fs-dropzone small{color:#6b7a99;font-weight:600}.fs-image-preview{position:relative;min-height:166px;border:1px solid #e0e8f4;border-radius:14px;overflow:hidden;background:#f3f6fb;display:grid;place-items:center;color:#8ea0bc;font-weight:800}.fs-image-preview img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.fs-image-preview.empty{border-style:dashed}.remove-preview{position:absolute;right:10px;top:10px;z-index:2;border:0!important;width:30px!important;height:30px!important;min-height:30px!important;border-radius:50%!important;background:#fff!important;color:#ff4242!important;font-size:22px!important;font-weight:800!important;line-height:1!important;box-shadow:0 10px 22px rgba(15,35,68,.16);cursor:pointer;padding:0!important}.fs-check{display:inline-flex!important;align-items:center;gap:9px;margin-top:10px!important;color:#6b7a99!important;font-size:13px!important}.admin-v4 input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:20px!important;height:20px!important;min-height:20px!important;border:1.5px solid #cbd7e8!important;border-radius:6px!important;background:#fff!important;display:inline-grid;place-content:center;padding:0!important;cursor:pointer}.admin-v4 input[type="checkbox"]:checked{background:#246bfe!important;border-color:#246bfe!important}.admin-v4 input[type="checkbox"]:checked:after{content:'✓';color:#fff;font-weight:900;font-size:13px}.side-card-title{font-size:18px;font-weight:850;color:#10264b;margin-bottom:18px}.side-field{margin-bottom:15px}.side-field small{display:block;color:#7a8aa6;font-size:12px;margin-top:6px}.switch-row{height:42px;display:flex!important;align-items:center;justify-content:space-between!important;margin:4px 0!important;color:#14305a!important;font-weight:750!important}.switch-row input{display:none!important}.switch-row i{width:42px;height:24px;border-radius:999px;background:#d8e1ee;position:relative;transition:.18s}.switch-row i:before{content:'';width:20px;height:20px;background:#fff;border-radius:50%;position:absolute;left:2px;top:2px;box-shadow:0 3px 10px rgba(15,35,68,.16);transition:.18s}.switch-row input:checked+i{background:#246bfe}.switch-row input:checked+i:before{left:20px}.mini-upload{min-height:46px;border:1px dashed #cbd7e8;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px;padding:8px 10px!important;color:#52627d!important;font-size:12px!important;cursor:pointer}.mini-upload input{display:none}.mini-upload span{display:inline-flex;background:#fff;border:1px solid #dce6f5;border-radius:9px;padding:7px 10px;color:#14305a;font-weight:800}.ai-seo-btn{width:100%;height:38px;border:0;border-radius:11px;background:#dcfce7;color:#15803d;font-weight:850;cursor:pointer}.editor-field{margin-top:18px}.fs-editor .editor-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;border:1px solid #d9e3f0!important;border-radius:13px 13px 0 0!important;background:#fff!important;padding:8px!important;box-shadow:none!important}.fs-editor .editor-toolbar button{min-height:34px!important;border:0!important;border-right:1px solid #eef2f7!important;border-radius:8px!important;background:#fff!important;color:#0d2345!important;padding:6px 10px!important;font-weight:850!important;box-shadow:none!important;cursor:pointer}.fs-editor .editor-toolbar button:hover{background:#f3f7ff!important;color:#0b5cff!important}.fs-editor .html-editor{min-height:220px!important;border:1px solid #d9e3f0!important;border-top:0!important;border-radius:0 0 13px 13px!important;background:#fff!important;padding:17px!important;font:500 15px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Arial,sans-serif!important;color:#12284a!important;outline:none!important}.fs-editor .html-editor:empty:before{content:attr(data-placeholder);color:#92a2ba}.fs-btn,.admin-v4 .btn{height:46px;border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;font-weight:850;cursor:pointer;transition:.18s;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}.fs-btn-primary,.admin-v4 .btn:not(.btn-light):not(.btn-danger):not(.btn-red){background:linear-gradient(135deg,#2f6dff,#0b5cff)!important;color:#fff!important;box-shadow:0 14px 28px rgba(37,99,235,.24)}.fs-btn-primary:hover,.fs-btn:hover{transform:translateY(-1px);filter:brightness(.98)}.fs-btn-light,.admin-v4 .btn-light{background:#fff!important;color:#0b5cff!important;border:1px solid #d9e3f0!important;box-shadow:0 10px 20px rgba(15,35,68,.04)!important}.fs-btn.danger,.admin-v4 .btn-danger{background:#fff1f2!important;color:#ef4444!important;border:1px solid #fecdd3!important}.fs-btn.small{height:34px;border-radius:10px;padding:0 12px;font-size:12px}.fs-sticky-footer{position:fixed;left:260px;right:0;bottom:0;z-index:35;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-top:1px solid #e4ebf6;display:flex;align-items:center;justify-content:space-between;padding:14px 30px;box-shadow:0 -12px 34px rgba(15,35,68,.08)}.sticky-right{display:flex;gap:10px}.fs-alert{border-radius:14px;padding:13px 16px;margin:0 0 16px;font-weight:750}.fs-alert.success{background:#eafaf0;color:#15803d;border:1px solid #bbf7d0}.table-card{padding:0!important;overflow:hidden}.table-responsive{overflow:auto}.fs-table{width:100%;border-collapse:separate;border-spacing:0;min-width:900px}.fs-table th{background:#f7faff;color:#63738f;text-transform:uppercase;font-size:12px;letter-spacing:.05em;text-align:left;padding:14px;border-bottom:1px solid #e5edf8}.fs-table td{padding:14px;border-bottom:1px solid #eef3f9;vertical-align:middle}.fs-table tr:hover td{background:#fbfdff}.post-cell{display:flex;align-items:center;gap:12px;min-width:300px}.post-cell img{width:68px;height:48px;object-fit:cover;border-radius:12px;flex:0 0 auto}.post-cell strong{display:block;color:#10264b}.post-cell small{display:block;color:#6b7a99;margin-top:3px}.blue-link{color:#0b5cff;font-weight:750}.pill{display:inline-flex;align-items:center;height:28px;border-radius:999px;padding:0 10px;font-size:12px;font-weight:850}.pill.green{background:#e8f9ee;color:#15803d}.pill.gray{background:#eef2f7;color:#63738f}.table-actions{display:flex;gap:8px}.mobile-overlay{display:none}.admin-dark{--fs-bg:#081425;--fs-card:#0e1e35;--fs-text:#e5eefc;--fs-muted:#93a4bd;--fs-line:#20354f}.admin-dark .admin-header,.admin-dark .fs-card,.admin-dark .fs-input,.admin-dark .fs-select,.admin-dark .fs-textarea,.admin-dark .fs-editor .html-editor,.admin-dark .fs-editor .editor-toolbar{background:#0e1e35!important;color:#e5eefc!important;border-color:#20354f!important}.admin-dark .quick-search,.admin-dark .view-site,.admin-dark .icon-btn,.admin-dark .fs-btn-light{background:#132742!important;border-color:#20354f!important}.admin-dark .fs-page-head h1,.admin-dark .fs-field label,.admin-dark .side-field label,.admin-dark .side-card-title{color:#e5eefc!important}
@media(max-width:1180px){.fs-edit-grid{grid-template-columns:1fr}.fs-right-panel{position:static;display:grid;grid-template-columns:1fr 1fr}.fs-sticky-footer{left:0}.quick-search{width:min(430px,45vw)}}
@media(max-width:900px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:fixed;left:-280px;top:0;bottom:0;width:260px;z-index:80;transition:.22s}.sidebar-open .admin-sidebar{left:0}.sidebar-open .mobile-overlay{display:block;position:fixed;inset:0;background:rgba(2,8,23,.45);z-index:70}.admin-header{padding:0 14px}.quick-search{display:none}.top-user,.view-site{display:none}.admin-main{padding:22px 14px 96px!important}.fs-page-head{align-items:flex-start;flex-direction:column}.fs-edit-grid,.fs-two-cols,.image-upload-line,.fs-right-panel{grid-template-columns:1fr}.fs-sticky-footer{padding:10px 14px;display:grid;grid-template-columns:1fr;gap:10px}.sticky-right{display:grid;grid-template-columns:1fr;gap:8px}.fs-btn{width:100%}.fs-slug-control{display:block;height:auto}.fs-slug-control span{height:auto;padding:9px 12px;border-right:0;border-bottom:1px solid #e5edf8;white-space:normal}.fs-slug-control i{display:none}.fs-page-head h1{font-size:25px}}

/* ===============================
   V5.0 CMS long-term UI/UX
   =============================== */
:root{--v5-primary:#2563eb;--v5-primary2:#7c3aed;--v5-ink:#0f172a;--v5-muted:#64748b;--v5-line:#e5edf7;--v5-soft:#f8fbff;--v5-radius:18px;--v5-shadow:0 16px 42px rgba(15,35,68,.08)}
body{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
input,select,textarea,button{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}
.services-section{margin:24px 0}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.service-card{position:relative;overflow:hidden;border:1px solid var(--v5-line);border-radius:22px;background:linear-gradient(180deg,#fff,#fbfdff);padding:20px;box-shadow:var(--v5-shadow);transition:.22s}.service-card:hover{transform:translateY(-3px);box-shadow:0 22px 55px rgba(15,35,68,.12)}.service-icon{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#eff6ff,#f5f3ff);display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:14px}.service-card h3{margin:0 0 8px;color:#10264b;font-size:20px}.service-card p{color:var(--v5-muted);margin:0 0 16px}.service-card .service-link{display:inline-flex;align-items:center;gap:8px;color:#0b5cff;font-weight:850}.service-card .service-link:after{content:'→';transition:.18s}.service-card:hover .service-link:after{transform:translateX(3px)}
.footer-v5{background:radial-gradient(circle at 20% 0%,#1e3a8a 0,#0f172a 34%,#08111f 100%);padding:44px 0 18px;margin-top:46px;color:#cbd5e1}.footer-grid{display:grid;grid-template-columns:2.1fr 1.2fr repeat(3,1fr);gap:26px;align-items:start}.footer-logo{display:inline-flex;align-items:center;gap:11px;color:#fff;font-size:20px;font-weight:900}.footer-logo img{height:42px;width:auto;max-width:170px;object-fit:contain}.footer-brand p{max-width:420px;color:#b6c2d4}.footer-contact{display:grid;gap:7px;color:#d7e1ef;font-size:14px}.footer-col h4{color:#fff;margin:3px 0 12px;font-size:15px;text-transform:uppercase;letter-spacing:.06em}.footer-col a,.footer-service{display:flex!important;align-items:center;gap:8px;color:#cbd5e1;margin:8px 0;font-weight:650}.footer-col a:hover,.footer-service:hover{color:#fff}.footer-service span{width:26px;height:26px;border-radius:9px;background:rgba(255,255,255,.09);display:inline-flex;align-items:center;justify-content:center}.socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.socials a{display:inline-flex;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);border-radius:999px;padding:7px 11px;color:#fff;font-size:13px}.donate-mini{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:16px}.footer-bottom{border-top:1px solid rgba(255,255,255,.10);margin-top:28px;padding-top:16px;display:flex;justify-content:space-between;gap:14px;color:#94a3b8;font-size:13px}
.admin-v4 .fs-input,.admin-v4 .fs-select,.admin-v4 .fs-textarea,.admin-v4 input[type=text],.admin-v4 input[type=email],.admin-v4 input[type=password],.admin-v4 input[type=number],.admin-v4 input[type=url],.admin-v4 input[type=search],.admin-v4 input[type=file],.admin-v4 select,.admin-v4 textarea{border-radius:14px!important;border:1px solid #d9e4f2!important;background:#fff!important;color:#10264b!important;min-height:44px!important;box-shadow:0 8px 18px rgba(15,35,68,.03)!important;outline:none!important;transition:border-color .18s,box-shadow .18s,background .18s!important}.admin-v4 textarea,.admin-v4 .fs-textarea{padding:12px 14px!important}.admin-v4 input:not([type=checkbox]):not([type=radio]),.admin-v4 select{padding:0 14px!important}.admin-v4 input:focus,.admin-v4 select:focus,.admin-v4 textarea:focus,.admin-v4 .fs-input:focus,.admin-v4 .fs-select:focus,.admin-v4 .fs-textarea:focus{border-color:#2f6dff!important;box-shadow:0 0 0 4px rgba(47,109,255,.12)!important}.admin-v4 label{color:#12315e!important;font-weight:850!important;letter-spacing:-.01em}.admin-v4 .fs-card,.admin-v4 .side-card,.admin-v4 .card{border-radius:22px!important;border:1px solid #e4ebf6!important;box-shadow:0 16px 40px rgba(15,35,68,.06)!important}.admin-v4 .image-preview{margin-top:10px;width:100%;max-height:180px;object-fit:cover;border-radius:16px;border:1px solid #e2eaf5;background:#f8fbff}.admin-v4 .fs-breadcrumb{display:inline-flex;background:#eef5ff;color:#0b5cff;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:850;margin-bottom:8px}.admin-v4 .fs-page-head p{color:#65748e;margin:6px 0 0}.admin-v4 .side-nav a.active{background:linear-gradient(135deg,#246bfe,#7647ff)!important;color:#fff!important;box-shadow:0 12px 28px rgba(47,109,255,.25)}.admin-v4 .side-title{color:#8da4c2!important}.admin-v4 .fs-table th{background:#f8fbff!important}.admin-v4 .fs-table td,.admin-v4 .fs-table th{border-bottom:1px solid #eef3f9!important}.admin-v4 .alert,.admin-v4 .fs-alert{border-radius:16px!important}.admin-v4 .btn,.admin-v4 .fs-btn{border-radius:14px!important}.admin-v4 input[type=checkbox]{accent-color:#2563eb}.admin-v4 .switch-row{border:1px solid #e4ebf6;border-radius:14px;padding:10px 12px;background:#fbfdff;margin-bottom:10px}.admin-v4 .fs-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-v4 .fs-field{margin-bottom:16px}.admin-v4 .fs-right-panel{gap:16px}.admin-v4 .table-card{margin-top:18px}
@media(max-width:980px){.service-grid,.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column}.admin-v4 .fs-two-cols{grid-template-columns:1fr}}
@media(max-width:640px){.service-grid,.footer-grid{grid-template-columns:1fr}.footer-v5{padding:34px 0 16px}.footer-col,.donate-mini{border-top:1px solid rgba(255,255,255,.1);padding-top:16px}.service-card{padding:17px}.admin-v4 .fs-page-head h1{font-size:24px!important}}

/* V5.1 Footer 3 columns + VietQR donate + image CLS fixes */
img[width][height]{height:auto}.soft-img{aspect-ratio:4/3;object-fit:cover}.article-card img{aspect-ratio:16/10;object-fit:cover}.footer-three-cols{background:#071a33;color:#dbe7ff;margin-top:48px}.footer-grid-3{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:28px;align-items:start;padding:42px 0 26px}.footer-three-cols h4{margin:0 0 15px;color:#fff;font-size:17px}.footer-logo-img{max-width:42px;max-height:42px;border-radius:12px;object-fit:contain}.footer-contact{display:flex;flex-direction:column;gap:8px;margin-top:14px}.footer-contact span{display:flex;gap:8px;align-items:flex-start}.footer-service{display:flex!important;align-items:center;gap:12px;padding:11px 12px;border:1px solid rgba(255,255,255,.09);border-radius:14px;margin-bottom:10px;background:rgba(255,255,255,.045);transition:.2s;color:#ecf4ff;text-decoration:none}.footer-service:hover{transform:translateY(-2px);background:rgba(255,255,255,.08)}.footer-service span{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#7c3aed);display:grid;place-items:center;flex:0 0 34px}.footer-links-compact{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px}.footer-links-compact a{color:#dbe7ff;text-decoration:none;padding:6px 0}.footer-links-compact a:hover{color:#fff}.donate-footer-box{margin-top:18px;padding:14px;border-radius:18px;background:linear-gradient(135deg,rgba(34,197,94,.18),rgba(37,99,235,.18));border:1px solid rgba(255,255,255,.12);display:flex;gap:12px;align-items:center;justify-content:space-between}.donate-footer-info{display:flex;flex-direction:column;gap:4px}.donate-footer-info span{font-size:13px;color:#b9c9e8}.donate-footer-btn{white-space:nowrap;color:#fff!important;background:linear-gradient(135deg,#16a34a,#2563eb);border-radius:999px;padding:10px 13px;text-decoration:none;font-weight:700}.donate-card-vietqr{display:grid;grid-template-columns:220px 1fr;gap:22px;align-items:center}.vietqr-img{width:220px;max-width:100%;border-radius:18px;border:1px solid #e5e7eb;background:#fff;padding:10px}.donate-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.btn-donate{background:linear-gradient(135deg,#16a34a,#2563eb);color:#fff!important;border-radius:999px;padding:12px 18px;text-decoration:none;font-weight:800}.service-card .service-icon{font-size:28px}.service-card{position:relative;overflow:hidden}.service-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.12),transparent 38%);pointer-events:none}@media(max-width:768px){.footer-v5{display:none!important}.donate-card-vietqr{grid-template-columns:1fr;text-align:center}.vietqr-img{margin:auto}.side{display:none}.layout{display:block}.soft-img{width:100%}}


/* V5.2 Professional footer, admin-driven services, donate amount selector, CLS image fallback */
.nav a[href$="/dich-vu"]{display:none!important}
.soft-img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;contain-intrinsic-size:640px 480px;background:#eef4ff}
.article-card img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;contain-intrinsic-size:800px 500px}
.footer-grid-balanced{grid-template-columns:1fr 1fr 1fr!important;gap:34px!important;align-items:start!important}
.footer-three-cols{background:linear-gradient(135deg,#06172d 0%,#09213f 52%,#07182e 100%)!important;color:#dceaff!important}
.footer-three-cols .footer-col-main,.footer-three-cols .footer-col{min-width:0}.footer-three-cols p{line-height:1.75;color:#c7d7f1}.footer-service-list{display:grid;gap:10px}.footer-service{min-height:54px}.footer-service b{line-height:1.3}.footer-link-title{margin-top:18px!important}.donate-v52{display:block!important;padding:16px!important;background:linear-gradient(135deg,rgba(22,163,74,.19),rgba(37,99,235,.22))!important}.donate-v52 .donate-footer-info{margin-bottom:12px}.donate-quick-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 12px}.donate-amount-btn{height:36px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.08);color:#eaf5ff;font-weight:850;cursor:pointer;transition:.18s}.donate-amount-btn:hover,.donate-amount-btn.active{background:linear-gradient(135deg,#16a34a,#2563eb);border-color:transparent;color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.22)}.donate-v52 .donate-footer-btn{display:flex;align-items:center;justify-content:center;margin-top:8px;width:100%}.footer-bottom{align-items:center}.header .nav a:nth-child(3){display:none!important}@media(max-width:768px){.footer-v5{display:none!important}}

/* V5.3 Professional footer + service list + donate modal */
.footer-v53{background:#071d36;color:#dce9ff;padding:72px 0 0;margin-top:70px;box-shadow:0 -18px 50px rgba(7,29,54,.08)}
.footer-v53 .footer-grid-3{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:48px;align-items:flex-start}
.footer-v53 .footer-logo{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:22px;font-weight:900;margin-bottom:18px}
.footer-v53 .footer-logo .logo-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#0d6efd,#21b6ff);display:inline-grid;place-items:center;color:#fff;box-shadow:0 12px 30px rgba(13,110,253,.28)}
.footer-v53 .footer-brand p{max-width:360px;line-height:1.75;color:#c7d9f2;margin:0 0 18px}
.footer-v53 .footer-contact{display:grid;gap:10px;color:#dce9ff;font-size:15px}.footer-v53 .footer-contact span{display:flex;gap:8px;align-items:center}
.footer-v53 h4{font-size:18px;color:#fff;margin:0 0 18px;font-weight:900;letter-spacing:.2px;text-transform:uppercase}
.footer-service-list-v53{display:grid;gap:12px}.footer-service-list-v53 .footer-service{display:flex;gap:13px;align-items:flex-start;padding:14px 15px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.055);color:#fff;text-decoration:none;transition:.18s ease;min-height:64px}.footer-service-list-v53 .footer-service:hover{transform:translateY(-2px);background:rgba(37,99,235,.22);border-color:rgba(96,165,250,.45)}.footer-service-icon{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#6d5dfc,#00b7ff);display:grid;place-items:center;flex:0 0 38px}.footer-service-text{display:grid;gap:3px;line-height:1.35}.footer-service-text b{font-size:15.5px}.footer-service-text small{color:#bfd1ea;font-size:13px;font-weight:500}
.donate-v53{border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.14);padding:18px;margin-bottom:22px}.donate-v53 .donate-footer-info{display:grid;gap:5px;margin-bottom:14px}.donate-v53 .donate-footer-info strong{font-size:17px;color:#fff}.donate-v53 .donate-footer-info span{color:#bfd1ea;font-size:14px}.donate-open-btn{width:100%;border:0;border-radius:999px;background:linear-gradient(135deg,#24c46b,#1594db);color:#fff;font-weight:900;padding:13px 16px;cursor:pointer;box-shadow:0 14px 35px rgba(21,148,219,.25);font-size:15px}.donate-open-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}.footer-links-compact{display:flex;flex-wrap:wrap;gap:10px}.footer-links-compact a{color:#dce9ff;text-decoration:none;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:8px 12px;font-size:13.5px}.footer-links-compact a:hover{background:rgba(37,99,235,.25);color:#fff}.footer-bottom{margin-top:46px;border-top:1px solid rgba(255,255,255,.12);padding:18px 0;display:flex;justify-content:space-between;gap:16px;color:#a9bdd9;font-size:14px}
@media(max-width:768px){.footer-v53{display:none!important}}
body.donate-modal-open{overflow:hidden}.donate-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px}.donate-modal.show{display:flex}.donate-modal-backdrop{position:absolute;inset:0;background:rgba(2,12,27,.68);backdrop-filter:blur(8px)}.donate-modal-card{position:relative;width:min(620px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:26px;padding:28px;box-shadow:0 30px 100px rgba(0,0,0,.35);border:1px solid #e8eef7}.donate-modal-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border:0;border-radius:12px;background:#f2f6ff;color:#10213d;font-size:25px;line-height:1;cursor:pointer}.donate-modal-close:hover{background:#e8efff}.donate-modal-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px}.donate-heart{width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#10b981,#0ea5e9);display:grid;place-items:center;color:#fff;font-size:26px;flex:0 0 54px}.donate-modal-head h3{margin:0 0 6px;color:#071d36;font-size:25px;font-weight:900}.donate-modal-head p{margin:0;color:#5d6b82;line-height:1.6}.donate-amount-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.donate-modal-amount{border:1px solid #dce7f7;background:#f8fbff;color:#123764;border-radius:15px;padding:14px 12px;font-weight:900;cursor:pointer}.donate-modal-amount:hover,.donate-modal-amount.active{border-color:#2563eb;background:#eaf2ff;color:#0b5cff;box-shadow:0 10px 22px rgba(37,99,235,.12)}.donate-custom-label{display:block;color:#233854;font-weight:800;margin:18px 0 8px}.donate-custom-row{display:grid;grid-template-columns:1fr auto;gap:12px}.donate-custom-input{height:48px;border:1px solid #d7e2f1;border-radius:14px;padding:0 15px;font-size:16px;font-weight:800;outline:none}.donate-custom-input:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}.donate-create-qr{border:0;border-radius:14px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-weight:900;padding:0 20px;cursor:pointer}.donate-qr-result{margin-top:22px;border-radius:22px;background:linear-gradient(180deg,#f8fbff,#eef6ff);border:1px solid #dce9f8;padding:18px;text-align:center}.donate-qr-frame{display:inline-flex;background:#fff;border-radius:18px;padding:12px;box-shadow:0 12px 35px rgba(15,23,42,.12)}.donate-qr-frame img{display:block;width:260px;height:260px;object-fit:contain}.donate-bank-info{display:grid;gap:5px;margin:14px 0;color:#10213d}.donate-bank-info b{font-size:16px}.donate-bank-info span{color:#52657d;font-weight:700}.donate-open-large{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#0b5cff;color:#fff;text-decoration:none;font-weight:900;padding:11px 18px;margin-top:6px}@media(max-width:560px){.donate-modal{padding:12px}.donate-modal-card{border-radius:20px;padding:22px}.donate-amount-grid{grid-template-columns:repeat(2,1fr)}.donate-custom-row{grid-template-columns:1fr}.donate-create-qr{height:48px}.donate-qr-frame img{width:220px;height:220px}}


/* V5.4 - Software form giống Posts + Secret admin */
.nav-admin{display:none!important}
.software-form-shell .post-edit-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start}
.software-form-shell .post-main-col>.post-card:first-child{padding:24px 26px 18px}
.software-form-shell .post-card-title h2{font-size:17px;letter-spacing:-.01em}
.software-form-shell .post-input,.software-form-shell .post-select,.software-form-shell .post-textarea{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;font-size:14px;color:#0b1f44}
.software-form-shell .post-textarea{resize:vertical;min-height:110px}
.software-form-shell .image-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.software-form-shell .post-image-row{display:grid;grid-template-columns:1fr 245px;gap:14px}
.software-form-shell .image-drop,.software-form-shell .image-preview-box{height:182px}
.software-form-shell .publish-card .save-main{width:100%;min-height:50px;border-radius:14px;font-size:15px}
.software-form-shell .save-secondary{width:100%;margin-top:10px;min-height:44px}
.software-form-shell .side-card .side-field{margin-bottom:14px}
.software-form-shell .side-card small{display:block;margin-top:7px;color:#64748b;font-size:12px;word-break:break-word}
.software-form-shell .editor-note{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:10px 12px}
.software-form-shell .check-line{font-size:13px;color:#475569;margin-top:10px}
.software-form-shell .status-chip{margin-top:12px;width:100%}
.software-form-shell .field-help b{font-variant-numeric:tabular-nums}
.software-form-shell .slug-wrap span{max-width:260px;overflow:hidden;text-overflow:ellipsis}
.software-form-shell .full-editor-box .html-editor{min-height:300px}
.software-form-shell .seo-card{margin-bottom:95px}
.software-form-shell .post-sticky-actions{left:240px}
.admin-secret-note{display:inline-flex;align-items:center;gap:8px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px}
@media(max-width:1180px){.software-form-shell .post-edit-grid{grid-template-columns:1fr}.software-form-shell .post-side-col{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.software-form-shell .post-side-col .post-card{margin-bottom:0}.software-form-shell .post-sticky-actions{left:0}}
@media(max-width:760px){.software-form-shell .post-side-col{display:block}.software-form-shell .image-summary-grid{grid-template-columns:1fr}.software-form-shell .post-image-row{grid-template-columns:1fr}.software-form-shell .post-sticky-actions{left:0;right:0;overflow:auto;padding:10px}.software-form-shell .post-sticky-actions .btn{white-space:nowrap}.software-form-shell .seo-card{margin-bottom:110px}}

/* V5.9 Email download/subscriber */
.email-download-box{margin-top:22px;padding:18px;border:1px solid #dbeafe;background:linear-gradient(180deg,#f8fbff,#eef6ff);border-radius:18px;box-shadow:0 10px 26px rgba(37,99,235,.08)}
.email-download-box h2{margin:0 0 6px;font-size:20px;color:#0f172a}.email-download-box p{margin:0 0 14px;color:#475569;line-height:1.55}.email-download-box form{display:flex;gap:10px;align-items:center}.email-download-box input{flex:1;height:48px;border:1px solid #cfe0f5;border-radius:14px;padding:0 14px;font-weight:600;background:#fff;outline:none}.email-download-box input:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}.email-download-box button{height:48px;border:0;border-radius:14px;padding:0 18px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-weight:800;cursor:pointer}.email-download-box button:disabled{opacity:.65;cursor:wait}.email-download-msg{margin-top:10px;font-weight:700}.email-download-msg.success{color:#15803d}.email-download-msg.error{color:#dc2626}@media(max-width:640px){.email-download-box form{flex-direction:column}.email-download-box input,.email-download-box button{width:100%}}

/* V6.0 PRO FRONT-END SYNC */
:root{--pro-blue:#2563eb;--pro-blue2:#0ea5e9;--pro-ink:#0f2147;--pro-line:#dbe7f5;--pro-soft:#f5f9ff;--pro-shadow:0 16px 42px rgba(15,35,68,.08)}
.pro-search,.search-box{display:flex!important;align-items:center;gap:10px;background:#fff;border:1px solid rgba(255,255,255,.35);border-radius:18px;padding:8px;box-shadow:0 18px 45px rgba(2,14,41,.18);max-width:720px;margin-top:22px}.pro-search input,.search-box input{flex:1;border:0!important;outline:0!important;border-radius:14px!important;padding:15px 16px!important;font-size:16px!important;color:#10264b;background:#f8fbff!important}.pro-search input:focus,.search-box input:focus{box-shadow:inset 0 0 0 2px rgba(37,99,235,.18)!important}.search-btn,.search-box button{min-width:138px;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;font-weight:900!important;height:50px!important;box-shadow:0 12px 28px rgba(37,99,235,.28)!important}.search-btn:hover,.search-box button:hover{transform:translateY(-1px);filter:brightness(.98)}
.services-home{border:0;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:var(--pro-shadow)}.services-home .section-title h2:before{content:'🚀 ';}.service-grid{align-items:stretch}.service-card{border-color:#e5eef9!important}.service-card .service-icon{box-shadow:inset 0 0 0 1px rgba(37,99,235,.08)}
.important-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.important-card{display:block;border:1px solid var(--pro-line);border-radius:18px;padding:15px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 24px rgba(15,35,68,.05);transition:.18s}.important-card:hover{transform:translateY(-2px);box-shadow:var(--pro-shadow)}.important-card b{display:block;color:#0f2147;margin-bottom:5px}.important-card span{display:block;color:#64748b;font-size:13px;line-height:1.45}
.footer-service.empty{display:none!important}.footer-service-list-v53{min-height:0!important}.footer-service-list-v53 .footer-service{opacity:1!important;visibility:visible!important}.footer-three-cols .footer-service-text{display:flex!important;flex-direction:column}.footer-three-cols .footer-service-text small{font-size:12px;line-height:1.35;color:#bcd0ec;margin-top:3px}.nav-admin{display:none!important}.nav a[href*="admin"]{display:none!important}
@media(max-width:980px){.important-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.pro-search,.search-box{flex-direction:column;align-items:stretch}.search-btn,.search-box button{width:100%;min-width:0}.important-grid{grid-template-columns:1fr}}

/* V6.1 professional frontend fixes */
.header .nav a:nth-child(3){display:inline-flex!important}.nav a[href*="tin-tuc"]{display:inline-flex!important}.nav a[href*="admin"]{display:none!important}
.home-hero-pro{background:radial-gradient(circle at 80% 10%,rgba(6,182,212,.55),transparent 30%),linear-gradient(135deg,#0b1b36 0%,#1455d9 55%,#06b6d4 100%);padding:56px 0}.home-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px;align-items:center}.hero-badge{display:inline-flex;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-weight:800;margin-bottom:14px}.hero-stat-card{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25);border-radius:24px;padding:24px;backdrop-filter:blur(10px);box-shadow:0 24px 60px rgba(0,0,0,.18)}.hero-stat-card b{font-size:48px;display:block;color:#fff}.hero-stat-card span{font-weight:900;font-size:18px}.hero-stat-card small{display:block;margin-top:8px;opacity:.82}.home-layout{margin-top:28px}.home-soft-card{border:1px solid #e5eef9!important;transition:.22s}.home-soft-card:hover{transform:translateY(-3px);box-shadow:0 22px 60px rgba(15,35,68,.12)}
.footer-services-col{scroll-margin-top:90px}.footer-service-ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.footer-service-ul li{margin:0;padding:0;border:0!important;background:transparent!important}.footer-service-ul a,.footer-service-ul li>span{display:block!important;padding:4px 0 4px 18px;position:relative;color:#eaf3ff!important;font-weight:800;text-decoration:none;line-height:1.35}.footer-service-ul a:before,.footer-service-ul li>span:before{content:'›';position:absolute;left:0;top:4px;color:#60a5fa;font-weight:900}.footer-service-ul small{display:block!important;color:#aebfda!important;font-size:12.5px;font-weight:500;margin-top:2px;line-height:1.35}.footer-service-ul a:hover{color:#fff!important;transform:translateX(3px)}.footer-service-ul .footer-service-name{display:inline!important;width:auto!important;height:auto!important;background:transparent!important;border-radius:0!important;padding:0!important}
.pro-search{border-radius:22px!important;padding:10px!important}.pro-search input{height:54px!important}.search-btn{height:54px!important;border-radius:16px!important;letter-spacing:.01em}.software-hero .pro-search{box-shadow:0 18px 45px rgba(2,14,41,.15)!important}
@media(max-width:900px){.home-hero-inner{grid-template-columns:1fr}.hero-stat-card{display:none}.service-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.service-grid{grid-template-columns:1fr}.home-hero-pro{padding:38px 0}.hero h1{font-size:31px}.pro-search input{height:50px!important}.search-btn{height:50px!important}}

/* v6.2 - news list/front-end polish */
.page-hero{background:linear-gradient(180deg,#f8fbff,#eef4fb);padding:34px 0 28px;border-bottom:1px solid #e7eef7}
.page-hero h1{margin:8px 0 8px;color:#0b1f44;font-size:clamp(30px,4vw,52px);line-height:1.12;letter-spacing:-.03em;font-weight:950;max-width:980px}
.page-hero p{margin:0;color:#607087;font-size:17px;max-width:760px}.news-layout{align-items:start}.news-grid-list{display:grid;gap:16px}.pro-news-card{align-items:center;border-radius:22px;border:1px solid #e5edf7;box-shadow:0 14px 36px rgba(15,23,42,.06);transition:.2s}.pro-news-card:hover{transform:translateY(-2px);box-shadow:0 24px 58px rgba(15,35,68,.12)}.pro-news-card .news-thumb{display:block}.pro-news-card h2{font-size:22px;line-height:1.28;margin:5px 0 8px;color:#0b1f44}.pro-news-card p{margin:0 0 14px;color:#53647a}.news-cat{display:inline-flex;background:#eef4ff;color:#2563eb;border-radius:999px;padding:5px 10px;font-weight:800}.category-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.category-pills a{display:inline-flex;border:1px solid #dbe8f7;background:#fff;color:#17406f;border-radius:999px;padding:9px 14px;font-weight:800;box-shadow:0 8px 20px rgba(15,23,42,.04)}.empty-state{text-align:center;padding:34px!important}.empty-state h2{color:#0b1f44;margin:0 0 8px}.empty-state p{color:#5b6b82;max-width:680px;margin:0 auto}.footer-service-ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:8px}.footer-service-ul li{margin:0!important;padding:0!important}.footer-service-ul a{display:block!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#d9e8ff!important}.footer-service-ul a:before{content:'›';display:inline-block;margin-right:8px;color:#38bdf8;font-weight:900}.footer-service-name{font-weight:850}.footer-service-ul small{display:block;margin-left:16px;color:#9fb3cf;font-size:12px;line-height:1.45}.footer-service-ul li span:not(.footer-service-name){color:#d9e8ff}.header .nav a[href$="tin-tuc"]{display:inline-flex!important}
@media(max-width:760px){.page-hero{padding:26px 0 22px}.page-hero h1{font-size:36px;line-height:1.18;word-break:normal;overflow-wrap:break-word}.page-hero p{font-size:15px}.category-pills{display:none}.article-card.pro-news-card{grid-template-columns:1fr!important}.article-card.pro-news-card img{width:100%!important;height:auto!important;aspect-ratio:16/9}.layout.news-layout{margin-top:18px}.topbar{text-align:center}.header-inner{flex-direction:row!important;align-items:center!important}.logo{font-size:21px}.mobile-menu-btn{margin-left:auto}.footer-v53,.footer-three-cols{display:none!important}}

/* V6.4 Footer services alignment fix - simple clean <li> */
.footer-v53 .footer-services-col h4{margin-bottom:16px!important;display:flex;align-items:center;gap:8px}
.footer-v53 .footer-service-ul{list-style:none!important;margin:0!important;padding:0!important;display:block!important}
.footer-v53 .footer-service-ul li{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.footer-v53 .footer-service-ul li + li{margin-top:10px!important}
.footer-v53 .footer-service-ul a,
.footer-v53 .footer-service-ul li>span{display:flex!important;align-items:center!important;gap:10px!important;min-height:28px!important;padding:6px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#eaf3ff!important;text-decoration:none!important;font-weight:800!important;line-height:1.35!important;transition:.18s ease!important}
.footer-v53 .footer-service-ul a:before,
.footer-v53 .footer-service-ul li>span:before{content:'›'!important;position:static!important;left:auto!important;top:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;min-width:18px!important;border-radius:999px!important;background:rgba(96,165,250,.14)!important;color:#7dd3fc!important;font-size:16px!important;font-weight:900!important;line-height:1!important;margin:0!important;transform:none!important}
.footer-v53 .footer-service-ul a:hover{color:#fff!important;transform:translateX(3px)!important}
.footer-v53 .footer-service-ul .footer-service-name{display:inline!important;width:auto!important;height:auto!important;padding:0!important;background:transparent!important;border:0!important;font-weight:850!important;line-height:1.35!important}
.footer-v53 .footer-service-ul small{display:none!important}
.footer-v53 .footer-service-ul li>span small{display:none!important}
.footer-v53 .footer-service-ul li span:not(.footer-service-name){color:#eaf3ff!important}
@media(max-width:768px){.footer-v53,.footer-three-cols{display:none!important}}

/* V7.0 Enterprise polish */
:root{--v7-primary:#2563eb;--v7-dark:#071b35;--v7-text:#0b1f44;--v7-muted:#64748b;--v7-line:#dce8f7;--v7-card:#ffffff;--v7-radius:22px}
body{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.header{backdrop-filter:saturate(160%) blur(14px);background:rgba(255,255,255,.94);box-shadow:0 1px 0 rgba(15,23,42,.08)}
.header .nav a{font-weight:850;border-radius:999px;padding:10px 13px;color:#0f2147}.header .nav a:hover{background:#eef5ff;color:#2563eb}.header .nav a[href*="admin"]{display:none!important}
.mobile-menu-btn{border:1px solid #e1ebf7;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.08)}
.home-hero-pro,.hero{overflow:hidden}.home-hero-pro:after{content:"";position:absolute;inset:auto -10% -25% 45%;height:260px;background:radial-gradient(circle,rgba(255,255,255,.26),transparent 62%);pointer-events:none}.section-title h2,.page-hero h1{letter-spacing:-.035em}.card,.article-card,.software-card,.service-card{border-radius:var(--v7-radius);border-color:var(--v7-line);box-shadow:0 16px 42px rgba(15,35,68,.07)}
.pro-search,.searchbox,.search-box{box-shadow:0 18px 50px rgba(15,35,68,.12)!important}.search-btn,.searchbox button,.search-box button{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;border:0!important;color:#fff!important;font-weight:950!important}
/* Footer V7: 3 columns desktop, hidden mobile, simple li */
.footer-v53{background:linear-gradient(135deg,#071b35,#092544)!important;color:#eaf3ff}.footer-grid-3{display:grid;grid-template-columns:1.25fr .9fr 1fr;gap:46px;align-items:start}.footer-v53 h4{font-size:18px;font-weight:950;letter-spacing:.01em;text-transform:uppercase;margin:0 0 16px;color:#fff}.footer-service-ul{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:10px!important}.footer-service-ul li{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.footer-service-ul a,.footer-service-ul li>span{display:flex!important;align-items:center!important;gap:9px!important;padding:4px 0!important;min-height:26px!important;color:#eaf3ff!important;text-decoration:none!important;font-weight:850!important;line-height:1.35!important;background:transparent!important;border:0!important;box-shadow:none!important}.footer-service-ul a:before,.footer-service-ul li>span:before{content:"•"!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;width:14px!important;min-width:14px!important;height:14px!important;line-height:1!important;margin:0!important;background:transparent!important;color:#38bdf8!important;font-size:20px!important;font-weight:900!important}.footer-service-ul .footer-service-name{display:inline!important;background:transparent!important;padding:0!important;border:0!important;line-height:1.35!important}.footer-service-ul small{display:none!important}.footer-service-ul a:hover{color:#fff!important;transform:translateX(3px)!important}.footer-links-compact{display:grid;gap:8px}.footer-links-compact a{color:#dcecff;text-decoration:none;font-weight:800}.footer-links-compact a:hover{color:#fff}.donate-footer-box{border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:16px}.donate-open-btn{border-radius:999px;background:linear-gradient(135deg,#10b981,#0ea5e9);color:#fff;border:0;font-weight:950;padding:11px 16px}
@media(max-width:768px){.footer-v53,.footer-three-cols{display:none!important}.page-hero{min-height:auto!important}.page-hero h1{font-size:32px!important;line-height:1.18!important}.header .nav{display:none}.header.menu-open .nav{display:flex!important;position:fixed;left:16px;right:16px;top:92px;z-index:80;flex-direction:column;padding:16px;background:#fff;border:1px solid #dbe7f7;border-radius:22px;box-shadow:0 30px 80px rgba(15,23,42,.18)}.header.menu-open .nav a{display:flex!important;padding:13px 14px}.header.menu-open .nav a[href*="admin"]{display:none!important}}
/* Admin V7 controls */
.admin-main input,.admin-main select,.admin-main textarea,.fs-input,.fs-select,.fs-textarea,.post-input,.post-select,.post-textarea{border-radius:16px!important;border-color:#dbe7f7!important;background:#fff!important}.fs-btn,.btn,button{border-radius:14px}.fs-card,.post-card{border-radius:24px!important;box-shadow:0 18px 50px rgba(15,23,42,.07)!important}


/* V7.1 Enterprise mobile menu + mobile copyright footer */
.mobile-footer-copy{display:none}
@media(max-width:768px){
  .header{position:sticky;top:0;z-index:90;background:#fff}
  .header-inner{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;padding:14px 12px!important}
  .mobile-menu-btn{display:inline-flex!important;width:56px!important;height:56px!important;border-radius:22px!important;background:#fff!important;border:1px solid #e5edf8!important;box-shadow:0 16px 40px rgba(15,23,42,.12)!important;margin-left:auto!important}
  .nav{display:none!important}
  body.menu-open .menu-backdrop{display:block!important}
  body.menu-open .header .nav{display:flex!important;position:fixed!important;left:16px!important;right:16px!important;top:112px!important;z-index:120!important;flex-direction:column!important;gap:6px!important;padding:14px!important;background:#fff!important;border:1px solid #dbe7f7!important;border-radius:24px!important;box-shadow:0 30px 90px rgba(15,23,42,.22)!important}
  body.menu-open .header .nav a{display:flex!important;align-items:center!important;min-height:46px!important;padding:12px 14px!important;border-radius:15px!important;font-weight:850!important;color:#0b1f44!important;background:#f8fbff!important}
  body.menu-open .header .nav a:hover{background:#eef5ff!important;color:#2563eb!important}
  body.menu-open .header .nav a[href*="admin"]{display:none!important}
  .footer-v53,.footer-three-cols{display:none!important}
  .mobile-footer-copy{display:block!important;text-align:center;background:#071b35;color:#b9c9df;font-size:12px;line-height:1.45;padding:12px 14px;margin-top:28px;border-top:1px solid rgba(255,255,255,.08)}
  .topbar{font-size:13px;padding:8px 0;text-align:center;background:#071426;color:#fff}
  .logo{display:flex!important;align-items:center!important;gap:10px!important;font-size:23px!important;white-space:nowrap!important}
}

/* V7.3 FIX: Mobile dropdown menu professional, no overlap, no ghost "Menu" text */
@media (max-width: 768px){
  html,body{overflow-x:hidden!important;}
  .topbar{position:relative!important;z-index:100!important;text-align:center!important;font-size:13px!important;line-height:1.4!important;padding:8px 12px!important;}
  .header{position:sticky!important;top:0!important;z-index:110!important;background:#fff!important;border-bottom:1px solid #e5edf8!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important;}
  .header-inner{height:auto!important;min-height:86px!important;padding:14px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
  .logo{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;font-size:23px!important;font-weight:950!important;color:#2563eb!important;line-height:1!important;}
  .logo-mark{width:46px!important;height:46px!important;border-radius:16px!important;flex:0 0 46px!important;}
  .logo span:last-child{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mobile-menu-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:6px!important;width:58px!important;height:58px!important;min-width:58px!important;border-radius:22px!important;background:#fff!important;border:1px solid #e5edf8!important;box-shadow:0 16px 40px rgba(15,23,42,.12)!important;position:relative!important;z-index:140!important;margin-left:auto!important;}
  .mobile-menu-btn span{width:24px!important;height:3px!important;border-radius:999px!important;background:#0b1f44!important;display:block!important;}
  .mobile-menu-btn.active span:nth-child(1){transform:translateY(9px) rotate(45deg)!important;}
  .mobile-menu-btn.active span:nth-child(2){opacity:0!important;}
  .mobile-menu-btn.active span:nth-child(3){transform:translateY(-9px) rotate(-45deg)!important;}
  .menu-backdrop{display:none!important;position:fixed!important;inset:0!important;background:rgba(15,23,42,.45)!important;z-index:105!important;backdrop-filter:blur(3px)!important;}
  body.menu-open .menu-backdrop{display:block!important;}
  body.menu-open{overflow:hidden!important;}

  /* Reset all old off-canvas rules */
  .header .nav,
  body.menu-open .header .nav,
  .header.menu-open .nav{
    position:fixed!important;
    left:16px!important;
    right:16px!important;
    top:118px!important;
    width:auto!important;
    height:auto!important;
    max-height:calc(100vh - 140px)!important;
    overflow-y:auto!important;
    z-index:130!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
    margin:0!important;
    padding:14px!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid #dbe7f7!important;
    border-radius:26px!important;
    box-shadow:0 28px 90px rgba(15,23,42,.28)!important;
    transform:none!important;
    transition:none!important;
  }
  body.menu-open .header .nav{display:flex!important;}
  .header .nav:before,
  body.menu-open .header .nav:before,
  .nav::before{content:none!important;display:none!important;}
  .header .nav a,
  body.menu-open .header .nav a{
    width:100%!important;
    min-height:58px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    margin:0!important;
    padding:0 18px!important;
    background:#f8fbff!important;
    border:1px solid #e8eef8!important;
    border-radius:18px!important;
    box-shadow:0 8px 22px rgba(15,23,42,.045)!important;
    color:#0b1f44!important;
    font-size:18px!important;
    font-weight:900!important;
    line-height:1.2!important;
    text-decoration:none!important;
    transform:none!important;
  }
  .header .nav a::after{content:'›'!important;font-size:30px!important;line-height:1!important;color:#94a3b8!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
  .header .nav a:hover,.header .nav a:focus{background:#eef6ff!important;color:#2563eb!important;border-color:#bfdbfe!important;}
  .header .nav a[href*="admin"],
  .header .nav a[href*="quan-tri"]{display:none!important;}
}

@media (max-width: 420px){
  .header .nav,body.menu-open .header .nav{left:14px!important;right:14px!important;top:112px!important;padding:12px!important;border-radius:24px!important;gap:9px!important;}
  .header .nav a,body.menu-open .header .nav a{min-height:56px!important;font-size:17px!important;border-radius:16px!important;padding:0 16px!important;}
  .header-inner{min-height:82px!important;padding:12px 12px!important;}
  .logo{font-size:22px!important;}
  .logo-mark{width:44px!important;height:44px!important;flex-basis:44px!important;}
  .mobile-menu-btn{width:56px!important;height:56px!important;min-width:56px!important;}
}

/* V7.5 FINAL: Sticky mobile header/menu - keep visible while scrolling */
@media (max-width: 768px){
  :root{--mobile-topbar-h:32px;--mobile-header-h:86px;--mobile-fixed-offset:118px;}
  html,body{overflow-x:hidden!important;scroll-padding-top:calc(var(--mobile-fixed-offset) + 12px)!important;}
  body{padding-top:var(--mobile-fixed-offset)!important;}
  .topbar{
    position:fixed!important;left:0!important;right:0!important;top:0!important;width:100%!important;
    height:var(--mobile-topbar-h)!important;min-height:var(--mobile-topbar-h)!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    z-index:9990!important;margin:0!important;padding:0 12px!important;
    background:#071426!important;color:#fff!important;text-align:center!important;
    font-size:13px!important;font-weight:750!important;line-height:1.25!important;
    box-shadow:0 1px 0 rgba(255,255,255,.08)!important;
  }
  .topbar .container{width:100%!important;padding:0!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;}
  .header{
    position:fixed!important;left:0!important;right:0!important;top:var(--mobile-topbar-h)!important;width:100%!important;
    height:var(--mobile-header-h)!important;min-height:var(--mobile-header-h)!important;
    z-index:9991!important;margin:0!important;background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #e5edf8!important;box-shadow:0 10px 32px rgba(15,23,42,.08)!important;
    backdrop-filter:saturate(160%) blur(14px)!important;-webkit-backdrop-filter:saturate(160%) blur(14px)!important;
  }
  body.mobile-scrolled .header{box-shadow:0 16px 38px rgba(15,23,42,.14)!important;}
  .header .container,.header-inner{height:100%!important;}
  .header-inner{min-height:0!important;padding:12px 14px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
  .logo{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;font-size:23px!important;font-weight:950!important;color:#2563eb!important;line-height:1!important;}
  .logo-mark{width:46px!important;height:46px!important;border-radius:16px!important;flex:0 0 46px!important;display:inline-grid!important;place-items:center!important;}
  .logo span:last-child{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mobile-menu-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:6px!important;width:56px!important;height:56px!important;min-width:56px!important;border-radius:22px!important;background:#fff!important;border:1px solid #e5edf8!important;box-shadow:0 12px 28px rgba(15,23,42,.12)!important;position:relative!important;z-index:10010!important;margin-left:auto!important;}
  .mobile-menu-btn span{width:23px!important;height:3px!important;border-radius:999px!important;background:#0b1f44!important;display:block!important;transition:.2s!important;}
  .mobile-menu-btn.active span:nth-child(1){transform:translateY(9px) rotate(45deg)!important;}
  .mobile-menu-btn.active span:nth-child(2){opacity:0!important;}
  .mobile-menu-btn.active span:nth-child(3){transform:translateY(-9px) rotate(-45deg)!important;}
  .menu-backdrop{display:none!important;position:fixed!important;inset:0!important;background:rgba(15,23,42,.48)!important;z-index:9988!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important;}
  body.menu-open .menu-backdrop{display:block!important;}
  body.menu-open{overflow:hidden!important;}
  .header .nav,
  body.menu-open .header .nav,
  .header.menu-open .nav{
    position:fixed!important;left:16px!important;right:16px!important;top:calc(var(--mobile-fixed-offset) + 12px)!important;
    width:auto!important;height:auto!important;max-height:calc(100vh - var(--mobile-fixed-offset) - 28px)!important;overflow-y:auto!important;
    z-index:1000!important;display:none!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;
    margin:0!important;padding:14px!important;background:rgba(255,255,255,.99)!important;border:1px solid #dbe7f7!important;border-radius:24px!important;
    box-shadow:0 28px 90px rgba(15,23,42,.30)!important;transform:none!important;transition:none!important;
  }
  body.menu-open .header .nav{display:flex!important;}
  .header .nav:before,.nav::before{content:none!important;display:none!important;}
  .header .nav a,body.menu-open .header .nav a{
    width:100%!important;min-height:56px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
    margin:0!important;padding:0 18px!important;background:#f8fbff!important;border:1px solid #e8eef8!important;border-radius:18px!important;
    box-shadow:0 8px 22px rgba(15,23,42,.045)!important;color:#0b1f44!important;font-size:18px!important;font-weight:900!important;line-height:1.2!important;text-decoration:none!important;transform:none!important;
  }
  .header .nav a::after{content:'›'!important;font-size:28px!important;line-height:1!important;color:#94a3b8!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
  .header .nav a:hover,.header .nav a:focus{background:#eef6ff!important;color:#2563eb!important;border-color:#bfdbfe!important;}
  .header .nav a[href*="admin"],.header .nav a[href*="quan-tri"]{display:none!important;}
}
@media (max-width:420px){
  :root{--mobile-topbar-h:30px;--mobile-header-h:84px;--mobile-fixed-offset:114px;}
  .header .nav,body.menu-open .header .nav{left:14px!important;right:14px!important;top:calc(var(--mobile-fixed-offset) + 10px)!important;padding:12px!important;border-radius:22px!important;gap:9px!important;}
  .header .nav a,body.menu-open .header .nav a{min-height:54px!important;font-size:17px!important;border-radius:16px!important;padding:0 16px!important;}
  .logo{font-size:22px!important;}.logo-mark{width:44px!important;height:44px!important;flex-basis:44px!important;}
}

/* V7.7 HOME MOBILE MENU FINAL - fixed header + dropdown fits all mobile pages */
@media (max-width: 768px){
  :root{--mobile-topbar-h:32px;--mobile-header-h:84px;--mobile-fixed-offset:116px;--mobile-menu-gap:0px;}
  html{overflow-x:hidden!important;scroll-padding-top:calc(var(--mobile-fixed-offset) + 12px)!important;}
  body{overflow-x:hidden!important;padding-top:var(--mobile-fixed-offset)!important;}
  .topbar{
    position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;
    height:var(--mobile-topbar-h)!important;min-height:var(--mobile-topbar-h)!important;
    z-index:1001!important;display:flex!important;align-items:center!important;justify-content:center!important;
    margin:0!important;padding:0 10px!important;background:#071426!important;color:#fff!important;
    text-align:center!important;font-size:12.5px!important;font-weight:800!important;line-height:1.2!important;
  }
  .topbar .container{width:100%!important;max-width:none!important;padding:0 8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .header{
    position:fixed!important;top:var(--mobile-topbar-h)!important;left:0!important;right:0!important;width:100%!important;
    height:var(--mobile-header-h)!important;min-height:var(--mobile-header-h)!important;z-index:20001!important;
    margin:0!important;background:rgba(255,255,255,.985)!important;border-bottom:1px solid #e5edf8!important;
    box-shadow:0 10px 28px rgba(15,23,42,.08)!important;backdrop-filter:saturate(160%) blur(14px)!important;-webkit-backdrop-filter:saturate(160%) blur(14px)!important;
  }
  body.mobile-scrolled .header{box-shadow:0 14px 34px rgba(15,23,42,.14)!important;}
  .header .container,.header-inner{height:100%!important;max-width:none!important;}
  .header-inner{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 14px!important;margin:0!important;}
  .logo{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;max-width:calc(100vw - 92px)!important;font-size:21px!important;font-weight:950!important;line-height:1.05!important;color:#2563eb!important;}
  .logo-mark{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important;border-radius:15px!important;display:inline-grid!important;place-items:center!important;}
  .logo span:last-child{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mobile-menu-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;width:52px!important;height:52px!important;min-width:52px!important;border-radius:18px!important;background:#fff!important;border:1px solid #dbe7f7!important;box-shadow:0 12px 26px rgba(15,23,42,.10)!important;position:relative!important;z-index:20004!important;margin-left:auto!important;}
  .mobile-menu-btn span{display:block!important;width:23px!important;height:3px!important;border-radius:999px!important;background:#0b1f44!important;transition:transform .18s ease,opacity .18s ease!important;}
  .mobile-menu-btn.active span:nth-child(1){transform:translateY(8px) rotate(45deg)!important;}
  .mobile-menu-btn.active span:nth-child(2){opacity:0!important;}
  .mobile-menu-btn.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)!important;}

  .menu-backdrop{display:none!important;position:fixed!important;inset:0!important;background:rgba(15,23,42,.38)!important;z-index:19998!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important;}
  body.menu-open .menu-backdrop{display:block!important;}
  body.menu-open{overflow:hidden!important;}

  /* full-width dropdown under fixed header: fits homepage and all inner pages */
  .header .nav,
  body.menu-open .header .nav,
  .header.menu-open .nav{
    position:fixed!important;left:0!important;right:0!important;top:var(--mobile-fixed-offset)!important;width:100%!important;height:auto!important;
    max-height:calc(100vh - var(--mobile-fixed-offset) - 10px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;
    z-index:20002!important;display:none!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;
    margin:0!important;padding:12px 14px calc(14px + env(safe-area-inset-bottom))!important;background:#fff!important;border:0!important;border-top:1px solid #e5edf8!important;border-radius:0 0 24px 24px!important;
    box-shadow:0 28px 70px rgba(15,23,42,.22)!important;transform:none!important;transition:none!important;
  }
  body.menu-open .header .nav{display:flex!important;}
  .header .nav:before,.nav::before{content:none!important;display:none!important;}
  .header .nav a,body.menu-open .header .nav a{
    width:100%!important;min-height:50px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
    margin:0!important;padding:0 15px!important;background:#f8fbff!important;border:1px solid #e7eef8!important;border-radius:16px!important;
    box-shadow:none!important;color:#0b1f44!important;font-size:16.5px!important;font-weight:900!important;line-height:1.15!important;text-decoration:none!important;transform:none!important;
  }
  .header .nav a::after{content:'›'!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:10px!important;font-size:24px!important;line-height:1!important;color:#94a3b8!important;font-weight:900!important;}
  .header .nav a:hover,.header .nav a:focus{background:#eef6ff!important;color:#2563eb!important;border-color:#bfdbfe!important;}
  .header .nav a[href*="admin"],.header .nav a[href*="quan-tri"]{display:none!important;}
  .hero,.home-hero-pro,.page-hero{margin-top:0!important;}
}
@media (max-width:420px){
  :root{--mobile-topbar-h:30px;--mobile-header-h:78px;--mobile-fixed-offset:108px;}
  .logo{font-size:20px!important;max-width:calc(100vw - 86px)!important;}
  .logo-mark{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important;}
  .mobile-menu-btn{width:50px!important;height:50px!important;min-width:50px!important;border-radius:17px!important;}
  .header .nav,body.menu-open .header .nav{padding:10px 12px calc(12px + env(safe-area-inset-bottom))!important;border-radius:0 0 22px 22px!important;gap:7px!important;}
  .header .nav a,body.menu-open .header .nav a{min-height:48px!important;font-size:16px!important;border-radius:14px!important;padding:0 14px!important;}
}

/* =========================================================
   V8.1 PRO STABLE MOBILE HEADER/MENU FINAL
   - Replaces all old mobile fixed-header rules.
   - Header is sticky, not forced with JS body padding.
   - Menu drops down under header and never overflows viewport.
   ========================================================= */
@media (max-width: 768px){
  html, body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
    padding-top:0 !important;
    scroll-padding-top:86px !important;
  }
  body{padding-top:0 !important;}

  .topbar{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:8px 12px !important;
    z-index:30 !important;
    background:#071426 !important;
    color:#fff !important;
    text-align:center !important;
    font-size:12.5px !important;
    font-weight:800 !important;
    line-height:1.35 !important;
    box-shadow:none !important;
  }
  .topbar .container{
    width:100% !important;
    max-width:100% !important;
    padding:0 !important;
    margin:0 auto !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .header{
    position:sticky !important;
    top:0 !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    z-index:9999 !important;
    background:rgba(255,255,255,.985) !important;
    border-bottom:1px solid #e5edf8 !important;
    box-shadow:0 10px 28px rgba(15,23,42,.08) !important;
    backdrop-filter:saturate(160%) blur(12px) !important;
    -webkit-backdrop-filter:saturate(160%) blur(12px) !important;
    overflow:visible !important;
  }
  body.mobile-scrolled .header{
    box-shadow:0 14px 34px rgba(15,23,42,.15) !important;
  }

  .header.container,
  .header .container,
  .header-inner,
  .container.header-inner{
    width:100% !important;
    max-width:100% !important;
    height:76px !important;
    min-height:76px !important;
    max-height:76px !important;
    padding:0 12px !important;
    margin:0 !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    position:relative !important;
    overflow:visible !important;
    box-sizing:border-box !important;
  }

  .logo{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:calc(100vw - 86px) !important;
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    color:#2563eb !important;
    font-size:21px !important;
    font-weight:950 !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  .logo-mark{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    flex:0 0 42px !important;
    border-radius:15px !important;
    display:inline-grid !important;
    place-items:center !important;
    background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
    color:#fff !important;
    box-shadow:0 10px 22px rgba(37,99,235,.24) !important;
  }
  .logo span:last-child{
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .mobile-menu-btn{
    display:inline-flex !important;
    flex:0 0 50px !important;
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    max-width:50px !important;
    margin:0 !important;
    padding:0 !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:5px !important;
    border:1px solid #dbe7f7 !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 10px 24px rgba(15,23,42,.10) !important;
    position:relative !important;
    z-index:10002 !important;
    cursor:pointer !important;
  }
  .mobile-menu-btn span{
    width:22px !important;
    height:3px !important;
    border-radius:999px !important;
    background:#0b1f44 !important;
    display:block !important;
    transition:transform .18s ease,opacity .18s ease !important;
  }
  .mobile-menu-btn.active span:nth-child(1){transform:translateY(8px) rotate(45deg) !important;}
  .mobile-menu-btn.active span:nth-child(2){opacity:0 !important;}
  .mobile-menu-btn.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg) !important;}

  .menu-backdrop{
    display:none !important;
    position:fixed !important;
    inset:0 !important;
    z-index:9990 !important;
    background:rgba(15,23,42,.42) !important;
    backdrop-filter:blur(3px) !important;
    -webkit-backdrop-filter:blur(3px) !important;
  }
  body.menu-open .menu-backdrop{display:block !important;}
  body.menu-open{overflow:hidden !important; padding-top:0 !important;}

  .header .nav,
  body.menu-open .header .nav,
  .header.menu-open .nav{
    position:absolute !important;
    top:calc(100% + 10px) !important;
    left:12px !important;
    right:12px !important;
    width:auto !important;
    height:auto !important;
    max-height:calc(100vh - 104px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    z-index:10001 !important;
    display:none !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
    margin:0 !important;
    padding:12px !important;
    background:#fff !important;
    border:1px solid #dbe7f7 !important;
    border-radius:22px !important;
    box-shadow:0 26px 70px rgba(15,23,42,.26) !important;
    transform:none !important;
    transition:none !important;
    box-sizing:border-box !important;
  }
  body.menu-open .header .nav{display:flex !important;}
  .header .nav:before,
  .nav:before,
  .header .nav::before,
  .nav::before{content:none !important;display:none !important;}

  .header .nav a,
  body.menu-open .header .nav a{
    width:100% !important;
    min-height:50px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    margin:0 !important;
    padding:0 15px !important;
    background:#f8fbff !important;
    border:1px solid #e7eef8 !important;
    border-radius:16px !important;
    box-shadow:none !important;
    color:#0b1f44 !important;
    font-size:16.5px !important;
    font-weight:900 !important;
    line-height:1.15 !important;
    text-decoration:none !important;
    transform:none !important;
    box-sizing:border-box !important;
  }
  .header .nav a::after{
    content:'›' !important;
    margin-left:10px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#94a3b8 !important;
    font-size:24px !important;
    font-weight:900 !important;
    line-height:1 !important;
  }
  .header .nav a:hover,
  .header .nav a:focus{background:#eef6ff !important;color:#2563eb !important;border-color:#bfdbfe !important;}
  .header .nav a[href*="admin"],
  .header .nav a[href*="quan-tri"]{display:none !important;}

  .hero,.home-hero-pro,.page-hero{margin-top:0 !important;}
}
@media (max-width:420px){
  .header.container,
  .header .container,
  .header-inner,
  .container.header-inner{height:72px !important;min-height:72px !important;max-height:72px !important;padding:0 10px !important;}
  .logo{font-size:20px !important;max-width:calc(100vw - 78px) !important;}
  .logo-mark{width:40px !important;height:40px !important;min-width:40px !important;flex-basis:40px !important;}
  .mobile-menu-btn{width:48px !important;height:48px !important;min-width:48px !important;flex-basis:48px !important;border-radius:17px !important;}
  .header .nav,body.menu-open .header .nav{left:10px !important;right:10px !important;top:calc(100% + 8px) !important;padding:10px !important;border-radius:20px !important;}
  .header .nav a,body.menu-open .header .nav a{min-height:48px !important;font-size:16px !important;border-radius:15px !important;padding:0 14px !important;}
}

/* =========================================================
   V8.2 PRO STICKY MOBILE HEADER - FINAL OVERRIDE
   Fix: mobile homepage/header must stay fixed while scrolling.
   This block intentionally overrides all older V7/V8 mobile rules.
   ========================================================= */
@media (max-width: 768px){
  :root{
    --v82-topbar-h: 34px;
    --v82-header-h: 76px;
    --v82-total-h: calc(var(--v82-topbar-h) + var(--v82-header-h));
  }
  html, body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
    scroll-padding-top:calc(var(--v82-total-h) + 12px) !important;
  }
  body{
    padding-top:var(--v82-total-h) !important;
    min-width:0 !important;
  }

  .topbar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:auto !important;
    min-height:var(--v82-topbar-h) !important;
    max-height:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:7px 12px !important;
    z-index:50000 !important;
    background:#071426 !important;
    color:#fff !important;
    border:0 !important;
    box-shadow:0 4px 16px rgba(2,8,23,.12) !important;
    box-sizing:border-box !important;
    transform:none !important;
  }
  .topbar .container{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:0 !important;
    overflow:hidden !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
    text-align:center !important;
    font-size:13px !important;
    line-height:1.35 !important;
    font-weight:800 !important;
  }

  header.header,
  .header{
    position:fixed !important;
    top:var(--v82-topbar-h) !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-width:100% !important;
    height:var(--v82-header-h) !important;
    min-height:var(--v82-header-h) !important;
    max-height:var(--v82-header-h) !important;
    margin:0 !important;
    padding:0 !important;
    z-index:50001 !important;
    overflow:visible !important;
    background:rgba(255,255,255,.985) !important;
    border-bottom:1px solid #e5edf8 !important;
    box-shadow:0 10px 28px rgba(15,23,42,.10) !important;
    backdrop-filter:saturate(160%) blur(12px) !important;
    -webkit-backdrop-filter:saturate(160%) blur(12px) !important;
    transform:translateZ(0) !important;
    box-sizing:border-box !important;
  }
  body.mobile-scrolled header.header,
  body.mobile-scrolled .header{
    box-shadow:0 14px 34px rgba(15,23,42,.18) !important;
  }

  .header .container,
  .header-inner,
  .container.header-inner{
    width:100% !important;
    max-width:100% !important;
    height:var(--v82-header-h) !important;
    min-height:var(--v82-header-h) !important;
    max-height:var(--v82-header-h) !important;
    margin:0 !important;
    padding:0 14px !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    overflow:visible !important;
    box-sizing:border-box !important;
  }

  .logo{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:calc(100vw - 86px) !important;
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    color:#2563eb !important;
    text-decoration:none !important;
    font-size:22px !important;
    font-weight:950 !important;
    line-height:1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
  }
  .logo-mark{
    flex:0 0 44px !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    height:44px !important;
    min-height:44px !important;
    max-height:44px !important;
    display:inline-grid !important;
    place-items:center !important;
    border-radius:15px !important;
    background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
    color:#fff !important;
    box-shadow:0 10px 22px rgba(37,99,235,.24) !important;
  }
  .logo span:last-child{
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .mobile-menu-btn{
    display:inline-flex !important;
    flex:0 0 52px !important;
    width:52px !important;
    min-width:52px !important;
    max-width:52px !important;
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    margin:0 !important;
    padding:0 !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:5px !important;
    border:1px solid #dbe7f7 !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 10px 24px rgba(15,23,42,.12) !important;
    position:relative !important;
    z-index:50005 !important;
    cursor:pointer !important;
    box-sizing:border-box !important;
  }
  .mobile-menu-btn span{
    width:23px !important;
    height:3px !important;
    display:block !important;
    border-radius:999px !important;
    background:#0b1f44 !important;
    transition:transform .18s ease,opacity .18s ease !important;
  }
  .mobile-menu-btn.active span:nth-child(1){transform:translateY(8px) rotate(45deg) !important;}
  .mobile-menu-btn.active span:nth-child(2){opacity:0 !important;}
  .mobile-menu-btn.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg) !important;}

  .menu-backdrop{
    display:none !important;
    position:fixed !important;
    inset:0 !important;
    z-index:49990 !important;
    background:rgba(15,23,42,.42) !important;
    backdrop-filter:blur(3px) !important;
    -webkit-backdrop-filter:blur(3px) !important;
  }
  body.menu-open .menu-backdrop{display:block !important;}
  body.menu-open{overflow:hidden !important; padding-top:var(--v82-total-h) !important;}

  .header .nav,
  body.menu-open .header .nav,
  .header.menu-open .nav{
    position:fixed !important;
    top:calc(var(--v82-total-h) + 10px) !important;
    left:14px !important;
    right:14px !important;
    width:auto !important;
    height:auto !important;
    max-height:calc(100vh - var(--v82-total-h) - 24px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    z-index:50004 !important;
    display:none !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
    margin:0 !important;
    padding:12px !important;
    background:#fff !important;
    border:1px solid #dbe7f7 !important;
    border-radius:22px !important;
    box-shadow:0 26px 70px rgba(15,23,42,.28) !important;
    transform:none !important;
    transition:none !important;
    box-sizing:border-box !important;
  }
  body.menu-open .header .nav{display:flex !important;}
  .header .nav:before,
  .nav:before,
  .header .nav::before,
  .nav::before{content:none !important;display:none !important;}

  .header .nav a,
  body.menu-open .header .nav a{
    width:100% !important;
    min-height:52px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    margin:0 !important;
    padding:0 16px !important;
    background:#f8fbff !important;
    border:1px solid #e7eef8 !important;
    border-radius:16px !important;
    color:#0b1f44 !important;
    font-size:16.5px !important;
    font-weight:900 !important;
    line-height:1.15 !important;
    text-decoration:none !important;
    box-shadow:none !important;
    transform:none !important;
    box-sizing:border-box !important;
  }
  .header .nav a::after{
    content:'›' !important;
    margin-left:10px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#94a3b8 !important;
    font-size:24px !important;
    font-weight:900 !important;
    line-height:1 !important;
  }
  .header .nav a:hover,
  .header .nav a:focus{background:#eef6ff !important;color:#2563eb !important;border-color:#bfdbfe !important;}
  .header .nav a[href*="admin"],
  .header .nav a[href*="quan-tri"]{display:none !important;}

  .hero,
  .home-hero-pro,
  .page-hero,
  .section:first-of-type{margin-top:0 !important;}
}
@media (max-width:420px){
  :root{--v82-topbar-h:30px;--v82-header-h:72px;}
  .topbar{padding:6px 10px !important;}
  .topbar .container{font-size:12px !important;}
  .header .container,.header-inner,.container.header-inner{padding:0 10px !important;}
  .logo{font-size:20px !important;max-width:calc(100vw - 78px) !important;gap:8px !important;}
  .logo-mark{width:40px !important;min-width:40px !important;max-width:40px !important;height:40px !important;min-height:40px !important;max-height:40px !important;}
  .mobile-menu-btn{width:48px !important;min-width:48px !important;max-width:48px !important;height:48px !important;min-height:48px !important;max-height:48px !important;border-radius:17px !important;}
  .header .nav,body.menu-open .header .nav{left:10px !important;right:10px !important;top:calc(var(--v82-total-h) + 8px) !important;padding:10px !important;border-radius:20px !important;}
  .header .nav a,body.menu-open .header .nav a{min-height:48px !important;font-size:16px !important;border-radius:15px !important;padding:0 14px !important;}
}


/* V8.3 - Related software under detail */
.related-software-section{padding:22px;border-radius:24px;overflow:hidden}
.related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.related-head h2{margin:4px 0 6px;color:#0f2748;font-size:26px;line-height:1.2}
.related-head p{margin:0;color:#64748b;max-width:720px}
.section-kicker{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:800;font-size:13px}
.related-soft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.related-soft-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #dfeaf7;border-radius:22px;overflow:hidden;box-shadow:0 14px 35px rgba(15,42,80,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.related-soft-card:hover{transform:translateY(-4px);box-shadow:0 24px 65px rgba(15,42,80,.13);border-color:#bfdbfe}
.related-soft-img{position:relative;display:block;aspect-ratio:3/2;background:linear-gradient(135deg,#edf6ff,#f8fbff);overflow:hidden}
.related-soft-img img{width:100%;height:100%;object-fit:cover;display:block}
.related-badge{position:absolute;left:12px;top:12px;background:#16a34a;color:#fff;border-radius:999px;padding:5px 10px;font-weight:900;font-size:12px;letter-spacing:.02em;box-shadow:0 8px 18px rgba(22,163,74,.22)}
.related-soft-body{display:flex;flex-direction:column;gap:10px;flex:1;padding:15px}
.related-soft-body h3{margin:0;font-size:17px;line-height:1.32;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px}
.related-soft-body h3 a:hover{color:#2563eb}
.related-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#64748b;font-size:12.5px}
.related-meta span{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#f1f5f9;max-width:100%;white-space:nowrap}
.related-soft-body p{margin:0;color:#475569;font-size:14px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:64px}
.related-download{margin-top:auto;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:1px solid #dbeafe;background:#f8fbff;color:#1d4ed8;border-radius:14px;padding:10px 12px;font-weight:800}
.related-download:hover{background:#2563eb;color:#fff;border-color:#2563eb}
.related-download span{font-size:20px;line-height:1}
@media (max-width:980px){.related-soft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-head{align-items:flex-start;flex-direction:column}.related-more{width:auto}}
@media (max-width:560px){.related-software-section{padding:16px;border-radius:20px}.related-soft-grid{grid-template-columns:1fr;gap:14px}.related-head h2{font-size:22px}.related-head p{font-size:14px}.related-soft-card{border-radius:18px}.related-soft-body h3{min-height:auto}.related-soft-body p{min-height:auto}.related-more{width:100%}}

/* =========================================================
   V8.3.1 HOME ONLY - Mobile menu hard fix
   Scope cứng: chỉ áp dụng cho <body class="home-page"> để không ảnh hưởng CSS trang khác.
   ========================================================= */
@media (max-width: 900px){
  html:has(body.home-page.menu-open){overflow:hidden !important;}
  body.home-page{
    --home-mobile-header-h:72px;
    padding-top:var(--home-mobile-header-h) !important;
    overflow-x:hidden !important;
  }
  body.home-page .topbar{display:none !important;}

  body.home-page .header{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:var(--home-mobile-header-h) !important;
    min-height:var(--home-mobile-header-h) !important;
    z-index:99990 !important;
    margin:0 !important;
    padding:0 !important;
    background:rgba(255,255,255,.96) !important;
    border-bottom:1px solid rgba(219,231,247,.96) !important;
    box-shadow:0 12px 34px rgba(15,23,42,.10) !important;
    backdrop-filter:blur(14px) !important;
    -webkit-backdrop-filter:blur(14px) !important;
    overflow:visible !important;
  }
  body.home-page .header .container,
  body.home-page .container.header-inner,
  body.home-page .header-inner{
    width:100% !important;
    max-width:none !important;
    height:var(--home-mobile-header-h) !important;
    min-height:var(--home-mobile-header-h) !important;
    margin:0 !important;
    padding:0 14px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    flex-direction:row !important;
    box-sizing:border-box !important;
    position:relative !important;
    overflow:visible !important;
  }
  body.home-page .logo{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:calc(100vw - 82px) !important;
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    font-size:20px !important;
    line-height:1 !important;
    font-weight:950 !important;
    color:#155ee8 !important;
    text-decoration:none !important;
    white-space:nowrap !important;
    overflow:hidden !important;
  }
  body.home-page .logo-mark{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    flex:0 0 42px !important;
    display:grid !important;
    place-items:center !important;
    border-radius:15px !important;
    background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
    color:#fff !important;
    box-shadow:0 10px 24px rgba(37,99,235,.25) !important;
  }
  body.home-page .logo span:last-child{
    min-width:0 !important;
    display:block !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  body.home-page .mobile-menu-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:5px !important;
    flex:0 0 50px !important;
    width:50px !important;
    min-width:50px !important;
    max-width:50px !important;
    height:50px !important;
    min-height:50px !important;
    max-height:50px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #dbe7f7 !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 10px 26px rgba(15,23,42,.13) !important;
    position:relative !important;
    z-index:100002 !important;
    cursor:pointer !important;
    -webkit-tap-highlight-color:transparent !important;
  }
  body.home-page .mobile-menu-btn span{
    width:23px !important;
    height:3px !important;
    display:block !important;
    border-radius:999px !important;
    background:#0b1f44 !important;
    transition:transform .18s ease,opacity .18s ease !important;
  }
  body.home-page .mobile-menu-btn.active span:nth-child(1){transform:translateY(8px) rotate(45deg) !important;}
  body.home-page .mobile-menu-btn.active span:nth-child(2){opacity:0 !important;}
  body.home-page .mobile-menu-btn.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg) !important;}

  body.home-page .menu-backdrop{
    display:none !important;
    position:fixed !important;
    inset:0 !important;
    z-index:99980 !important;
    background:rgba(15,23,42,.48) !important;
    backdrop-filter:blur(4px) !important;
    -webkit-backdrop-filter:blur(4px) !important;
  }
  body.home-page.menu-open .menu-backdrop{display:block !important;}
  body.home-page.menu-open{overflow:hidden !important;}

  body.home-page .header .nav{
    position:fixed !important;
    top:calc(var(--home-mobile-header-h) + 10px) !important;
    left:14px !important;
    right:14px !important;
    width:auto !important;
    height:auto !important;
    max-height:calc(100dvh - var(--home-mobile-header-h) - 24px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    z-index:99999 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:8px !important;
    margin:0 !important;
    padding:12px !important;
    background:#fff !important;
    border:1px solid #dbe7f7 !important;
    border-radius:22px !important;
    box-shadow:0 26px 72px rgba(15,23,42,.30) !important;
    box-sizing:border-box !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(-10px) scale(.985) !important;
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }
  body.home-page.menu-open .header .nav{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) scale(1) !important;
  }
  body.home-page .header .nav:before,
  body.home-page .header .nav:after{display:none !important;content:none !important;}
  body.home-page .header .nav a{
    width:100% !important;
    min-height:52px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    margin:0 !important;
    padding:0 16px !important;
    background:#f8fbff !important;
    border:1px solid #e7eef8 !important;
    border-radius:16px !important;
    color:#0b1f44 !important;
    font-size:16px !important;
    font-weight:900 !important;
    line-height:1.15 !important;
    text-decoration:none !important;
    box-shadow:0 8px 18px rgba(15,23,42,.035) !important;
    box-sizing:border-box !important;
    white-space:normal !important;
  }
  body.home-page .header .nav a::after{
    content:'›' !important;
    margin-left:auto !important;
    color:#94a3b8 !important;
    font-size:25px !important;
    font-weight:900 !important;
    line-height:1 !important;
  }
  body.home-page .header .nav a:hover,
  body.home-page .header .nav a:focus{
    background:#eef6ff !important;
    border-color:#bfdbfe !important;
    color:#155ee8 !important;
  }
  body.home-page .hero,
  body.home-page .home-hero-pro{margin-top:0 !important;}
}

@media (max-width:420px){
  body.home-page{--home-mobile-header-h:68px;}
  body.home-page .header .container,
  body.home-page .container.header-inner,
  body.home-page .header-inner{padding:0 10px !important;}
  body.home-page .logo{font-size:19px !important;max-width:calc(100vw - 74px) !important;gap:8px !important;}
  body.home-page .logo-mark{width:40px !important;height:40px !important;min-width:40px !important;flex-basis:40px !important;border-radius:14px !important;}
  body.home-page .mobile-menu-btn{width:48px !important;min-width:48px !important;max-width:48px !important;height:48px !important;min-height:48px !important;max-height:48px !important;border-radius:17px !important;}
  body.home-page .header .nav{left:10px !important;right:10px !important;top:calc(var(--home-mobile-header-h) + 8px) !important;padding:10px !important;border-radius:20px !important;}
  body.home-page .header .nav a{min-height:49px !important;font-size:15.8px !important;border-radius:15px !important;padding:0 14px !important;}
}

/* =========================================================
   V8.3.2 HOME ONLY - Mobile viewport/header/hero hard fix
   Fix lỗi trang chủ bị trượt ngang làm logo và chữ hero bị cắt mép trái.
   Scope cứng chỉ body.home-page, không ảnh hưởng trang khác.
   ========================================================= */
@media (max-width: 900px){
  html:has(body.home-page),
  html:has(body.home-page) body{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    overflow-x:hidden !important;
    overscroll-behavior-x:none !important;
  }

  body.home-page{
    position:relative !important;
    left:0 !important;
    right:auto !important;
    transform:none !important;
    min-width:0 !important;
    width:100% !important;
    max-width:100vw !important;
    padding-top:var(--home-mobile-header-h,72px) !important;
  }

  body.home-page *,
  body.home-page *::before,
  body.home-page *::after{
    box-sizing:border-box !important;
  }

  body.home-page .topbar{display:none !important;}

  body.home-page .header{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    max-width:100vw !important;
    min-width:0 !important;
    transform:none !important;
    overflow:visible !important;
    isolation:isolate !important;
  }

  body.home-page .header > .container,
  body.home-page .header-inner,
  body.home-page .container.header-inner{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:14px !important;
    padding-right:10px !important;
    transform:none !important;
    overflow:visible !important;
  }

  body.home-page .logo{
    margin-left:0 !important;
    padding-left:0 !important;
    transform:none !important;
    max-width:calc(100vw - 78px) !important;
    flex:1 1 auto !important;
  }

  body.home-page .logo-mark{
    margin-left:0 !important;
    transform:none !important;
    overflow:hidden !important;
  }

  body.home-page .mobile-menu-btn{
    margin-left:8px !important;
    margin-right:0 !important;
    transform:none !important;
    flex:0 0 48px !important;
  }

  body.home-page .hero,
  body.home-page .home-hero-pro{
    width:100vw !important;
    max-width:100vw !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding:34px 0 32px !important;
    overflow:hidden !important;
    transform:none !important;
  }

  body.home-page .container,
  body.home-page .home-hero-inner,
  body.home-page .layout,
  body.home-page .home-layout{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:14px !important;
    padding-right:14px !important;
    overflow:visible !important;
    transform:none !important;
  }

  body.home-page .home-hero-inner{
    display:block !important;
  }

  body.home-page .hero-badge{
    max-width:100% !important;
    white-space:normal !important;
    line-height:1.35 !important;
    font-size:14px !important;
    padding:7px 11px !important;
  }

  body.home-page .hero h1,
  body.home-page .home-hero-pro h1{
    width:100% !important;
    max-width:100% !important;
    margin:10px 0 10px !important;
    font-size:clamp(29px,8.2vw,34px) !important;
    line-height:1.16 !important;
    letter-spacing:-.035em !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
    text-wrap:balance !important;
  }

  body.home-page .hero p,
  body.home-page .home-hero-pro p{
    width:100% !important;
    max-width:100% !important;
    margin:0 0 18px !important;
    font-size:16px !important;
    line-height:1.55 !important;
    overflow-wrap:break-word !important;
  }

  body.home-page .searchbox,
  body.home-page .pro-search{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  body.home-page .side{display:none !important;}
  body.home-page .layout,
  body.home-page .home-layout{
    display:block !important;
    margin-top:18px !important;
  }
  body.home-page .main{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
}

@media (max-width:420px){
  body.home-page .header > .container,
  body.home-page .header-inner,
  body.home-page .container.header-inner{
    padding-left:12px !important;
    padding-right:8px !important;
  }
  body.home-page .logo{max-width:calc(100vw - 70px) !important;font-size:19px !important;}
  body.home-page .logo-mark{width:38px !important;height:38px !important;min-width:38px !important;flex-basis:38px !important;}
  body.home-page .mobile-menu-btn{width:46px !important;min-width:46px !important;max-width:46px !important;height:46px !important;min-height:46px !important;max-height:46px !important;}
  body.home-page .container,
  body.home-page .home-hero-inner,
  body.home-page .layout,
  body.home-page .home-layout{
    padding-left:12px !important;
    padding-right:12px !important;
  }
  body.home-page .hero h1,
  body.home-page .home-hero-pro h1{font-size:30px !important;}
}

/* =========================================================
   V8.3.6 REAL FINAL - HOME MOBILE FOOTER GAP FIX
   Fix khoảng trắng dưới copyright footer chỉ ở TRANG CHỦ mobile.
   Không ảnh hưởng các trang khác.
   ========================================================= */
@media (max-width: 768px){
  html,
  body.home-page{
    min-height:100dvh !important;
    height:auto !important;
    overflow-x:hidden !important;
  }

  body.home-page{
    display:flex !important;
    flex-direction:column !important;
    box-sizing:border-box !important;
    background:#f3f6fb !important;
    margin:0 !important;
    padding-bottom:0 !important;
  }

  /* Header trang chủ đang fixed, giữ khoảng đệm đúng ở trên, tuyệt đối không tạo khoảng đệm dưới */
  body.home-page{
    padding-top:var(--home-mobile-header-h,72px) !important;
  }

  body.home-page .hero,
  body.home-page .home-hero-pro,
  body.home-page .layout,
  body.home-page .home-layout,
  body.home-page .main,
  body.home-page .card:last-child{
    margin-bottom:0 !important;
  }

  body.home-page .home-layout{
    flex:0 0 auto !important;
    padding-bottom:0 !important;
  }

  body.home-page .main{
    padding-bottom:0 !important;
  }

  body.home-page .footer,
  body.home-page .footer-v53,
  body.home-page .footer-three-cols{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }

  body.home-page .mobile-footer-copy{
    display:block !important;
    flex:0 0 auto !important;
    width:100% !important;
    margin-top:auto !important;
    margin-bottom:0 !important;
    padding:12px 14px !important;
    background:#071b35 !important;
    color:#b9c9df !important;
    text-align:center !important;
    font-size:12px !important;
    line-height:1.45 !important;
    border-top:1px solid rgba(255,255,255,.08) !important;
  }

  body.home-page .donate-modal{
    position:fixed !important;
  }
}

/* =========================================================
   V8.3.7 PRO - HOME MOBILE STICKY FOOTER FIX
   Footer copyright luôn dính sát mép dưới màn hình trên mobile.
   Chỉ áp dụng trang chủ: body.home-page.
   ========================================================= */
@media (max-width: 768px){
  html{
    min-height:100% !important;
    height:auto !important;
    overflow-x:hidden !important;
  }

  body.home-page{
    min-height:100vh !important;
    min-height:100dvh !important;
    height:auto !important;
    margin:0 !important;
    padding-top:var(--home-mobile-header-h,72px) !important;
    padding-bottom:46px !important;
    overflow-x:hidden !important;
    background:#f3f6fb !important;
  }

  body.home-page .footer,
  body.home-page .footer-v53,
  body.home-page .footer-three-cols{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }

  body.home-page .hero,
  body.home-page .home-hero-pro,
  body.home-page .layout,
  body.home-page .home-layout,
  body.home-page .main{
    margin-bottom:0 !important;
  }

  body.home-page .home-layout,
  body.home-page .main{
    padding-bottom:0 !important;
  }

  body.home-page .main > *:last-child,
  body.home-page .main .card:last-child{
    margin-bottom:0 !important;
  }

  body.home-page .mobile-footer-copy{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:9998 !important;
    width:100vw !important;
    min-height:42px !important;
    margin:0 !important;
    padding:9px 12px calc(9px + env(safe-area-inset-bottom)) !important;
    box-sizing:border-box !important;
    background:#071b35 !important;
    color:#b9c9df !important;
    text-align:center !important;
    font-size:11px !important;
    line-height:1.35 !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
    box-shadow:0 -8px 22px rgba(15,23,42,.12) !important;
  }

  body.home-page .mobile-footer-copy span{
    display:block !important;
    max-width:100% !important;
    white-space:normal !important;
  }
}

/* =========================================================
   V8.3.10 PRO - HOME MOBILE CONTENT FIT ONLY
   Chỉ chỉnh phần BODY/CONTENT trang chủ mobile.
   Giữ nguyên header + footer sticky của bản v8.3.7.
   Mục tiêu: chiều cao trang = đúng nội dung thực tế + khoảng chừa footer,
   không ép body/main/layout cao 100vh nên không còn kéo dư khoảng trắng.
   ========================================================= */
@media (max-width: 768px){
  html{
    height:auto !important;
    min-height:0 !important;
    overflow-x:hidden !important;
  }

  body.home-page{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    margin:0 !important;
    /* giữ khoảng top cho header fixed, chỉ chừa đúng footer fixed + 5px */
    padding-top:var(--home-mobile-header-h,72px) !important;
    padding-bottom:47px !important;
  }

  body.home-page .hero,
  body.home-page .home-hero-pro,
  body.home-page .home-hero-inner,
  body.home-page .layout,
  body.home-page .home-layout,
  body.home-page main,
  body.home-page .main{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin-bottom:0 !important;
    padding-bottom:0 !important;
    align-self:auto !important;
    flex:0 0 auto !important;
  }

  body.home-page .home-layout{
    display:block !important;
    margin-top:18px !important;
    margin-bottom:5px !important;
  }

  body.home-page .main{
    display:block !important;
    overflow:visible !important;
  }

  body.home-page .main > *:last-child,
  body.home-page .main .card:last-child,
  body.home-page .main section:last-child{
    margin-bottom:0 !important;
  }
}

/* =========================================================
   V8.3.11 PRO - ADMIN MOBILE HEADER FIX ONLY
   Fix khoảng trắng phía trên header trang /admin trên mobile.
   Chỉ áp dụng body.admin-v4, không đụng header/footer/trang chủ frontend.
   ========================================================= */
@media (max-width: 900px){
  html:has(body.admin-v4){
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
    scroll-padding-top:78px !important;
  }

  body.admin-v4{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding-top:0 !important;
    padding-right:0 !important;
    padding-left:0 !important;
    overflow-x:hidden !important;
    background:#f5f8fc !important;
  }

  body.admin-v4 .admin-shell,
  body.admin-v4 .admin-content-wrap{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
  }

  body.admin-v4 .admin-shell{
    display:block !important;
    min-height:100dvh !important;
  }

  body.admin-v4 .admin-header{
    position:sticky !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:76px !important;
    min-height:76px !important;
    max-height:76px !important;
    margin:0 !important;
    padding:0 14px !important;
    z-index:60 !important;
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    background:rgba(255,255,255,.96) !important;
    border-bottom:1px solid #e5edf8 !important;
    box-shadow:0 8px 24px rgba(15,35,68,.06) !important;
    backdrop-filter:saturate(160%) blur(14px) !important;
    -webkit-backdrop-filter:saturate(160%) blur(14px) !important;
  }

  body.admin-v4 .admin-main{
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    margin:0 !important;
    padding:22px 14px 96px !important;
    background:linear-gradient(180deg,#f8fbff,#f4f7fb) !important;
  }

  body.admin-v4 .hamburger{
    flex:0 0 50px !important;
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    border-radius:18px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    font-size:24px !important;
    line-height:1 !important;
  }

  body.admin-v4 .header-actions{
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
  }

  body.admin-v4 .icon-btn{
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    border-radius:18px !important;
  }

  body.admin-v4 .quick-search,
  body.admin-v4 .view-site,
  body.admin-v4 .top-user{
    display:none !important;
  }

  body.admin-v4 .admin-sidebar{
    top:0 !important;
    height:100dvh !important;
    max-height:100dvh !important;
  }

  body.admin-v4.sidebar-open .mobile-overlay{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    background:rgba(2,8,23,.45) !important;
    z-index:70 !important;
  }
}

@media (max-width: 420px){
  body.admin-v4 .admin-header{
    height:72px !important;
    min-height:72px !important;
    max-height:72px !important;
    padding:0 12px !important;
  }

  body.admin-v4 .admin-main{
    padding-top:20px !important;
  }

  body.admin-v4 .hamburger,
  body.admin-v4 .icon-btn{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    border-radius:17px !important;
  }
}

/* ===== System font normalization — 2026-07-15 ===== */
:root {
  --app-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html, body,
input, select, textarea, button, option, optgroup,
table, th, td,
.tooltip, .popover, .modal, .dialog,
.admin-v4, .admin-v4 input, .admin-v4 select, .admin-v4 textarea, .admin-v4 button {
  font-family: var(--app-font-family) !important;
}


/* ===== Content alignment & compact cards — 2026-07-15 ===== */
.soft-card,
.home-soft-card,
.service-card,
.article-card > div,
.pro-news-card > div,
.important-card,
.link-pill {
  min-width: 0;
}

.soft-title,
.soft-card .soft-title,
.home-soft-card .soft-title,
.service-card h3,
.article-card h2,
.article-card h3,
.pro-news-card h2,
.pro-news-card h3,
.important-card b,
.link-pill b {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  max-height: 2.7em;
  overflow-wrap: anywhere;
}

.soft-card > p,
.home-soft-card > p,
.service-card > p,
.article-card > div > p,
.pro-news-card > div > p,
.important-card span,
.link-pill small,
.page-hero > .container > p,
.article-content > p:not(.meta),
.article-content li,
.card > p:not(.meta) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.soft-card > p,
.home-soft-card > p,
.service-card > p,
.article-card > div > p,
.pro-news-card > div > p,
.important-card span,
.link-pill small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.55;
  max-height: 4.65em;
  margin-top: 0;
}

.soft-card .btn,
.home-soft-card .btn,
.service-card .service-link {
  margin-top: auto;
}

.footer-contact-name {
  display: block;
  margin: 12px 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .01em;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .soft-card > p,
  .home-soft-card > p,
  .service-card > p,
  .article-card > div > p,
  .pro-news-card > div > p,
  .important-card span,
  .link-pill small {
    -webkit-line-clamp: 2;
    max-height: 3.1em;
  }
}

/* Contact page v8.5.1 - loaded by the main stylesheet */
.contact-page-card{padding:clamp(20px,3vw,38px)}
.contact-page-head{max-width:760px;margin:0 auto 24px;text-align:center}
.contact-page-label{display:inline-block;margin-bottom:10px;font-size:12px;font-weight:800;letter-spacing:.12em;color:#2563eb}
.contact-page-head h1{margin:0 0 12px;line-height:1.25}
.contact-page-head p{margin:0;color:#536276;line-height:1.75;text-align:center}
.contact-page-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:stretch}
.contact-info-box,.contact-seo-box{border:1px solid #e4eaf2;border-radius:18px;padding:24px;background:#fff}
.contact-info-box{background:linear-gradient(145deg,#f7faff,#fff)}
.contact-info-box h2,.contact-seo-box h2{margin:0 0 16px;font-size:20px;line-height:1.4}
.contact-info-list{display:grid;gap:10px}
.contact-info-list a{display:flex!important;justify-content:space-between;gap:14px;align-items:center;padding:13px 14px;border:1px solid #e6ebf2;border-radius:12px;background:#fff;text-decoration:none!important;color:#172033;transition:.2s ease}
.contact-info-list a:hover{transform:translateY(-1px);border-color:#b8cdf7;box-shadow:0 8px 22px rgba(15,23,42,.07)}
.contact-info-list span{font-size:13px;color:#68758a;white-space:nowrap}
.contact-info-list strong{font-size:14px;text-align:right;overflow-wrap:anywhere}
.contact-seo-box p{margin:0 0 12px;line-height:1.8;text-align:justify;color:#445064}
.contact-seo-box p:last-child{margin-bottom:0}
@media(max-width:760px){
  .contact-page-grid{grid-template-columns:1fr}
  .contact-page-card{padding:18px}
  .contact-info-box,.contact-seo-box{padding:18px}
  .contact-info-list a{align-items:flex-start;flex-direction:column;gap:4px}
  .contact-info-list strong{text-align:left}
  .contact-page-head p{text-align:justify}
}
