@charset "UTF-8";
/* =============================================================================
   Bachelor programme page — overview, tracks, faculty, careers, voices,
   parents. Ported from the Figma Make export's Overview.tsx, Tracks.tsx,
   Careers.tsx, Voices.tsx and Parents.tsx (figma_make/LSB - BIB (domi)/,
   2026-09-15). See assets/css/programme.css header for the porting rules this
   file follows: bib- prefixed BEM, Lora/Geist, breakpoints 1280/1024/768.

   Voices reuses the site-wide .community-grid / .community-card /
   .community-cta classes (assets/css/showcase.css) rather than reinventing
   them — only the section-level spacing is tweaked here, under .bib-voices.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Overview
   ------------------------------------------------------------------------ */

.bib-overview__lead-2 {
	margin-block-start: 0.875rem;
}

.bib-overview__body {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 4.5rem;
	align-items: stretch;
}

.bib-overview__photo {
	position: relative;
	min-height: 28.75rem;
	overflow: hidden;
	border-radius: var(--bib-r);
	background-color: var(--bib-line);
}

.bib-overview__photo picture,
.bib-overview__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bib-overview__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(0deg, color-mix(in srgb, var(--color-navy-abyss) 60%, transparent), transparent 35%);
}

.bib-overview__caption {
	position: absolute;
	z-index: 2;
	inset-inline: 1.25rem;
	inset-block-end: 1.25rem;
	display: flex;
	justify-content: space-between;
	gap: var(--space-3);
	font-family: var(--font-body);
	font-size: var(--fs-ui-tag);
	color: var(--color-white);
}

.bib-overview__built {
	border-block-start: 1px solid var(--bib-line);
}

.bib-overview__built-item {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	gap: var(--space-5);
	padding-block: var(--space-6);
	border-block-end: 1px solid var(--bib-line);
}

.bib-overview__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--bib-line-2);
	border-radius: 50%;
	color: var(--color-navy);
}

.bib-overview__built-item h3 {
	margin-block-end: 0.25rem;
	font-size: 1.3125rem;
	line-height: 1.3;
}

.bib-overview__built-item p {
	font-size: var(--fs-ui);
	line-height: 1.6;
	color: var(--bib-ink-2);
}

.bib-overview__built-meta {
	display: block;
	margin-block-start: var(--space-2);
	color: var(--bib-magenta);
}

/* ---------------------------------------------------------------------------
   Tracks
   ------------------------------------------------------------------------ */

/* Photo cards, as the Open Programs page's "Also in executive education"
   (.open-rcard, assets/css/open.css): the photo fills the card behind a navy
   fade, the copy sits white at its foot (Domagoj, 2026-09-25). */
.bib-tracks__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-5);
}

.bib-tracks__card {
	position: relative;
	isolation: isolate;
	display: flex;
	overflow: hidden;
	border-radius: var(--bib-r-lg);
	background-color: var(--bib-abyss);
	color: var(--color-white);
}

.bib-tracks__card:focus-visible {
	outline: 2px solid var(--bib-magenta);
	outline-offset: 3px;
}

.bib-tracks__image,
.bib-tracks__image picture {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
}

.bib-tracks__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
	transition: transform 0.8s var(--bib-ease), opacity 0.4s;
}

.bib-tracks__card:hover .bib-tracks__image img,
.bib-tracks__card:focus-within .bib-tracks__image img {
	transform: scale(1.05);
	opacity: 0.62;
}

.bib-tracks__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--bib-abyss) 10%, transparent) 0%,
		color-mix(in srgb, var(--bib-abyss) 75%, transparent) 38%,
		color-mix(in srgb, var(--bib-abyss) 97%, transparent) 62%
	);
}

/* The copy starts at the same height in every card, so the titles and the
   module lists line up across the row; the photo shows above it. */
.bib-tracks__body {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 12.5rem 1.875rem 1.875rem;
}

.bib-tracks__body h3 {
	margin-block-end: 0.375rem;
	font-size: 1.75rem;
	color: var(--color-white);
}

