/*
 * Reliance In Vitro: main stylesheet.
 * One file, no build step. Values mirror the Elementor version (Saira, navy #112F52, 1140px grid).
 */

/* ---------- Font ---------- */

@font-face {
	font-family: "Saira";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/saira-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
	--rl-navy: #112f52;
	--rl-navy-deep: #061e3a;
	--rl-slate: #475d78;
	--rl-slate-2: #3b5068;
	--rl-gray: #f4f4f4;
	--rl-line: #eaeaea;
	--rl-line-2: #dfdfdf;
	--rl-line-3: #cccccc;
	--rl-text: #000;
	--rl-white: #fff;
	--rl-font: "Saira", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--rl-radius: 10px;
	--rl-radius-btn: 15px;
	--rl-container: 1120px;
	--rl-gutter: 20px;
	--rl-section: 90px;
	--rl-header-h: 80px;
	--rl-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 767px) {
	:root {
		--rl-section: 60px;
		--rl-header-h: 70px;
	}
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--rl-header-h) + 10px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	background: var(--rl-white);
	color: var(--rl-text);
	font-family: var(--rl-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	color: var(--rl-navy);
	font-weight: 400;
	line-height: 1.2;
	text-wrap: balance;
}

h1 {
	font-size: 60px;
	font-weight: 500;
	letter-spacing: -1px;
}

h2 {
	font-size: 48px;
	font-weight: 500;
	letter-spacing: -.75px;
}

h3 {
	font-size: 36px;
	letter-spacing: -.5px;
}

h4 {
	font-size: 30px;
	letter-spacing: -.25px;
}

h5 {
	font-size: 24px;
}

h6 {
	font-size: 18px;
}

@media (max-width: 767px) {
	h1 { font-size: 48px; }
	h2 { font-size: 36px; }
	h3 { font-size: 30px; }
	h4 { font-size: 24px; }
	h5 { font-size: 20px; }
}

p {
	margin: 0 0 15px;
}

a {
	color: var(--rl-navy);
	text-decoration: none;
	transition: color .2s;
}

a:hover {
	color: var(--rl-navy-deep);
}

strong,
b {
	font-weight: 700;
}

ul,
ol {
	margin: 0 0 15px;
}

:focus-visible {
	outline: 2px solid var(--rl-navy);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rl-skip-link:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	background: var(--rl-white);
	color: var(--rl-navy);
	font-weight: 700;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

.rl-main:focus {
	outline: 0;
}

.rl-center {
	text-align: center;
}

.rl-icon {
	width: 1em;
	height: 1em;
	flex: none;
}

/* ---------- Layout ---------- */

.rl-container {
	width: 100%;
	max-width: calc(var(--rl-container) + 2 * var(--rl-gutter));
	margin-inline: auto;
	padding-inline: var(--rl-gutter);
}

.rl-container--text {
	max-width: calc(880px + 2 * var(--rl-gutter));
}

.rl-section {
	padding-block: var(--rl-section);
}

.rl-section--white {
	background: var(--rl-white);
}

.rl-section--gray {
	background: var(--rl-gray);
}

/* Consecutive sections on the same background sit closer together, like the original layout. */
.rl-section--white + .rl-section--white,
.rl-section--gray + .rl-section--gray {
	padding-top: 0;
}

.rl-section--white:has(+ .rl-section--white),
.rl-section--gray:has(+ .rl-section--gray) {
	padding-bottom: calc(var(--rl-section) * .66);
}

.rl-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 60px;
}

.rl-split--center {
	align-items: center;
}

