/* =========================================================================
   SPIRIT MODE — ROYAL HEALERS GRADUATION 2026
   Styled strictly in the official Spirit Mode website theme:
   White (#FFFFFF), Light Surface (#F9F6FA), Dark Plum (#2F0F39), Dark Navy (#1A2C53)
   ========================================================================= */

.grad26-page {
  background-color: var(--sm-white, #FFFFFF);
  color: var(--sm-text, #231926);
  font-family: var(--font-body, 'Jost', sans-serif);
  overflow-x: clip;
}

.grad26-page *,
.grad26-page *::before,
.grad26-page *::after {
  box-sizing: border-box;
}

.grad26-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px);
}

/* =========================================================================
   PAGE HEADER / HERO (Matches Spirit Mode .page-header editorial rhythm)
   ========================================================================= */
.grad26-hero {
  background: var(--sm-surface, #F9F6FA);
  border-bottom: 1px solid var(--sm-border, #E4DDE8);
  padding: calc(var(--header-h, 80px) + 48px) 0 64px;
}

.grad26-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.grad26-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sm-text-muted, #5C5260);
  margin-bottom: 20px;
}

.grad26-breadcrumb a {
  color: var(--sm-plum-900, #2F0F39);
  text-decoration: none;
  font-weight: 500;
}

.grad26-breadcrumb a:hover {
  color: var(--sm-navy-800, #1A2C53);
  text-decoration: underline;
}

.grad26-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53) !important;
  margin: 0 0 12px;
}

.grad26-theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--sm-border, #E4DDE8);
  background: #FFFFFF;
  color: var(--sm-plum-900, #2F0F39);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.grad26-theme-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sm-plum-900, #2F0F39);
}

.grad26-hero h1 {
  font-size: clamp(34px, 4.4vw, 56px) !important;
  line-height: 1.08 !important;
  margin: 0 0 18px !important;
  color: var(--sm-plum-900, #2F0F39) !important;
}

.grad26-hero-lead {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.68;
  max-width: 600px;
  margin: 0 0 28px;
  color: var(--sm-text-muted, #5C5260);
}

.grad26-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.grad26-actions .button,
.grad26-actions .outline {
  min-height: 48px;
  gap: 8px;
}

/* Right Ceremonial Details Card */
.grad26-hero-card {
  background: #FFFFFF;
  border: 1px solid var(--sm-border, #E4DDE8);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 34px rgba(47, 15, 57, 0.06);
}

.grad26-hero-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--sm-border, #E4DDE8);
}

.grad26-crest-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sm-plum-900, #2F0F39);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.grad26-hero-card-head h2 {
  font-size: 18px !important;
  margin: 0 !important;
  color: var(--sm-plum-900, #2F0F39) !important;
}

.grad26-hero-card-head span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53);
  font-weight: 600;
  margin-top: 2px;
}

.grad26-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.grad26-meta-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sm-border, #E4DDE8);
}

.grad26-meta-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.grad26-meta-lbl {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53);
  font-weight: 600;
}

.grad26-meta-val {
  font-size: 15px;
  color: var(--sm-text, #231926);
  font-weight: 500;
}

/* =========================================================================
   STICKY SECTION SUB-NAV
   ========================================================================= */
.grad26-subnav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--sm-border, #E4DDE8);
  position: sticky;
  top: var(--header-h, 74px);
  z-index: 20;
}

.grad26-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px clamp(18px, 4vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
}

.grad26-subnav-inner::-webkit-scrollbar {
  display: none;
}

