/* =========================================================
   Ascent Software Training Institute — Cyber Security course page
   Extends the course-page components (as- namespace).
   ========================================================= */

/* ---------- Hero: SOC console illustration ---------- */
.as-cshero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(26,35,128,.08), transparent 65%); }
.as-soc { position: relative; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-r-lg); box-shadow: var(--as-shadow-lg); overflow: hidden; margin: 0; }
.as-soc__body { padding: 16px; display: grid; gap: 12px; }
.as-soc__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.as-soc__kpis .as-kpi2 span { color: var(--as-muted); }
.as-soc__kpis .as-kpi2 span.dn { color: #A3261A; }
.as-soc__alerts { border: 1px solid var(--as-line); border-radius: 10px; overflow: hidden; }
.as-soc__alerts li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--as-line); font-size: 12.5px; color: var(--as-text); }
.as-soc__alerts li:last-child { border-bottom: 0; }
.as-soc__alerts b { font: 700 9.5px var(--as-font-mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 3px 0; border-radius: 5px; }
.as-soc__alerts .is-high b { background: #FDECEA; color: #A3261A; }
.as-soc__alerts .is-med b { background: var(--as-amber-050); color: var(--as-amber-ink); }
.as-soc__alerts .is-low b { background: var(--as-navy-050); color: var(--as-navy); }
.as-soc__alerts code { font: 500 10.5px var(--as-font-mono); color: var(--as-muted); background: var(--as-surface); padding: 3px 6px; border-radius: 5px; white-space: nowrap; }
.as-soc__flow { display: flex; align-items: center; gap: 6px; font: 600 10.5px var(--as-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--as-muted); }
.as-soc__flow span { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--as-line); background: #fff; }
.as-soc__flow span.is-on { background: var(--as-ink); color: #fff; border-color: var(--as-ink); }
.as-soc__flow i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--as-line-strong) 0 4px, transparent 4px 8px); }
.as-soc .as-dash__sql { grid-column: auto; }

/* ---------- What it protects ---------- */
.as-protect { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 18px; }
.as-protect div { background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-r); padding: 16px; }
.as-protect .as-icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--as-navy-050); color: var(--as-navy); }
.as-protect h4 { font-size: 16px; margin-top: 12px; }
.as-protect p { font-size: 13.5px; color: var(--as-muted); margin-top: 6px; line-height: 1.45; }
.as-threats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 16px; border: 1px solid var(--as-line); border-radius: var(--as-r-lg); overflow: hidden; background: #fff; }
.as-threats li { padding: 16px 20px; border-right: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); }
.as-threats li:nth-child(3n) { border-right: 0; }
.as-threats li:nth-last-child(-n+3) { border-bottom: 0; }
.as-threats b { display: block; color: var(--as-ink); font-family: var(--as-font-display); font-size: 15.5px; }
.as-threats span { display: block; font-size: 14px; color: var(--as-muted); margin-top: 4px; }
.as-types--3 { grid-template-columns: repeat(3, 1fr); }
.as-types--3 .as-type b { font-size: 18px; font-family: var(--as-font-display); }

