/*!
Theme Name: RCPCH &Us
Author: Reason Digital
Author URI: https://reasondigital.com/
Description: Barebones RCPCH &Us child theme.
Version: 1.0.0
Text Domain: rcpchus
Template: rcpch
*/

/* Header-specific overrides for the RCPCH &Us child theme belong here. */

/* Mobile menu styles */
@media only screen and (max-width: 59.99em) {
	.standard-header--rcpchus .standard-header__nav {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100vh;
		background-color: #ffffff;
		overflow-y: auto;
		z-index: 999;
		padding-top: 4rem;
	}

	.standard-header--rcpchus .standard-header__menu {
		display: flex;
		flex-direction: column;
		padding: 2rem 1.5rem;
		align-items: normal;
	}

	.standard-header--rcpchus .standard-header__menu-item {
		padding: 0;
		margin-bottom: 1rem;
	}

	.standard-header--rcpchus .standard-header__menu-link {
		font-size: 1.5rem;
		font-weight: 700;
		padding: 0.5rem 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: left;
	}

	.standard-header--rcpchus .sub-menu {
		background-color: transparent;
		padding: 0.5rem 0 0 1.5rem;
		margin: 0;
		box-shadow: none;
		position: static;
	}

	.standard-header--rcpchus .sub-menu .standard-header__menu-link {
		font-size: 1.25rem;
		padding-left: 0;
		padding-right: 1rem;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: left;
	}

	.standard-header--rcpchus .sub-menu .standard-header__menu-item:hover .standard-header__menu-link::after {
		content: '→';
		position: absolute;
		right: 1.5rem;
		opacity: 1;		display: none;	}

	.standard-header--rcpchus .menu-item-has-children > .standard-header__menu-link::after {
		content: '▼';
		font-size: 0.875rem;
		display: inline-block;
		transition: transform 0.2s ease-in-out;
		position: relative;
		right: auto;
		margin-left: 0;
	}

	.standard-header--rcpchus .menu-item-has-children.sub-menu-open > .standard-header__menu-link::after {
		content: '▲';
	}

	/* Close button styles */
	.standard-header--rcpchus .standard-header__nav-close {
		position: fixed;
		top: 3rem;
		right: 0.7rem;
		z-index: 1002;
		background: none;
		border: none;
		font-size: 2rem;
		cursor: pointer;
		padding: 0;
		width: 2.5rem;
		height: 2.5rem;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #000;
	}

	.standard-header--rcpchus .standard-header__nav-close:hover {
		opacity: 0.7;
	}
}

@media only screen and (min-width: 60em) {
	/* Default submenu hidden state - desktop only */
	.standard-header--rcpchus .sub-menu {
		display: none;
	}

	.standard-header--rcpchus .menu-item-has-children.sub-menu-open .sub-menu {
		display: block;
	}

	/* Hide mobile close button on desktop */
	.standard-header--rcpchus .standard-header__nav-close {
		display: none;
	}
	.standard-header--rcpchus > .container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
		column-gap: 1.5rem;
	}

	.standard-header--rcpchus .standard-header__nav {
		display: flex;
		justify-content: center;
		grid-column: 2;
	}

	.standard-header--rcpchus .standard-header__menu {
		justify-content: center;
	}

	.standard-header--rcpchus .standard-header__menu-button {
		grid-column: 3;
		justify-self: end;
	}

	.standard-header--rcpchus .standard-header__cta {
		grid-column: 3;
		justify-self: end;
		margin-left: auto;
	}

	.standard-header--rcpchus .standard-header__cta .btn {
		white-space: nowrap;
	}

	.standard-header--rcpchus.standard-header--corporate .standard-header__logos,
	.standard-header--rcpchus .standard-header__logo-link,
	.standard-header--rcpchus .standard-header__logo-links {
		grid-column: 1;
	}

	.standard-header--rcpchus.standard-header--corporate .standard-header__affiliate-logos {
		display: none;
	}

	.standard-header--rcpchus.standard-header--corporate .standard-header__logos {
		margin-right: auto;
	}

	.standard-header--rcpchus .standard-header__logo-link {
		margin-right: auto;
	}

	.standard-header--rcpchus .standard-header__menu-item {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.standard-header--rcpchus .standard-header__menu-link {
		padding-left: 0;
		padding-right: 0;
	}

	/* Navigation styling updates */
	.standard-header--rcpchus .standard-header__menu-link {
		font-size: 1.125rem;
		font-weight: 700;
		position: relative;
		transition: all 0.2s ease-in-out;
		display: inline-flex;
		align-items: center;
		min-width: fit-content;
	}

	/* Top-level parent menu links with space reserved for arrow */
	.standard-header--rcpchus .menu-item-has-children > .standard-header__menu-link {
		padding-right: 1.25rem;
	}

	/* Submenu styles */
	.standard-header--rcpchus .sub-menu {
		background-color: #ffffff;
		padding: 0.75rem 0;
		margin-top: 0.5rem;
		min-width: 280px;
		position: absolute;
		top: 100%;
		left: 0;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		z-index: 1000;
		list-style: none;
	}

	.standard-header--rcpchus .menu-item-has-children {
		position: relative;
	}

	.standard-header--rcpchus .sub-menu .standard-header__menu-link {
		font-size: 1.125rem;
		font-weight: 700;
		padding-left: 1.5rem;
		padding-right: 2rem;
		display: block;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
		position: relative;
		white-space: nowrap;
	}

	/* Submenu item hover effects */
	.standard-header--rcpchus .sub-menu .standard-header__menu-item:hover .standard-header__menu-link {
		padding-left: 2rem;
	}

	.standard-header--rcpchus .sub-menu .standard-header__menu-item:hover .standard-header__menu-link::after {
		content: '→';
		position: absolute;
		right: 0.7rem;
		opacity: 1;
	}

	/* Arrow for submenu toggle (down arrow when closed, up when open) */
	.standard-header--rcpchus .menu-item-has-children > .standard-header__menu-link::after {
		content: '▼';
		margin-left: 0.5rem;
		font-size: 0.875rem;
		display: inline-block;
		transition: transform 0.2s ease-in-out;
		position: absolute;
		right: 0;
	}

	.standard-header--rcpchus .menu-item-has-children:hover > .standard-header__menu-link::after {
		content: '▲';
		transform: rotate(0deg);
	}
}

