/**
 * Hospitality & Institutional Management department page.
 */

.hosp {
	--hosp-red: var(--mara-primary, #c62828);
	--hosp-gold: #b08d46;
	--hosp-navy: #1a1a1a;
	--hosp-ink: #1a1a1a;
	--hosp-muted: #5c5c66;
	--hosp-surface: #f6f6f7;
	--hosp-line: #e4e4e7;
	--hosp-radius: 0.75rem;
	color: var(--mara-text, #333);
	background: #fff;
	overflow-x: clip;
}

.hosp a:focus-visible,
.hosp button:focus-visible {
	outline: 2px solid var(--hosp-gold);
	outline-offset: 3px;
}

.hosp__icon {
	display: block;
	flex-shrink: 0;
}

.hosp__section-title {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(1.4rem, 2.8vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--hosp-ink);
}

.hosp__section-title--center {
	text-align: center;
}

.hosp__section-intro {
	margin: 0.65rem 0 0;
	max-width: 38rem;
	line-height: 1.6;
	color: var(--hosp-muted);
}

.hosp__section-head {
	margin-bottom: 1.5rem;
}

.hosp__prose {
	margin: 0.85rem 0 0;
	line-height: 1.65;
	color: var(--hosp-muted);
}

.hosp__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.6rem;
	padding: 0.6rem 1.2rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0.35rem;
}

.hosp__btn--sm {
	min-height: 2.25rem;
	padding: 0.45rem 0.95rem;
	font-size: 0.7rem;
}

.hosp__btn--ghost {
	color: #fff;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.hosp__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.hosp__btn--outline {
	color: var(--hosp-ink);
	background: #fff;
	border: 1.5px solid var(--hosp-line);
}

.hosp__btn--outline:hover {
	border-color: var(--hosp-gold);
	color: var(--hosp-gold);
}

/* Hero */
.hosp__hero {
	position: relative;
	min-height: clamp(14rem, 36vw, 22rem);
	display: grid;
	align-items: end;
	padding: clamp(2rem, 5vw, 3.5rem) 0;
	background:
		linear-gradient(115deg, rgba(10, 10, 10, 0.78) 0%, rgba(26, 26, 26, 0.45) 55%, rgba(176, 141, 70, 0.25) 100%),
		var(--hosp-hero-image, none) center / cover no-repeat;
	color: #fff;
}

.hosp__hero-scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hosp__hero-inner {
	position: relative;
	z-index: 1;
	max-width: 40rem;
}

.hosp__badge {
	margin: 0 0 0.85rem;
	display: inline-block;
	padding: 0.3rem 0.65rem;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: var(--hosp-red);
	border-radius: 0.25rem;
}

.hosp__hero-title {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(1.85rem, 4.2vw, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #fff;
}

.hosp__hero-intro {
	margin: 0.9rem 0 0;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.92);
}

.hosp__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.35rem;
}

.hosp__hero-actions .mara-btn--primary {
	background: var(--hosp-gold);
	border-color: var(--hosp-gold);
	color: #fff;
}

.hosp__hero-actions .mara-btn--primary:hover {
	filter: brightness(1.05);
}

/* Intro */
.hosp__intro {
	padding: clamp(2rem, 5vw, 3.25rem) 0;
	background: var(--hosp-surface);
}

.hosp__intro-grid {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

@media (min-width: 860px) {
	.hosp__intro-grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 2.5rem;
	}
}

.hosp__intro-media {
	margin: 0;
	border-radius: var(--hosp-radius);
	overflow: hidden;
}

.hosp__intro-media img {
	display: block;
	width: 100%;
	height: auto;
}

/* Advantage */
.hosp__advantage {
	padding: clamp(2rem, 5vw, 3.25rem) 0;
}

.hosp__advantage .hosp__section-title {
	margin-bottom: 1.35rem;
}

.hosp__advantage-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

@media (min-width: 700px) {
	.hosp__advantage-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.hosp__advantage-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.hosp__advantage-card {
	padding: 1.15rem;
	background: #fff;
	border: 1px solid var(--hosp-line);
	border-radius: var(--hosp-radius);
}

.hosp__advantage-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	color: var(--hosp-ink);
}

.hosp__advantage-card p {
	margin: 0.45rem 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--hosp-muted);
}

