/* ─── PLUGIN HOMEPAGE ─── */
.dth2-wrap{max-width:1200px;margin:0 auto;padding:0 20px}

/* ─── HERO ─── */
.dth2-hero{background:linear-gradient(135deg,#0a1f5c 0%,#0d2b7d 40%,#1352b8 100%);padding:52px 0 60px;position:relative;overflow:hidden}
.dth2-hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:44px;background:#f5f7fa;clip-path:ellipse(55% 100% at 50% 100%)}
.dth2-hero-grid{display:grid;grid-template-columns:1fr 420px 220px;gap:36px;align-items:center}
.dth2-hero-h1{font-size:32px!important;font-weight:800!important;color:#fff!important;line-height:1.25!important;margin-bottom:4px!important}
.dth2-hero-sub{display:block;font-size:26px!important;font-weight:800!important;color:#f59e0b!important;line-height:1.3!important;margin-bottom:16px!important}
.dth2-hero-desc{font-size:14px!important;color:rgba(255,255,255,.82)!important;line-height:1.7!important;margin:0!important}
/* Form */
.dth2-form-card{background:#fff;border-radius:16px;padding:22px 24px;box-shadow:0 20px 60px rgba(0,0,0,.28)}
.dth2-finput{width:100%;padding:13px 16px;border:1.5px solid #e2e8f0;border-radius:12px;font-size:15px;outline:none;color:#1a202c;background:#fff;transition:.15s;box-sizing:border-box}
.dth2-finput:focus{border-color:#1352b8;box-shadow:0 0 0 3px rgba(19,82,184,.12)}
.dth2-finput::placeholder{color:#b0bec5}
.dth2-year-sel{flex-shrink:0;min-width:88px;width:88px;padding:13px 8px;border:1.5px solid #e2e8f0 !important;border-radius:12px !important;font-size:14px !important;font-weight:600 !important;color:#374151 !important;outline:none !important;background:#fff !important;cursor:pointer;box-sizing:border-box;appearance:auto;-webkit-appearance:auto;height:auto;line-height:normal}
.dth2-fhint{font-size:12px;color:#94a3b8;margin:6px 0 14px 2px}
.dth2-fsubmit{width:100%;padding:14px;background:#1352b8;color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;letter-spacing:.3px;transition:.15s}
.dth2-fsubmit:hover{background:#0a2f8a;box-shadow:0 6px 20px rgba(19,82,184,.38);transform:translateY(-1px)}
#dth2-result{margin-top:12px}
/* Deco */
.dth2-deco{display:flex;align-items:center;justify-content:center;position:relative}
.dth2-deco-wrap{position:relative;width:200px;height:200px}
.dth2-deco-bg{width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;position:relative;margin:10px auto}
.dth2-deco-main{font-size:80px;line-height:1}
.dth2-deco-badge{position:absolute;bottom:2px;right:2px;background:#fff;border-radius:50%;width:56px;height:56px;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 4px 16px rgba(0,0,0,.22)}
.dth2-deco-book{position:absolute;top:8px;left:-8px;font-size:32px;background:rgba(255,255,255,.15);border-radius:12px;width:48px;height:48px;display:flex;align-items:center;justify-content:center}
.dth2-deco-chart{position:absolute;top:8px;right:-10px;background:rgba(255,255,255,.15);border-radius:12px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;font-size:26px}

/* ─── QUICK ACCESS ─── */
.dth2-qa{background:#fff;padding:28px 0;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.dth2-qa-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.dth2-qa-card{display:flex;align-items:flex-start;gap:16px;padding:18px 16px;border-radius:14px;border:1px solid #f1f5f9;cursor:pointer;transition:.2s;color:inherit;text-decoration:none!important}
.dth2-qa-card:hover{border-color:#bfdbfe;box-shadow:0 4px 20px rgba(19,82,184,.1);transform:translateY(-2px)}
.dth2-qa-ico{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}
.dth2-qa-name{font-size:14px!important;font-weight:700!important;color:#1a202c!important;margin-bottom:5px!important;line-height:1.3!important}
.dth2-qa-desc{font-size:12.5px!important;color:#6b7280!important;line-height:1.5!important}
.dth2-qa-arr{margin-top:8px;font-size:13px;font-weight:600;color:#1352b8}

/* ─── SECTION HEADER ─── */
.dth2-sec-hdr{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.dth2-sec-title{font-size:17px!important;font-weight:700!important;color:#111827!important;margin:0!important}
.dth2-see-all{font-size:13px!important;font-weight:600!important;color:#1352b8!important;text-decoration:none!important}
.dth2-see-all:hover{text-decoration:underline!important}

/* ─── PROVINCE ─── */
.dth2-prov{background:#f5f7fa;padding:36px 0}
.dth2-prov-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.dth2-prov-btn{display:flex;align-items:center;gap:10px;padding:13px 14px;background:#fff;border:1px solid #e8ecf0;border-radius:12px;cursor:pointer;font-size:13px;font-weight:500;color:#374151!important;transition:.15s;text-decoration:none!important}
.dth2-prov-btn:hover{border-color:#1352b8;color:#1352b8!important;background:#eff6ff}
.dth2-prov-ico{flex-shrink:0;color:#6b7280}
.dth2-prov-btn:hover .dth2-prov-ico{color:#1352b8}

/* ─── DATA ROW ─── */
.dth2-data{background:#fff;padding:40px 0}
.dth2-data-inner{display:grid;grid-template-columns:220px minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.dth2-card{background:#fff;border:1px solid #e8ecf0;border-radius:14px;overflow:hidden}
.dth2-card-head{padding:16px 20px;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between}
.dth2-card-head h3{font-size:14.5px!important;font-weight:700!important;color:#111827!important;margin:0!important}
.dth2-card-head a{font-size:12.5px!important;font-weight:600!important;color:#1352b8!important;text-decoration:none!important}
.dth2-card-head a:hover{text-decoration:underline!important}
.dth2-card-body{padding:18px 20px}
.dth2-guide-step{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.dth2-guide-step:last-child{margin-bottom:0}
.dth2-guide-num{width:28px;height:28px;border-radius:50%;background:#1352b8;color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dth2-guide-text{font-size:13.5px!important;color:#374151!important;padding-top:4px;line-height:1.45!important}
.dth2-guide-btn{display:block;width:100%;margin-top:20px;padding:10px;border:1.5px solid #1352b8;border-radius:10px;text-align:center;font-size:13px;font-weight:600;color:#1352b8!important;text-decoration:none!important;transition:.15s}
.dth2-guide-btn:hover{background:#eff6ff}
/* Top table */
.dth2-top-tbl{width:100%;border-collapse:collapse;font-size:13px}
.dth2-top-tbl th{padding:8px 10px;font-size:12px;font-weight:600;color:#6b7280;border-bottom:2px solid #f1f5f9;text-align:left}
.dth2-top-tbl td{padding:10px 10px;border-bottom:1px solid #f8fafc;vertical-align:middle}
.dth2-top-tbl tr:last-child td{border:none}
.dth2-top-tbl tr:hover td{background:#f8fbff}
.dth2-top-rank{color:#94a3b8;font-weight:700;width:28px;text-align:center}
.dth2-top-score{font-weight:700;color:#1352b8;text-align:right}
.dth2-top-btn{display:block;width:100%;padding:10px;background:#f0f7ff;border:none;border-radius:10px;text-align:center;font-size:13px;font-weight:600;color:#1352b8;cursor:pointer;margin-top:14px;transition:.15s}
.dth2-top-btn:hover{background:#dbeafe}
/* Chart */
.dth2-chart-sel{padding:5px 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;font-weight:600;color:#374151;outline:none;background:#fff;margin:0!important;vertical-align:middle}
.dth2-chart-area{display:flex;gap:8px;margin:14px 0 0}
.dth2-chart-yaxis{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding-bottom:22px}
.dth2-chart-yaxis span{font-size:10px;color:#94a3b8;white-space:nowrap}
.dth2-chart-bars-wrap{flex:1}
.dth2-bars{display:flex;align-items:flex-end;gap:3px;height:110px}
.dth2-b{flex:1;background:linear-gradient(to top,#1352b8,#60a5fa);border-radius:2px 2px 0 0;min-height:2px;transition:.2s;cursor:pointer;position:relative}
.dth2-b:hover{background:linear-gradient(to top,#0e3d8a,#3b82f6);filter:brightness(1.1)}
.dth2-tip{position:fixed;z-index:9999;background:#1e293b;color:#fff;font-size:12px;padding:6px 10px;border-radius:6px;pointer-events:none;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.25);transform:translate(-50%,-100%);margin-top:-8px;display:none}
.dth2-tip::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#1e293b}
.dth2-chart-xaxis{display:flex;justify-content:space-between;font-size:10px;color:#94a3b8;margin-top:4px}
.dth2-chart-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #f1f5f9}
.dth2-cstat-num{font-size:19px!important;font-weight:800!important;color:#1352b8!important}
.dth2-cstat-lbl{font-size:11px!important;color:#6b7280!important;margin-top:2px!important}

/* ─── BOTTOM 3-COL ─── */
.dth2-bot{background:#f5f7fa;padding:40px 0}
.dth2-bot-inner{display:grid;grid-template-columns:1.6fr 1fr 1.3fr;gap:20px;align-items:stretch}
.dth2-bot-inner>.dth2-card{display:flex;flex-direction:column}
.dth2-bot-inner>.dth2-card>.dth2-card-body{flex:1;display:flex;flex-direction:column}
.dth2-bot-inner>.dth2-card>.dth2-card-body>.dth2-link-foot{margin-top:auto}
/* Tin tức: 3 bài chia đều chiều cao */
.dth2-bot-inner>.dth2-card:last-child>.dth2-card-body{justify-content:space-between}
.dth2-bot-inner>.dth2-card:last-child .dth2-news-item{flex:1;align-items:center}
.dth2-bench-tabs{display:flex;gap:4px;margin-bottom:14px}
.dth2-btab{padding:6px 14px;border-radius:20px;border:1.5px solid #e2e8f0;font-size:12.5px;font-weight:600;color:#6b7280;cursor:pointer;transition:.15s}
.dth2-btab.on{background:#1352b8;border-color:#1352b8;color:#fff}
.dth2-bench-list{list-style:none!important;margin:0!important;padding:0!important}
.dth2-bench-item{display:flex;align-items:center;gap:10px;padding:1px 0;border-bottom:1px solid #f1f5f9}
.dth2-bench-item:last-child{border:none}
.dth2-bench-no{width:22px;font-size:13px;font-weight:700;color:#94a3b8;flex-shrink:0;text-align:center}
.dth2-bench-no.t1{color:#f59e0b}.dth2-bench-no.t2{color:#9ca3af}.dth2-bench-no.t3{color:#cd7c3c}
.dth2-bench-name{flex:1;font-size:13.5px!important;color:#1a202c!important;font-weight:500!important;line-height:1.35!important;text-decoration:none!important;transition:.15s}
.dth2-bench-name:hover{color:#1352b8!important}
.dth2-bench-sc{font-size:16px;font-weight:800;color:#dc2626;flex-shrink:0}
.dth2-link-foot{display:block;text-align:center;padding:10px;font-size:13px;font-weight:600;color:#1352b8!important;margin-top:12px;text-decoration:none!important}
.dth2-link-foot:hover{text-decoration:underline!important}
.dth2-g10-list{list-style:none!important;margin:0!important;padding:0!important}
.dth2-g10-lnk{display:flex;align-items:center;justify-content:space-between;padding:1px 4px;border-bottom:1px solid #f1f5f9;font-size:14px;color:#374151!important;text-decoration:none!important;transition:.15s}
.dth2-g10-lnk:hover{color:#1352b8!important;padding-left:8px}
.dth2-g10-arr{color:#d1d5db;font-size:18px}
.dth2-news-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #f1f5f9;flex:1}
.dth2-news-item:last-child{border:none;padding-bottom:0}
.dth2-news-thumb{width:90px;height:66px;border-radius:8px;flex-shrink:0;overflow:hidden;background:#dbeafe;display:flex;align-items:center;justify-content:center}
.dth2-news-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.dth2-news-title{font-size:13px!important;font-weight:600!important;color:#111827!important;line-height:1.45!important;margin-bottom:5px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-decoration:none!important}
.dth2-news-title:hover{color:#1352b8!important}
.dth2-news-meta{font-size:11px;color:#9ca3af;display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.dth2-news-meta svg{flex-shrink:0}

/* ─── FEATURED SCHOOLS ─── */
.dth2-feat{background:#fff;padding:40px 0}
.dth2-feat-inner{display:grid;grid-template-columns:1fr 280px;gap:32px;align-items:start}
.dth2-school-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.dth2-school-card{text-align:center;padding:18px 10px 14px;border:1px solid #f1f5f9;border-radius:14px;cursor:pointer;transition:.2s;color:inherit;text-decoration:none!important;display:block}
.dth2-school-card:hover{border-color:#bfdbfe;box-shadow:0 4px 20px rgba(19,82,184,.1);transform:translateY(-2px)}
.dth2-school-logo{width:64px;height:64px;border-radius:14px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#fff;line-height:1.2;text-align:center;overflow:hidden}
.dth2-school-n{font-size:12px!important;font-weight:600!important;color:#1a202c!important;line-height:1.4!important;margin-bottom:6px!important;min-height:34px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dth2-school-yr{font-size:11px!important;color:#9ca3af!important;margin-bottom:3px!important}
.dth2-school-sc{font-size:18px!important;font-weight:800!important;color:#dc2626!important}
.dth2-tools-title{font-size:15px!important;font-weight:700!important;color:#111827!important;margin-bottom:14px!important}
.dth2-tool-item{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #f1f5f9}
.dth2-tool-item:last-child{border:none}
.dth2-tool-item:hover .dth2-tool-name{color:#1352b8!important}
.dth2-tool-lnk{display:flex;align-items:flex-start;gap:12px;text-decoration:none!important;color:inherit}
.dth2-tool-ico{width:38px;height:38px;border-radius:10px;background:#eff6ff;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.dth2-tool-name{font-size:13.5px!important;font-weight:600!important;color:#111827!important;margin-bottom:2px!important;line-height:1.3!important}
.dth2-tool-desc{font-size:12px!important;color:#9ca3af!important;line-height:1.4!important}

/* ─── TRUST ─── */
.dth2-trust{background:#f5f7fa;border-top:1px solid #e8ecf0;padding:36px 0}
.dth2-trust-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.dth2-trust-item{display:flex;align-items:flex-start;gap:14px}
.dth2-trust-ico{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.dth2-trust-name{font-size:14px!important;font-weight:700!important;color:#111827!important;margin-bottom:4px!important}
.dth2-trust-desc{font-size:12.5px!important;color:#6b7280!important;line-height:1.55!important}

/* ─── RESULT ─── */
.dth2-res{background:#f0f7ff;border-radius:12px;padding:16px;border:1px solid #bfdbfe}
.dth2-res-title{font-size:13px;font-weight:700;color:#1e40af;margin-bottom:4px}
.dth2-res-tinh{font-size:12px;color:#64748b;margin-bottom:10px}
.dth2-res-row{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #dbeafe;font-size:13px}
.dth2-res-row:last-child{border:none}
.dth2-res-s{font-weight:700;color:#1352b8}
.dth2-res-err{background:#fef3c7;border-radius:10px;padding:12px 14px;font-size:13px;color:#92400e;line-height:1.5}
.dth2-res-nv-head{font-size:11px;font-weight:700;color:#6b7280;margin:12px 0 6px;text-transform:uppercase;letter-spacing:.5px}
.dth2-res-nv-row{display:flex;align-items:center;padding:6px 8px;background:#fff;border:1px solid #e0e7ff;border-radius:8px;margin-bottom:5px}
.dth2-res-nv-code{font-size:12px;font-weight:800;color:#1352b8;flex:1}
.dth2-res-nv-btn+.dth2-res-nv-btn{margin-left:5px}
.dth2-res-nv-btn{font-size:11px;font-weight:600;padding:4px 8px;border-radius:5px;text-decoration:none!important;white-space:nowrap;background:#1352b8;color:#fff!important;transition:.15s}
.dth2-res-nv-btn:hover{background:#0f3f8f}
.dth2-res-nv-btn-sec{background:#f1f5f9;color:#374151!important}
.dth2-res-nv-btn-sec:hover{background:#e2e8f0}

/* ─── RESPONSIVE ─── */
@media(max-width:1100px){
  .dth2-hero-grid{grid-template-columns:1fr 400px 180px}
  .dth2-data-inner{grid-template-columns:200px 1fr;gap:18px}
  .dth2-data-inner>.dth2-card:last-child{grid-column:span 2}
  .dth2-bot-inner{grid-template-columns:1fr 1fr}
  .dth2-bot-inner>.dth2-card:last-child{grid-column:span 2}
  .dth2-school-cards{grid-template-columns:repeat(3,1fr)}
  .dth2-feat-inner{grid-template-columns:1fr}
}
@media(max-width:900px){
  .dth2-hero-grid{grid-template-columns:1fr 380px}
  .dth2-deco{display:none}
  .dth2-prov-grid{grid-template-columns:repeat(4,1fr)}
  .dth2-qa-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .dth2-hero-grid{grid-template-columns:1fr}
  .dth2-hero-form{display:none}
  .dth2-prov-grid{grid-template-columns:repeat(3,1fr)}
  .dth2-trust-inner{grid-template-columns:repeat(2,1fr)}
  .dth2-school-cards{grid-template-columns:repeat(2,1fr)}
  .dth2-data-inner,.dth2-bot-inner{grid-template-columns:1fr}
  .dth2-data-inner>.dth2-card:last-child,.dth2-bot-inner>.dth2-card:last-child{grid-column:auto}
}
@media(max-width:480px){
  .dth2-prov-grid{grid-template-columns:repeat(2,1fr)}
  .dth2-qa-grid{grid-template-columns:1fr}
  .dth2-trust-inner{grid-template-columns:1fr}
}