@media only screen and (max-width: 59.99em) {
	.standard-header--rcpchus .standard-header__cta {
		display: none;
	}
}

.standard-footer, .legal-footer {
	background: #111111;
}

.newsletter-signup--dark {
	background: #111111;
	color: #ffffff;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

/* Staff block */
.staff-members > .container > .grid {
	align-items: flex-start;
	margin-left: 0;
}

.staff-members .staff-member {
	background: transparent;
	border: 0;
	color: inherit;
	margin: 0;
	padding: 0;
	width: 100%;
}

.staff-members .staff-member__inner {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.staff-members .staff-member__image {
	aspect-ratio: 0.935 / 1;
	border-radius: 0;
	max-height: none;
	object-fit: cover;
	width: 100%;
}

.staff-members .staff-member__title {
	font-size: 1.5rem;
	margin: 2rem 0 0.5rem;
}

.staff-members .staff-member__role {
	color: #666666;
	font-size: 1.25rem;
	font-weight: 400;
	margin: 0;
}

.staff-members .staff-member__description {
	margin: 1rem 0 0;
}

.grouped .section--grouped-wide > .container {
	max-width: 1920px;
}

@media only screen and (min-width: 60em) {
	.grouped .section--grouped-wide > .container {
		padding-left: 2.75rem;
		padding-right: 2.75rem;
	}

	.staff-members > .container {
		padding-left: 2.75rem;
		padding-right: 2.75rem;
	}

	.staff-members > .container > .grid {
		display: grid;
		gap: 3.5rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-left: 0;
		margin-top: 0;
	}

	.staff-members > .container > .grid > .grid__item {
		margin-top: 0;
		padding-left: 0;
		width: auto;
	}
}

.newsletter-signup--dark .newsletter-signup__text {
	font-size: 1.25rem;
	line-height: 1.6;
}

.newsletter-signup--dark .newsletter-signup__text p {
	font-size: inherit;
	line-height: inherit;
}

/* WYSIWYG Image Styling */
.wp-block-image img,
img.alignnone,
img.wp-image {
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

img.alignnone {
	margin: 1rem 0;
	width: auto;
	max-width: 100%;
}

.newsletter-signup--dark h1,
.newsletter-signup--dark h2,
.newsletter-signup--dark h3,
.newsletter-signup--dark h4,
.newsletter-signup--dark h5,
.newsletter-signup--dark h6,
.newsletter-signup--dark p,
.newsletter-signup--dark a {
	color: inherit;
}

.newsletter-signup__text > :first-child {
	margin-top: 0;
}

.newsletter-signup__text > :last-child {
	margin-bottom: 0;
}

.newsletter-signup__cta-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.newsletter-signup--dark .btn--newsletter-signup-cta {
	background: #ffffff;
	border-color: #ffffff;
	color: #000000;
}

.newsletter-signup--dark .btn--newsletter-signup-cta:hover,
.newsletter-signup--dark .btn--newsletter-signup-cta:focus {
	background: #f2f2f2;
	border-color: #f2f2f2;
	color: #000000;
}

@media only screen and (min-width: 60em) {
	.newsletter-signup--dark .newsletter-signup__text {
		font-size: 1.5rem;
	}
}

/* Legal footer social links — inline icon-only layout */
.legal-footer__social-media-menu--inline {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
	margin-top: 0;
}

.legal-footer__social-media-menu--inline .standard-footer__social-media-menu-item {
	margin-top: 0;
	margin-right: 0.5em;
}

/* Rounded buttons for the &Us theme */
.btn,
button {
	border-radius: 30px;
}

/* Keep news card images at the requested 397:265 ratio. */
.news-listing__image {
	aspect-ratio: 397 / 265;
	display: block;
	object-fit: cover;
	width: 100%;
}

.news-listing {
	border: none;
	border-bottom: none;
}

.news-listing:hover,
.news-listing:focus,
.news-listing:active {
	border: none;
	border-bottom: none;
}

@media only screen and (min-width: 55em) {
	.highlighted-pages .grid {
		margin-left: -1.125rem;
	}

	.highlighted-pages .grid > .grid__item {
		padding-left: 1.125rem;
	}
}

.section--separated,
.section--separated:not(:first-of-type),
.section--separated + .section--grouped {
	border-top: none;
}

/* Statistics block: RCPCH yellow background with dark blue text. */
body .statistics,
body .section--statistics,
body .background--1.statistics,
body .background--1.section--statistics {
	background-color: #fdc300;
	color: #0d0d58;
}

body .statistics .statistic.block--card,
body .section--statistics .statistic.block--card {
	background-color: #fdc300;
	border: 1px solid #0d0d58;
	border-radius: 0.75rem;
	color: #0d0d58;
}

body .statistics h1,
body .statistics h2,
body .statistics h3,
body .statistics h4,
body .statistics h5,
body .statistics h6,
body .statistics p,
body .statistics span,
body .statistics strong,
body .statistics a,
body .statistics li,
body .section--statistics h1,
body .section--statistics h2,
body .section--statistics h3,
body .section--statistics h4,
body .section--statistics h5,
body .section--statistics h6,
body .section--statistics p,
body .section--statistics span,
body .section--statistics strong,
body .section--statistics a,
body .section--statistics li,
body .statistics .statistic .container *,
body .section--statistics .statistic .container * {
	color: #0d0d58;
}

/* Keep linked headings visually identical to non-linked headings. */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: #111111;
	text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
	text-decoration: underline;
}

/* Seperate introduction approach: image before title, no intro background. */
.introduction.introduction--seperate {
	background: transparent;
}

.introduction.introduction--seperate h1,
.introduction.introduction--seperate p,
.introduction.introduction--seperate a {
	color: inherit;
}

.introduction--seperate .introduction__seperate-image-surround,
.introduction--seperate .meta-information,
.introduction--seperate h1,
.introduction--seperate p.standard {
	max-width: 60.1875rem;
}

.introduction--seperate .introduction__seperate-image-surround {
	margin: 0 auto 1.5rem;
}

.introduction--seperate .introduction__seperate-image {
	display: block;
	height: auto;
	width: 100%;
}


.introduction--seperate .meta-information {
	color: #000;
}

.introduction--seperate .meta-information--seperate {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	max-width: 60.1875rem;
}

.introduction--seperate .meta-information--seperate .meta-information__item {
	background: #f7f7f7;
	border-radius: 9999px;
	color: #000;
	display: inline-flex;
	padding: 0.35rem 0.9rem;
}

.introduction--seperate .meta-information--seperate a {
	color: #000;
	font-weight: 700;
	text-decoration: none;
}

.introduction--seperate .meta-information--seperate a:visited,
.introduction--seperate .meta-information--seperate a:hover,
.introduction--seperate .meta-information--seperate a:active {
	opacity: 0.75;
}

.introduction--seperate .meta-information--seperate a::after,
.introduction--seperate .meta-information--seperate .meta-information__item::after {
	content: none !important;
}

blockquote.wp-block-quote {
	margin-top: 48px;
	margin-bottom: 48px;
	padding-top: 2em;
	padding-bottom: 0.5em;
	padding-left: 2em;
	position: relative;
	border-left: 0;
	font-weight: 700;
	font-size: 1.8rem;
}
blockquote.wp-block-quote:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1px;
	background-color: currentColor;
	opacity: 0.35;
	z-index: 0;
}
blockquote.wp-block-quote:after {
	content: "";
	display: inline-block;
	position: absolute;
	width: 42px;
	height: 42px;
	background-color: white;
	border-radius: 9999px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMiAzMic+PHBhdGggZD0nTTI3LjY0OCwyNi45OTJoLTkuNDYzYy0wLjI4MywwLTAuNTU0LTAuMTItMC43NDQtMC4zMzFjLTAuMTg5LTAuMjExLTAuMjgtMC40OTMtMC4yNS0wLjc3NWwxLjIyMi0xMS40NDcgYzAuMDI3LTAuMjU2LDAuMTUyLTAuNDkyLDAuMzQ5LTAuNjU4bDEwLjA5My04LjUzNmMwLjMxMS0wLjI2MiwwLjc0OS0wLjMxMSwxLjEwNy0wLjEyM2MwLjM2LDAuMTg4LDAuNTcxLDAuNTc1LDAuNTM0LDAuOTc5IGwtMS44NTIsMTkuOTgyQzI4LjU5NiwyNi41OTgsMjguMTY1LDI2Ljk5MiwyNy42NDgsMjYuOTkyeiBNMTkuMjk4LDI0Ljk5Mmg3LjQzOGwxLjU0Mi0xNi42NGwtNy45MTksNi42OThMMTkuMjk4LDI0Ljk5MnogTTExLjk2MywyNi45OTJIMi41Yy0wLjI4NCwwLTAuNTU0LTAuMTItMC43NDQtMC4zMzFjLTAuMTktMC4yMTEtMC4yODEtMC40OTMtMC4yNS0wLjc3NWwxLjIyMi0xMS40NDcgYzAuMDI3LTAuMjU2LDAuMTUyLTAuNDkxLDAuMzQ4LTAuNjU4bDEwLjA5Mi04LjUzNmMwLjMxLTAuMjYyLDAuNzQ4LTAuMzExLDEuMTA4LTAuMTIzYzAuMzYsMC4xODgsMC41NzEsMC41NzUsMC41MzMsMC45NzkgbC0xLjg1MSwxOS45ODJDMTIuOTExLDI2LjU5OCwxMi40NzksMjYuOTkyLDExLjk2MywyNi45OTJ6IE0zLjYxMiwyNC45OTJoNy40MzlsMS41NDItMTYuNjRsLTcuOTE5LDYuNjk4TDMuNjEyLDI0Ljk5MnonLz48L3N2Zz4=);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: 50% 50%;
	top: 50%;
	left: 0;
	transform: translate(-50%, -50%);
	z-index: 1;
}