/* Text and photo sections: the photo takes about 60% of the row, as on the original pages. */
.rl-split--media-right {
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.rl-split--media-left {
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.rl-split--wide-media {
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	align-items: center;
	gap: 30px 40px;
}

.rl-split--media-left .rl-split__media {
	order: -1;
}

.rl-rounded {
	width: 100%;
	border-radius: var(--rl-radius);
}

@media (max-width: 1024px) {
	.rl-split {
		gap: 30px 40px;
	}
}

@media (max-width: 767px) {
	.rl-split,
	.rl-split--wide-media,
	.rl-split--media-left,
	.rl-split--media-right {
		grid-template-columns: minmax(0, 1fr);
	}
	/* On phones the photo always follows the text. */
	.rl-split--media-left .rl-split__media {
		order: 0;
	}
	.rl-about .rl-split__media {
		order: 2;
	}
}

/* ---------- Headings with the short underline ---------- */

.rl-heading {
	margin: 0 0 35px;
}

.rl-heading::after {
	content: "";
	display: block;
	width: 30px;
	height: 2px;
	margin-top: 15px;
	background: currentColor;
	color: var(--rl-navy);
}

.rl-heading--center {
	text-align: center;
}

.rl-heading--center::after {
	margin-inline: auto;
}

.rl-heading--small {
	font-size: 36px;
	font-weight: 400;
	letter-spacing: -.5px;
}

.rl-heading--inverse,
.rl-heading--inverse::after {
	color: var(--rl-white);
}

@media (max-width: 767px) {
	.rl-heading--small {
		font-size: 30px;
	}
}

/* ---------- Buttons ---------- */

.rl-btn,
.rl-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: 15px 30px;
	border: 0;
	border-radius: var(--rl-radius-btn);
	background: var(--rl-navy);
	color: var(--rl-white);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s;
}

.rl-btn:hover,
.rl-btn:focus-visible,
.rl-form__submit:hover,
.rl-form__submit:focus-visible {
	background: var(--rl-navy-deep);
	color: var(--rl-white);
}

.rl-btn--light {
	background: var(--rl-white);
	color: var(--rl-navy);
}

.rl-btn--light:hover,
.rl-btn--light:focus-visible {
	background: var(--rl-gray);
	color: var(--rl-navy);
}

.rl-btn--light:focus-visible {
	outline-color: var(--rl-white);
}

.rl-btn--soft {
	background: var(--rl-gray);
	color: var(--rl-navy);
	text-transform: none;
}

.rl-btn--soft:hover,
.rl-btn--soft:focus-visible {
	background: var(--rl-line);
	color: var(--rl-navy-deep);
}

.rl-btn--block {
	display: flex;
	width: 100%;
}

.rl-btn--wide {
	min-width: 180px;
}

.rl-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 25px 0 0;
}

.rl-buttons--center {
	justify-content: center;
}

/* ---------- Header ---------- */

.rl-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 50;
	color: var(--rl-white);
}

.rl-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--rl-header-h);
	gap: 20px;
}

.rl-header__brand {
	display: block;
	width: 150px;
	flex: none;
}

.rl-header__brand img {
	width: 100%;
}

.rl-header .rl-logo--blue,
.rl-header.is-stuck .rl-logo--white,
.rl-header.is-open .rl-logo--white {
	display: none;
}

.rl-header.is-stuck .rl-logo--blue,
.rl-header.is-open .rl-logo--blue {
	display: block;
}

.rl-header.is-stuck {
	position: fixed;
	background: var(--rl-white);
	color: var(--rl-navy);
	box-shadow: 0 2px 18px rgba(6, 30, 58, .08);
	animation: rl-header-in .35s var(--rl-ease);
}

/* Logged-in admin bar. */
.admin-bar .rl-header.is-stuck {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .rl-header.is-stuck {
		top: 46px;
	}
}