/* ---------- Why learn ---------- */
.as-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.as-why div { border: 1px solid var(--as-line); border-radius: var(--as-r); padding: 20px; background: #fff; position: relative; }
.as-why div::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--as-amber); margin-bottom: 14px; }
.as-why h3 { font-size: 17px; }
.as-why p { font-size: 14.5px; color: var(--as-muted); margin-top: 6px; }
.as-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.as-stats figure { margin: 0; border-radius: var(--as-r-lg); padding: 22px 24px; background: var(--as-ink); color: #C9CDE8; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.as-stats b { font-family: var(--as-font-display); font-size: clamp(28px, 3.2vw, 38px); color: #fff; letter-spacing: -.03em; white-space: nowrap; }
.as-stats figcaption { font-size: 14.5px; line-height: 1.5; }
.as-stats cite { display: block; font-style: normal; margin-top: 6px; font-size: 12.5px; }
.as-stats cite a { color: var(--as-amber); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Who should join ---------- */
.as-prep { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; border-radius: var(--as-r-lg); padding: 24px 26px; background: #fff; border: 1px dashed var(--as-line-strong); }
.as-prep h3 { font-size: 19px; }
.as-prep p { font-size: 14.5px; color: var(--as-muted); margin-top: 8px; }
.as-prep ul { display: grid; gap: 10px; }
.as-prep li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: var(--as-ink); }
.as-prep li .as-icon { width: 18px; height: 18px; color: var(--as-navy); margin-top: 2px; }

/* ---------- Curriculum extras ---------- */
.as-found__list { display: grid !important; gap: 10px !important; }
.as-found__list li { display: block !important; }
.as-found__list b { display: block; color: var(--as-ink); font-size: 14.5px; }
.as-found__list span { display: block; color: var(--as-muted); font-size: 13px; }
.as-found .as-src { margin-top: 12px; }
.as-electives { border-radius: var(--as-r); padding: 16px 18px; background: var(--as-navy-050); border: 1px solid #D5DAF3; margin-top: 4px; }
.as-electives h3 { font-size: 16px; }
.as-electives p { font-size: 14.5px; color: var(--as-text); margin-top: 6px; }
.as-modules .as-note { margin-top: 4px; }

/* ---------- Tools by category ---------- */
.as-toolcats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.as-toolcat { border: 1px solid var(--as-line); border-radius: var(--as-r); background: #fff; padding: 18px 18px 16px; }
.as-toolcat__head { display: flex; align-items: center; gap: 12px; }
.as-toolcat__head .as-icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--as-ink); color: var(--as-amber); flex: none; }
.as-toolcat h3 { font-size: 16px; }
.as-toolcat ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.as-toolcat li { font: 500 12.5px var(--as-font-mono); padding: 5px 9px; border-radius: 7px; background: var(--as-surface); border: 1px solid var(--as-line); color: var(--as-ink); }
.as-toolcat p { font-size: 13.5px; color: var(--as-muted); margin-top: 10px; }

/* ---------- Labs (7 steps) ---------- */
.as-path2--7 { grid-template-columns: repeat(7, 1fr); }

/* ---------- Projects ---------- */
.as-capstone { border-radius: var(--as-r-lg); padding: 22px 24px; background: var(--as-ink); color: #C9CDE8; margin-bottom: 18px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: center; }
.as-capstone__head { display: flex; gap: 14px; align-items: center; }
.as-capstone__head .as-case__ico { background: var(--as-amber); color: var(--as-ink); }
.as-capstone h3 { color: #fff; font-size: 20px; margin-top: 6px; }
.as-capstone ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.as-capstone li { border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.as-capstone li b { display: block; font: 600 10.5px var(--as-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--as-amber); }
.as-capstone li span { display: block; font-size: 14px; color: #E3E6F7; margin-top: 4px; }
.as-ph--ok { color: #8FE0B5 !important; background: rgba(28,122,74,.2) !important; border: 1px solid rgba(143,224,181,.4) !important; }
.as-case__tools { display: flex; flex-wrap: wrap; gap: 5px; }
.as-case__tools i { font: 500 11.5px var(--as-font-mono); font-style: normal; padding: 3px 7px; border-radius: 6px; background: var(--as-navy-050); color: var(--as-navy); }

/* ---------- Career map ---------- */
.as-cmap { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 16px; align-items: start; }
.as-cmap__col { display: grid; gap: 10px; position: relative; }
.as-cmap__stage { font: 600 11px var(--as-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--as-amber-ink); padding-bottom: 6px; border-bottom: 2px solid var(--as-amber); }
.as-role2 { border: 1px solid var(--as-line); border-radius: var(--as-r); background: #fff; padding: 16px 18px; }
.as-role2 h3 { font-size: 16.5px; }
.as-role2 p { font-size: 14px; color: var(--as-muted); margin-top: 6px; }
.as-role2 small { display: block; margin-top: 10px; font: 600 10.5px var(--as-font-mono); color: var(--as-navy); letter-spacing: .03em; line-height: 1.5; }
.as-cmap__col--grow { border-radius: var(--as-r-lg); padding: 18px; background: var(--as-ink); color: #C9CDE8; }
.as-cmap__col--grow .as-cmap__stage { color: var(--as-amber); border-color: rgba(240,138,12,.5); }
.as-cmap__grow { display: grid; gap: 8px; }
.as-cmap__grow li { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; font-weight: 600; font-size: 14.5px; }
.as-cmap__col--grow p { font-size: 13.5px; }

/* ---------- Training modes ---------- */
.as-modes { grid-template-columns: repeat(3, 1fr); }

/* ---------- Trainer ---------- */
.as-trainers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.as-trainer__row { margin-top: 0 !important; }
.as-trainer__expect { border-radius: var(--as-r-lg); padding: 24px; background: #fff; border: 1px solid var(--as-line); }
.as-trainer__expect h3 { font-size: 18px; }

/* ---------- Testimonials (static grid) ---------- */
.as-cstst { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.as-cstst .as-tst { min-height: 0; }

/* ---------- Videos (4) ---------- */
.as-video-grid--4 { grid-template-columns: 2fr 1fr 1fr; }
.as-video-grid--4 .as-video--featured { grid-column: span 1; }
.as-video-grid--4 .as-video:nth-child(4) { grid-column: span 2; }

/* ---------- Proof numbers ---------- */
.as-proof { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--as-line); border-radius: var(--as-r-lg); overflow: hidden; background: #fff; margin-bottom: 18px; }
.as-proof div { padding: 18px 20px; border-right: 1px solid var(--as-line); }
.as-proof div:last-child { border-right: 0; }
.as-proof b { display: block; font-family: var(--as-font-display); font-size: 26px; color: var(--as-ink); letter-spacing: -.02em; }
.as-proof span { display: block; font-weight: 600; color: var(--as-ink); font-size: 14.5px; margin-top: 2px; }
.as-proof small { display: block; font-size: 12.5px; color: var(--as-muted); margin-top: 8px; line-height: 1.45; }
.as-proof small a { color: var(--as-navy); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Location ---------- */
.as-loc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.as-loc h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 14px; }
.as-loc p { color: var(--as-muted); margin-top: 14px; font-size: 16.5px; }
.as-loc__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.as-loc__card { display: grid; grid-template-columns: 90px 1fr; gap: 10px 16px; margin: 0; padding: 24px; border-radius: var(--as-r-lg); background: var(--as-surface); border: 1px solid var(--as-line); font-size: 14.5px; }
.as-loc__card dt { font: 600 10.5px var(--as-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--as-muted); padding-top: 3px; }
.as-loc__card dd { margin: 0; color: var(--as-ink); font-weight: 550; }
.as-loc__card a { color: var(--as-navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .as-protect { grid-template-columns: repeat(3, 1fr); }
  .as-path2--7 { grid-template-columns: repeat(4, 1fr); }
  .as-proof { grid-template-columns: repeat(3, 1fr); }
  .as-proof div:nth-child(3) { border-right: 0; }
  .as-proof div:nth-child(-n+3) { border-bottom: 1px solid var(--as-line); }
  .as-cmap { grid-template-columns: 1fr 1fr; }
  .as-cmap__col--grow { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .as-why, .as-toolcats, .as-threats, .as-modes { grid-template-columns: repeat(2, 1fr); }
  .as-threats li { border-right: 1px solid var(--as-line) !important; border-bottom: 1px solid var(--as-line) !important; }
  .as-threats li:nth-child(2n) { border-right: 0 !important; }
  .as-stats, .as-prep, .as-capstone, .as-trainers, .as-loc { grid-template-columns: 1fr; }
  .as-cstst { grid-template-columns: 1fr; }
  .as-video-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .as-video-grid--4 .as-video--featured, .as-video-grid--4 .as-video:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .as-protect, .as-why, .as-toolcats, .as-threats, .as-types--3, .as-modes, .as-cmap, .as-capstone ul, .as-proof { grid-template-columns: 1fr; }
  .as-threats li { border-right: 0 !important; }
  .as-threats li:last-child { border-bottom: 0 !important; }
  .as-proof div { border-right: 0; border-bottom: 1px solid var(--as-line); }
  .as-proof div:last-child { border-bottom: 0; }
  .as-path2--7 { grid-template-columns: 1fr; }
  .as-soc__alerts li { grid-template-columns: 42px 1fr; }
  .as-soc__alerts code { grid-column: 2; justify-self: start; white-space: normal; }
  .as-soc__kpis .as-kpi2 b { font-size: 16px; }
  .as-soc__flow { flex-wrap: wrap; }
  .as-soc__flow i { display: none; }
  .as-stats figure { grid-template-columns: 1fr; gap: 6px; }
  .as-loc__card { grid-template-columns: 1fr; gap: 2px; }
  .as-loc__card dd { margin-bottom: 10px; }
}
@media (max-width: 680px) {
  .as-case__head { flex-wrap: wrap; }
  .as-case__head .as-ph { margin-left: 60px; }
}
.as-trainers--one { grid-template-columns: 1fr; }
.as-trainers--one .as-ul { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
.as-proof { grid-template-columns: repeat(4, 1fr); }
.as-nextdate { color: var(--as-ink); margin-right: 10px; white-space: nowrap; }
@media (max-width: 1100px) { .as-proof { grid-template-columns: repeat(2, 1fr); } .as-proof div:nth-child(3) { border-right: 1px solid var(--as-line); } .as-proof div:nth-child(2n) { border-right: 0; } .as-proof div:nth-child(-n+2) { border-bottom: 1px solid var(--as-line); } .as-proof div:nth-child(3) { border-bottom: 0; } }
@media (max-width: 680px) { .as-trainers--one .as-ul { grid-template-columns: 1fr; } .as-proof { grid-template-columns: 1fr; } .as-proof div { border-right: 0 !important; border-bottom: 1px solid var(--as-line) !important; } .as-proof div:last-child { border-bottom: 0 !important; } }
