/* Musculoskeletal Ultrasound Cadaveric Course page. Builds on the Signature
   Course chapter page (chapter-course.css) and the ProMedAcademy Brand
   Guidelines v2.0 tokens (pma-brand.css); only the blocks that page has no
   equivalent for are added here. Mobile first: the base rules are the phone
   layout and wider screens are added with min-width queries.
   Colour roles follow the guidelines: orange is the one field per piece and
   Track A, teal (observers / highlights) marks Track B, navy the faculty. */

.msk-course { overflow-x: hidden; }
.msk-course .cc-topbar-actions { gap: 16px; }
.msk-course .cc-brand img { height: 46px; }
.msk-course .cc-topbar-actions { margin-left: auto; }
/* The PNU host logo at the top right of the hero is a full-colour lockup:
   keep it on white. On phones it follows the course logo; on wider screens it
   sits level with the course logo at the far right of the hero. */
.msk-hero-host {
  display: inline-block; margin: 0 0 18px; padding: 0; background: transparent;
  border: 0; line-height: 0;
}
.msk-hero-host img { display: block; width: auto; height: 58px; max-width: 75vw; }
.msk-course .msk-footer-brand { display: block; line-height: 0; }
.msk-course .cc-footer-logo { width: 80px; }

/* Hero: the chapter hero, with the leaning orange field and a line graphic of
   a probe over a scan field sitting on it. */
.msk-hero .cc-hero-inner { padding-bottom: 150px; }
.msk-hero-mark {
  position: absolute; z-index: 1; right: 6%; bottom: 14px; width: 120px; height: 120px;
  color: var(--pma-ink);
}
.msk-soon {
  display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 3px;
  background: var(--pma-gold); color: var(--pma-ink); letter-spacing: .12em; vertical-align: 1px;
}
.msk-course .cc-hero::after { top: auto; height: 150px; left: 40%; }
.msk-course .cc-facts li { flex: 1 1 140px; }
/* Values sit under their labels at the top of each box, and the long venue
   takes a full row of its own under date, time and places. */
.msk-course .cc-facts li { align-content: start; }
.msk-course .cc-facts li.msk-fact-venue { flex: 1 1 100%; order: 3; }
.msk-btn-link { display: inline-block; text-decoration: none; }
.msk-locked { text-decoration: none; }
.msk-course .cc-hero-strip { flex-wrap: wrap; }

.msk-course .cc-tabs a { padding: 12px 10px; font-size: 13.5px; }
.msk-course .cc-section { padding-top: 44px; }
.msk-course .cc-about { grid-template-columns: 1fr; gap: 24px; }
.msk-note { max-width: 760px; margin: -6px 0 20px; color: var(--pma-stone); }
.msk-subhead { font: 600 12px/16px var(--pma-head); letter-spacing: .14em; text-transform: uppercase; color: var(--pma-ink); margin: 4px 0 12px; }

