/* Outset Business campus pages in the main site's 2026 design (src/clones/routes/campus-refresh.astro): public/refresh/campus.css as
   it is, loaded after this site's program.css (its buttons, type scale and colours). Change: the hero burst is this site's.
   A main-site change to public/refresh/campus.css does not reach this site: copy it over. */
/* 2026 refresh: campus page template (src/lib/templates/campus-page.js). Spec section 2.2 C1, C4.
   Loaded together with program.css, whose campus cards, logos strip and popular band the campus page reuses. */

/* C1 Hero: photo strip under the bar, then the text block with the turquoise burst behind its right half */
.section_campus-hero { padding-top: var(--nav-h); border-bottom: 1px solid var(--_style-guide-2-0---outset-soft-black-tint); overflow: hidden; }
.campus-hero_strip { display: grid; gap: .75rem; height: 25rem; margin-left: -2.75rem; }
.campus-hero_strip.is-4 { grid-template-columns: 364fr 556fr 240fr 288fr; }
.campus-hero_strip.is-3 { grid-template-columns: 364fr 556fr 528fr; }
.campus-hero_strip.is-2 { grid-template-columns: 1fr 1fr; margin-left: 0; }
.campus-hero_strip.is-1 { grid-template-columns: 1fr; margin-left: 0; }
.campus-hero_photo { overflow: hidden; background-color: var(--_style-guide-2-0---outset-grey); }
.campus-hero_photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.campus-hero_content {
  position: relative;
  padding: 1.75rem 0 5rem;
}
.campus-hero_content::before {
  content: "";
  position: absolute;
  top: 0;
  right: -12rem;
  width: 55rem;
  height: 55rem;
  background: url(/refresh/hero-burst-business.svg) 50% / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.campus-hero_content > * { position: relative; z-index: 1; }
.campus-hero_heading { max-width: 53.5rem; margin-top: 4.5rem; }
.campus-hero_intro { max-width: 36rem; margin-top: 1.5rem; }
.campus-hero_intro p { margin: 0 0 .75rem; }
.campus-hero_buttons { display: flex; flex-wrap: wrap; gap: .8125rem; margin-top: 3rem; }
.campus-hero_buttons .button { display: inline-flex; min-width: 15.5rem; }
.campus-hero_outline.button { border-width: 1px; }
.section_campus-hero.is-no-photos .campus-hero_heading { margin-top: 3rem; }
@media screen and (max-width: 991px) {
  .campus-hero_strip { height: 18rem; margin-left: 0; }
  .campus-hero_strip.is-4 { grid-template-columns: 2fr 3fr 1.5fr; }
  .campus-hero_strip.is-4 .campus-hero_photo:nth-child(4) { display: none; }
  .campus-hero_strip.is-3 { grid-template-columns: 2fr 3fr 2fr; }
  .campus-hero_content::before { right: -20rem; width: 40rem; height: 40rem; }
  .campus-hero_heading { margin-top: 3rem; }
}
@media screen and (max-width: 767px) {
  .campus-hero_strip,
  .campus-hero_strip.is-4,
  .campus-hero_strip.is-3,
  .campus-hero_strip.is-2 { display: flex; height: 15rem; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .campus-hero_strip::-webkit-scrollbar { display: none; }
  .campus-hero_strip .campus-hero_photo,
  .campus-hero_strip.is-4 .campus-hero_photo:nth-child(4) { display: block; flex: none; width: 85%; scroll-snap-align: start; }
  .campus-hero_strip.is-1 .campus-hero_photo { width: 100%; }
  .campus-hero_content { padding-bottom: 3.5rem; }
  .campus-hero_content::before { top: 4rem; right: -14rem; width: 28rem; height: 28rem; }
  .campus-hero_heading { margin-top: 2rem; }
  .campus-hero_buttons { margin-top: 2rem; }
}
@media screen and (max-width: 479px) {
  .campus-hero_buttons .button { width: 100%; min-width: 0; }
}

/* C4 Programs at {Campus}: heading centred, date filter pill on the left of the same line, 4 cards across. A grid, not
   an absolutely placed pill: the pill's dates ("August 1 – August 6, 2027") ran into a long heading below ~1200px; the
   side columns keep the heading centred while there is room and move it right of the pill when there is not. */
.section_campus-programs { padding: 5.5rem 1.5rem 4.5rem; scroll-margin-top: var(--nav-h); }
.campus-programs_head { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 1.5rem; align-items: center; min-height: 2.75rem; margin-bottom: 2.5rem; }
.campus-programs_heading { grid-area: 1 / 2; text-align: center; }
.campus-programs_filter { grid-area: 1 / 1; justify-self: start; margin: 0; }
.campus-programs_select {
  appearance: none;
  height: 2.5rem;
  min-width: 10rem;
  margin: 0;
  padding: 0 2.5rem 0 1.25rem;
  border: 1px solid var(--_style-guide-2-0---white);
  border-radius: 1.5rem;
  background: var(--_style-guide-2-0---white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6'%3E%3Cpath d='M0 0h12L6 6z' fill='%230073F5'/%3E%3C/svg%3E") right 1rem center / .75rem no-repeat;
  box-shadow: 0 0 12px rgba(18, 18, 22, .1);
  color: var(--_style-guide-2-0---outset-mid-blue);
  font-family: Marrsans Web, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  cursor: pointer;
}
.campus-programs_select:focus-visible { outline: 2px solid var(--_style-guide-2-0---outset-mid-blue); outline-offset: 2px; }
.campus-programs_list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.campus-programs_list > .program-card_card-item { margin: 0; }
.campus-programs_empty { margin: 2rem 0 0; text-align: center; font-family: Marrsans Web, Arial, sans-serif; font-size: 1.125rem; }
@media screen and (max-width: 991px) {
  .campus-programs_head { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
  .campus-programs_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .section_campus-programs { padding: 4rem 1rem 3.5rem; }
  .campus-programs_list { grid-template-columns: 1fr; }
}

/* ---- This site only (Nov 2026) ---- */
/* Apply Now in view when the page opens: the photo strip follows the screen height (25rem on a tall screen, less on a
   laptop) and the text block sits closer under it, so the buttons clear the fold at 1280x720 and up. */
@media screen and (min-width: 992px) {
  .campus-hero_strip { height: clamp(14rem, 34vh, 25rem); }
  .campus-hero_heading { margin-top: 2.25rem; }
  .campus-hero_buttons { margin-top: 2rem; }
}
@media screen and (max-width: 991px) {
  .campus-hero_strip { height: clamp(10rem, 24vh, 18rem); }
  .campus-hero_heading { margin-top: 2rem; }
  .campus-hero_buttons { margin-top: 1.5rem; }
}
/* "A Typical Day": the two overlapping photos. On the main site their grid places come from its Webflow page styles
   (by element id), which this site does not load - without them both photos shrank into one 87px cell. */
#w-node-_331b22d4-d18b-b68c-17c2-7ff93ad60e68-cd273ec4 { grid-area: 1 / 1 / 4 / 5; z-index: 3; }
#w-node-_331b22d4-d18b-b68c-17c2-7ff93ad60e6a-cd273ec4 { grid-area: 2 / 4 / 5 / 8; z-index: 2; }
@media screen and (max-width: 767px) {
  /* phones: the swipeable strip follows the screen height too (15rem on a tall phone), so Apply Now shows on an iPhone SE */
  .campus-hero_strip,
  .campus-hero_strip.is-4,
  .campus-hero_strip.is-3,
  .campus-hero_strip.is-2 { height: clamp(10rem, 24vh, 15rem); }
  .campus-hero_buttons { margin-top: 1.5rem; }
}
/* Program cards: the photo fills its card. A /media photo gets a srcset whose sizes say 336px (src/middleware.ts), and
   without a set width the browser drew it 336px wide inside a wider card. */
.campus-programs_list .program-card_card-image-wrapper { width: 100%; }
.campus-programs_list .program-card_card-image { display: block; width: 100%; height: 100%; object-fit: cover; }
