/* Trang Thi thử IELTS trên máy tính (/thi-thu-ielts-tren-may-tinh) — chỉ phần nội dung, prefix .tt.
   Màu theo nhận diện EVAS (cùng bảng màu với trang Tiếng Anh doanh nghiệp). */
.tt{--deep:#8f1d22;--red:#c8102e;--pill:#e31e36;--accent:#ffc93c;--ink:#231f20;--muted:#4a4a4a;--line:#ece6e6;--soft:#fbf6f4;
  font-family:'Be Vietnam Pro',sans-serif;color:var(--muted);font-size:17px;line-height:1.65;overflow-x:clip}
.tt *,.tt *::before,.tt *::after{box-sizing:border-box}
:where(.tt) :is(h1,h2,h3,p,ul,figure){margin:0}
.tt-wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.tt-narrow{max-width:900px}
.tt-sec{padding:72px 0}
.tt-sec--soft{background:var(--soft)}
.tt-sec--color{background:linear-gradient(135deg,var(--deep),var(--red));color:#fff}
.tt .tt-title{font-weight:800;font-size:clamp(24px,2.6vw,34px);line-height:1.25;color:var(--deep);text-align:center;margin-bottom:16px}
.tt .tt-title--inv{color:#fff;text-align:left}
.tt .tt-sub{text-align:center;max-width:860px;margin:0 auto 36px;color:var(--ink)}
.tt-sub b{color:var(--pill)}

/* Nút */
.tt-btn{display:inline-flex;align-items:center;gap:12px;background:var(--pill);color:#fff !important;font-weight:700;font-size:18px;
  padding:15px 30px;border-radius:40px;text-decoration:none !important;box-shadow:0 10px 24px rgba(227,30,54,.28);transition:transform .15s,box-shadow .15s}
.tt-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(227,30,54,.34)}
.tt-btn--light{background:#fff;color:var(--red) !important;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.tt-link{display:inline-flex;align-items:center;gap:8px;color:var(--red) !important;font-weight:700;text-decoration:none !important}
.tt-link:hover{text-decoration:underline !important}

/* Hero */
.tt-hero{background:radial-gradient(1200px 500px at 85% -10%,#fde3e3 0,transparent 60%),var(--soft);padding:36px 0 64px}
.tt-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:48px;align-items:center}
.tt-crumb{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:#8a8080;margin-bottom:22px}
.tt-crumb a{color:#8a8080;text-decoration:none}
.tt-crumb a:hover{color:var(--red)}
.tt .tt-hero__title{font-weight:800;font-size:clamp(32px,4vw,50px);line-height:1.15;color:var(--deep)}
.tt .tt-hero__lead{margin-top:18px;font-size:19px;color:var(--ink)}
.tt-badges{list-style:none;padding:0;margin:22px 0 28px !important;display:flex;flex-wrap:wrap;gap:10px}
.tt-badges li{background:#fff;border:1px solid var(--line);border-radius:30px;padding:6px 14px;font-size:15px;font-weight:600;color:var(--ink)}
.tt-badges i{color:var(--pill);margin-right:4px}
.tt .tt-hero__alt{margin-top:16px;font-size:16px;color:var(--ink)}
.tt .tt-hero__note{margin-top:10px;font-size:14px;color:#8a8080}
.tt-screen{background:#fff;border-radius:14px;box-shadow:0 24px 60px rgba(60,20,20,.18);overflow:hidden;border:1px solid var(--line)}
.tt-screen__bar{display:flex;gap:6px;padding:10px 12px;background:#f3eeee;border-bottom:1px solid var(--line)}
.tt-screen__bar i{width:10px;height:10px;border-radius:50%;background:#d9cfcf}
.tt-screen img,.tt-shot img{display:block;width:100%;height:auto}

/* Thẻ lý do */
.tt-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:36px}
.tt-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 22px}
.tt-card__ic{display:inline-flex;width:52px;height:52px;border-radius:50%;background:#fde8ea;color:var(--pill);align-items:center;justify-content:center;font-size:22px;margin-bottom:14px}
.tt .tt-card h3,.tt .tt-feat h3{font-size:18px;font-weight:700;color:var(--ink);margin-bottom:6px}
.tt .tt-card p,.tt .tt-feat p{font-size:15.5px}

/* Bảng cấu trúc */
.tt-table{overflow-x:auto;background:#fff;border-radius:16px;border:1px solid var(--line)}
.tt-table table{width:100%;border-collapse:collapse;min-width:620px}
.tt-table th,.tt-table td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;font-size:16px}
.tt-table thead th{background:var(--deep);color:#fff;font-weight:700}
.tt-table tbody th{color:var(--ink);font-weight:700;white-space:nowrap}
.tt-table tbody tr:last-child :is(th,td){border-bottom:0}
.tt-shot{margin-top:36px !important;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:0 16px 40px rgba(60,20,20,.12)}
.tt-shot figcaption{padding:10px 16px;font-size:14px;color:#8a8080;border-top:1px solid var(--line)}

/* Bài kiểm tra nhanh (lựa chọn phụ) */
.tt-quick{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;background:#fff;border:1px dashed #e0b8bc;border-radius:16px;padding:20px 24px}
.tt-quick>div{flex:1 1 420px}
.tt .tt-quick h3{font-size:18px;font-weight:700;color:var(--ink);margin-bottom:4px}
.tt .tt-quick p{font-size:15.5px}

/* Chức năng màn hình thi */
.tt-feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tt-feat{display:flex;gap:16px;padding:20px;border-radius:16px;border:1px solid var(--line);background:#fff}
.tt-feat>i{flex:none;font-size:24px;color:var(--pill);width:30px;text-align:center;margin-top:3px}

/* Kết quả */
.tt-result{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;align-items:center}
.tt-checks{list-style:none;padding:0;margin-top:8px !important;display:grid;gap:12px}
.tt-checks li{position:relative;padding-left:34px}
.tt-checks li::before{content:'\2713';position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;background:var(--accent);color:var(--deep);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.tt-checks b{color:var(--accent)}
.tt .tt-result__note{margin-top:18px;font-size:14px;opacity:.85}
.tt-result__cta{text-align:center}

/* Hai khối: đăng ký thi thật + lộ trình */
.tt-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tt-box{border-radius:18px;padding:30px;border:1px solid var(--line);background:#fff}
.tt .tt-box h2{font-size:clamp(21px,2vw,26px);font-weight:800;color:var(--deep);margin-bottom:12px}
.tt .tt-box p{margin-bottom:14px}
.tt-box b{color:var(--ink)}
.tt-box__hl a{color:var(--red);font-weight:700}

/* FAQ */
.tt-faq{display:grid;gap:12px;margin-top:28px}
.tt-faq details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 22px}
.tt-faq summary{cursor:pointer;list-style:none;padding:18px 28px 18px 0;font-weight:700;color:var(--ink);position:relative}
.tt-faq summary::-webkit-details-marker{display:none}
.tt-faq summary::after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:24px;font-weight:400;color:var(--pill)}
.tt-faq details[open] summary::after{content:'\2212'}
.tt .tt-faq p{padding-bottom:18px}
.tt .tt-disclaimer{margin-top:32px;font-size:13px;color:#8a8080;text-align:center}
/* .footer của site kéo lên đè 100px (90px trên mobile) đáy khối cuối (style.css): chừa thêm chỗ để không che chữ */
.tt>.tt-sec:last-child{padding-bottom:172px}

@media (max-width:1100px){
  .tt-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tt-feats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .tt-hero__grid,.tt-result,.tt-two{grid-template-columns:minmax(0,1fr)}
  .tt-hero__grid{gap:32px}
  .tt-result__cta{text-align:left}
  .tt-sec{padding:52px 0}
  .tt>.tt-sec:last-child{padding-bottom:152px}
}
@media (max-width:600px){
  .tt{font-size:16px}
  .tt-wrap{padding:0 16px}
  .tt-cards,.tt-feats{grid-template-columns:minmax(0,1fr)}
  .tt-btn{width:100%;justify-content:center}
  .tt-box{padding:22px}
}
