/* ASTI Campus Programmes: hub + case study pages. Builds on asti-home.css tokens (--as-*). */
.acp { color: var(--as-text); }
.acp img { max-width: 100%; height: auto; display: block; }
.acp-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 56px); background: linear-gradient(180deg, #fff 0%, var(--as-navy-050) 100%); }
.acp-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.acp-hero__grid--solo { grid-template-columns: 1fr; max-width: 860px; }
.acp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--as-amber-ink); background: var(--as-amber-050); border-radius: 999px; padding: 6px 12px; }
.acp-hero h1 { font-family: var(--as-font-display); color: var(--as-ink); font-size: clamp(28px, 4.2vw, 46px); line-height: 1.14; letter-spacing: -.02em; margin: 14px 0 14px; }
.acp-hero__dek { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; margin: 0 0 18px; }
.acp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--as-muted); margin: 0 0 22px; padding: 0; list-style: none; }
.acp-meta strong { color: var(--as-ink); font-weight: 650; }
.acp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.acp-hero__img { border-radius: var(--as-r-lg); overflow: hidden; box-shadow: var(--as-shadow-lg); aspect-ratio: 4 / 3; background: var(--as-surface); }
.acp-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* Key facts (answer-first summary for readers, Google and AI assistants) */
.acp-facts { margin: clamp(-28px, -3vw, -20px) auto 0; position: relative; z-index: 1; }
.acp-facts__card { background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-r-lg); box-shadow: var(--as-shadow); padding: clamp(18px, 2.4vw, 28px); }
.acp-facts__card h2 { font-family: var(--as-font-display); color: var(--as-ink); font-size: 20px; margin: 0 0 14px; }
.acp-facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 22px; margin: 0; }
.acp-facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--as-muted); margin: 0 0 4px; }
.acp-facts dd { margin: 0; color: var(--as-ink); font-weight: 600; line-height: 1.45; }
.acp-facts__note { margin: 14px 0 0; font-size: 14px; color: var(--as-muted); }

/* Article body */
.acp-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.acp-body--split { padding-top: 0; padding-bottom: 0; grid-template-columns: 300px minmax(0, 1fr); }
.acp-body--split .acp-head h2 { font-size: clamp(25px, 2.6vw, 32px); }
.acp-toc { position: sticky; top: 96px; align-self: start; font-size: 14.5px; }
.acp-toc p { font-weight: 700; color: var(--as-ink); margin: 0 0 10px; }
.acp-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--as-line); }
.acp-toc a { display: block; padding: 6px 0 6px 14px; color: var(--as-muted); line-height: 1.35; }
.acp-toc a:hover { color: var(--as-navy); }
.acp-prose { max-width: 760px; font-size: 17px; line-height: 1.72; }
.acp-prose h2 { font-family: var(--as-font-display); color: var(--as-ink); font-size: clamp(23px, 2.6vw, 30px); line-height: 1.22; letter-spacing: -.01em; margin: 44px 0 14px; scroll-margin-top: 96px; }
.acp-prose h2:first-child { margin-top: 0; }
.acp-prose h3 { font-family: var(--as-font-display); color: var(--as-ink); font-size: 19px; margin: 28px 0 8px; }
.acp-prose p { margin: 0 0 16px; }
.acp-prose ul, .acp-prose ol { margin: 0 0 18px; padding-left: 22px; }
.acp-prose li { margin: 0 0 8px; }
.acp-prose li::marker { color: var(--as-amber-600); }
.acp-prose a { color: var(--as-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.acp-prose strong { color: var(--as-ink); }
.acp-lead { font-size: 18.5px; color: var(--as-ink); }
.acp-callout { background: var(--as-navy-050); border-left: 4px solid var(--as-navy); border-radius: 0 var(--as-r) var(--as-r) 0; padding: 16px 20px; margin: 0 0 22px; }
.acp-callout p:last-child { margin: 0; }
.acp-callout--amber { background: var(--as-amber-050); border-left-color: var(--as-amber); }

.acp-table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15.5px; }
.acp-table th, .acp-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--as-line); }
.acp-table th { background: var(--as-surface); color: var(--as-ink); font-weight: 700; }
.acp-table td:first-child { font-weight: 650; color: var(--as-ink); white-space: nowrap; }

.acp-steps { list-style: none !important; padding: 0 !important; counter-reset: s; display: grid; gap: 12px; }
.acp-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-r); margin: 0; }
.acp-steps li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--as-ink); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }

.acp-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0 0 22px; }
.acp-person { border: 1px solid var(--as-line); border-radius: var(--as-r); padding: 14px 16px; background: #fff; }
.acp-person b { display: block; color: var(--as-ink); font-size: 16px; }
.acp-person span { display: block; font-size: 14.5px; color: var(--as-muted); line-height: 1.45; margin-top: 2px; }

.acp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; align-items: start; }
.acp-gallery figure { margin: 0; background: var(--as-surface); border-radius: var(--as-r); overflow: hidden; border: 1px solid var(--as-line); }
.acp-gallery figure.is-wide { grid-column: span 2; }
.acp-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.acp-gallery figcaption { font-size: 13.5px; line-height: 1.45; padding: 9px 11px 11px; color: var(--as-muted); }

.acp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--as-r); overflow: hidden; background: #000; margin: 0 0 8px; }
.acp-video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.acp-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.acp-video .acp-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--as-amber); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.acp-video .acp-play::after { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--as-ink); }
.acp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.acp-video-cap { font-size: 14px; color: var(--as-muted); margin: 0 0 22px; }