@keyframes rl-header-in {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

.rl-nav__list {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rl-nav__item {
	position: relative;
	display: flex;
	align-items: center;
}

.rl-nav__link {
	display: block;
	padding: 13px 20px;
	color: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
}

.rl-nav__link:hover,
.rl-nav__link:focus-visible,
.rl-nav__item.is-current > .rl-nav__link {
	color: inherit;
	opacity: .8;
}

.rl-nav__toggle {
	display: inline-flex;
	align-items: center;
	margin-left: -16px;
	padding: 6px 8px;
	border: 0;
	background: none;
	color: inherit;
	font-size: 12px;
	cursor: pointer;
}

.rl-nav__toggle .rl-icon {
	transition: transform .2s;
}

.rl-nav__toggle[aria-expanded="true"] .rl-icon {
	transform: rotate(180deg);
}

.rl-nav__sub {
	position: absolute;
	top: 100%;
	left: 6px;
	min-width: 240px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--rl-white);
	border-radius: var(--rl-radius);
	box-shadow: 0 10px 30px rgba(6, 30, 58, .15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}

.rl-nav__sub .rl-nav__link {
	padding: 10px 20px;
	color: var(--rl-navy);
}

.rl-nav__sub .rl-nav__link:hover,
.rl-nav__sub .rl-nav__link:focus-visible {
	background: var(--rl-gray);
	opacity: 1;
}

.rl-nav__item--parent:hover > .rl-nav__sub,
.rl-nav__item--parent:focus-within > .rl-nav__sub,
.rl-nav__item--parent.is-open > .rl-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rl-header__toggle {
	display: none;
	padding: 8px;
	border: 0;
	background: none;
	color: inherit;
	font-size: 28px;
	cursor: pointer;
}

.rl-header__icon-close,
.rl-header.is-open .rl-header__icon-open {
	display: none;
}

.rl-header.is-open .rl-header__icon-close {
	display: block;
}

@media (max-width: 1024px) {
	.rl-header__brand {
		width: 120px;
	}

	.rl-header__toggle {
		display: inline-flex;
	}

	.rl-header.is-open {
		background: var(--rl-white);
		color: var(--rl-navy);
	}

	.rl-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--rl-header-h));
		overflow-y: auto;
		background: var(--rl-white);
		color: var(--rl-navy);
		box-shadow: 0 12px 24px rgba(6, 30, 58, .12);
	}

	.rl-header.is-open .rl-nav {
		display: block;
	}

	.rl-nav__list {
		flex-direction: column;
		align-items: stretch;
	}

	.rl-nav__item {
		flex-wrap: wrap;
		border-top: 2px solid var(--rl-line);
	}

	.rl-nav__link {
		flex: 1;
		padding: 18px var(--rl-gutter);
		font-size: 18px;
	}

	.rl-nav__toggle {
		margin: 0;
		padding: 18px var(--rl-gutter);
		font-size: 16px;
	}

	.rl-nav__sub {
		position: static;
		display: none;
		width: 100%;
		min-width: 0;
		padding: 0 0 10px;
		box-shadow: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.rl-nav__item--parent.is-open > .rl-nav__sub {
		display: block;
	}

	.rl-nav__sub .rl-nav__item {
		border: 0;
	}

	.rl-nav__sub .rl-nav__link {
		padding: 10px calc(var(--rl-gutter) + 20px);
		font-size: 17px;
	}
}

/* ---------- Home hero ---------- */

.rl-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: max(560px, calc(100vh - 20px));
	padding-block: calc(var(--rl-header-h) + 40px) 90px;
	overflow: hidden;
	background: var(--rl-navy-deep);
	color: var(--rl-white);
}

@supports (height: 100svh) {
	.rl-hero {
		min-height: max(560px, calc(100svh - 20px));
	}
}

.rl-hero__slides,
.rl-hero::after {
	position: absolute;
	inset: 0;
}

/* Own stacking context, so the photo order below never lifts a photo over the dark overlay. */
.rl-hero__slides {
	z-index: 0;
}

.rl-hero::after {
	content: "";
	background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .1) 100%);
}

.rl-hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.5s ease;
}

/* The incoming photo fades in on top; the outgoing one stays visible underneath (and keeps its
   slow zoom) until the fade is over, so the banner never dips to the background color. */
.rl-hero__slide.is-active,
.rl-hero__slide.is-leaving {
	opacity: 1;
	animation: rl-zoom 9s linear both;
}

.rl-hero__slide.is-active {
	z-index: 1;
}

@keyframes rl-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
	.rl-hero__slide.is-active,
	.rl-hero__slide.is-leaving {
		animation: none;
	}
}

.rl-hero__content {
	position: relative;
	z-index: 1;
}

.rl-hero__title {
	max-width: 600px;
	margin: 0;
	color: var(--rl-white);
	font-size: 64px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -1px;
}

.rl-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 30px;
	margin-top: 30px;
}