/* Full-screen parallax block with right-side white content overlay. */
.rcpchus-parallax-overlay {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 2rem 0;
	background-color: #1f1f1f;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.rcpchus-parallax-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.2) 100%);
	pointer-events: none;
}

.rcpchus-parallax-overlay__inner {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: min(100%, 90rem);
	margin: 0 auto;
	padding: 1.5rem;
}

.rcpchus-parallax-overlay__panel {
	width: min(100%, 38rem);
	padding: clamp(1.5rem, 1.2rem + 1.6vw, 3rem);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}

.rcpchus-parallax-overlay__title {
	margin: 0 0 0.875rem;
	font-size: clamp(1.65rem, 1.4rem + 1.3vw, 2.625rem);
	line-height: 1.1;
	color: #111111;
}

.rcpchus-parallax-overlay__text {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: #1a1a1a;
}

.rcpchus-parallax-overlay__text > :first-child {
	margin-top: 0;
}

.rcpchus-parallax-overlay__text > :last-child {
	margin-bottom: 0;
}

.btn--primary.rcpchus-parallax-overlay__cta,
.rcpchus-parallax-overlay__cta.btn,
.rcpchus-parallax-overlay__cta,
.btn--primary.rcpchus-parallax-overlay__cta:visited,
.rcpchus-parallax-overlay__cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
	padding: 0.875rem 1.6rem;
	border-color: #e00087 !important;
	background-color: #e00087 !important;
	color: #ffffff !important;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 9999px;
	text-decoration: none;
}

