/* Campuses only: linked after pages.css by the page's front matter "css": ["p-campus"].
   AEO package Phase 3 (author a3, 18 Nov 2026). Tokens from style.css; components from pages.css. */

/* the campus table: a small line under a cell, the phones on their own lines */
.cmp td small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.cmp td a[href^="tel:"] { white-space: nowrap; }
.cmp th[scope="row"] a { font-weight: 400; text-decoration: none; border-bottom: 1px solid var(--gold); }
.cmp th[scope="row"] a:hover { border-bottom-color: var(--pine); }

/* one row per campus: the campus name as the chapter title, a size down from the default crow title so the longer
   names ("Kuala Lumpur main campus, Jalan Puchong") hold two lines beside the photos */
.crow { scroll-margin-top: 90px; }
.crow__text h2 { font-size: clamp(34px, 3.3vw, 50px); line-height: 1.04; text-wrap: balance; }
.crow__text > p:not([class]) { max-width: 60ch; }
.crow__text > p:not([class]) + p:not([class]) { margin-top: 12px; }
.crow__more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; }
.crow__more .link-arrow { margin: 0; }

/* Kuala Lumpur: the tall building photo leads, two small photos stacked beside it */
@media (min-width: 761px) {
  .crow--tall .crow__media figure:first-child img { aspect-ratio: 4 / 5; }
}

/* the other three: a wide lead photo across the top, two below it */
.crow__media--wide { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.crow__media--wide figure:first-child { grid-column: 1 / -1; grid-row: auto; }
.crow__media--wide figure:first-child img { aspect-ratio: 3 / 2; }
.crow__media--wide figure img { aspect-ratio: 4 / 3; }
#subang-jaya .crow__media--wide figure:first-child img { aspect-ratio: 2 / 1; }

/* every photo carries a short caption on a solid pine pill (readable on any photo); a photo that belongs to another
   page links there and its pill carries an arrow */
.crow__media figure { position: relative; }
.cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 7px 11px; border-radius: 99px;
  background: var(--pine-dd); color: var(--paper); font: 600 12.5px/1.15 var(--sans); letter-spacing: .03em; pointer-events: none; }
.cap--link::after { content: " →"; color: var(--gold-l); }
.crow__link > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.crow__link img { transition: transform 1.2s var(--ease); }
.crow__link a:hover img { transform: scale(1.04); }

/* a parent's words inside the Cheras row */
.crow__quote { margin: 20px 0 4px; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold); }
.crow__quote blockquote { margin: 0; }
.crow__quote blockquote p { margin: 0; font: italic 400 clamp(19px, 1.5vw, 22px)/1.4 var(--serif); color: var(--pine-dd); }
.crow__quote figcaption { margin-top: 8px; font: 700 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }

/* how to visit, on pine: the steps beside the words */
#visit .duo__text a { color: var(--gold-l); font-weight: 600; }
#visit .steps { margin: 0; padding: 0; list-style: none; }
/* each step's title, styled as the steps' h3 (a short label, not a heading of its own) */
.steps .st-t { margin: 12px 0 6px; max-width: none; font: 400 clamp(22px, 1.8vw, 27px)/1.2 var(--serif); color: var(--paper); }

/* each question is an h3 inside its summary (for the engines), styled exactly as the summary is */
.faq-item summary h3 { font: inherit; color: inherit; letter-spacing: inherit; margin: 0; }