.bib-tracks__for {
	min-height: 3em;
	margin-block-end: var(--space-5);
	font-size: 0.96875rem;
	color: var(--bib-on-dark);
}

.bib-tracks__module {
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
	padding-block: var(--space-3);
	border-block-start: 1px solid var(--bib-line-dark);
	font-size: 0.96875rem;
	line-height: 1.4;
}

.bib-tracks__module small {
	display: block;
	margin-block-start: 3px;
	font-family: var(--font-body);
	font-size: var(--fs-ui-xs);
	color: var(--bib-on-dark-3);
}

.bib-tracks__module .bib-mono {
	flex: none;
	padding-block-start: 3px;
	color: var(--bib-magenta-on-dark);
}

/* A line in place of the module list (BIB Marketing, 2026-11-09): a quiet
   note under a divider, not the old dashed "to be confirmed" box. */
.bib-tracks__tbc {
	margin-block-start: var(--space-5);
	padding-block-start: var(--space-4);
	border-block-start: 1px solid var(--bib-line-dark);
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	color: var(--bib-on-dark-2, var(--bib-on-dark-3));
}

/* On the navy glow, lit from the right, with the magenta button. */
.bib-tracks__note {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--space-8);
	align-items: center;
	margin-block-start: 2.5rem;
	padding: 1.75rem 2rem;
	border-radius: var(--bib-r);
	background: var(--bib-glow-right);
	color: var(--color-white);
}

.bib-tracks__note p {
	font-size: var(--fs-copy-20);
	line-height: 1.45;
}

/* ---------------------------------------------------------------------------
   Faculty
   ------------------------------------------------------------------------ */

.bib-faculty {
	padding-block-end: var(--bib-sec);
}

.bib-faculty__head {
	align-items: end;
	margin-block-end: 0;
}

.bib-faculty__heading {
	font-size: 1.875rem;
}

.bib-faculty__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-5);
	margin-block-start: 2.75rem;
}

.bib-faculty__card {
	display: flex;
	flex-direction: column;
	padding: 1.625rem;
	border: 1px solid var(--bib-line);
	border-radius: var(--bib-r);
	background-color: var(--color-white);
}

.bib-faculty__card-head {
	display: flex;
	align-items: flex-start;
	gap: var(--space-4);
	margin-block-end: var(--space-4);
}

.bib-faculty__avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background-color: var(--bib-line);
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	font-weight: var(--fw-semibold);
	letter-spacing: 0.03em;
	color: var(--bib-ink-2);
}

.bib-faculty__avatar--photo {
	overflow: hidden;
	background-color: transparent;
	object-fit: cover; /* lsb_the_picture() puts the class on the <img> itself */
}

.bib-faculty__avatar--photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bib-faculty__name {
	margin-block-end: 3px;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: var(--fw-semibold);
	line-height: 1.25;
	color: var(--color-navy);
}

.bib-faculty__role {
	font-family: var(--font-body);
	font-size: var(--fs-ui-tag);
	line-height: 1.4;
	color: var(--bib-ink-3);
}

.bib-faculty__institution {
	padding-block-end: 0.875rem;
	border-block-end: 1px solid var(--bib-line);
	font-family: var(--font-body);
	font-size: var(--fs-ui-tag);
	color: var(--bib-ink-2);
}

.bib-faculty__section {
	margin-block-start: var(--space-4);
}

.bib-faculty__label {
	display: block;
	margin-block-end: 0.3125rem;
	color: var(--bib-ink-3);
}

.bib-faculty__value {
	font-family: var(--font-body);
	font-size: var(--fs-ui-tag);
	line-height: 1.55;
	color: var(--bib-ink-2);
}

.bib-faculty__tagline {
	font-style: italic;
}

.bib-faculty__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-block-start: auto;
	padding-block-start: 1.125rem;
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	font-weight: var(--fw-medium);
	color: var(--bib-magenta);
}

.bib-faculty__link:hover {
	color: var(--bib-magenta-dark);
}

.bib-faculty__more {
	margin-block-start: var(--space-6);
}

