/*
 * Investor - Contact.
 *
 * Read from cp-all-designer investor/common-stock-information/ir-contact/ and
 * css/investor.css:1214-1371 (.irband, .ircard), over the tokens of
 * css/app.css it uses: --leaf-1 48, --soft-blue-tint 66, --sh 160.
 *
 * The band and the head are the investor parent's. Every measure a Style
 * control states is stated on the control for each tier, and not here.
 */

/* investor.css:1225-1229 — the band fades from pale blue to white */
.custom-investor-contact {
	--custom-contact-from: #E8F4FB;
	--custom-contact-to: #FFFFFF;
	isolation: isolate;
	background-image: linear-gradient(180deg, var(--custom-contact-from) 0%, var(--custom-contact-to) 100%);
}

.custom-investor-contact .custom-investor-contact__inner {
	position: relative;
	z-index: 2;
}

/* investor.css:1231-1242 — a leaf drawn in outline, fading out down its length */
.custom-investor-contact .custom-investor-contact__leaf {
	position: absolute;
	z-index: 0;
	top: -40px;
	right: 2%;
	width: 316px;                          /* investor.css:1234 (316.8) */
	height: auto;
	opacity: 0.32;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 42%, transparent 68%);
	mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 42%, transparent 68%);
}

/* investor.css:1244-1251 — its pair, turned over at the foot of the other side */
.custom-investor-contact .custom-investor-contact__leaf.custom-investor-contact__leaf-second {
	top: auto;
	right: auto;
	bottom: -60px;
	left: 1%;
	width: 244px;                          /* investor.css:1247 (244.8) */
	opacity: 0.22;
	transform: rotate(180deg);
}

/* investor.css:1261-1273 — the card */
.custom-investor-contact .custom-investor-contact__card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	border-width: 2px;                     /* investor.css:1270 measures 1px */
	border-style: solid;
	box-shadow: 0 18px 44px -14px rgba(22, 65, 140, 0.2);   /* --sh */
}

/* investor.css:1275-1280 */
.custom-investor-contact .custom-investor-contact__card-title {
	position: relative;
	z-index: 1;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	padding: 0;
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

/* investor.css:1281-1288 — the address takes the wider column: three lines of it */
.custom-investor-contact .custom-investor-contact__ways {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.9fr 1fr 1fr;
}

/* investor.css:1290-1293 — mark over label over value, centred on the column */
.custom-investor-contact .custom-investor-contact__way {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	min-width: 0;
	text-align: center;
}

/* investor.css:1294-1303 */
.custom-investor-contact .custom-investor-contact__mark {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 72px;
	height: 72px;
	border-width: 2px;                     /* investor.css:1298 measures 1.5px */
	border-style: solid;
	border-radius: 50%;
	line-height: 0;
}

.custom-investor-contact .custom-investor-contact__mark svg {
	width: 34px;
	height: 34px;
}

.custom-investor-contact .custom-investor-contact__mark i {
	font-size: 34px;
}

/* investor.css:1304-1307 */
.custom-investor-contact .custom-investor-contact__label {
	font-weight: 600;
	line-height: 1.6;                      /* app.css:174 body, which the design leaves it to */
	letter-spacing: 2px;                   /* investor.css:1305 measures 1.1px */
	text-transform: uppercase;
}

/* investor.css:1309-1313 */
.custom-investor-contact .custom-investor-contact__value {
	margin: 0;
	padding: 0;
	max-width: 100%;
	font-style: normal;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

/* investor.css:1315-1318 — the address reads smaller, so it stays at three lines */
.custom-investor-contact .custom-investor-contact__address {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0;
}

/* investor.css:1319-1321 — a link the build drew, ruled under */
.custom-investor-contact .custom-investor-contact__value a {
	--custom-press-ink: inherit;
	--custom-press-edge: rgba(22, 65, 140, 0.35);
	border-bottom-width: 2px;              /* investor.css:1319 measures 1px */
	border-bottom-style: solid;
}

.custom-investor-contact .custom-investor-contact__value a:hover {
	--custom-press-edge: currentColor;
}

.custom-investor-contact .custom-investor-contact__value a:focus-visible {
	outline: 4px solid #50A3D5;            /* investor.css:1321 measures 3px */
	outline-offset: 4px;
}

/*
 * Tablet — 768px to 1024px. The design keeps three columns down to 900px and
 * turns to two below it; three do not hold an email address at the foot of
 * this tier, so the tier takes the two the design draws for most of it
 * (investor.css:1361-1365): the address heads the card, the other two share
 * the row under it.
 */
@media (max-width: 1024px) {
	.custom-investor-contact .custom-investor-contact__ways {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.custom-investor-contact .custom-investor-contact__way-address {
		grid-column: 1 / -1;
	}
	.custom-investor-contact .custom-investor-contact__leaf {
		width: 202px;                      /* investor.css:1234 (202.4) */
	}
	.custom-investor-contact .custom-investor-contact__leaf.custom-investor-contact__leaf-second {
		width: 160px;                      /* investor.css:1247 (156.4 floored at 160) */
	}
}

/* Mobile — up to 767px (investor.css:1259, 1367-1371) */
@media (max-width: 767px) {
	.custom-investor-contact .custom-investor-contact__ways {
		grid-template-columns: minmax(0, 1fr);
	}
	.custom-investor-contact .custom-investor-contact__leaf {
		display: none;
	}
	.custom-investor-contact .custom-investor-contact__mark {
		width: 60px;
		height: 60px;
	}
	.custom-investor-contact .custom-investor-contact__mark svg {
		width: 28px;
		height: 28px;
	}
	.custom-investor-contact .custom-investor-contact__mark i {
		font-size: 28px;
	}
}