@media (max-width: 767px) {
	.rl-hero {
		min-height: max(520px, calc(100svh - 80px));
	}
	.rl-hero__title {
		font-size: 38px;
	}
	.rl-hero__buttons {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
}

/* ---------- Page hero (inner pages) and CTA band ---------- */

.rl-page-hero,
.rl-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--rl-navy-deep);
	color: var(--rl-white);
}

.rl-page-hero {
	padding-block: calc(var(--rl-header-h) + 45px) 90px;
}

.rl-page-hero__img,
.rl-cta__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .25;
	/* Keeps only the photo's light and shade, so it reads as navy whatever its colors. */
	mix-blend-mode: luminosity;
}

.rl-page-hero .rl-container,
.rl-cta .rl-container {
	position: relative;
	z-index: 1;
}

.rl-page-hero__title {
	margin: 0;
	color: var(--rl-white);
}

@media (max-width: 767px) {
	.rl-page-hero {
		padding-block: calc(var(--rl-header-h) + 30px) 60px;
	}
}

.rl-cta {
	padding-block: var(--rl-section);
	text-align: center;
}

.rl-cta .rl-buttons {
	margin-top: 0;
}

.rl-choices {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px 40px;
	margin-top: 10px;
}

.rl-choices__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 25px;
	width: min(400px, 100%);
}

.rl-choices__logo {
	width: auto;
	max-width: 220px;
	max-height: 64px;
	object-fit: contain;
}

.rl-choices .rl-btn {
	font-size: 14px;
	padding-inline: 20px;
}

/* ---------- Home: service cards ---------- */

.rl-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.rl-service-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 480px;
	padding: 30px;
	overflow: hidden;
	border-radius: var(--rl-radius);
	background: var(--rl-navy);
	color: var(--rl-white);
	isolation: isolate;
}

.rl-service-card__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--rl-ease);
}

.rl-service-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .55) 100%);
}

.rl-service-card:hover .rl-service-card__img {
	transform: scale(1.04);
}

.rl-service-card__title {
	margin: 0 0 15px;
	color: var(--rl-white);
	font-size: 36px;
	line-height: 1;
}

.rl-service-card__text {
	max-width: 302px;
	margin: 0 0 20px;
}

@media (max-width: 1024px) {
	.rl-service-card__title {
		font-size: 30px;
	}
}

@media (max-width: 767px) {
	.rl-cards {
		grid-template-columns: minmax(0, 1fr);
	}
	.rl-service-card {
		min-height: 400px;
	}
}

/* ---------- Home: about ---------- */

.rl-about {
	padding-bottom: 0;
}

/* ---------- Home: mission cards ---------- */

.rl-mission .rl-cards {
	padding-top: 15px;
}

.rl-value-card {
	position: relative;
	margin-top: 35px;
	padding: 55px 30px 30px;
	border-bottom: 4px solid var(--rl-navy);
	border-radius: var(--rl-radius);
	background: var(--rl-white);
	text-align: center;
}

.rl-value-card__icon {
	position: absolute;
	top: -35px;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin-left: -35px;
	border: 4px solid var(--rl-white);
	border-radius: 50%;
	background: var(--rl-navy);
	color: var(--rl-white);
	font-size: 32px;
	box-sizing: content-box;
	transform: translate(-4px, -4px);
}

.rl-value-card__title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0;
}

.rl-value-card__text {
	margin: 0;
	line-height: 1.7;
}

@media (max-width: 767px) {
	.rl-mission .rl-cards {
		gap: 40px;
	}
}

/* ---------- Home: research logos ---------- */

.rl-logos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 190px));
	justify-content: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rl-logos__item {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
}

