.sc-page .sc-content {
  max-width: 820px;
}

.sc-ordered-list,
.sc-bullet-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-main);
}

.sc-ordered-list li + li,
.sc-bullet-list li + li {
  margin-top: 0.65rem;
}

.sc-ordered-list a,
.sc-bullet-list a {
  color: var(--brand-accent);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sc-subtitle {
  margin: 2rem 0 0.75rem;
  color: var(--brand-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.sc-note-card {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text-muted);
}

.sc-note-card p:last-child {
  margin-bottom: 0;
}

.sc-process-block + .sc-process-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.sc-doc-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.sc-doc-list a,
.sc-doc-list__pending {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--brand-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sc-doc-list a:hover {
  border-color: rgba(23, 48, 88, 0.22);
  box-shadow: var(--shadow-sm);
  color: var(--brand-accent);
}

.sc-doc-list__pending {
  color: var(--text-muted);
}

.sc-doc-list i {
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--brand-accent);
}

.sc-doc-list span small {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.sc-empty-state {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 0;
}

.sc-empty-state i {
  font-size: 2.5rem;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}

.accreditation-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.accreditation-list__item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.accreditation-list__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.accreditation-list__title {
  margin: 0;
  flex: 1 1 280px;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.accreditation-list__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.accreditation-list__link:hover {
  text-decoration: underline;
}

.accreditation-list__pending {
  color: var(--brand-primary);
  opacity: 0.45;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.accreditation-list__pending small {
  display: none;
}

/* Accreditations page — unified palette & layout */
.accreditation-page {
  padding: 3rem 0 4.5rem;
  background: var(--bg-soft);
}

.accreditation-page__wrap {
  max-width: 920px;
}

.accreditation-page__block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.accreditation-page__block + .accreditation-page__block {
  margin-top: 1.25rem;
}

.accreditation-page__heading {
  margin: 0 0 1rem;
  color: var(--brand-primary);
  font-size: clamp(1.25rem, 1.5vw + 0.8rem, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.accreditation-page__intro {
  margin: 0 0 1rem;
  color: var(--text-main);
  line-height: 1.7;
  font-size: 0.96rem;
}

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

.accreditation-index__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 0.9rem 0.15rem;
  border-bottom: 1px solid var(--border);
}

.accreditation-index__row:last-child {
  border-bottom: none;
  padding-bottom: 0.15rem;
}

.accreditation-index__title {
  flex: 1 1 auto;
  color: var(--brand-primary);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.accreditation-index__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.8rem;
  border: 1px solid rgba(23, 48, 88, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-primary);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.accreditation-index__action i {
  font-size: 0.78rem;
}

a.accreditation-index__action:hover,
a.accreditation-index__action:focus {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  text-decoration: none;
}

.accreditation-index__action--pending {
  opacity: 1;
  color: var(--text-muted);
  border-color: var(--border);
  background: var(--bg-soft);
  cursor: pointer;
}

a.accreditation-index__action--pending:hover,
a.accreditation-index__action--pending:focus {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--text-muted);
}

@media (max-width: 575.98px) {
  .accreditation-page {
    padding: 2rem 0 3rem;
  }

  .accreditation-page__block {
    padding: 1.15rem 1rem;
  }

  .accreditation-index__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

.ac-doc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.ac-doc--holidays {
  margin-top: 1.5rem;
}

.ac-doc__head {
  margin-bottom: 1.15rem;
}

.ac-doc__head .section-title {
  margin-bottom: 0.2rem;
}

.ac-doc__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  margin: 0.35rem 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.ac-doc__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ac-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.ac-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.ac-table--holidays {
  min-width: 560px;
}

.ac-table th,
.ac-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  color: var(--text-main);
}

.ac-table thead th {
  background: var(--bg-soft);
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ac-table tbody th {
  background: #fff;
  color: var(--brand-primary);
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}

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

.ac-note {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text-muted);
}

.ac-note p,
.ac-note ol {
  margin: 0;
}

.ac-note p + p,
.ac-note p + ol,
.ac-note ol + p {
  margin-top: 0.65rem;
}

.ac-note ol {
  padding-left: 1.2rem;
}

.ac-signatory {
  margin: 1.35rem 0 0;
  color: var(--brand-primary);
  font-weight: 700;
}

.ac-copy {
  margin-top: 1.15rem;
}

.ac-copy h3 {
  margin: 0 0 0.5rem;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 700;
}

.ac-copy ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-main);
}

.ac-copy li + li {
  margin-top: 0.35rem;
}

.ac-copy__encl {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

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

.ac-switch {
  display: none;
}

@media (max-width: 991.98px) {
  .ac-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    margin: 0 0 1.15rem;
    padding: 0.3rem;
    background: #eef2f7;
    border-radius: 999px;
    position: sticky;
    top: calc(var(--site-nav-height, 76px) + 0.45rem);
    z-index: 25;
  }

  .ac-switch__tab {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.45rem 0.55rem;
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
  }

  #ac-panel-calendar:checked ~ .ac-switch [for="ac-panel-calendar"],
  #ac-panel-holidays:checked ~ .ac-switch [for="ac-panel-holidays"] {
    background: var(--brand-primary, #173058);
    color: #fff;
    box-shadow: 0 6px 14px rgba(23, 48, 88, 0.18);
  }

  #ac-panel-calendar:not(:checked) ~ .ac-panel--calendar,
  #ac-panel-holidays:not(:checked) ~ .ac-panel--holidays {
    display: none;
  }

  .ac-doc--holidays {
    margin-top: 0;
  }

  .ac-panel--calendar .section-label {
    display: none;
  }

  .ac-panel--calendar .section-title {
    font-size: 1.2rem;
  }

  .ac-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .ac-table,
  .ac-table--holidays {
    min-width: 0;
  }

  .ac-table thead {
    display: none;
  }

  .ac-table,
  .ac-table tbody,
  .ac-table tr,
  .ac-table th,
  .ac-table td {
    display: block;
    width: 100%;
  }

  .ac-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .ac-table tbody tr {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.9rem 0.95rem 0.75rem;
    box-shadow: 0 10px 24px -20px rgba(23, 48, 88, 0.4);
  }

  .ac-table tbody tr::before {
    content: attr(data-programme);
    display: block;
    margin-bottom: 0.55rem;
    color: var(--brand-primary);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.3;
  }

  .ac-table tbody th {
    display: none;
  }

  .ac-table td {
    padding: 0.4rem 0;
    border-bottom: 0;
  }

  .ac-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.12rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .ac-table--holidays tbody tr::before {
    content: none;
  }

  .ac-table--holidays td[data-label="Holiday"] {
    font-weight: 750;
    color: var(--brand-primary);
  }

  .ac-table--holidays td[data-label="Holiday"]::before {
    content: none;
  }

  .ac-table--holidays td[data-label="No."] {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .ac-doc {
    padding: 1.15rem 1rem;
  }
}

@media (max-width: 991.98px) {
  .page-hero.page-hero--campus {
    max-height: 240px;
    overflow: hidden;
    align-items: flex-end;
  }

  .page-hero .section-label,
  .page-hero .text-white-opacity.section-label {
    font-size: 0.72rem !important;
    font-family: inherit !important;
    letter-spacing: 0.22em !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.35rem;
  }

  .page-hero-title {
    font-size: clamp(1.2rem, 4.6vw, 1.5rem) !important;
    margin-bottom: 0.3rem;
  }

  .page-hero-lead {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .page-hero.page-hero--campus {
    max-height: 220px;
  }

  .page-hero-title {
    font-size: clamp(1.15rem, 5.2vw, 1.38rem) !important;
  }
}