.rcpchus-parallax-overlay .btn--primary.rcpchus-parallax-overlay__cta:hover,
.rcpchus-parallax-overlay .btn--primary.rcpchus-parallax-overlay__cta:focus,
.rcpchus-parallax-overlay .rcpchus-parallax-overlay__cta.btn:hover,
.rcpchus-parallax-overlay .rcpchus-parallax-overlay__cta.btn:focus,
.rcpchus-parallax-overlay .rcpchus-parallax-overlay__cta:hover,
.rcpchus-parallax-overlay .rcpchus-parallax-overlay__cta:focus,
.rcpchus-parallax-overlay .rcpchus-parallax-overlay__cta:active {
	border-color: #be0072 !important;
	background-color: #be0072 !important;
	color: #ffffff !important;
}

@media only screen and (min-width: 62em) {
	.rcpchus-parallax-overlay {
		background-attachment: fixed;
	}
}

@media only screen and (max-width: 61.99em) {
	.rcpchus-parallax-overlay {
		min-height: 85vh;
		padding: 1rem 0;
		background-attachment: scroll;
	}

	.rcpchus-parallax-overlay__inner {
		justify-content: stretch;
		align-items: flex-end;
		padding: 1rem;
	}

	.rcpchus-parallax-overlay__panel {
		width: 100%;
	}
}