.grad26-subnav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.grad26-subnav-links a {
  white-space: nowrap;
  padding: 7px 11px;
  margin: 0 !important;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sm-text, #231926);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.grad26-subnav-links a:hover,
.grad26-subnav-links a:focus-visible {
  color: var(--sm-plum-900, #2F0F39);
  border-color: var(--sm-border, #E4DDE8);
  background: var(--sm-surface, #F9F6FA);
}

.grad26-subnav-dl {
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--sm-plum-900, #2F0F39) !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  flex-shrink: 0;
}

.grad26-subnav-dl:hover {
  background: var(--sm-navy-800, #1A2C53) !important;
  color: #FFFFFF !important;
}

/* =========================================================================
   SECTIONS SHARED LAYOUT
   ========================================================================= */
.grad26-section {
  padding: clamp(56px, 7vw, 92px) 0;
  background: #FFFFFF;
}

.grad26-section-alt {
  background: var(--sm-surface, #F9F6FA);
  border-top: 1px solid var(--sm-border, #E4DDE8);
  border-bottom: 1px solid var(--sm-border, #E4DDE8);
}

.grad26-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.grad26-section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px) !important;
  line-height: 1.12 !important;
  margin: 0 0 14px !important;
  color: var(--sm-plum-900, #2F0F39) !important;
}

.grad26-section-head p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--sm-text-muted, #5C5260);
  margin: 0;
}

/* =========================================================================
   OFFICIAL PROGRAM — RESPONSIVE TABLE (@container + sticky headers)
   ========================================================================= */
.grad26-program-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--sm-plum-900, #2F0F39);
  color: #FFFFFF;
  border-radius: 14px 14px 0 0;
}

.grad26-program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

.grad26-program-meta span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.grad26-program-meta strong {
  color: #FFFFFF;
  font-weight: 600;
}

.grad26-program-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grad26-toolbar-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 40px;
  border-radius: 999px;
  background: #FFFFFF !important;
  color: var(--sm-plum-900, #2F0F39) !important;
  border: 1.5px solid #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.grad26-toolbar-btn-light:hover {
  background: var(--sm-surface, #F9F6FA) !important;
  color: var(--sm-navy-800, #1A2C53) !important;
}

.grad26-toolbar-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 40px;
  border-radius: 999px;
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.grad26-toolbar-btn-ghost:hover {
  background: #FFFFFF !important;
  color: var(--sm-plum-900, #2F0F39) !important;
  border-color: #FFFFFF !important;
}

.grad26-btn-sm {
  padding: 10px 18px !important;
  min-height: 42px !important;
  font-size: 12.5px !important;
}

/* Modern Web Guidance: Responsive Table with @container */
.grad26-table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  background: #FFFFFF;
  border: 1px solid var(--sm-border, #E4DDE8);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 12px 36px rgba(47, 15, 57, 0.06);
}

.grad26-table-wrapper:focus-visible {
  outline: 2px solid var(--sm-plum-900, #2F0F39);
  outline-offset: 2px;
}

.grad26-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  --label-duration: "Duration";
  --label-item: "Program Item";
  --label-speaker: "Speaker / Lead";
}

.grad26-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;
}

.grad26-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
}

.grad26-table thead th {
  background: var(--sm-surface, #F9F6FA);
  color: var(--sm-navy-800, #1A2C53);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-bottom: 2px solid var(--sm-plum-900, #2F0F39);
  white-space: nowrap;
}

.grad26-table tbody tr {
  transition: background-color 0.18s ease;
}

.grad26-table tbody tr:hover {
  background: #FCF9FD;
}

.grad26-table tbody tr.is-highlight {
  background: #F6F0F8;
}

.grad26-table tbody tr.is-fellowship {
  background: #EEF2F8;
}

.grad26-table tbody th,
.grad26-table tbody td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--sm-border, #E4DDE8);
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
  color: var(--sm-text, #231926);
}

.grad26-table tbody tr:last-child th,
.grad26-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Sticky row header (Time column) */
.grad26-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: #FFFFFF;
  color: var(--sm-plum-900, #2F0F39);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 155px;
}

.grad26-table tbody tr.is-highlight th {
  background: #F6F0F8;
}

.grad26-table tbody tr.is-fellowship th {
  background: #EEF2F8;
}

.grad26-duration-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--sm-border, #E4DDE8);
  background: var(--sm-surface, #F9F6FA);
  color: var(--sm-navy-800, #1A2C53);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.grad26-item-title {
  display: block;
  color: var(--sm-plum-900, #2F0F39);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 3px;
}

.grad26-speaker-name {
  display: block;
  color: var(--sm-text, #231926);
  font-weight: 500;
}

.grad26-speaker-note {
  display: block;
  font-size: 13px;
  color: var(--sm-navy-800, #1A2C53);
  font-style: italic;
  margin-top: 2px;
}

/* Nested Initiate Speeches List inside the 13:00–13:35 Row */
.grad26-initiate-slots {
  list-style: none;
  padding: 12px 0 0;
  margin: 10px 0 0;
  border-top: 1px dashed var(--sm-border, #E4DDE8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px 12px;
}

.grad26-initiate-slots li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--sm-surface, #F9F6FA);
  border: 1px solid var(--sm-border, #E4DDE8);
  font-size: 13.5px;
}

.grad26-initiate-slots .slot-person {
  color: var(--sm-text, #231926);
  font-weight: 500;
}

.grad26-initiate-slots .slot-num {
  color: var(--sm-plum-900, #2F0F39);
  font-weight: 700;
  margin-right: 6px;
  font-size: 12px;
}

.grad26-initiate-slots .slot-time {
  color: var(--sm-navy-800, #1A2C53);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Container-Query Stacked Card Layout on Narrow Screens */
@container (width < 680px) {
  .grad26-table,
  .grad26-table thead,
  .grad26-table tbody,
  .grad26-table tr,
  .grad26-table th,
  .grad26-table td {
    display: block;
  }

  .grad26-table thead {
    display: none;
  }

  .grad26-table tbody {
    padding: 14px;
    display: grid;
    gap: 14px;
    background: var(--sm-surface, #F9F6FA);
  }

  .grad26-table tbody tr {
    border: 1px solid var(--sm-border, #E4DDE8);
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
  }

  .grad26-table tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: var(--sm-plum-900, #2F0F39) !important;
    color: #FFFFFF !important;
    border-bottom: 0;
    padding: 11px 16px;
    font-size: 14px;
    min-width: 0;
    white-space: normal;
  }

  .grad26-table tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--sm-border, #E4DDE8);
  }

  .grad26-table tbody td:last-child {
    border-bottom: 0;
  }

  .grad26-table tbody td:nth-child(2)::before {
    content: var(--label-duration) ": ";
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sm-navy-800, #1A2C53);
    margin-right: 8px;
  }

  .grad26-table tbody td:nth-child(3)::before {
    content: var(--label-item);
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sm-navy-800, #1A2C53);
    margin-bottom: 4px;
  }

  .grad26-table tbody td:nth-child(4)::before {
    content: var(--label-speaker);
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sm-navy-800, #1A2C53);
    margin-bottom: 4px;
  }

  .grad26-initiate-slots {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   3RD COHORT GRADUATES — PORTRAITS & ROLL OF HONOUR
   ========================================================================= */
.grad26-portraits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.grad26-portrait-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--sm-border, #E4DDE8);
  border-top: 3px solid var(--sm-plum-900, #2F0F39);
  border-radius: 14px;
  background: #FFFFFF;
  overflow: hidden;
  text-align: left;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.grad26-portrait-card:hover {
  transform: translateY(-4px);
  border-color: var(--sm-plum-900, #2F0F39);
  box-shadow: 0 16px 36px rgba(47, 15, 57, 0.1);
}

.grad26-portrait-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.grad26-portrait-frame {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: var(--sm-surface, #F9F6FA);
}

.grad26-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}

.grad26-portrait-card:hover .grad26-portrait-frame img {
  transform: scale(1.03);
}

.grad26-portrait-meta {
  padding: 16px 18px 18px;
  background: #FFFFFF;
  border-top: 1px solid var(--sm-border, #E4DDE8);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.grad26-portrait-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.grad26-portrait-name {
  font-size: 19px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  color: var(--sm-plum-900, #2F0F39) !important;
}

.grad26-portrait-sub {
  display: block;
  font-size: 12.5px;
  color: var(--sm-navy-800, #1A2C53);
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .grad26-portraits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .grad26-portrait-meta {
    padding: 12px 13px 14px;
  }

  .grad26-portrait-name {
    font-size: 16px !important;
  }

  .grad26-grad-cohort {
    font-size: 9.5px;
    padding: 3px 8px;
  }
}

.grad26-graduates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.grad26-grad-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--sm-border, #E4DDE8);
  border-top: 3px solid var(--sm-plum-900, #2F0F39);
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.grad26-grad-card:hover {
  transform: translateY(-3px);
  border-color: var(--sm-plum-900, #2F0F39);
  box-shadow: 0 14px 32px rgba(47, 15, 57, 0.08);
}

.grad26-grad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.grad26-grad-num {
  font-size: 24px;
  font-weight: 700;
  color: rgba(47, 15, 57, 0.28);
  line-height: 1;
}

.grad26-grad-cohort {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sm-surface, #F9F6FA);
  border: 1px solid var(--sm-border, #E4DDE8);
}

.grad26-grad-name {
  font-size: 21px !important;
  margin: 4px 0 0 !important;
  color: var(--sm-plum-900, #2F0F39) !important;
  line-height: 1.25 !important;
}

.grad26-grad-slot {
  font-size: 13.5px;
  color: var(--sm-text-muted, #5C5260);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.grad26-grad-slot strong {
  color: var(--sm-navy-800, #1A2C53);
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   CEREMONY LEADERSHIP & SPEAKERS
   ========================================================================= */
.grad26-leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.grad26-leader-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--sm-surface, #F9F6FA);
  border: 1px solid var(--sm-border, #E4DDE8);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.grad26-leader-card:hover {
  border-color: var(--sm-plum-900, #2F0F39);
  transform: translateY(-2px);
}

.grad26-leader-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--sm-plum-900, #2F0F39);
  flex-shrink: 0;
}

.grad26-leader-monogram {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--sm-plum-900, #2F0F39);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}

.grad26-leader-role {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53);
  font-weight: 600;
  margin-bottom: 4px;
}

.grad26-leader-name {
  font-size: 18px !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  color: var(--sm-plum-900, #2F0F39) !important;
}

.grad26-leader-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sm-navy-800, #1A2C53);
  text-decoration: underline;
}

/* =========================================================================
   COLLAPSIBLE PRINTABLE MATERIALS LIST
   ========================================================================= */
.grad26-materials-disclosure {
  background: #FFFFFF;
  border: 1px solid var(--sm-border, #E4DDE8);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(47, 15, 57, 0.05);
}

.grad26-materials-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--sm-plum-900, #2F0F39);
  color: #FFFFFF;
  cursor: pointer;
  user-select: none;
}

.grad26-materials-summary::-webkit-details-marker {
  display: none;
}

.grad26-materials-summary strong {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.grad26-materials-summary small {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-top: 2px;
}

.grad26-materials-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.grad26-materials-chevron::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.2s ease;
}

.grad26-materials-disclosure[open] .grad26-materials-chevron::before {
  transform: rotate(-135deg) translate(-1px, -1px);
}

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

.grad26-material-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--sm-border, #E4DDE8);
  transition: background-color 0.18s ease;
}

.grad26-material-row:last-child {
  border-bottom: 0;
}

.grad26-material-row:hover {
  background: var(--sm-surface, #F9F6FA);
}

.grad26-material-row-info {
  min-width: 0;
  flex: 1;
}

.grad26-material-row-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53);
  background: var(--sm-surface, #F9F6FA);
  border: 1px solid var(--sm-border, #E4DDE8);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.grad26-material-row-info h3 {
  font-size: 18px !important;
  margin: 0 0 4px !important;
  line-height: 1.25 !important;
}

.grad26-material-row-info p {
  font-size: 14px;
  color: var(--sm-text-muted, #5C5260);
  margin: 0 0 6px;
  line-height: 1.5;
}

.grad26-material-format {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53);
  font-weight: 600;
}

.grad26-material-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .grad26-material-row {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
  }

  .grad26-material-row-actions {
    width: 100%;
  }

  .grad26-material-row-actions a {
    flex: 1 1 120px;
  }
}

/* =========================================================================
   TESTIMONIALS & WELL-WISHES SECTION
   ========================================================================= */
.grad26-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.grad26-testi-card {
  margin: 0;
  background: var(--sm-surface, #F9F6FA);
  border: 1px solid var(--sm-border, #E4DDE8);
  border-top: 3px solid var(--sm-plum-900, #2F0F39);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.grad26-testi-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--sm-text, #231926);
  font-style: italic;
}

.grad26-testi-card footer {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid var(--sm-border, #E4DDE8) !important;
}

.grad26-testi-card footer strong {
  display: block;
  font-size: 15px;
  color: var(--sm-plum-900, #2F0F39) !important;
  font-weight: 600;
}

.grad26-testi-card footer span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53) !important;
  margin-top: 2px;
}

.grad26-tribute-box {
  background: #FFFFFF;
  border: 1px solid var(--sm-border, #E4DDE8);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
  box-shadow: 0 10px 30px rgba(47, 15, 57, 0.05);
}

.grad26-tribute-copy h3 {
  font-size: 24px !important;
  margin: 0 0 10px !important;
  line-height: 1.2 !important;
}

.grad26-tribute-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sm-text-muted, #5C5260);
  margin: 0;
}

.grad26-tribute-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.grad26-tribute-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.grad26-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.grad26-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sm-navy-800, #1A2C53);
}

.grad26-tribute-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.grad26-status-note {
  font-size: 13.5px;
  color: var(--sm-navy-800, #1A2C53);
  font-weight: 500;
}

/* Guest Invitation Dialog Styles */
dialog.grad26-invite-dialog[open] {
  width: min(92vw, 620px);
}

.grad26-invite-body {
  padding: 20px 22px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FFFFFF;
}

.grad26-invite-intro {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--sm-text-muted, #5C5260);
}

.grad26-invite-textarea {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  background: var(--sm-surface, #F9F6FA) !important;
  resize: vertical;
}

.grad26-copy-feedback {
  margin: 0;
  min-height: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sm-plum-900, #2F0F39);
}

.grad26-subnav-dl {
  border: 0;
  cursor: pointer;
}

@media (max-width: 820px) {
  .grad26-tribute-box {
    grid-template-columns: 1fr;
  }

  .grad26-tribute-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   OFFICIAL POSTERS & PHOTO GALLERY
   ========================================================================= */
.grad26-posters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.grad26-poster-card {
  background: #FFFFFF;
  border: 1px solid var(--sm-border, #E4DDE8);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.grad26-poster-card:hover {
  transform: translateY(-3px);
  border-color: var(--sm-plum-900, #2F0F39);
  box-shadow: 0 16px 38px rgba(47, 15, 57, 0.09);
}

.grad26-poster-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sm-surface, #F9F6FA);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.grad26-poster-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.grad26-poster-card:hover .grad26-poster-trigger img {
  transform: scale(1.02);
}

.grad26-poster-zoom-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sm-plum-900, #2F0F39);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.grad26-poster-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.grad26-poster-body h3 {
  font-size: 19px !important;
  margin: 0 !important;
}

.grad26-poster-body p {
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
  color: var(--sm-text-muted, #5C5260);
}

.grad26-poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

/* Photo Gallery */
.grad26-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}

.grad26-photos-grid.is-single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.grad26-photo-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sm-border, #E4DDE8);
  background: #FFFFFF;
  padding: 0;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  display: block;
  width: 100%;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.grad26-photos-grid.is-single .grad26-photo-tile {
  aspect-ratio: auto;
  box-shadow: 0 16px 42px rgba(47, 15, 57, 0.1);
}

.grad26-photo-tile:hover {
  transform: translateY(-3px);
  border-color: var(--sm-plum-900, #2F0F39);
}

.grad26-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.35s ease;
}

.grad26-photos-grid.is-single .grad26-photo-tile img {
  height: auto;
  object-fit: contain;
}

.grad26-photo-tile:hover img {
  transform: scale(1.04);
}

.grad26-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(47, 15, 57, 0.9) 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.grad26-gallery-notice {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 14px;
  border: 1px solid var(--sm-border, #E4DDE8);
  background: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.grad26-gallery-notice p {
  margin: 0;
  font-size: 14.5px;
  color: var(--sm-text, #231926);
}

/* =========================================================================
   NATIVE LIGHTBOX DIALOG (Modern Web Guidance Compliant)
   ========================================================================= */
dialog.grad26-dialog[open] {
  display: flex;
  flex-direction: column;
  width: min(92vw, 940px);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--sm-border, #E4DDE8);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--sm-text, #231926);
  box-shadow: 0 28px 80px rgba(47, 15, 57, 0.28);
  overflow: hidden;
  margin: auto;
}

dialog.grad26-dialog:modal {
  overscroll-behavior: contain;
}

dialog.grad26-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(23, 12, 28, 0.72);
  backdrop-filter: blur(5px);
}

.grad26-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: var(--sm-surface, #F9F6FA);
  border-bottom: 1px solid var(--sm-border, #E4DDE8);
}

.grad26-dialog-bar h1 {
  font-size: 18px !important;
  margin: 0 !important;
  color: var(--sm-plum-900, #2F0F39) !important;
}

.grad26-dialog-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--sm-border, #E4DDE8);
  background: #FFFFFF;
  color: var(--sm-plum-900, #2F0F39);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.grad26-dialog-close:hover {
  background: var(--sm-plum-900, #2F0F39);
  color: #FFFFFF;
  border-color: var(--sm-plum-900, #2F0F39);
}

.grad26-dialog-body {
  padding: 20px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
}

.grad26-dialog-body img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--sm-border, #E4DDE8);
}

.grad26-dialog-caption {
  font-size: 14px;
  color: var(--sm-text-muted, #5C5260);
  text-align: center;
  margin: 0;
}

.grad26-dialog-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 22px;
  background: var(--sm-surface, #F9F6FA);
  border-top: 1px solid var(--sm-border, #E4DDE8);
}

/* =========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================= */
.grad26-hero-inner > *,
.grad26-container > * {
  min-width: 0;
  max-width: 100%;
}

.grad26-graduates-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.grad26-leadership-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.grad26-materials-grid,
.grad26-posters-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

@media (max-width: 960px) {
  .grad26-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .grad26-hero-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .grad26-container {
    padding: 0 16px;
  }

  .grad26-hero {
    padding: calc(var(--header-h, 72px) + 32px) 0 44px;
  }

  .grad26-hero h1 {
    font-size: clamp(28px, 7.8vw, 38px) !important;
  }

  .grad26-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grad26-actions .button,
  .grad26-actions .outline {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .grad26-program-toolbar {
    padding: 16px;
  }

  .grad26-program-toolbar-actions {
    width: 100%;
    flex-direction: column;
  }

  .grad26-program-toolbar-actions a,
  .grad26-program-toolbar-actions button {
    width: 100%;
    flex: none;
  }

  .grad26-subnav {
    top: var(--header-h, 66px);
  }

  .grad26-subnav-inner {
    padding: 10px 16px;
  }

  /* Mobile optimization for "3rd Cohort" pills & graduate card cohort badges */
  .grad26-theme-pill {
    max-width: 100%;
    padding: 6px 12px;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    line-height: 1.35;
    gap: 7px;
  }

  .grad26-theme-dot {
    flex-shrink: 0;
  }

  .grad26-portraits-grid {
    gap: 12px;
  }

  .grad26-portrait-meta {
    padding: 10px 11px 12px;
    gap: 5px;
  }

  .grad26-portrait-meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .grad26-grad-num {
    font-size: 12px;
    line-height: 1;
    color: rgba(47, 15, 57, 0.45);
  }

  .grad26-grad-cohort {
    display: inline-block;
    font-size: 9px;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    line-height: 1.25;
    max-width: 100%;
    white-space: normal;
  }

  .grad26-portrait-name {
    font-size: 15px !important;
    line-height: 1.22 !important;
  }

  .grad26-portrait-sub {
    font-size: 11px;
    line-height: 1.3;
  }
}

@media (max-width: 360px) {
  .grad26-portraits-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   PRINT STYLESHEET (Clean Printable Official Program)
   ========================================================================= */
@media print {
  #site-header,
  .mobile-menu-overlay,
  .grad26-subnav,
  .grad26-actions,
  .grad26-program-toolbar-actions,
  #materials,
  #posters,
  #photos,
  .pre-footer,
  footer,
  .chat-launcher,
  .chatbot-window {
    display: none !important;
  }

  .grad26-hero {
    padding: 12px 0 20px !important;
    background: #FFFFFF !important;
    border-bottom: 2px solid #2F0F39 !important;
  }

  .grad26-table {
    font-size: 10.5pt !important;
  }

  .grad26-table tbody th,
  .grad26-table tbody td {
    padding: 8px 10px !important;
  }
}