.acp-faq details { border: 1px solid var(--as-line); border-radius: var(--as-r); padding: 0 16px; margin: 0 0 10px; background: #fff; }
.acp-faq summary { cursor: pointer; padding: 14px 0; font-weight: 650; color: var(--as-ink); list-style: none; }
.acp-faq summary::-webkit-details-marker { display: none; }
.acp-faq summary::after { content: "+"; float: right; color: var(--as-amber-600); font-weight: 700; }
.acp-faq details[open] summary::after { content: "–"; }
.acp-faq details p { margin: 0 0 14px; }

.acp-author { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--as-line); margin-top: 36px; padding-top: 20px; font-size: 15px; color: var(--as-muted); }
.acp-author b { color: var(--as-ink); }
.acp-author__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--as-navy-050); color: var(--as-navy); display: grid; place-items: center; font-weight: 800; font-family: var(--as-font-display); }
.acp-author p { margin: 0 0 6px; }

/* Hub */
.acp-section { padding: clamp(48px, 6vw, 88px) 0; }
.acp-section--surface { background: var(--as-surface); }
.acp-head { max-width: 760px; margin: 0 0 26px; }
.acp-head h2 { font-family: var(--as-font-display); color: var(--as-ink); font-size: clamp(25px, 3vw, 36px); line-height: 1.16; letter-spacing: -.015em; margin: 10px 0 10px; }
.acp-head p { margin: 0; font-size: 17px; line-height: 1.6; }
.acp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acp-card { background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-r-lg); padding: 22px; box-shadow: var(--as-shadow-sm); }
.acp-card h3 { font-family: var(--as-font-display); color: var(--as-ink); font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.acp-card p { margin: 0 0 10px; line-height: 1.6; }
.acp-card__tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--as-navy); background: var(--as-navy-050); border-radius: 999px; padding: 4px 10px; margin: 0 0 12px; }
.acp-card ul { margin: 0; padding-left: 18px; line-height: 1.55; }
.acp-card a.acp-more { font-weight: 650; color: var(--as-navy); }

.acp-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.acp-case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-r-lg); overflow: hidden; box-shadow: var(--as-shadow-sm); transition: box-shadow .2s, transform .2s; color: inherit; text-decoration: none; }
.acp-case:hover { box-shadow: var(--as-shadow-lg); transform: translateY(-2px); }
.acp-case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.acp-case__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acp-case__when { font-size: 13.5px; font-weight: 700; color: var(--as-amber-ink); }
.acp-case h3 { font-family: var(--as-font-display); color: var(--as-ink); font-size: 20px; line-height: 1.28; margin: 0; }
.acp-case p { margin: 0; line-height: 1.55; }
.acp-case ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 0; }
.acp-case li { font-size: 13px; font-weight: 650; color: var(--as-ink); background: var(--as-surface); border: 1px solid var(--as-line); border-radius: 999px; padding: 3px 10px; }
.acp-case__go { margin-top: auto; padding-top: 6px; font-weight: 650; color: var(--as-navy); }
.acp-empty { border: 1.5px dashed var(--as-line-strong); border-radius: var(--as-r-lg); padding: 22px; background: #fff; }
.acp-empty p { margin: 0 0 12px; }
.acp-empty p:last-child { margin: 0; }

.acp-tracks { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.acp-tracks a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--as-line-strong); color: var(--as-ink); font-weight: 650; }
.acp-tracks a:hover { border-color: var(--as-ink); }

.acp-cta { background: var(--as-ink); color: #fff; border-radius: var(--as-r-lg); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; }
.acp-cta h2 { font-family: var(--as-font-display); color: #fff; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 8px; }
.acp-cta p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.6; }
.acp-cta .acp-ctas { justify-content: flex-end; }
.acp-cta a.acp-tel { color: #fff; font-weight: 650; }

.acp-disclaimer { font-size: 13.5px; color: var(--as-muted); margin: 12px 0 0; }

/* Home + Placements additions */
.acp-strip { background: var(--as-navy-050); border: 1px solid var(--as-line); border-radius: var(--as-r-lg); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 22px; }
.acp-strip p { margin: 0; color: var(--as-ink); font-weight: 600; line-height: 1.5; max-width: 760px; }

@media (max-width: 980px) {
  .acp-hero__grid { grid-template-columns: 1fr; }
  .acp-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acp-body { grid-template-columns: 1fr; }
  .acp-toc { position: static; }
  .acp-toc ol { display: none; }
  .acp-toc { display: none; }
  .acp-grid3 { grid-template-columns: 1fr; }
  .acp-cta { grid-template-columns: 1fr; }
  .acp-cta .acp-ctas { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .acp-cases { grid-template-columns: 1fr; }
  .acp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acp-gallery figure.is-wide { grid-column: span 2; }
  .acp-facts dl { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .acp-prose { font-size: 16.5px; }
  .acp-table thead { display: none; }
  .acp-table, .acp-table tbody, .acp-table tr, .acp-table td { display: block; width: 100%; }
  .acp-table tr { border: 1px solid var(--as-line); border-radius: var(--as-r); margin: 0 0 10px; overflow: hidden; }
  .acp-table td { border: 0; padding: 8px 12px; }
  .acp-table td:first-child { background: var(--as-surface); white-space: normal; }
}
