﻿/* STU Tuyển sinh 2026 - UI (no build tools) - FINAL CLEAN */

/* =========================
   Variables + Base
   ========================= */
:root{
  --fg:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --soft:#f5f7fb;
  --line:#e6e8ef;

  /* STU brand */
  --primary:#0B5195;          /* xanh */
  --primary2:#D71920;         /* đỏ */
  --primary-rgb:11,81,149;
  --secondary-rgb:215,25,32;

  --stu-blue:#0b2f7a;
  --stu-red:#d81f26;
  --stu-line:#e6edf7;

  --shadow:0 10px 25px rgba(2,6,23,.10);
  --radius:18px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--fg);
  background:#fff;
  line-height:1.5;
  overflow-x:hidden; /* tránh tràn ngang gây “co/giật” */
}

a{color:inherit; text-decoration:none}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:.95em;
  background:#0b102010;
  padding:2px 6px;
  border-radius:8px
}
.container{max-width:1160px; margin:0 auto; padding:0 18px}

/* để khi bấm menu anchor không bị NAV che tiêu đề */
section[id]{ scroll-margin-top: 86px; }

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px; border-radius:14px;
  font-weight:700; font-size:14px;
  border:1px solid transparent;
  cursor:pointer; user-select:none
}
.btn--primary{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  color:#fff; box-shadow:var(--shadow)
}
.btn--primary:hover{filter:brightness(1.03)}
.btn--ghost{
  background:#fff; border-color:var(--line); color:#0f172a
}
.btn--ghost:hover{background:#0b102008}

/* =========================
   STU Masthead (Header thông tin)
   (logo + tên trường + mã trường canh trái)
   ========================= */
.stu-masthead{
  background:#fff;
  border-bottom:1px solid var(--stu-line);
}

.stu-masthead__inner{
  max-width:1160px;
  margin:0 auto;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.stu-brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:320px;
}

.stu-logo{
  width:78px; /* chỉnh size logo ở đây */
  height:auto;
  display:block;
}

.stu-brandText{
  display:flex;
  flex-direction:column;
  gap:2px;
  align-items:flex-start; /* canh trái */
}

.stu-name-1{
  font-weight:900;
  font-size:18px;
  letter-spacing:.3px;
  color:var(--stu-blue);
  line-height:1.1;
  text-transform:uppercase;
}

.stu-name-2{
  font-weight:1000;
  font-size:28px; /* vừa giống format bạn gửi */
  letter-spacing:.3px;
  color:var(--stu-red);
  line-height:1.1;
  text-transform:uppercase;
}

.stu-code{
  margin-top:6px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  background:#fff3dc;
  border:1px solid #f0d8ab;
  color:var(--stu-blue);
  font-weight:900;
  font-size:13px;
}
.stu-code b{
  color:var(--stu-red);
  font-size:16px;
  letter-spacing:.8px;
}

.stu-masthead__right{
  text-align:right;
  color:var(--stu-blue);
  font-size:14px;
  line-height:1.35;
}

.stu-line{ margin:3px 0; }
.stu-line b{ font-weight:900; }
.stu-note{ color:#475569; font-style:italic; }
.stu-masthead__right a{ color:inherit; }
.stu-hotline{
  color:var(--stu-red);
  font-weight:1000;
  text-decoration:underline;
  text-underline-offset:3px;
}

/* =========================
   STU NAV (Menu) - CỐ ĐỊNH KHI CUỘN
   ========================= */
.stu-nav{
  position:sticky;
  top:0;
  z-index:9999;
  background:rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--stu-line);
  box-shadow:0 6px 16px rgba(2,6,23,.06);
}

.stu-nav__inner{
  max-width:1160px;
  margin:0 auto;
  padding:10px 18px;
  display:flex;
  align-items:center;
  gap:14px;
}

.stu-nav__brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:220px;
}
.stu-nav__title{
  font-weight:1000;
  color:var(--stu-blue);
  line-height:1.1;
}
.stu-nav__sub{
  font-size:13px;
  color:var(--muted);
  line-height:1.2;
}

