/* =========================================================
   MORENO VALLEY COLLEGE COMMENCEMENT
========================================================= */

:root {
  --mvc-teal: #00727d;
  --mvc-teal-light: #31BFC9;
  --mvc-dark: #00353b;
  --mvc-light: #f5f9f9;
  --text: #1b1b1b;
  --white: #ffffff;
  --border: rgba(0,0,0,.08);

  --font-family:
    "Clarity City",
    "Avenir Next",
    "Segoe UI",
    sans-serif;

  --shadow:
    0 10px 30px rgba(0,0,0,.08);

  --transition:
    250ms ease;
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode {
  --mvc-light: #0f1719;
  --text: #f4f4f4;
  --white: #172124;
  --border: rgba(255,255,255,.08);
}

/* =========================================================
   GLOBAL
========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--mvc-light);
  color: var(--text);
  font-family: var(--font-family);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.program-section,
.directory-section {
  padding: 6rem 0;
}

.alt-section {
  background: rgba(0,114,125,.04);
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  color: var(--mvc-teal);
}

h3 {
  font-size: 1.2rem;
}

p {
  font-size: 1rem;
}

/* =========================================================
   EYEBROW PILLS
========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .45rem .9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--mvc-teal);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0,114,125,.18);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: white;
  padding: 1rem;
  z-index: 9999;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--mvc-teal);
  outline-offset: 3px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;

  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.55)),
    url("/_resources/images/events/commencement/commencement-2026-hero-1.jpg") center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top,
      rgba(0,114,125,.25),
      transparent 60%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-meta {
  opacity: .85;
}

.hero-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: var(--mvc-teal);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  transition: var(--transition);
}

.hero-button:hover {
  transform: translateY(-2px);
}

/* =========================================================
   NAVIGATION
========================================================= */

.program-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

body.dark-mode .program-nav {
  background: rgba(12,16,17,.92);
}

.program-nav-scroll {
  position: relative;
}

.program-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  overflow-x: auto;
  list-style: none;
  margin: 0;
  padding: 1rem 4rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  cursor: grab;
}

.program-nav ul::-webkit-scrollbar {
  display: none;
}

.program-nav ul:active {
  cursor: grabbing;
}

.program-nav a {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-size: .95rem;
  transition: color 220ms ease;
}

.program-nav a:hover {
  color: var(--mvc-teal);
}

.program-nav-next {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 64px;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--mvc-teal);
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0),
      rgba(255,255,255,.96)
    );
  cursor: pointer;
  z-index: 5;
}

body.dark-mode .program-nav-next {
  background:
    linear-gradient(
      90deg,
      rgba(15,23,25,0),
      rgba(15,23,25,.96)
    );
}

/* =========================================================
   WELCOME
========================================================= */

.welcome-section {
  padding: 7rem 0 4rem;

  background:
    linear-gradient(
      180deg,
      rgba(0,114,125,.05),
      transparent
    );
}

.welcome-content {
  width: min(900px, 92%);
  margin-inline: auto;
  text-align: center;
}

.welcome-content p {
  max-width: 70ch;
  margin-inline: auto;
}

/* =========================================================
   GALLERY
========================================================= */

.welcome-gallery {
  padding: 0 0 6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}

.gallery-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* =========================================================
   LEADERSHIP
========================================================= */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 4rem;
}

.leadership-column h3 {
  margin-bottom: 1.25rem;
  color: var(--mvc-teal);
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-list li {
  margin-bottom: .85rem;
  line-height: 1.5;
}

/* =========================================================
   PROGRAM
========================================================= */

.program-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.program-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 18px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.program-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.program-action {
  color: var(--mvc-teal);
  font-weight: 700;
  font-size: 1rem;
  flex: 1 1 45%;
}

.program-name {
  color: var(--text);
  font-size: .95rem;
  text-align: right;
  flex: 1 1 55%;
}

.program-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: rgba(0,114,125,.06);
  border: 1px solid rgba(0,114,125,.1);
  font-size: .95rem;
}

body.dark-mode .program-row {
  background: #172124;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

body.dark-mode .program-note {
  background: rgba(0,114,125,.12);
  border: 1px solid rgba(255,255,255,.06);
}

/* =========================================================
   SPEAKERS
========================================================= */

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 3rem;
}

.speaker-card,
.retiree-card,
.honor-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.speaker-content,
.retiree-card,
.honor-card {
  padding: 2rem;
}

.speaker-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.speaker-label {
  color: var(--mvc-teal);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
}

blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--mvc-teal);
  font-style: italic;
}

/* =========================================================
   DIRECTORY
========================================================= */

.directory-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.directory-heading {
  max-width: 900px;
}

.directory-scroll {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: .5rem;
  scrollbar-width: thin;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .75rem 2rem;
}