.rl-logos__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 767px) {
	.rl-logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

/* ---------- Our App ---------- */

.rl-carousel {
	position: relative;
	max-width: 380px;
	margin-inline: auto;
	padding-inline: 40px;
}

.rl-carousel__track {
	display: grid;
	touch-action: pan-y;
}

.rl-carousel__track:focus-visible {
	outline-offset: 6px;
}

.rl-carousel__slide {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease, visibility .5s;
}

.rl-carousel__slide.is-active,
.rl-carousel:not(.is-ready) .rl-carousel__slide:first-child {
	opacity: 1;
	visibility: visible;
}

.rl-carousel__slide img {
	width: 100%;
}

.rl-carousel__slide figcaption {
	margin-top: 20px;
	color: var(--rl-navy);
	font-size: 24px;
	line-height: 1.1;
	text-align: center;
	text-wrap: balance;
}

.rl-carousel__arrow {
	position: absolute;
	top: 46%;
	display: inline-flex;
	padding: 8px;
	border: 0;
	background: none;
	color: var(--rl-navy);
	font-size: 20px;
	cursor: pointer;
	transform: translateY(-50%);
}

.rl-carousel__arrow--prev {
	left: -4px;
}

.rl-carousel__arrow--next {
	right: -4px;
}

.rl-carousel__arrow:hover {
	color: var(--rl-navy-deep);
}

/* ---------- Lists ---------- */

.rl-list,
.rl-prose ul {
	margin: 0 0 15px;
	padding: 0;
	list-style: none;
}

.rl-list li,
.rl-prose ul li {
	position: relative;
	margin-bottom: 5px;
	padding-left: 23px;
}

.rl-list li::before,
.rl-prose ul li::before {
	content: "";
	position: absolute;
	top: .45em;
	left: 0;
	width: 14px;
	height: 12px;
	background: var(--rl-navy);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rl-prose--list-dot ul li {
	padding-left: 13px;
}

.rl-prose--list-dot ul li::before {
	top: .62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	-webkit-mask: none;
	mask: none;
}

.rl-prose ol {
	padding-left: 1.3em;
}

.rl-prose > :last-child {
	margin-bottom: 0;
}

.rl-prose a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rl-about .rl-prose a {
	text-decoration: none;
	font-weight: 700;
}

/* ---------- Long-form pages (Privacy Policy) ---------- */

.rl-prose--page h2 {
	margin: 40px 0 15px;
	font-size: 36px;
	font-weight: 400;
	letter-spacing: -.5px;
}

.rl-prose--page h3 {
	margin: 30px 0 10px;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: -.25px;
}

.rl-prose--page h4 {
	margin: 25px 0 10px;
	font-size: 21px;
}

.rl-prose--page > :first-child {
	margin-top: 0;
}

.rl-prose--page ul li::before {
	top: .62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	-webkit-mask: none;
	mask: none;
}

.rl-prose--page ul li {
	padding-left: 16px;
}

.rl-prose--page h2[id],
.rl-prose--page h3[id] {
	scroll-margin-top: calc(var(--rl-header-h) + 20px);
}

@media (max-width: 767px) {
	.rl-prose--page h2 {
		font-size: 30px;
	}
	.rl-prose--page h3 {
		font-size: 23px;
	}
}

/* ---------- Sections ---------- */

.rl-jump__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rl-statement__text {
	margin: 0;
	color: var(--rl-navy);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -.25px;
	text-wrap: balance;
}

@media (max-width: 767px) {
	.rl-statement__text {
		font-size: 24px;
	}
}

.rl-fade {
	display: grid;
}

.rl-fade > img {
	grid-area: 1 / 1;
}

/* Photos share one frame; the incoming one fades in over the outgoing one. */
.rl-fade--multi > img {
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.rl-fade--multi > img.is-active,
.rl-fade--multi > img.is-leaving {
	opacity: 1;
}

.rl-fade--multi > img.is-active {
	z-index: 1;
}

.rl-video video {
	width: 100%;
	height: auto;
	background: var(--rl-gray);
}

/* FAQ */

.rl-faq__list {
	display: grid;
	gap: 20px;
}

.rl-faq__item {
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-btn);
	background: var(--rl-white);
}

.rl-faq__q {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 20px;
	color: var(--rl-slate);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
	border-radius: var(--rl-radius-btn);
}

.rl-faq__q::-webkit-details-marker {
	display: none;
}

.rl-faq__q .rl-icon {
	color: var(--rl-navy);
	font-size: 24px;
}

.rl-faq__q:hover {
	color: var(--rl-navy);
}

.rl-faq__close,
.rl-faq__item[open] .rl-faq__open {
	display: none;
}

.rl-faq__item[open] .rl-faq__close {
	display: block;
}

.rl-faq__a {
	padding: 0 20px 20px 56px;
}

/* Fees */

.rl-table-wrap {
	max-width: 880px;
	margin-inline: auto;
	overflow-x: auto;
	border-radius: var(--rl-radius);
}

.rl-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.rl-table thead th {
	padding: 12px 15px;
	background: var(--rl-navy);
	color: var(--rl-white);
	font-weight: 700;
}

.rl-table tbody th,
.rl-table tbody td {
	padding: 10px 15px;
	font-weight: 300;
	vertical-align: middle;
}

.rl-table tbody tr:nth-child(odd) {
	background: var(--rl-gray);
}

.rl-table tbody th strong {
	display: block;
	font-weight: 700;
}

.rl-table td,
.rl-table thead th:last-child {
	width: 26%;
}

.rl-table__note {
	display: block;
}

@media (max-width: 767px) {
	.rl-table thead th,
	.rl-table tbody th,
	.rl-table tbody td {
		padding-inline: 12px;
	}
	.rl-table td,
	.rl-table thead th:last-child {
		width: 34%;
	}
}

/* ---------- Contact ---------- */

.rl-contact {
	padding-bottom: 70px;
}

.rl-form {
	max-width: 880px;
	margin: 0 auto;
}

.rl-form__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 24px;
}

.rl-form__field--full {
	grid-column: 1 / -1;
}

.rl-form__label {
	display: block;
	margin-bottom: 6px;
	color: var(--rl-text);
	font-weight: 700;
}

.rl-form__label .rl-form__optional {
	font-weight: 300;
	color: var(--rl-slate);
}

.rl-form__input {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid transparent;
	border-radius: 5px;
	background: var(--rl-gray);
	color: var(--rl-text);
	font: inherit;
	font-weight: 400;
	transition: border-color .2s, background-color .2s;
}

textarea.rl-form__input {
	min-height: 136px;
	resize: vertical;
}

.rl-form__input:focus {
	border-color: var(--rl-navy);
	background: var(--rl-white);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(17, 47, 82, .15);
}

.rl-form__input[aria-invalid="true"] {
	border-color: #b3261e;
}

.rl-form__error {
	display: block;
	margin-top: 4px;
	color: #b3261e;
	font-size: 14px;
	font-weight: 400;
}

.rl-form__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.5;
}