/* Culinary quote sections */
.hosp__quote {
	padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.hosp__quote--hospitality {
	background: linear-gradient(145deg, #2a1518 0%, #3d1f24 45%, #1a1a1a 100%);
}

.hosp__quote--culinary {
	background: linear-gradient(155deg, #1a2218 0%, #24301e 48%, #1a1a1a 100%);
}

.hosp__quote-card {
	position: relative;
	isolation: isolate;
	margin: 0 auto;
	max-width: 42rem;
	padding: clamp(1.65rem, 4vw, 2.25rem) clamp(1.2rem, 4vw, 2.1rem);
	text-align: center;
	border-radius: 0.55rem;
	overflow: hidden;
	color: #fff;
}

.hosp__quote--hospitality .hosp__quote-card {
	border: 1px solid rgba(198, 40, 40, 0.35);
	background:
		radial-gradient(ellipse at 15% 0%, rgba(198, 40, 40, 0.22) 0%, transparent 55%),
		radial-gradient(ellipse at 90% 100%, rgba(176, 141, 70, 0.16) 0%, transparent 50%),
		rgba(255, 255, 255, 0.03);
}

.hosp__quote--culinary .hosp__quote-card {
	border: 1px solid rgba(176, 141, 70, 0.4);
	background:
		radial-gradient(ellipse at 80% 0%, rgba(176, 141, 70, 0.22) 0%, transparent 55%),
		radial-gradient(ellipse at 10% 100%, rgba(120, 160, 90, 0.14) 0%, transparent 50%),
		rgba(255, 255, 255, 0.03);
}

.hosp__quote-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.18;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.5px),
		radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1.5px);
	background-size: 36px 36px, 28px 28px;
}

.hosp__quote--culinary .hosp__quote-card::after {
	content: "";
	position: absolute;
	inset: 0.7rem;
	border: 1px dashed rgba(176, 141, 70, 0.28);
	border-radius: 0.35rem;
	pointer-events: none;
}

.hosp__quote-icon {
	display: inline-flex;
	margin-bottom: 0.85rem;
	color: var(--hosp-gold);
}

.hosp__quote--hospitality .hosp__quote-icon {
	color: #f0a8a8;
}

.hosp__quote-text {
	margin: 0;
	padding: 0;
	border: 0;
}

.hosp__quote-text p {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(1.15rem, 2.8vw, 1.55rem);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: #fff;
	text-wrap: balance;
}

.hosp__quote-attrib {
	display: block;
	margin-top: 1rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hosp-gold);
}

/* Programmes */
.hosp__programmes {
	padding: clamp(2rem, 5vw, 3.25rem) 0;
	background: var(--hosp-surface);
}

.hosp__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

@media (min-width: 900px) {
	.hosp__cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

.hosp__card {
	padding: 1.2rem;
	background: #fff;
	border: 1px solid var(--hosp-line);
	border-radius: var(--hosp-radius);
	box-shadow: 0 8px 22px rgba(26, 26, 26, 0.04);
}

.hosp__card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
}

.hosp__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.hosp__badge {
	padding: 0.22rem 0.5rem;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hosp-ink);
	background: var(--hosp-surface);
	border-radius: 0.3rem;
}

.hosp__duration {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hosp-muted);
}

.hosp__card-title {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: 1.08rem;
	font-weight: 800;
	color: var(--hosp-ink);
}

.hosp__card-entry {
	margin: 0.55rem 0 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--hosp-muted);
}

.hosp__card-entry-label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hosp-ink);
}

.hosp__card-entry-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.hosp__card-entry-list li {
	display: grid;
	gap: 0.15rem;
	padding: 0.55rem 0.65rem;
	background: var(--hosp-surface);
	border-left: 2px solid var(--hosp-gold);
	border-radius: 0.3rem;
}

.hosp__card-entry-level {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hosp-ink);
}

.hosp__card-entry-text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--hosp-muted);
}

.hosp__pathways {
	margin: 0.85rem 0;
	padding-top: 0.65rem;
	border-top: 1px solid var(--hosp-line);
}

.hosp__pathways-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 0.3rem 0;
	margin: 0;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 800;
	color: var(--hosp-gold);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.hosp__pathways-trigger.is-open .hosp__icon {
	transform: rotate(180deg);
}

.hosp__pathways-panel {
	padding-top: 0.45rem;
}

.hosp__pathways-note {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-style: italic;
	color: var(--hosp-muted);
}

.hosp__pathways-panel ul {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--hosp-muted);
}

.hosp__pathways-panel li + li {
	margin-top: 0.25rem;
}

/* HOD */
.hosp__hod {
	padding: clamp(2rem, 5vw, 3rem) 0;
	background: #fff;
}

.hosp__hod-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--hosp-surface);
	border-left: 4px solid var(--hosp-gold);
	border-radius: 0 var(--hosp-radius) var(--hosp-radius) 0;
}

.hosp__hod-icon {
	color: var(--hosp-gold);
}

.hosp__hod-role {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hosp-red);
}

.hosp__hod-dept {
	margin: 0.35rem 0 0;
	font-family: var(--mara-font-heading);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--hosp-ink);
}

.hosp__hod-message {
	margin: 0.85rem 0 0;
}

.hosp__hod-message p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--hosp-muted);
}

/* Dual training */
.hosp__dual {
	padding: clamp(2.25rem, 5vw, 3.5rem) 0;
	background: var(--hosp-navy);
	color: #fff;
}

.hosp__dual-eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hosp-gold);
}

.hosp__dual-title {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 800;
	color: #fff;
}

.hosp__dual-intro {
	margin: 0.85rem 0 0;
	max-width: 42rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.hosp__dual-blend {
	margin: 1rem 0 0;
	max-width: 44rem;
	font-size: 0.98rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
}

.hosp__dual-viz {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin: 1.75rem 0 0;
	align-items: stretch;
}

@media (min-width: 900px) {
	.hosp__dual-viz {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.05fr);
		gap: 0.85rem;
	}
}