/* Color Boxes Introduction Type */
.introduction--color-boxes {
	background: transparent;
	padding: 3rem 0;
}

.introduction--color-boxes__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.introduction--color-boxes__boxes {
	order: 1;
}

.introduction--color-boxes__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	width: 100%;
}

.introduction--color-boxes__box {
	aspect-ratio: 2 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	min-height: 150px;
}

.introduction--color-boxes__label {
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	color: #ffffff;
	letter-spacing: 0.05em;
	line-height: 1.2;
}

/* Box Colors */
.introduction--color-boxes__box--light-blue {
	background-color: #3366CC;
}

.introduction--color-boxes__box--magenta {
	background-color: #E00087;
}

.introduction--color-boxes__box--dark-blue {
	background-color: #0D0D58;
}

.introduction--color-boxes__box--light-purple {
	background-color: #9B8AB8;
}

.introduction--color-boxes__content h1,
.introduction--color-boxes__content p,
.introduction--color-boxes__content a {
	color: #111111;
}

.introduction--color-boxes__content .meta-information {
	color: #666;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 0.875rem;
}

.introduction--color-boxes__content h1 {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.introduction--color-boxes__content .standard {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: #1a1a1a;
	margin-bottom: 1.5rem;
}

/* Mobile: Stack title above boxes, boxes full width */
@media only screen and (max-width: 59.99em) {
	.introduction--color-boxes__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.introduction--color-boxes__grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.introduction--color-boxes__box {
		min-height: 120px;
		padding: 1.5rem;
		width: 100%;
	}

	.introduction--color-boxes__label {
		font-size: 1.25rem;
	}
}

/* Testimonial block: left intro, right gradient testimonial stack. */
.rcpchus-testimonial-block {
	background: transparent;
	padding: clamp(2.5rem, 2rem + 2.5vw, 4.5rem) 0;
}

.rcpchus-testimonial-block__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.25rem, 1rem + 1.25vw, 2.5rem);
	align-items: start;
}

.rcpchus-testimonial-block__intro {
	position: sticky;
	top: 1.5rem;
}

.rcpchus-testimonial-block__pre-title {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #3b3b3b;
}

.rcpchus-testimonial-block__title {
	margin: 0;
	font-size: clamp(1.75rem, 1.35rem + 1.75vw, 2.8rem);
	line-height: 1.08;
	color: #111111;
}

.rcpchus-testimonial-block__content {
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
	padding: clamp(1rem, 0.8rem + 1vw, 1.75rem);
	background: linear-gradient(145deg, #ffcd00 0%, #ff8a00 100%);
	box-shadow: 0 1rem 2rem rgba(58, 28, 0, 0.16);
	border-radius: 1.25rem;
}

.rcpchus-testimonial-block__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1rem 1.125rem;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 0.95rem;
}

.rcpchus-testimonial-block__icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 0.375rem 0.875rem rgba(17, 17, 17, 0.1);
}

.rcpchus-testimonial-block__icon-image {
	max-width: 1.5rem;
	height: auto;
	width: auto;
}

.rcpchus-testimonial-block__text {
	font-size: 1.0625rem;
	line-height: 1.55;
	color: #1a1a1a;
}

.rcpchus-testimonial-block__text > :first-child {
	margin-top: 0;
}

.rcpchus-testimonial-block__text > :last-child {
	margin-bottom: 0;
}

@media only screen and (max-width: 61.99em) {
	.rcpchus-testimonial-block__inner {
		grid-template-columns: 1fr;
	}

	.rcpchus-testimonial-block__intro {
		position: static;
	}
}

@media only screen and (max-width: 39.99em) {
	.rcpchus-testimonial-block__item {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
}