.rl-form__consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--rl-navy);
}

.rl-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rl-form__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	margin-top: 24px;
}

.rl-form__submit {
	padding: 15px 30px;
	border-radius: 5px;
	font-size: 15px;
}

.rl-form__submit[disabled] {
	opacity: .7;
	cursor: progress;
}

.rl-form__status {
	margin: 0;
	text-align: center;
}

.rl-form__status:empty {
	display: none;
}

.rl-form__status--success {
	padding: 14px 18px;
	border-radius: var(--rl-radius);
	background: #e8f3ec;
	color: #14532d;
	font-weight: 400;
}

.rl-form__status--error {
	padding: 14px 18px;
	border-radius: var(--rl-radius);
	background: #fbeaea;
	color: #8a1c1c;
	font-weight: 400;
}

.rl-form.is-sent .rl-form__grid,
.rl-form.is-sent .rl-form__submit {
	display: none;
}

.rl-contact__details {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px 120px;
	margin-top: 80px;
	text-align: center;
}

.rl-contact__label {
	margin: 0 0 12px;
	font-size: 30px;
	letter-spacing: -.25px;
}

.rl-contact__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--rl-text);
	font-size: 24px;
}

.rl-contact__phone .rl-icon {
	color: var(--rl-navy);
}

.rl-contact__phone:hover {
	color: var(--rl-navy);
}

@media (max-width: 767px) {
	.rl-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.rl-contact__details {
		margin-top: 50px;
	}
	.rl-contact__label {
		font-size: 24px;
	}
}