.stu-nav__links{
  flex:1;
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.stu-nav__links a{
  color:#0f172a;
  font-weight:700;
  padding:8px 10px;
  border-radius:10px;
}
.stu-nav__links a:hover{ background:#f1f5f9; }

.stu-nav__actions{
  display:flex;
  gap:10px;
  align-items:center;
}

/* =========================
   Hero
   ========================= */
.hero{
  background:
    radial-gradient(900px 280px at 10% 0%, rgba(var(--primary-rgb),.18), transparent 60%),
    radial-gradient(900px 280px at 90% 0%, rgba(var(--secondary-rgb),.12), transparent 55%);
  padding:42px 0 26px;
}
.hero__grid{display:grid; grid-template-columns: 1.35fr .85fr; gap:18px; align-items:stretch}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:800; font-size:12px; letter-spacing:.4px; text-transform:uppercase;
  padding:8px 12px; border-radius:999px;
  background:#0b102008; border:1px solid var(--line)
}
.hero__title{margin:14px 0 10px; font-size:40px; line-height:1.12; letter-spacing:-.8px}
.hero__desc{margin:0; color:#0f172a; opacity:.82; font-size:16px; max-width:62ch}
.hero__actions{margin-top:18px; display:flex; gap:10px; flex-wrap:wrap}
.hero__stats{margin-top:18px; display:flex; gap:10px; flex-wrap:wrap}

.stat{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:12px 14px; min-width:170px;
  box-shadow:0 10px 20px rgba(2,6,23,.06)
}
.stat__n{font-weight:900; font-size:18px}
.stat__t{font-size:12px; color:var(--muted); margin-top:2px}

.hero__panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}
.panel__title{font-weight:900; letter-spacing:-.2px}
.panel__list{margin-top:12px; display:flex; flex-direction:column; gap:10px}
.panelItem{display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border-radius:16px; background:var(--soft); border:1px solid #eef0f6}
.panelItem__icon{width:28px; height:28px; border-radius:10px; display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--line)}
.panelItem__title{font-weight:800; font-size:13px}
.panelItem__desc{font-size:12px; color:var(--muted); margin-top:2px}
.panel__note{margin-top:12px; font-size:12px; color:var(--muted)}

/* =========================
   Sections + Grid
   ========================= */
.section{padding:34px 0}
.section--soft{background:var(--soft)}
.section--contact{
  background:
    radial-gradient(900px 280px at 20% 0%, rgba(var(--primary-rgb),.14), transparent 60%),
    radial-gradient(900px 280px at 80% 0%, rgba(var(--secondary-rgb),.12), transparent 55%),
    var(--soft);
  padding:44px 0;
}
.section__head{margin-bottom:14px}
.section__head--row{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; font-size:16px; flex-wrap:wrap}
.section__title{margin:0; font-size:26px; letter-spacing:-.35px}
.section__sub{margin:6px 0 0; font-size:16px; color:var(--muted)}

.grid{display:grid; gap:12px}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}