.directory-person {
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  line-height: 1.35;
}

.directory-person h3 {
  margin: 0 0 .15rem;
  font-size: .98rem;
  font-weight: 700;
  color: var(--text);
}

.directory-person p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  opacity: .72;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

body.dark-mode .directory-person {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.directory-toggle {
  display: none;
  margin-top: 1.5rem;
  border: none;
  background: var(--mvc-teal);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
}

.collapsible-directory {
  position: relative;
}

/* =========================================================
   RECIPIENT TOOLBAR
========================================================= */

.recipient-toolbar {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* =========================================================
   SEARCH + FILTER
========================================================= */

.search-bar input,
.recipient-filter select {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-family);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.search-bar input:focus,
.recipient-filter select:focus {
  outline: none;
  border-color: var(--mvc-teal);
  box-shadow:
    0 0 0 4px rgba(0,114,125,.12);
}

/* =========================================================
   AWARD KEY
========================================================= */

.award-key {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: .92rem;
}

.award-key-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* =========================================================
   ICONS
========================================================= */

.award-icon,
.recipient-award-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2rem;
  height: 2rem;

  border-radius: 999px;

  font-size: .9rem;

  flex-shrink: 0;
}

.degree-icon {
  background: rgba(0,114,125,.12);
  color: var(--mvc-teal);
}

.certificate-icon {
  background: rgba(255,184,0,.14);
  color: #c58a00;
}

/* =========================================================
   RECIPIENT GRID
========================================================= */

.recipient-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: .65rem;
}

/* =========================================================
   RECIPIENT CARD
========================================================= */

.recipient-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;

  background: var(--white);

  padding: .9rem 1rem;

  border-radius: 16px;

  border:
    1px solid rgba(0,0,0,.05);

  min-width: 0;
}

body.dark-mode .recipient-card {
  border:
    1px solid rgba(255,255,255,.06);
}

/* =========================================================
   RECIPIENT CONTENT
========================================================= */

.recipient-content {
  min-width: 0;
}

.recipient-card h3 {
  margin: 0;

  font-size: .92rem;

  line-height: 1.3;

  word-break: break-word;
}

.recipient-honor {
  margin-top: .25rem;

  font-size: .72rem;

  font-weight: 600;

  letter-spacing: .04em;

  text-transform: uppercase;

  opacity: .7;
}

/* =========================================================
   RESULTS
========================================================= */

.recipient-count {
  margin-bottom: 1.25rem;
  font-size: .92rem;
  opacity: .7;
}

.recipient-empty {
  padding: 2rem 0;
  text-align: center;
  opacity: .7;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {

  .recipient-grid {
    grid-template-columns: repeat(4,1fr);
  }
}

@media (max-width: 1100px) {

  .recipient-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 800px) {

  .recipient-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 700px) {

  .recipient-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .recipient-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DARK MODE TOGGLE
========================================================= */

.dark-mode-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  border: none;
  border-radius: 999px;
  padding: .9rem 1.2rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.dark-mode-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

.dark-mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(0,114,125,.1);
  color: var(--mvc-teal);
  font-size: 1rem;
  flex-shrink: 0;
}

.dark-mode-label {
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
}

body.dark-mode .dark-mode-toggle {
  background: rgba(23,33,36,.9);
  color: #f4f4f4;
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
}

body.dark-mode .dark-mode-icon {
  background: rgba(255,255,255,.08);
  color: var(--mvc-teal-light);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   DARK MODE TEAL OVERRIDES
========================================================= */

body.dark-mode h2,
body.dark-mode .program-action,
body.dark-mode .leadership-column h3,
body.dark-mode .speaker-label,
body.dark-mode .program-nav a:hover,
body.dark-mode .dark-mode-icon {
  color: var(--mvc-teal-light);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .directory-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 900px) {

  .program-nav ul {
    justify-content: flex-start;
    padding: 1rem 5rem 1rem 1rem;
  }

  .program-nav-next {
    display: flex;
  }

  .leadership-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-scroll {
    max-height: none;
    overflow: hidden;
  }

  .collapsible-directory {
    max-height: 700px;
    overflow: hidden;
  }

  .collapsible-directory::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background:
      linear-gradient(
        transparent,
        var(--mvc-light)
      );
    pointer-events: none;
  }

  .collapsible-directory.expanded {
    max-height: none;
  }

  .collapsible-directory.expanded::after {
    display: none;
  }

  .directory-toggle {
    display: inline-flex;
  }
}

@media (max-width: 700px) {

  .gallery-grid,
  .speaker-grid,
  .recipient-grid,
  .retiree-grid {
    grid-template-columns: 1fr;
  }

  .recipient-toolbar {
    grid-template-columns: 1fr;
  }

  .program-row {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
  }

  .program-name {
    text-align: left;
  }

  .program-section,
  .directory-section {
    padding: 4rem 0;
  }

  .dark-mode-toggle {
    right: 1rem;
    bottom: 1rem;
    padding: .85rem 1rem;
  }

  .dark-mode-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding: 5rem 0 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 220ms ease;
}

.footer-logo-link:hover {
  transform: translateY(-3px);
}

.footer-logo-link:focus-visible {
  outline: 3px solid var(--mvc-teal);
  outline-offset: 6px;
  border-radius: 999px;
}

/* =========================================================
   LOGO CIRCLE
========================================================= */

.footer-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 999px;

  background: #00727d;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 14px 40px rgba(0,114,125,.24);

  padding: 1.5rem;
}

