﻿/* Study abroad after 12th page (StudyAbroadUG.aspx, URL /study-abroad-after-12th).
   Uses CSS/home.css (hm-), CSS/about.css (ab-crumb) and CSS/study-abroad.css (sa-table, sa-small, sa-picked); this file adds the su- parts.
   After editing, change ?v= in StudyAbroadUG.aspx so visitors get the new file. */

.su .hm-hero h1 { font-size:38px; }
.su .hm-head h2, .su-two h2 { font-size:28px; }

/* ---------- ON THIS PAGE ---------- */
.su-toc { background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:5; }
.su-toc .hm-wrap { display:flex; gap:6px; overflow-x:auto; padding-top:10px; padding-bottom:10px; scrollbar-width:none; }
.su-toc .hm-wrap::-webkit-scrollbar { display:none; }
.su-toc a { flex:0 0 auto; font-size:13.5px; font-weight:700; color:var(--navy); padding:7px 13px; border-radius:999px; border:1px solid var(--line); background:var(--soft); }
.su-toc a:hover { border-color:var(--gold); background:#fff8eb; }

/* ---------- WHO SHOULD GO ---------- */
.su-grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.su-box { background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px; }
.su-box i { width:42px; height:42px; border-radius:12px; background:#fff8eb; color:var(--gold2); display:flex; align-items:center; justify-content:center; font-size:19px; margin-bottom:10px; }
.su-box h3 { font-size:17px; font-weight:800; margin:0 0 6px; }
.su-box p { font-size:14.5px; line-height:1.65; color:var(--muted); margin:0; }

/* ---------- SCHOLARSHIP CARDS ---------- */
.su-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.su-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px; display:flex; flex-direction:column; scroll-margin-top:70px; transition:.2s; }
.su-card:hover { border-color:var(--navy); box-shadow:0 12px 26px rgba(0,31,91,.08); }
.su-card.pg { border-style:dashed; border-color:#f3d39a; background:#fffdf7; }
.su-card-top { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:10px; }
.su-country { font-size:13px; font-weight:700; color:var(--navy); }
.su-country i { color:var(--gold2); margin-right:3px; }
.su-badge { font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; padding:3px 9px; border-radius:999px; background:#e8f7ee; color:#11743a; }
.su-badge.warn { background:#fff1d6; color:#a05a00; }
.su-card h3 { font-size:19px; font-weight:800; line-height:1.3; margin:0 0 2px; }
.su-type { font-size:13px; color:var(--muted); font-weight:600; margin:0 0 12px; }
.su-card dl { margin:0 0 14px; font-size:14.5px; line-height:1.6; }
.su-card dt { font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--gold2); margin-top:10px; }
.su-card dd { margin:2px 0 0; color:var(--ink); }
.su-card-cta { margin-top:auto; display:flex; gap:8px; flex-wrap:wrap; }
.su-card-cta .hm-btn { height:42px; font-size:14px; padding:0 14px; }
.su-card-cta .hm-btn.gold { flex:1; justify-content:center; }

/* ---------- EXAMS ---------- */
.su-exams { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:18px; }
.su-exam { background:#fff; border:1px solid var(--line); border-top:4px solid var(--gold); border-radius:16px; padding:20px; display:flex; flex-direction:column; }
.su-exam h3 { font-size:21px; font-weight:800; margin:0; }
.su-exam h3 i { color:var(--gold2); margin-right:6px; }
.su-exam-sub { font-size:13.5px; color:var(--muted); font-weight:600; margin:4px 0 12px; }
.su-exam ul { list-style:none; padding:0; margin:0 0 14px; font-size:14.5px; line-height:1.6; }
.su-exam li { padding:6px 0; border-bottom:1px dashed var(--line); }
.su-exam li:last-child { border-bottom:0; }
.su-exam li b { color:var(--navy); }
.su-link { margin-top:auto; font-weight:700; color:var(--navy); font-size:14px; }
.su-link:hover { color:var(--gold2); }

/* ---------- TABLES ---------- */
.su-table-wrap { background:#fff; border:1px solid var(--line); border-radius:16px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.su-table { min-width:760px; }
.su-table td a { white-space:normal; }

/* ---------- TIMELINE ---------- */
.su-time { list-style:none; counter-reset:su; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.su-time li { counter-increment:su; background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px 18px 18px 64px; position:relative; }
.su-time li::before { content:counter(su); position:absolute; left:18px; top:18px; width:32px; height:32px; border-radius:50%; background:var(--navy); color:var(--gold);
    font-weight:800; display:flex; align-items:center; justify-content:center; }
.su-time b { display:block; color:var(--navy); font-size:16px; margin-bottom:4px; }
.su-time span { font-size:14.5px; line-height:1.6; color:var(--muted); }

/* ---------- MISTAKES / HELP ---------- */
.su-two { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.su-two h2 { margin:0 0 14px; }
.su-list { list-style:none; padding:0; margin:0; }
.su-list li { position:relative; padding:9px 0 9px 30px; font-size:15px; line-height:1.6; border-bottom:1px solid var(--line); }
.su-list li::before { font-family:FontAwesome; position:absolute; left:4px; top:9px; }
.su-list.bad li::before { content:'\f00d'; color:#b91c1c; }
.su-list.good li::before { content:'\f00c'; color:var(--ok); }
.su-list a { color:var(--navy); font-weight:700; text-decoration:underline; }

@media (max-width:991px) {
  .su-grid3, .su-exams, .su-time { grid-template-columns:1fr 1fr; }
  .su-cards { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .su .hm-hero h1 { font-size:28px; }
  .su .hm-head h2, .su-two h2 { font-size:23px; }
  .su-grid3, .su-exams, .su-time, .su-two { grid-template-columns:1fr; }
  .su-card { padding:16px; }
}