.hosp__dual-card {
	padding: 1.2rem 1.15rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.55rem;
}

.hosp__dual-card--college {
	border-top: 3px solid var(--hosp-gold);
}

.hosp__dual-card--industry {
	border-top: 3px solid var(--hosp-red);
}

.hosp__dual-card--outcome {
	display: grid;
	align-content: center;
	gap: 0.35rem;
	background: rgba(176, 141, 70, 0.16);
	border-color: rgba(176, 141, 70, 0.35);
	border-top: 3px solid var(--hosp-gold);
}

.hosp__dual-kicker {
	margin: 0 0 0.7rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hosp-gold);
}

.hosp__dual-card--industry .hosp__dual-kicker {
	color: #f0a0a0;
}

.hosp__dual-card ul {
	margin: 0;
	padding-left: 1.1rem;
	color: rgba(255, 255, 255, 0.84);
	line-height: 1.7;
	font-size: 0.92rem;
}

.hosp__dual-result {
	font-family: var(--mara-font-heading);
	font-size: clamp(1.15rem, 2.2vw, 1.4rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #fff;
	line-height: 1.25;
}

.hosp__dual-op {
	display: none;
	place-items: center;
	align-self: center;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--hosp-gold);
	line-height: 1;
}

@media (min-width: 900px) {
	.hosp__dual-op {
		display: grid;
	}
}

.hosp__dual-giz {
	margin: 1.15rem 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.7);
	font-style: italic;
}

.hosp__dual-process {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

@media (min-width: 800px) {
	.hosp__dual-process {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}
}

.hosp__dual-step {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	padding: 1.1rem 1rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-left: 3px solid var(--hosp-gold);
	border-radius: 0.5rem;
}

.hosp__dual-num {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background: var(--hosp-gold);
	color: var(--hosp-navy);
	font-size: 0.85rem;
	font-weight: 800;
	line-height: 1;
}

.hosp__dual-step-body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.hosp__dual-step-label {
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.3;
	color: #fff;
}

.hosp__dual-step-text {
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

.hosp__dual-liaison {
	margin: 1.35rem 0 0;
	max-width: 44rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.hosp__dual-liaison-link {
	color: var(--hosp-gold);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.hosp__dual-liaison-link:hover,
.hosp__dual-liaison-link:focus-visible {
	color: #fff;
}

/* Driving */
.hosp__driving {
	padding: clamp(1.75rem, 4vw, 2.5rem) 0;
	background: var(--hosp-surface);
}

.hosp__driving-inner {
	display: grid;
	gap: 1rem;
	align-items: center;
	padding: 1.35rem;
	background: #fff;
	border: 1px solid var(--hosp-line);
	border-radius: var(--hosp-radius);
}

@media (min-width: 800px) {
	.hosp__driving-inner {
		grid-template-columns: 1fr auto;
	}
}

/* Progression */
.hosp__progression {
	padding: clamp(2rem, 5vw, 3.25rem) 0;
}

.hosp__ladder {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

@media (min-width: 800px) {
	.hosp__ladder {
		grid-template-columns: repeat(4, 1fr);
	}
}

.hosp__ladder li {
	padding: 1rem;
	text-align: center;
	font-weight: 800;
	background: var(--hosp-surface);
	border: 1px solid var(--hosp-line);
	border-radius: 0.55rem;
}

.hosp__ladder li:nth-child(3) {
	background: #f3e7cf;
	border-color: rgba(176, 141, 70, 0.4);
}

.hosp__ladder li:last-child {
	background: var(--hosp-navy);
	border-color: var(--hosp-navy);
	color: #fff;
}

.hosp__progression-note {
	margin: 1.25rem auto 0;
	max-width: 46rem;
	padding: 1rem 1.15rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--hosp-muted);
	background: var(--hosp-surface);
	border-left: 4px solid var(--hosp-gold);
	border-radius: 0 0.5rem 0.5rem 0;
}

/* CTA */
.hosp__cta {
	padding: clamp(2rem, 5vw, 3.25rem) 0;
	background: var(--hosp-surface);
}

.hosp__cta-inner {
	text-align: center;
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--hosp-line);
	border-radius: var(--hosp-radius);
}

.hosp__cta-title {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(1.35rem, 2.8vw, 1.85rem);
	font-weight: 800;
}

.hosp__cta-intro {
	margin: 0.65rem auto 0;
	max-width: 34rem;
	line-height: 1.6;
	color: var(--hosp-muted);
}

.hosp__cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

body.page-template-hospitality-department .quick-actions,
body.page-template-page-templateshospitality-department-php .quick-actions {
	margin-top: 0;
	padding-top: 1.15rem;
	background: #fff;
}

@media (max-width: 719px) {
	.hosp__hero-actions,
	.hosp__cta-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hosp__hero-actions .hosp__btn,
	.hosp__cta-actions .hosp__btn {
		width: 100%;
	}

	.hosp__hod-inner {
		grid-template-columns: 1fr;
	}
}
