/**
 * Hassan Research Areas pattern.
 *
 * Primary TAMUSA colors carry the hierarchy. Secondary colors remain optional
 * accents rather than large reading surfaces.
 */

.hassan-research-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	color: #030000;
}

.hassan-research-page > .wp-block-heading:first-child {
	grid-row: 2;
	grid-column: 1;
	width: 100vw !important;
	max-width: none !important;
	margin: 0 calc(50% - 50vw) !important;
	padding: clamp(1.5rem, 3vw, 2.5rem) max(1.5rem, calc((100vw - 1200px) / 2)) !important;
	background: #740f2f;
	color: #fff !important;
	font-size: clamp(2.35rem, 4vw, 3.25rem) !important;
	line-height: 1.08;
}

.hassan-research-page > .wp-block-cover {
	grid-row: 1;
	grid-column: 1;
	width: 100vw !important;
	max-width: none !important;
	min-height: clamp(22rem, 42vw, 32rem);
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #f4f4f4;
}

.hassan-research-page > .wp-block-cover::after {
	display: none;
}

.hassan-research-page > .wp-block-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hassan-research-page > .wp-block-cover + .wp-block-paragraph {
	max-width: 54rem;
	margin: clamp(2rem, 4vw, 3rem) auto !important;
	padding: 0 !important;
	color: #030000 !important;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.65;
	text-wrap: pretty;
}

.hassan-research-page > .wp-block-separator {
	max-width: 60rem !important;
	margin: 0 auto clamp(2rem, 4vw, 3rem) !important;
	border-color: #84888b !important;
	opacity: 0.7;
}

.hassan-research-page > .wp-block-columns {
	align-items: flex-start !important;
	max-width: 60rem !important;
	margin: 0 auto clamp(2rem, 4vw, 3rem) !important;
	padding-block: 0 !important;
	column-gap: clamp(1.5rem, 4vw, 3rem) !important;
}

.hassan-research-page > .wp-block-columns > .wp-block-column {
	min-width: 0;
}

.hassan-research-page > .wp-block-separator + .wp-block-columns > .wp-block-column:first-child > .wp-block-group {
	position: sticky;
	top: 2rem;
	padding: 1rem 1.125rem;
	border-top: 4px solid #740f2f;
	border-radius: 0 0 6px 6px;
	background: #f4f4f4;
}

.hassan-research-page > .wp-block-separator + .wp-block-columns nav > p {
	margin-block: 0.25rem 0.5rem;
}

.hassan-research-page > .wp-block-separator + .wp-block-columns nav > p[style*="text-transform:uppercase"],
.hassan-research-page > .wp-block-columns + .wp-block-columns > .wp-block-column:first-child > p:first-child {
	margin-top: 0 !important;
	color: #740f2f !important;
	font-size: 0.8rem !important;
	font-weight: 700;
	letter-spacing: 0.06em !important;
	line-height: 1.4;
	text-transform: uppercase !important;
}

.hassan-research-page > .wp-block-separator + .wp-block-columns nav a {
	color: #030000 !important;
	text-decoration: underline;
	text-decoration-color: #84888b;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.hassan-research-page > .wp-block-separator + .wp-block-columns nav a:hover {
	color: #740f2f !important;
	text-decoration-color: currentcolor;
	text-decoration-thickness: 0.13em;
}

.hassan-research-page > .wp-block-separator + .wp-block-columns nav a:focus-visible {
	border-radius: 2px;
	outline: 3px solid #740f2f;
	outline-offset: 3px;
}

.hassan-research-page > .wp-block-columns + .wp-block-columns > .wp-block-column:first-child {
	padding-top: 0.25rem;
	border-top: 1px solid #84888b;
}

.hassan-research-page > .wp-block-columns + .wp-block-columns > .wp-block-column:first-child > p:last-child {
	max-width: 28ch;
	margin-bottom: 0;
	color: #030000 !important;
	font-size: 0.95rem !important;
	line-height: 1.55;
}

.hassan-research-page > .wp-block-columns > .wp-block-column:last-child {
	overflow: hidden;
	border: 1px solid #c7c9ca !important;
	border-left: 5px solid #740f2f !important;
	border-radius: 0 8px 8px 0;
	background: #fff !important;
	box-shadow: 0 3px 12px rgb(3 0 0 / 8%);
}

.hassan-research-page > .wp-block-columns > .wp-block-column:last-child > .wp-block-heading {
	margin: 0 !important;
	padding: clamp(1.25rem, 3vw, 1.75rem) !important;
	color: #740f2f !important;
	font-size: clamp(1.65rem, 3vw, 2.25rem) !important;
	line-height: 1.15;
	text-wrap: balance;
	scroll-margin-top: 2rem;
}

.hassan-research-page > .wp-block-columns > .wp-block-column:last-child > .wp-block-pullquote {
	margin: 0 !important;
	padding: clamp(1rem, 2.5vw, 1.5rem) !important;
	border-top: 1px solid #c7c9ca;
	border-right: 0;
	border-bottom: 1px solid #c7c9ca;
	border-left: 0;
	background: #f4f4f4;
	color: #030000 !important;
}

.hassan-research-page > .wp-block-columns > .wp-block-column:last-child > .wp-block-pullquote blockquote,
.hassan-research-page > .wp-block-columns > .wp-block-column:last-child > .wp-block-pullquote p {
	margin: 0;
	color: #030000 !important;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	line-height: 1.5;
	text-wrap: pretty;
}

.hassan-research-page > .wp-block-columns > .wp-block-column:last-child > .wp-block-paragraph {
	max-width: 70ch;
	margin: 0 !important;
	padding: clamp(1.25rem, 3vw, 1.75rem) !important;
	color: #030000 !important;
	font-size: 1rem;
	line-height: 1.65;
}

@media (max-width: 781px) {
	.hassan-research-page > .wp-block-heading:first-child {
		padding: clamp(1.5rem, 7vw, 2.5rem) 0 !important;
	}

	.hassan-research-page > .wp-block-cover {
		min-height: clamp(18rem, 72vw, 24rem);
	}

	.hassan-research-page > .wp-block-columns {
		row-gap: 1.25rem !important;
	}

	.hassan-research-page > .wp-block-separator + .wp-block-columns > .wp-block-column:first-child > .wp-block-group {
		position: static;
	}

	.hassan-research-page > .wp-block-columns + .wp-block-columns > .wp-block-column:first-child {
		padding: 0.75rem 0 0;
	}

	.hassan-research-page > .wp-block-columns > .wp-block-column:last-child {
		border-left-width: 4px !important;
	}
}