/* Faculty profile popup — built to modal.js's markup contract. */
.bib-fac-modal__backdrop {
	position: fixed;
	inset: 0;
	background-color: color-mix(in srgb, var(--color-navy-abyss) 70%, transparent);
}

.bib-fac-modal {
	position: fixed;
	inset: 0;
	z-index: var(--z-modal);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-6);
}

.bib-fac-modal__dialog {
	position: relative;
	width: min(40rem, 100%);
	max-height: calc(100vh - 3rem);
	overflow: auto;
	padding: 2.25rem 2.25rem 2rem;
	border-radius: var(--bib-r-lg);
	background-color: var(--color-white);
	box-shadow: var(--bib-shadow-card);
}

.bib-fac-modal__close {
	position: absolute;
	top: 1.25rem;
	inset-inline-end: 1.25rem;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--bib-line-2);
	border-radius: 50%;
	color: var(--color-navy);
}

.bib-fac-modal__close:hover {
	background-color: var(--bib-paper);
}

.bib-fac-modal__head {
	display: flex;
	gap: var(--space-5);
	align-items: flex-start;
	margin-block-end: var(--space-5);
	padding-inline-end: 2.5rem;
}

.bib-fac-modal__avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background-color: var(--bib-line);
	font-family: var(--font-body);
	font-size: var(--fs-ui);
	font-weight: var(--fw-semibold);
	color: var(--bib-ink-2);
}

.bib-fac-modal__avatar--photo {
	overflow: hidden;
	background-color: transparent;
	object-fit: cover; /* lsb_the_picture() puts the class on the <img> itself */
}

.bib-fac-modal__avatar--photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bib-fac-modal__name {
	font-size: 1.625rem;
	line-height: 1.2;
	color: var(--color-navy);
}

.bib-fac-modal__role {
	margin-block-start: 0.375rem;
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	color: var(--bib-ink-2);
}

.bib-fac-modal__institution {
	margin-block-start: 0.125rem;
	font-family: var(--font-body);
	font-size: var(--fs-ui-tag);
	color: var(--bib-ink-3);
}

.bib-fac-modal__bio {
	font-size: var(--fs-ui-base);
	line-height: 1.7;
	color: var(--bib-ink-2);
}

.bib-fac-modal__bio p + p {
	margin-block-start: var(--space-3);
}

/* ---------------------------------------------------------------------------
   Careers
   ------------------------------------------------------------------------ */

.bib-careers__intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 31rem);
	gap: 4.5rem;
	align-items: center;
}

.bib-careers__heading {
	margin-block-end: 1.375rem;
}

/* Four tiles in the intro's right column (Domagoj, 2026-09-25), as tall as
   their copy so the block stays no taller than the text beside it. */
/* Where the figures come from (BIB: the master's programs, Figma #32). */
.bib-careers__note {
	margin-block-start: var(--space-5);
	text-align: end;
}

.bib-careers__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-5);
}

.bib-careers__stats div {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: var(--space-3);
	padding: 1.5rem;
	border-radius: var(--bib-r-lg);
	background-color: var(--color-white);
	box-shadow: var(--shadow-sm);
}

.bib-careers__stats b {
	display: block;
	font-weight: var(--fw-regular);
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--color-navy);
}

.bib-careers__stats b::after {
	content: "";
	display: block;
	width: 2rem;
	height: 2px;
	margin-block-start: var(--space-4);
	background-color: var(--bib-magenta);
}

.bib-careers__stats span {
	display: block;
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	line-height: 1.5;
	color: var(--bib-ink-2);
}

/* The two master's cards on the navy glow, centred on the text beside them. */
.bib-careers__next {
	display: grid;
	grid-template-columns: 16.25rem 1fr 1fr;
	gap: var(--space-6);
	align-items: center;
	margin-block-start: 4.5rem;
}

.bib-careers__next h3 {
	font-size: 2rem;
	line-height: 1.2;
}

.bib-careers__next-sub {
	margin-block-start: var(--space-2);
}

