/* 24x7 / department pages — clean custom layout */

.ph-dept {
	padding: 48px 0 72px;
	background: var(--ph-surface-grid);
	overflow-x: clip;
}

.ph-dept .ph-recovered__content {
	min-width: 0;
}

.ph-dept-el {
	min-width: 0;
}

.ph-dept-el__intro {
	padding: 0 0 28px;
}

.ph-dept-el__intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 32px;
	align-items: center;
}

.ph-dept-el__intro-col {
	min-width: 0;
}

.ph-dept-el__heading {
	margin: 0 0 14px;
	color: #111d6a;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ph-dept-el__intro .ph-dept-el__heading {
	font-size: clamp(24px, 2.6vw, 32px);
	color: #111d6a;
}

.ph-dept-el__text {
	color: var(--ph-muted, #4a5568);
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	line-height: 1.85;
	overflow-wrap: anywhere;
}

.ph-dept-el__text p {
	margin: 0 0 1em;
}

.ph-dept-el__text p:last-child {
	margin-bottom: 0;
}

.ph-dept-el__text ul,
.ph-dept-el__text ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

.ph-dept-el__text a {
	color: #f77f00;
}

.ph-dept-el__figure {
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #e8eef5;
	box-shadow: 0 16px 36px rgba(17, 29, 106, 0.12);
}

.ph-dept-el__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ph-dept-el__btn-wrap {
	margin: 20px 0 0;
}

.ph-dept-el__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	background: var(--ph-accent, #f77f00);
	border-radius: 999px;
	color: #fff !important;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 8px 20px rgba(247, 127, 0, 0.3);
	transition: background 0.2s ease, transform 0.2s ease;
}

.ph-dept-el__btn:hover {
	background: var(--ph-navy, #111d6a);
	transform: translateY(-1px);
}

.ph-dept-el__section {
	padding: 18px 0;
}

.ph-dept-el__section .ph-dept-el__heading {
	font-size: clamp(22px, 2.4vw, 28px);
	margin-bottom: 12px;
}

.ph-dept-el__facilities {
	padding: 8px 0 28px;
}

.ph-dept-el__facilities-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.ph-dept-el__card {
	padding: 22px 22px 20px;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(17, 29, 106, 0.06);
	min-width: 0;
	height: 100%;
	box-sizing: border-box;
	border: 1px solid transparent;
}

.ph-dept-el__card--blue {
	background: #e8f1fb;
	border-color: rgba(17, 29, 106, 0.08);
}

.ph-dept-el__card--peach {
	background: var(--ph-accent-soft, #fff4e8);
	border-color: rgba(247, 127, 0, 0.15);
}

.ph-dept-el__card .ph-dept-el__heading {
	font-size: 18px;
	margin-bottom: 8px;
	color: #111d6a;
}

.ph-dept-el__card .ph-dept-el__text {
	font-size: 14px;
	line-height: 1.7;
	color: #3a3a3a;
}

.ph-dept-el__accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.ph-dept-el__acc-item {
	overflow: hidden;
	border-radius: 12px;
	background: var(--ph-soft, #f9fbfd);
	border: 1px solid var(--ph-line, #e8eef5);
}

.ph-dept-el__acc-item summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 18px;
	color: #111d6a;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 600;
	position: relative;
	padding-right: 40px;
}

.ph-dept-el__acc-item summary::-webkit-details-marker {
	display: none;
}

.ph-dept-el__acc-item summary::after {
	content: "+";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	font-weight: 400;
	color: #f77f00;
}

.ph-dept-el__acc-item[open] summary {
	color: #f77f00;
}

.ph-dept-el__acc-item[open] summary::after {
	content: "–";
}

.ph-dept-el__acc-body {
	padding: 0 18px 16px;
	background: #fff;
	color: var(--ph-muted, #4a5568);
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	line-height: 1.75;
}

.ph-dept-el__acc-body p:last-child {
	margin-bottom: 0;
}

/* Banner: keep title clear of orange side nav */
.ph-page-banner__inner {
	width: min(1140px, calc(100% - 40px));
	max-width: 100%;
	padding-inline: 0;
	box-sizing: border-box;
}

.ph-page-banner h1 {
	max-width: min(18ch, 100%);
	margin-left: auto;
	margin-right: auto;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ph-page-banner:has(.ph-page-banner__side) .ph-page-banner__inner {
	padding-right: 240px;
	text-align: left;
}

.ph-page-banner:has(.ph-page-banner__side) h1 {
	max-width: min(20ch, 100%);
	margin-left: 0;
	margin-right: auto;
	text-align: left;
}

.ph-page-banner:has(.ph-page-banner__side) .ph-page-banner__crumbs {
	text-align: left;
}

@media (max-width: 1100px) {
	.ph-page-banner:has(.ph-page-banner__side) .ph-page-banner__inner {
		padding-right: 0;
		text-align: center;
	}

	.ph-page-banner:has(.ph-page-banner__side) h1 {
		max-width: min(18ch, 100%);
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.ph-page-banner:has(.ph-page-banner__side) .ph-page-banner__crumbs {
		text-align: center;
	}
}

@media (max-width: 980px) {
	.ph-dept {
		padding-top: 36px;
	}

	.ph-dept-el__intro-grid,
	.ph-dept-el__facilities-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ph-dept-el__intro {
		padding-bottom: 20px;
	}
}