/* =========================================================
   LOGO
========================================================= */

.footer-logo-circle img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .site-footer {
    padding: 4rem 0 5rem;
  }

  .footer-logo-circle {
    width: 96px;
    height: 96px;
    padding: 1.2rem;
  }
}

/* =========================================================
   RECIPIENT DIRECTORY LAYOUT
========================================================= */

.recipient-directory {
  position: relative;
}

/* =========================================================
   SCROLL REGION
========================================================= */

.recipient-scroll {
  max-height: 70vh;

  overflow-y: auto;

  padding-right: .5rem;

  scrollbar-width: thin;
}

/* =========================================================
   MOBILE COLLAPSE
========================================================= */

@media (max-width: 900px) {

  .recipient-scroll {
    max-height: none;
    overflow: hidden;
  }

  .recipient-scroll.collapsed {
    max-height: 900px;

    position: relative;
  }

  .recipient-scroll.collapsed::after {
    content: "";

    position: absolute;

    inset: auto 0 0 0;

    height: 140px;

    background:
      linear-gradient(
        transparent,
        var(--mvc-light)
      );

    pointer-events: none;
  }
}
/* =========================================================
   REGALIA ACCORDION
========================================================= */

.regalia-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* =========================================================
   ITEM
========================================================= */

.regalia-item {
  background: var(--white);
  border-radius: 24px;
  border:
    1px solid rgba(0,0,0,.06);
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0,0,0,.04);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.regalia-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(0,0,0,.08);
}

body.dark-mode .regalia-item {
  border:
    1px solid rgba(255,255,255,.08);

  box-shadow:
    0 10px 28px rgba(0,0,0,.24);
}

/* =========================================================
   HEADER
========================================================= */

.regalia-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.regalia-item summary::-webkit-details-marker {
  display: none;
}

/* HOVER */

.regalia-item summary:hover {
  background:
    rgba(0,114,125,.045);
}

body.dark-mode .regalia-item summary:hover {
  background:
    rgba(49,191,201,.06);
}

/* TITLE */

.regalia-item summary span {
  display: flex;
  align-items: center;
  gap: .85rem;
}

/* OPTIONAL ACCENT BAR */

.regalia-item summary::before {
  content: "";
  width: 4px;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--mvc-teal);
  flex-shrink: 0;
}

body.dark-mode .regalia-item summary::before {
  background:
    var(--mvc-teal-light);
}

/* ICON BUTTON */

.regalia-item summary i {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2.1rem;
  height: 2.1rem;

  border-radius: 999px;

  background:
    rgba(0,114,125,.08);

  color: var(--mvc-teal);

  font-size: .9rem;

  flex-shrink: 0;

  transition:
    transform 260ms ease,
    background 220ms ease,
    color 220ms ease;
}

body.dark-mode .regalia-item summary i {
  background:
    rgba(49,191,201,.12);

  color:
    var(--mvc-teal-light);
}

/* OPEN STATE */

.regalia-item[open] summary {
  background:
    linear-gradient(
      90deg,
      rgba(0,114,125,.05),
      transparent
    );
}

body.dark-mode .regalia-item[open] summary {
  background:
    linear-gradient(
      90deg,
      rgba(49,191,201,.08),
      transparent
    );
}

.regalia-item[open] summary i {
  transform: rotate(45deg);
}

/* =========================================================
   CONTENT
========================================================= */

.regalia-content {
  display: grid;

  grid-template-rows: 0fr;

  transition:
    grid-template-rows 320ms ease;
}

.regalia-item[open] .regalia-content {
  grid-template-rows: 1fr;
}

/* INNER WRAPPER */

.regalia-content > * {
  overflow: hidden;
}

/* CONTENT BODY */

.regalia-content-inner {
  padding:
    0 1.6rem 1.6rem;

  border-top:
    1px solid rgba(0,0,0,.05);
}

body.dark-mode .regalia-content-inner {
  border-top:
    1px solid rgba(255,255,255,.06);
}