.bib-careers__next a {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-5);
	padding: 1.5rem 1.5rem 1.375rem;
	border-radius: var(--bib-r);
	background: var(--bib-glow-right);
	color: var(--color-white);
	text-decoration: none;
	transition: transform 0.3s var(--bib-ease);
}

.bib-careers__next a:hover {
	color: var(--color-white); /* not the generic a:hover crimson */
	transform: translateY(-2px);
}

.bib-careers__next a b {
	display: block;
	margin-block-end: 0.375rem;
	font-weight: var(--fw-regular);
	font-size: 1.25rem;
}

.bib-careers__next-meta {
	color: var(--bib-on-dark-3);
}

.bib-careers__next .bib-circ {
	background-color: var(--color-white);
	color: var(--color-navy);
}

.bib-careers__next a:hover > .bib-circ {
	background-color: var(--bib-magenta);
	color: var(--color-white);
}

/* ---------------------------------------------------------------------------
   Voices — spacing tweaks over the reused community-* classes.
   ------------------------------------------------------------------------ */

.bib-voices__head {
	margin-block-end: 2.75rem;
}

.bib-voices__grid {
	margin-block-start: 0;
}

/* Quote cards (voices.layout = quotes, 2026-11-15): the MiF page's
   `.mif-vpair` / `.mif-vq` (assets/css/mif-careers.css), repeated here under
   .bib-voices because that file only loads on the MiF, MBA and Weekend MBA pages. */
.bib-voices .mif-vpair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.bib-voices .mif-vq {
	margin: 0;
	padding: 1.875rem 2rem;
	border: 1px solid var(--bib-line);
	border-radius: var(--bib-r);
	background-color: var(--color-white);
}

.bib-voices .mif-vq blockquote {
	margin: 0 0 1.125rem;
	font-size: var(--fs-copy-19);      /* 19 */
	line-height: 1.5;
	font-style: italic;
}

.bib-voices .mif-vq figcaption {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}

.bib-voices .mif-vq figcaption picture {
	flex: none;
}

.bib-voices .mif-vq__photo {
	display: block;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 38%;       /* the BIB portraits have a navy arc above the head */
}

.bib-voices .mif-vq cite {
	display: block;
	font-style: normal;
	font-family: var(--font-body);
	font-size: 0.84375rem;             /* 13.5 */
	color: var(--bib-ink-2);
}

.bib-voices .mif-vq cite b {
	display: block;
	font-weight: var(--fw-medium);
	font-size: 0.9375rem;              /* 15 */
	color: var(--color-navy);
}

@media (max-width: 63.99em) {
	.bib-voices .mif-vpair {
		grid-template-columns: 1fr;
	}
}

/* Photo cards in a quote section (template-parts/programme/photo-cards.php,
   2026-11-15): the same distance from the content above as the quote cards. */
.lsb-photo-cards {
	margin-block-start: 3.5rem;
}

.bib-voices .lsb-photo-cards {
	margin-block-start: 0;
}

/* ---------------------------------------------------------------------------
   Parents
   ------------------------------------------------------------------------ */

.bib-parents__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 4.5rem;
	align-items: start;
}

.bib-parents__side {
	position: sticky;
	top: calc(var(--header-height) + 5rem);
}

.bib-parents__heading {
	margin-block-end: 1.125rem;
}

.bib-parents__share {
	margin-block-start: 2.25rem;
	padding: 1.625rem;
	border-radius: var(--bib-r);
	background-color: var(--bib-paper);
}

.bib-parents__share h3 {
	margin-block-end: 0.375rem;
	font-size: 1.3125rem;
}

.bib-parents__share p {
	margin-block-end: 1.125rem;
	font-size: 0.90625rem;
	color: var(--bib-ink-2);
}

.bib-parents__share-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.bib-parents__share-row .bib-btn {
	height: 2.625rem;
	padding-inline: 1.125rem;
	font-size: var(--fs-ui-sm);
}

.bib-qa {
	border-block-start: 1px solid var(--bib-line-2);
}

.bib-qa__item {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
	gap: var(--space-8);
	padding-block: 1.875rem;
	border-block-end: 1px solid var(--bib-line);
}