/* Cards: audience, stations, fees and partner links. */
.msk-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.msk-card {
  position: relative; display: grid; gap: 8px; align-content: start;
  background: #fff; border: 1px solid var(--pma-steel); border-radius: 8px; padding: 20px;
}
.msk-card h3 { font: 700 18px/1.3 var(--pma-head); color: var(--pma-ink); }
.msk-card p { font-size: 15.5px; }
.msk-card-mark {
  width: 40px; height: 44px; display: grid; place-items: center; padding-bottom: 4px;
  background: var(--pma-orange); color: var(--pma-ink); font: 800 16px var(--pma-head);
  clip-path: polygon(0 9%, 25% 2.5%, 50% 0, 75% 2.5%, 100% 9%, 100% 56%, 96% 70%, 86% 82%, 70% 92%, 50% 100%, 30% 92%, 14% 82%, 4% 70%, 0 56%);
}
.msk-card-mark-teal { background: var(--pma-teal); color: #fff; }
.msk-tag {
  justify-self: start; font: 600 11px/1.6 var(--pma-head); letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 3px; background: var(--pma-orange-20); color: var(--pma-ember);
}
.msk-tag-teal { background: #D6ECEE; color: var(--pma-teal); }
.msk-card-link { text-decoration: none; color: inherit; border-left: 5px solid var(--pma-gold); }
.msk-card-link:hover, .msk-card-link:focus-visible { border-color: var(--pma-gold); box-shadow: 0 6px 18px rgba(38, 35, 35, .1); }
.msk-arrow { font: 700 15px var(--pma-head); color: var(--pma-ember); }

.msk-learn { display: grid; grid-template-columns: 1fr; gap: 14px; }
.msk-objectives-teal { border-left-color: var(--pma-teal); }
.msk-objectives-teal li::marker { color: var(--pma-teal); }

/* Programme: blocks without times (the times are still to be announced). */
.msk-block { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 20px; border-top: 1px solid var(--pma-mist); }
.msk-block:first-of-type { border-top: 0; }
.msk-block b { font: 600 12px/18px var(--pma-head); letter-spacing: .14em; text-transform: uppercase; color: var(--pma-ember); }
.msk-block strong { color: var(--pma-ink); font-weight: 600; }
.msk-block-close { background: var(--pma-mist); }
.msk-course .cc-day-head { flex-wrap: wrap; }
.msk-tracks { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px 20px; }
.msk-track { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 8px; border: 1px solid var(--pma-steel); border-top: 5px solid var(--pma-orange); }
.msk-track-teal { border-top-color: var(--pma-teal); }
.msk-track h3 { font: 700 17px/1.3 var(--pma-head); color: var(--pma-ink); }
.msk-track ul { padding-left: 18px; display: grid; gap: 4px; }
.msk-track-rule { font-weight: 600; color: var(--pma-ink); }

/* Stations: the station strip, one leaning tile per live-model region. */
.msk-stations { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.msk-stations li { display: flex; align-items: center; gap: 10px; background: var(--pma-mist); border-radius: 6px; padding: 10px 12px; }
.msk-stations i {
  flex: none; display: grid; place-items: center; width: 34px; height: 26px; border-radius: 3px;
  background: var(--pma-orange); color: var(--pma-ink); font: 700 13px var(--pma-head); font-style: normal;
  transform: skewX(calc(-1 * var(--pma-lean)));
}
.msk-stations i span { transform: skewX(var(--pma-lean)); }
.msk-stations strong { font: 600 15px var(--pma-head); color: var(--pma-ink); }

/* Dates and fees. */
.msk-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msk-facts div { background: var(--pma-mist); border-radius: 8px; padding: 14px 16px; }
.msk-facts dt, .msk-fee dt { font: 600 11px/16px var(--pma-head); letter-spacing: .14em; text-transform: uppercase; color: var(--pma-ember); }
.msk-facts dd { font: 700 16px/1.35 var(--pma-head); color: var(--pma-ink); margin-top: 4px; }
.msk-fee dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin-top: 6px; align-items: baseline; }
.msk-fee dd { font-weight: 600; color: var(--pma-ink); }
.msk-course #registration .cc-register { margin-top: 20px; }

/* FAQ. */
.msk-faq { display: grid; gap: 10px; max-width: 860px; }
.msk-faq details { background: #fff; border: 1px solid var(--pma-steel); border-radius: 8px; }
.msk-faq summary { cursor: pointer; padding: 14px 18px; font: 600 16px/1.35 var(--pma-head); color: var(--pma-ink); list-style-position: outside; }
.msk-faq details[open] summary { border-bottom: 1px solid var(--pma-mist); }
.msk-faq p { padding: 12px 18px 16px; }

.msk-contact { display: grid; gap: 16px; justify-items: start; background: var(--pma-mist); border-radius: 8px; padding: 24px; border-left: 5px solid var(--pma-orange); }
.msk-contact h2 { margin-bottom: 6px; }

/* The not-yet-open notice raised by registration-lock.js (styled in styles.css
   on the house pages, which this page does not load). */
.is-registration-locked { opacity: .6; cursor: not-allowed; }
.post-course-lock-notice {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; max-width: min(520px, calc(100% - 32px));
  padding: 14px 18px; border-left: 4px solid var(--pma-orange); border-radius: 4px; background: #fff;
  box-shadow: 0 14px 34px rgba(38, 35, 35, .22); color: var(--pma-ink); font-size: 14px; line-height: 1.55;
  transform: translate(-50%, 14px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
}
.post-course-lock-notice.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

@media (min-width: 640px) {
  .msk-cards-2 { grid-template-columns: repeat(2, 1fr); }
  .msk-stations { grid-template-columns: repeat(3, 1fr); }
  .msk-facts { grid-template-columns: repeat(4, 1fr); }
  .msk-block { grid-template-columns: 110px 1fr; gap: 14px; }
  .msk-tracks { grid-template-columns: 1fr 1fr; }
  .msk-course .cc-brand img { height: 56px; }
}

@media (min-width: 900px) {
  .msk-cards-3, .msk-learn { grid-template-columns: repeat(3, 1fr); }
  .msk-course .cc-about { grid-template-columns: 1.2fr 1fr; gap: 36px; }
  .msk-stations { grid-template-columns: repeat(6, 1fr); }
  .msk-contact { grid-template-columns: 1fr auto; align-items: center; }
  .msk-hero .cc-hero-inner { padding-bottom: clamp(40px, 7vw, 80px); padding-right: max(30%, 48px); }
  .msk-course .cc-hero::after { top: 0; height: auto; left: 76%; }
  .msk-hero-mark { top: 50%; bottom: auto; right: 5%; width: 170px; height: 170px; transform: translateY(-50%); }
  .msk-hero-host { position: absolute; top: clamp(40px, 7vw, 80px); right: clamp(16px, 4vw, 48px); margin: 0; }
  .msk-hero-host img { height: 70px; }
  .msk-course .cc-tabs a { padding: 14px 12px; font-size: 14px; }
}

/* Host: the PNU Clinical Skills and Simulation Center logo, always on white. */
.msk-host {
  display: inline-flex; align-items: center; gap: 14px; margin: 18px 0 4px;
  padding: 10px 16px; background: #fff; border-radius: 8px; border: 1px solid var(--pma-steel);
}
.msk-host span { font: 600 11px/14px var(--pma-head); letter-spacing: .12em; text-transform: uppercase; color: var(--pma-stone); }
.msk-host img { display: block; width: auto; height: 52px; max-width: 100%; }
.msk-host-card-logo { display: block; width: auto; height: 56px; max-width: 100%; margin-top: 6px; }
@media (max-width: 420px) {
  .msk-host { flex-direction: column; align-items: flex-start; gap: 6px; }
}