/* =========================
   Cards
   ========================= */
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:0 10px 20px rgba(2,6,23,.06);
  padding:14px;
}
.card__head{display:flex; gap:10px; align-items:flex-start}
.card__icon{
  width:42px; height:42px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(var(--primary-rgb),.12), rgba(var(--secondary-rgb),.10));
  border:1px solid rgba(var(--primary-rgb),.16);
}
.card__title{font-weight:900; letter-spacing:-.2px}
.card__sub{font-size:12px; color:var(--muted); margin-top:2px}
.card__body{margin-top:10px; font-size:14px; color:#0f172a; opacity:.84}
.card__chips{margin-top:10px; display:flex; gap:8px; flex-wrap:wrap}
.chip{font-size:12px; padding:6px 10px; border-radius:999px; border:1px solid var(--line); background:#fff; color:#0f172a; opacity:.9}
.card__actions{margin-top:12px; display:flex; gap:10px; align-items:center; flex-wrap:wrap}

/* =========================
   Filters
   ========================= */
.filters{
  display:flex; gap:12px; flex-wrap:wrap;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:12px; margin-bottom:12px;
}
.input{display:flex; flex-direction:column; gap:6px; min-width:220px}
.input--grow{flex:1}
.input label{font-size:12px; color:var(--muted)}
.input input, .input select, .input textarea{
  border:1px solid var(--line); border-radius:14px; padding:10px 12px; font-size:14px; outline:none;
}
.input input:focus, .input select:focus, .input textarea:focus{
  border-color:rgba(var(--primary-rgb),.55);
  box-shadow:0 0 0 4px rgba(var(--primary-rgb),.10)
}
.hint{display:flex; align-items:center; height:42px; color:var(--muted); font-size:13px}

/* =========================
   Majors
   ========================= */
.major-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 20px rgba(2,6,23,.06); padding:14px}
.major-head{display:flex; gap:10px; align-items:flex-start}
.major-icon{width:42px; height:42px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(var(--primary-rgb),.12), rgba(var(--secondary-rgb),.10));
  border:1px solid rgba(var(--primary-rgb),.16);
}
.major-title{font-weight:900; letter-spacing:-.2px}
.major-sub{font-size:12px; color:var(--muted); margin-top:2px}
.major-meta{margin-top:10px; font-size:12px; color:#0f172a; opacity:.75}
.major-actions{margin-top:12px; display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.btn-detail{border:1px solid var(--line); background:#fff; padding:8px 10px; border-radius:14px; cursor:pointer; font-weight:800; font-size:13px}
.btn-detail:hover{background:#0b102008}
.major-detail{margin-top:10px; border-top:1px dashed var(--line); padding-top:10px; color:#0f172a; opacity:.86; font-size:14px}
.major-detail ul{margin:8px 0 0 18px}
.empty{padding:14px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); color:var(--muted)}

/* Grouped majors */
.majorGroup{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  margin-bottom:14px;
  overflow:hidden;
}
.majorGroup__summary{
  cursor:pointer;
  list-style:none;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:var(--soft);
}
.majorGroup__left{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap}
.majorGroup__title{font-weight:900}
.majorGroup__count{
  font-size:12px;
  color:var(--muted);
  padding:2px 8px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
}
.majorGroup__hint{font-size:12px; color:var(--muted)}
.majorGroup__body{padding:12px 12px 14px}
.majorGroup[open] .majorGroup__summary{ border-bottom:1px solid var(--line); }
.majorGroup summary::-webkit-details-marker{display:none;}
.majorGroup summary::marker{content:"";}

/* =========================
   View toggle
   ========================= */
.viewToggle{display:flex; gap:10px}
.pill{
  border:1px solid var(--line); background:#fff;
  padding:8px 12px; border-radius:999px; cursor:pointer; font-weight:900; font-size:13px;
}
.pill.is-active{background:#0b102008}

/* =========================
   Timeline
   ========================= */
.timeline{display:flex; flex-direction:column; gap:10px}
.tlItem{
  display:flex; gap:12px; align-items:flex-start;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:12px; box-shadow:0 10px 20px rgba(2,6,23,.06)
}
.tlDot{width:12px; height:12px; border-radius:999px; margin-top:6px; background:linear-gradient(135deg,var(--primary),var(--primary2))}
.tlDate{font-weight:900; font-size:13px}
.tlTitle{font-weight:900; letter-spacing:-.2px; margin-top:2px}
.tlDesc{font-size:13px; color:var(--muted); margin-top:4px}

/* =========================
   Table
   ========================= */
.tableWrap{
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 10px 20px rgba(2,6,23,.06)
}
.table{width:100%; border-collapse:collapse; min-width:900px}
.table th,.table td{padding:12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top}
.table th{font-size:12px; color:var(--muted); background:#fbfcff}
.link{color:var(--primary); font-weight:900}

/* =========================
   FAQ
   ========================= */
.faq{display:flex; flex-direction:column; gap:10px}
.faqItem{background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 20px rgba(2,6,23,.06)}
.faqQ{display:flex; justify-content:space-between; gap:12px; padding:14px; cursor:pointer; user-select:none}
.faqQ b{letter-spacing:-.2px}
.faqA{padding:0 14px 14px; color:#0f172a; opacity:.84; display:none}
.faqA ul{margin:8px 0 0 18px}
.faqChevron{opacity:.55}

/* =========================
   Contact
   ========================= */
.contact{display:grid; grid-template-columns: 1.05fr .95fr; gap:12px}
.contact__card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:16px;
}
.contact__card--form{background:rgba(255,255,255,.9)}
.contact__grid{margin-top:14px; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px}
.kv{background:var(--soft); border:1px solid #eef0f6; border-radius:16px; padding:12px}
.kv__k{font-size:12px; color:var(--muted)}
.kv__v{margin-top:2px; font-weight:900}
.contact__note{margin-top:12px; color:var(--muted); font-size:12px}
.form__title{margin:0; font-size:18px; letter-spacing:-.2px}
.form__sub{margin:6px 0 12px; color:var(--muted); font-size:13px}
.form__actions{margin-top:10px; display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.form__hint{color:var(--muted); font-size:12px}

/* =========================
   Footer
   ========================= */
.footer{padding:22px 0; border-top:1px solid var(--line); background:#fff}
.footer__row{display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap}
.footer__brand{font-weight:900}
.footer__sub{font-size:12px; color:var(--muted); margin-top:2px}
.footer__links{display:flex; gap:12px}
.footer__links a{font-size:13px; color:var(--muted)}
.footer__links a:hover{color:#0f172a}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr}
  .grid--3{grid-template-columns: repeat(2, minmax(0,1fr))}
  .contact{grid-template-columns:1fr}

  .stu-masthead__inner{
    flex-wrap:wrap;
    justify-content:flex-start;
  }
  .stu-masthead__right{
    width:100%;
    text-align:left;
  }

  .stu-nav__inner{ flex-wrap:wrap; }
  .stu-nav__links{
    justify-content:flex-start;
    width:100%;
    overflow-x:auto;
    flex-wrap:nowrap;
    -webkit-overflow-scrolling:touch;
  }
  .stu-nav__actions{ width:100%; justify-content:flex-start; }
}

@media (max-width: 640px){
  .grid--3{grid-template-columns:1fr}
  .grid--2{grid-template-columns:1fr}
  .hero__title{font-size:32px}
  .filters{padding:10px}
  .input{min-width:unset; width:100%}

  .stu-logo{ width:64px; }
  .stu-name-1{ font-size:16px; }
  .stu-name-2{ font-size:24px; }
}

:root{
  --wrap: 1320px; /* tăng khung lên cho đỡ co: 1280 / 1320 / 1440 tuỳ bạn */
}

/* Đồng bộ chiều rộng */
.container{ max-width: var(--wrap); margin:0 auto; padding:0 18px; }
.stu-masthead__inner{ max-width: var(--wrap); }
.stu-nav__inner{ max-width: var(--wrap); }

/* Fallback: khi bật fixed bằng JS */
.stu-nav.is-fixed{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 9999;
}

.stu-nav{
  position: sticky;
  top: 0;
  z-index: 8000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Khi JS bật fixed */
.stu-nav.is-fixed{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 9999;
}



/* ===== FIX NAV (override sticky) ===== */
.stu-nav{
  position: relative;           /* mặc định */
  left: 0; right: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
}

.stu-nav.is-fixed{
  position: fixed !important;
  top: 0;
  left: 0; right: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(2,6,23,.10);
}

#stuNavSpacer{ height: 0; }

/* để click anchor không bị che tiêu đề bởi NAV */
section[id]{ scroll-margin-top: 84px; }


/* ===== NAV fixed class ===== */
.stu-nav{
  background:#fff;
  border-bottom:1px solid #eef2f7;
  z-index: 9999;
}

.stu-nav.is-fixed{
  position: fixed !important;
  top: 0;
  left: 0; right: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(2,6,23,.10);
}

/* spacer mặc định */
#stuNavSpacer{ height: 0; }

/* click menu (#moc/#nganh...) không bị che bởi nav */
section[id]{ scroll-margin-top: calc(var(--stu-nav-h, 80px) + 12px); }



/* Majors: container groups should be block (not grid) */
.majorGroups{
  display:block;
}

/* Optional: group box look nicer */
.majorGroup{
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  background:#fff;
  margin:12px 0;
  overflow:hidden;
}

.majorGroup__summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  cursor:pointer;
}

.majorGroup__body{
  padding:12px 14px;
}

/* Optional: make cards equal height + button stick bottom */
.major-card{
  display:flex;
  flex-direction:column;
  height:100%;
}
.major-actions{ margin-top:auto; }




.majorTitleLine { font-size: 18px; line-height: 1.25; }
.majorMetaLine  { margin-top: 4px; color: #4b5563; }

.majorInlineBlock { margin: 10px 0 4px; }
.majorInlineLabel { margin-bottom: 6px; }



.majorDetailBlock { margin-top: 12px; }
.majorDetailLabel { margin-bottom: 6px; }
.majorDetailText  { line-height: 1.6; }

.majorJobsList { margin: 0; padding-left: 18px; }

.majorInlineBlock { margin: 10px 0 6px; }
.majorInlineLabel { font-weight: 400; margin-bottom: 6px; }

.majorPlusList { list-style: none; margin: 0; padding: 0; }
.majorPlusList li { display: flex; gap: 8px; margin: 6px 0; }
.majorPlusList li::before {
  content: "+";
  font-weight: 700;
  opacity: .75;
  flex: 0 0 14px;   /* cột dấu + cố định */
  text-align: left;
}
.majorPlusList li i { font-style: italic; }


.major-headText { width: 100%; }
.major-line, .major-block { margin-top: 6px; }
.major-plusItem { margin-top: 4px; }
.major-code { font-weight: 700; }

/* giảm thụt lề list trong phần chi tiết ngành */
.major-detail ul {
  margin: 6px 0 0 0;
  padding-left: 18px;   /* bạn chỉnh 14–20px tùy ý */
}

.major-detail li {
  margin: 4px 0;
}

.btn-link{background:none;border:0;color:#0b5ed7;cursor:pointer;padding:0}
.tableDetail{padding:10px 12px}



/* ===============================
   Majors tabs + planned majors list (Option A)
   =============================== */

.tabBar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 10px;
}

.tabBtn{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  padding:9px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  line-height:1;
  cursor:pointer;
}

.tabBtn:hover{ box-shadow:0 6px 18px rgba(2,6,23,.06); }

.tabBtn.is-active{
  border-color: rgba(0,84,166,.25);
  background: rgba(0,84,166,.08);
}

.majorsTopRow{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-top:10px;
}

.plannedBox{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--line);
  background: #fff;
  border-radius:16px;
  box-shadow: 0 8px 30px rgba(2,6,23,.06);
}

.plannedNote{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.plannedList{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.plannedRow{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.plannedRow__title{
  font-size:15px;
}

.plannedRow__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color: var(--muted);
  font-size:13px;
}

.badgeTiny{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(2,6,23,.02);
  color: var(--text);
  font-weight:600;
  font-size:12px;
}


/* =========================
   METHODS (Phương thức) UI
   ========================= */
#methodsGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  align-items:stretch;
}
@media (max-width: 720px){
  #methodsGrid{ grid-template-columns:1fr; gap:12px; }
}

/* Card nâng cấp */
#methodsGrid .card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  background: #fff;
  overflow:hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
#methodsGrid .card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(0,0,0,.10);
  border-color: rgba(11,74,162,.25);
}

/* Header */
#methodsGrid .card__head{
  padding:14px 14px 10px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
#methodsGrid .card__icon{
  width:44px;height:44px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;
  background: linear-gradient(135deg, rgba(11,74,162,.12), rgba(185,28,28,.10));
  border: 1px solid rgba(0,0,0,.08);
  flex:0 0 auto;
}
#methodsGrid .card__title{
  font-weight:900;
  line-height:1.25;
  font-size:15px;
  color:#0b1220;
}
#methodsGrid .card__sub{
  margin-top:4px;
  font-size:12px;
  color: rgba(0,0,0,.62);
}

/* Mô tả ngắn */
#methodsGrid .card__body{
  padding:0 14px 10px;
  color: rgba(0,0,0,.70);
  font-size:13px;
  line-height:1.5;
}

/* Chips */
#methodsGrid .chips{
  padding:0 14px 12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
#methodsGrid .chip{
  font-size:12px;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(11,74,162,.06);
  color:#0b4aa2;
}

/* Nút chi tiết */
#methodsGrid .card__actions{
  padding:0 14px 14px;
}
#methodsGrid .btn-detail{
  width:100%;
  border:none;
  border-radius:14px;
  padding:10px 12px;
  font-weight:900;
  cursor:pointer;
  background: linear-gradient(135deg,#0b4aa2,#b91c1c);
  color:#fff;
  box-shadow: 0 8px 20px rgba(11,74,162,.18);
}
#methodsGrid .btn-detail:hover{ filter: brightness(1.02); }

/* Khu chi tiết: mở/đóng mượt */
#methodsGrid .major-detail{
  max-height:0;
  overflow:hidden;
  padding:0;
  border-width:0;
  margin:0 14px;
  border-radius:14px;
  border-style:solid;
  border-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  transition: max-height .25s ease, padding .25s ease, border-width .25s ease, margin .25s ease;
}
#methodsGrid .major-detail.is-open{
  max-height:1200px;
  padding:12px;
  border-width:1px;
  margin: 0 14px 14px;
}
#methodsGrid .major-detail .method-detail{
  font-size:13px;
  line-height:1.55;
  color: rgba(0,0,0,.78);
}
/* Card ghi chú chung: trải ngang 2 cột */
#methodsGrid .card-wide{
  grid-column: 1 / -1;
}