.regalia-content-inner p:first-child {
  margin-top: 1.25rem;
}

.regalia-content-inner p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   REGALIA LISTS
========================================================= */

.regalia-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;

  margin-top: 1.25rem;
}

.regalia-row {
  display: flex;
  align-items: baseline;
  gap: .75rem;

  line-height: 1.45;
}

.regalia-row span:first-child {
  white-space: nowrap;
}

/* DOT LEADER */

.regalia-row::before {
  content: "";

  order: 2;

  flex: 1;

  border-bottom:
    3px dotted rgba(0,0,0,.22);

  transform:
    translateY(-.25rem);
}

body.dark-mode .regalia-row::before {
  border-bottom:
    3px dotted rgba(255,255,255,.22);
}

.regalia-row span:last-child {
  order: 3;

  text-align: right;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .regalia-item summary {
    padding: 1.2rem 1.25rem;
  }

  .regalia-content-inner {
    padding:
      0 1.25rem 1.25rem;
  }

  .regalia-row {
    flex-direction: column;
    gap: .15rem;
  }

  .regalia-row::before {
    display: none;
  }

  .regalia-row span:last-child {
    text-align: left;
    opacity: .78;
  }
}

/* =========================================================
   RETIREE GRID
========================================================= */

.retiree-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}

/* =========================================================
   RETIREE CARD
========================================================= */

.retiree-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  padding: 2rem 2rem 1.25rem;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.05);
  height: 100%;
}

body.dark-mode .retiree-card {
  border: 1px solid rgba(255,255,255,.06);
}

/* =========================================================
   PHOTO
========================================================= */

.retiree-photo {
  width: 140px;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.retiree-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* =========================================================
   CONTENT
========================================================= */

.retiree-content {
  width: 100%;
}

.retiree-role {
  margin-bottom: 1rem;
  font-size: .95rem;
  opacity: .75;
}

/* =========================================================
   BIO ACCORDION
========================================================= */

.retiree-bio {
  margin-top: 1rem;
  text-align: left;
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: 1rem;
}

body.dark-mode .retiree-bio {
  border-top: 1px solid rgba(255,255,255,.06);
}

.retiree-bio summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--mvc-teal);
}

body.dark-mode .retiree-bio summary {
  color: var(--mvc-teal-light);
}

.retiree-bio summary::-webkit-details-marker {
  display: none;
}

.retiree-bio summary i {
  transition: transform 220ms ease;
}

.retiree-bio[open] summary i {
  transform: rotate(45deg);
}

.retiree-bio-content {
  padding-top: 1rem;
}

.retiree-bio-content p {
  margin: 0;
  font-size: .95rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .retiree-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   STICKY RECIPIENT TOOLBAR
========================================================= */

.recipient-toolbar {
  position: sticky;

  top: 72px;

  z-index: 25;

  padding-bottom: 1rem;

  background:
    linear-gradient(
      to bottom,
      var(--mvc-light) 82%,
      transparent
    );
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

  .recipient-toolbar {
    top: 64px;
  }
}

/* =========================================================
   RECIPIENT TOGGLE
========================================================= */

.recipient-toggle-wrap {
  display: none;
}

/* MOBILE */

@media (max-width: 900px) {

  .recipient-toggle-wrap {
    display: flex;
    justify-content: center;
    position: sticky;
    bottom: 1rem;
    margin-top: -4rem;
    padding-top: 5rem;
    pointer-events: none;
    z-index: 30;
    background: linear-gradient(to top,var(--mvc-light),transparent);
  }

  #recipient-toggle {
    display: inline-flex;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
  }
}

/* =========================================================
   MOBILE DIRECTORY TOGGLES
========================================================= */

.directory-toggle-wrap {
  display: none;
}

/* MOBILE */

@media (max-width: 900px) {

  .directory-toggle-wrap {
    display: flex;
    justify-content: center;
    position: sticky;
    bottom: 1rem;
    margin-top: -4rem;
    padding-top: 5rem;
    pointer-events: none;
    z-index: 30;
    background: linear-gradient(to top,var(--mvc-light),transparent);
  }

  .directory-toggle {
    display: inline-flex;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
  }
}
@media (max-width: 900px) {

  .faculty-collapsible,
  .administration-collapsible,
  .workgroup-collapsible {
    max-height: none;
    overflow: hidden;
    position: relative;
  }

  .faculty-collapsible.collapsed,
  .administration-collapsible.collapsed,
  .workgroup-collapsible.collapsed {
    max-height: 700px;
  }

  .faculty-collapsible.collapsed::after,
  .administration-collapsible.collapsed::after,
  .workgroup-collapsible.collapsed::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 140px;
    background: linear-gradient(transparent,var(--mvc-light));
    pointer-events: none;
  }
}