/* Programme / unit detail pages (e.g. /programmes/l3-foundation-higher-education-studies) */
.pd-badge{display:inline-block;background:#4cbfa6;color:#121518;font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:8px 18px;border-radius:30px}
.pd-hero-sub{font-size:1.15rem;opacity:.85}
.pd-fact-label{display:block;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#7c7c7c;margin-bottom:6px}
.pd-mini{background:#f4f6f8;border-radius:8px;padding:16px 18px;height:100%}
.pd-num{font-size:.8rem;font-weight:600;color:#4cbfa6;letter-spacing:.06em}
.pd-note{background:#eefaf9;border-left:4px solid #4cbfa6;border-radius:6px;padding:14px 18px;font-size:.95rem}
.pd-tabs .nav-link{font-size:1.05rem}
.pd-table{font-size:.92rem;vertical-align:top}
.pd-table thead th{background:#f4f6f8;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#7c7c7c;white-space:nowrap}
.pd-lo td[rowspan]{width:32%;background:#f9fafb}
.pd-keyfacts li{padding:4px 0;font-size:.95rem}
.pd-sticky{position:sticky;top:110px}
@media (max-width:991.98px){.pd-sticky{position:static}}
.pd-hero-sub{opacity:1;text-shadow:0 1px 8px rgba(0,0,0,.55)}
.tab-content p,.pd-body p{margin-bottom:1rem}

.pd-table td:has(a){white-space:normal}
.pd-table td:first-child{white-space:nowrap}
.pd-lo td:first-child{white-space:normal;min-width:180px}
@media (max-width:767.98px){.pd-lo{min-width:620px}}
@media (max-width:767.98px){.pd-table{min-width:560px}}

/* 15-week subject plan (2026-10-25): teaching weeks open their materials page; evaluation weeks are not links */
.pd-plan tr.pd-week-row { cursor: pointer; transition: background-color .15s ease; }
.pd-plan tr.pd-week-row:hover, .pd-plan tr.pd-week-row:focus-within { background-color: #eef7fd; }
.pd-plan .pd-week-link { font-weight: 500; color: #1f2937; text-decoration: none; }
.pd-plan tr.pd-week-row:hover .pd-week-link { color: #0a6fa8; text-decoration: underline; }
.pd-plan .pd-subtopics { margin: .35rem 0 0; padding-left: 1.1rem; font-size: .9em; color: #555; }
.pd-plan .pd-subtopics li { margin: 0; }
.pd-plan tr.pd-eval-row td { background-color: #f4f1fa; }
.pd-plan tr.pd-eval-row strong { color: #6d4fa0; }
.pd-plan td:first-child { white-space: nowrap; font-weight: 500; }

/* semester subject tables: same column grid in every semester */
@media (min-width: 768px) {
	.pd-sem { table-layout: fixed; }
	.pd-sem th:nth-child(1) { width: 90px; }
	.pd-sem th:nth-child(3), .pd-sem th:nth-child(4) { width: 90px; }
}