.bib-qa__item h3 {
	font-size: 1.375rem;
	line-height: 1.3;
}

/* The question is a button so it can open and close on a phone; from 768 it is
   disabled and must read exactly as the heading text it replaced. */
.bib-qa__q {
	display: block;
	width: 100%;
	padding: 0;
	text-align: start;
	cursor: default;
}

.bib-qa__pm { display: none; }

.bib-qa__answer p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--bib-ink-2);
}

.bib-qa__answer p + p {
	margin-block-start: var(--space-3);
}

.bib-qa__answer a {
	color: var(--color-navy);
	text-underline-offset: 3px;
}

.bib-qa__answer a:hover {
	color: var(--bib-magenta);
}

/* ---------------------------------------------------------------------------
   Responsive — 1280 / 1024 / 768
   ------------------------------------------------------------------------ */

@media (max-width: 79.99em) {
	.bib-faculty__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 63.99em) {
	.bib-overview__body,
	.bib-careers__intro,
	.bib-parents__grid { grid-template-columns: 1fr; }

	.bib-overview__photo { min-height: 20rem; }

	.bib-tracks__grid { grid-template-columns: 1fr; }

	.bib-tracks__body { padding-block-start: 10rem; }

	.bib-tracks__for { min-height: 0; }

	.bib-tracks__note { grid-template-columns: 1fr; }


	.bib-careers__next { grid-template-columns: 1fr; }

	.bib-parents__side { position: static; }

	.bib-qa__item { grid-template-columns: 1fr; gap: var(--space-3); }
}

@media (max-width: 47.99em) {
	/* A snap rail with the next card peeking, and a .rail-nav beneath
	   (base.css). Stacked, the cards ran to ~2,600px (2026-09-27). */
	.bib-faculty__cards {
		display: flex;
		gap: var(--space-3);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		scroll-padding-inline: var(--gutter);
	}

	.bib-faculty__cards::-webkit-scrollbar { display: none; }

	.bib-faculty__card {
		flex: none;
		width: 85%;
		scroll-snap-align: start;
	}

	/* Specialisations: the same rail (2026-09-27). */
	.bib-tracks__grid {
		display: flex;
		gap: var(--space-3);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		scroll-padding-inline: var(--gutter);
	}

	.bib-tracks__grid::-webkit-scrollbar { display: none; }

	.bib-tracks__card {
		flex: none;
		width: 85%;
		scroll-snap-align: start;
	}

	/* Parents' Q&A: one row per question, closed until tapped
	   (programme-end.js). */
	.bib-qa__item {
		gap: 0;
		padding-block: 0;
	}

	.bib-qa__q {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-4);
		padding-block: var(--space-5);
		cursor: pointer;
	}

	.bib-qa__pm {
		display: grid;
		flex: none;
		place-items: center;
		width: 1.875rem;
		height: 1.875rem;
		border: 1px solid var(--bib-line-2);
		border-radius: var(--radius-full);
		transition: transform 0.3s, background-color 0.2s, color 0.2s, border-color 0.2s;
	}

	.bib-qa__q[aria-expanded='true'] .bib-qa__pm {
		transform: rotate(45deg);
		background-color: var(--color-navy);
		border-color: var(--color-navy);
		color: var(--color-white);
	}

	.bib-qa__answer { padding-block-end: var(--space-5); }

	.bib-qa__item.is-closed .bib-qa__answer { display: none; }

	.bib-careers__stats { gap: var(--space-3); }

	.bib-careers__stats div { padding: 1.125rem; }

	.bib-careers__stats b { font-size: 2.25rem; }

	.bib-careers__stats b::after { margin-block-start: var(--space-3); }

	.bib-careers__stats span { font-size: var(--fs-ui-xs); }
}

/* Fixes, 2026-09-16 (Domagoj). */
@media (min-width: 64em) {
	.bib-careers__next h3 {
		padding-inline-end: 0.625rem;        /* 10 */
	}
}

.bib-voices .community-cta__title {
	font-size: 2rem;
}

.bib-voices .community-cta__text {
	font-size: 1rem;
}