/* Toggle chi tiết phương thức */
#methodsGrid .major-detail{
  max-height:0;
  overflow:hidden;
  padding:0;
  border-width:0;
  margin:0 14px;
  transition: max-height .25s ease, padding .25s ease, border-width .25s ease, margin .25s ease;
}

#methodsGrid .major-detail.is-open{
  max-height:2000px;
  padding:12px;
  border-width:1px;
  margin: 0 14px 14px;
}

/* Toggle chi tiết Nguồn tuyển & Quy tắc quy đổi */
#nguonQuydoiDetail{
  max-height:0;
  overflow:hidden;
  padding:0;
  border-top:0;
  transition:max-height .25s ease, padding .25s ease;
}

#nguonQuydoiDetail.is-open{
  max-height:4000px;
  padding-top:10px;
}

#methodsGrid .major-detail b{ color:#0b1220; }
#methodsGrid .major-detail ul{ margin:8px 0 0 18px; }
#methodsGrid .major-detail li{ margin:4px 0; }




/* ===== Banner ===== */
.stu-banner{ padding: 10px 0 4px; }
.stu-banner__wrap{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  background:#fff;
}
.stu-banner__img{
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 720px){
  .stu-banner{ padding: 8px 0 0; }
  .stu-banner__wrap{ border-radius: 14px; }
}
