/* Accreditation hub and body pages. Builds on about.css and standards.css. */
.bh1 { font-size: clamp(34px, 1.6rem + 2.2vw, 56px) !important; }

/* Body mark card. */
.bmark { display: grid; gap: 20px; padding: 28px; border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12), 0 30px 60px rgba(23, 25, 58, 0.12); }
.bmark__logo { display: grid; place-items: center; min-height: 200px; padding: 24px; border-radius: 16px; background: linear-gradient(135deg, #F3FAF5, #F1F6FB); }
.bmark__logo img { max-width: 80%; max-height: 160px; object-fit: contain; }
.bmark__facts { display: grid; gap: 14px; margin: 0; }
.bmark__facts div { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--forest-12); }
.bmark__facts dt { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--forest-72); }
.bmark__facts dd { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.45; }

/* Why it matters. */
.bwhy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.bwhy__text { display: grid; gap: 16px; }
.bwhy__text > p:not(.lead) { color: var(--forest-72); }
.bwhy__fig { margin: 0; }
.bwhy__fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 56px rgba(23, 25, 58, 0.14); }
.bsub { margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--forest-72); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 900px) { .bwhy__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Programmes. */
.bprog { background: var(--paper); }
.progs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.prog { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12); border-top: 4px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(90deg, var(--green), var(--blue)); background-origin: border-box; background-clip: padding-box, border-box; }
.prog h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.prog p { font-size: 15px; color: var(--forest-72); }

/* Course cards (reuses the homepage card). */
.bcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .bcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bcards { grid-template-columns: 1fr; } }

/* Other bodies. */
.obodies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.obody { display: grid; gap: 8px; height: 100%; padding: 22px; border-radius: 16px; text-decoration: none; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.obody__logo { display: grid; place-items: center; height: 72px; margin-bottom: 6px; }
.obody__logo img { max-height: 64px; max-width: 100%; object-fit: contain; }
.obody__t { display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 600; }
.obody__t svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.obody__l { font-size: 14px; color: var(--forest-72); }
.obody--hub { align-content: end; color: var(--white); background: linear-gradient(135deg, var(--forest), #10332F 55%, var(--navy)); box-shadow: none; }
.obody--hub .obody__l { color: rgba(255, 255, 255, 0.8); }
@media (hover: hover) and (pointer: fine) { .obody:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--forest-12), var(--shadow-md); } }
@media (max-width: 900px) { .obodies { grid-template-columns: 1fr 1fr; } }

/* Hub: a wall of logos in the header. */
.lwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lwall li { display: grid; place-items: center; aspect-ratio: 1; padding: 14px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12), 0 14px 30px rgba(23, 25, 58, 0.08);
  transform: translateY(calc(var(--i, 0) % 2 * 16px)); }
.lwall img { max-width: 100%; max-height: 80%; object-fit: contain; }
.sbody--link { position: relative; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.sbody--link .sbody__name a::after { content: ""; position: absolute; inset: 0; }
.sbody__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 14px; font-weight: 500; }
.sbody__more svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .sbody--link:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--forest-12), var(--shadow-md); } }
@media (max-width: 600px) { .lwall { grid-template-columns: repeat(4, 1fr); gap: 8px; } .lwall li { padding: 8px; border-radius: 12px; } }
