/* ==========================================================================
   The Semester Pass band, at the top of every university's home
   (includes/semester-pass-band.php, 2026-11-17).
   ⭐ The pass pages' own colours: their navy band, their gold button, their
   amber ticks, so the home and the pass it opens read as one product.
   ⛔ No `+` or `~` sibling selectors, no rule beside a block of text.
   ========================================================================== */

.mn-spb {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 27rem;
  gap: 2rem;
  align-items: center;
  margin: 1.5rem 0 2rem;
  padding: 1.75rem 2rem;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(29, 80, 202, 0.55) 0%, rgba(29, 80, 202, 0) 60%),
    linear-gradient(135deg, #0b1d4e 0%, #102a6b 55%, #15389a 100%);
  color: #ffffff;
}

.mn-spb-copy { min-width: 0; }

.mn-spb .mn-spb-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #ffd86b;
}

.mn-spb .mn-spb-h {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.mn-spb .mn-spb-lead {
  margin: 0.45rem 0 1rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.mn-spb .mn-spb-ticks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.25rem;
  max-width: 32rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.mn-spb .mn-spb-ticks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.93rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.mn-spb .mn-spb-ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #ffd86b;
}

/* The pass page's own gold (.mn-sbx-cta-gold), so the way in looks like the way to buy. */
.mn-spb .mn-spb-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border: 1px solid #d99a06;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd45c 0%, #f2b21b 100%);
  box-shadow: 0 1px 2px rgba(120, 80, 0, 0.18);
  color: #3d2800;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.mn-spb .mn-spb-cta:hover,
.mn-spb .mn-spb-cta:focus-visible {
  background: linear-gradient(180deg, #ffcc3d 0%, #e6a500 100%);
  color: #2e1e00;
}

.mn-spb .mn-spb-cta:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* The picture: the pass cards' covers, fanned, as /semester-pass draws its hero. */
.mn-spb-art {
  position: relative;
  height: 19.5rem;
  pointer-events: none;
}

.mn-spb-card {
  position: absolute;
  width: 21.5rem;
  filter: drop-shadow(0 14px 24px rgba(3, 10, 30, 0.35));
}

.mn-spb-card .mn-semcard { box-shadow: none; border-color: rgba(255, 255, 255, 0.16); }
.mn-spb-card .mn-semcard-body { display: none; }
.mn-spb-card--notes { top: 0; left: 0; transform: rotate(-4deg); }
.mn-spb-card--papers { right: 0; bottom: 0; transform: rotate(3deg); }
.mn-spb-art.is-single .mn-spb-card { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-3deg); }

@media (max-width: 900px) {
  .mn-spb { grid-template-columns: minmax(0, 1fr); }
  .mn-spb-art { display: none; }
}

@media (max-width: 640px) {
  .mn-spb { margin: 1rem 0 1.5rem; padding: 1.35rem 1.1rem; border-radius: 16px; }
  .mn-spb .mn-spb-h { font-size: 1.55rem; }
  .mn-spb .mn-spb-ticks { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .mn-spb .mn-spb-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mn-spb .mn-spb-cta { transition: none; }
}