.rl-social {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rl-social a {
	display: inline-flex;
	color: inherit;
	font-size: 28px;
	transition: opacity .2s, transform .2s;
}

.rl-social a:hover {
	opacity: .8;
	transform: translateY(-1px);
}

.rl-social--contact {
	color: var(--rl-navy);
}

.rl-map iframe {
	width: 100%;
	height: 450px;
	border: 0;
}

/* ---------- Footer ---------- */

.rl-footer {
	padding: 100px 0 30px;
	background: var(--rl-navy);
	color: var(--rl-white);
	text-align: center;
}

.rl-footer__brand {
	display: inline-block;
	width: 250px;
	max-width: 70%;
}

.rl-footer__brand img {
	width: 100%;
}

.rl-social--footer {
	margin-top: 40px;
}

.rl-social--footer a {
	font-size: 30px;
}

.rl-footer__nav {
	margin-top: 25px;
}

.rl-footer__nav .rl-nav__list {
	flex-wrap: wrap;
	justify-content: center;
}

.rl-footer__nav .rl-nav__link {
	color: var(--rl-white);
	font-weight: 300;
}

.rl-footer__bottom {
	margin-top: 90px;
	padding-top: 25px;
	border-top: 1px solid var(--rl-line-3);
	font-size: 16px;
}

.rl-footer__bottom a {
	color: var(--rl-white);
}

.rl-footer__bottom a:hover {
	text-decoration: underline;
}

.rl-footer__sep {
	margin: 0 8px;
}

@media (max-width: 767px) {
	.rl-footer {
		padding-top: 70px;
	}
	.rl-footer__nav .rl-nav__link {
		padding: 8px 12px;
	}
	.rl-footer__bottom {
		margin-top: 50px;
		font-size: 15px;
	}
}

/* ---------- Cookie banner (Cookie Notice & Compliance plugin) ---------- */

#cookie-notice {
	font-family: var(--rl-font) !important;
	font-size: 15px !important;
	font-weight: 400;
	line-height: 1.5;
	box-shadow: 0 -4px 24px rgba(6, 30, 58, .1);
}

#cookie-notice .cookie-notice-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 24px;
	padding: 15px 50px 15px 20px;
	text-align: center;
}

#cookie-notice #cn-notice-text {
	margin: 0;
	color: var(--rl-text);
}

#cookie-notice #cn-notice-buttons {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
}

#cookie-notice .cn-button,
#cookie-notice .cn-button.cn-button-custom {
	display: inline-flex;
	align-items: center;
	margin: 0 !important;
	padding: 10px 20px !important;
	border: 0 !important;
	border-radius: var(--rl-radius-btn) !important;
	background: var(--rl-navy) !important;
	color: var(--rl-white) !important;
	font-family: var(--rl-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background-color .2s;
}

#cookie-notice .cn-button:hover,
#cookie-notice .cn-button:focus-visible {
	background: var(--rl-navy-deep) !important;
}

#cookie-notice .cn-button:focus-visible {
	outline: 2px solid var(--rl-navy);
	outline-offset: 2px;
}

#cookie-notice .cn-close-icon {
	right: 15px;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	padding: 0;
	border: 0;
	background: transparent;
	opacity: .55;
}

#cookie-notice .cn-close-icon::before,
#cookie-notice .cn-close-icon::after {
	background-color: var(--rl-navy);
}

#cookie-notice .cn-close-icon:hover,
#cookie-notice .cn-close-icon:focus-visible {
	opacity: 1;
}

@media (max-width: 767px) {
	#cookie-notice .cookie-notice-container {
		padding: 18px 44px 18px 18px;
		font-size: 14px;
	}
}

/* ---------- Print ---------- */

@media print {
	.rl-header,
	.rl-map,
	.rl-carousel__arrow,
	#cookie-notice {
		display: none !important;
	}
	.rl-hero,
	.rl-page-hero,
	.rl-cta {
		min-height: 0;
		padding: 20px 0;
		background: none;
		color: #000;
	}
	.rl-hero__slides,
	.rl-page-hero__img,
	.rl-cta__img {
		display: none;
	}
	.rl-hero__title,
	.rl-page-hero__title {
		color: #000;
	}
}
