/**
 * Privacy, terms and cookie pages.
 */

.gwo-trust-main,
.gwo-trust-page {
	background-color: var(--gwo-white);
	color: var(--gwo-black);
	font-family: var(--font-heading);
}

.gwo-trust-page {
	overflow: clip;
}

.gwo-trust-shell {
	box-sizing: border-box;
	inline-size: min(100%, var(--wp--style--global--wide-size));
	margin-inline: auto;
	padding-inline: var(--gwo-space-5);
}

.gwo-trust-hero {
	background:
		linear-gradient(115deg, rgb(244 216 10 / 13%), transparent 38%),
		linear-gradient(300deg, rgb(68 158 55 / 18%), transparent 45%),
		var(--gwo-black);
	color: var(--gwo-white);
	isolation: isolate;
	position: relative;
}

.gwo-trust-hero::after {
	background-color: var(--gwo-red);
	block-size: var(--gwo-space-2);
	content: "";
	inset-block-end: 0;
	inset-inline: 0;
	position: absolute;
}

.gwo-trust-hero__inner {
	display: grid;
	gap: var(--gwo-space-5);
	padding-block: clamp(var(--gwo-space-20), 12vw, calc(var(--gwo-space-32) + var(--gwo-space-8))) clamp(var(--gwo-space-16), 9vw, var(--gwo-space-24));
}

.gwo-trust-eyebrow,
.gwo-trust-title,
.gwo-trust-hero__summary,
.gwo-trust-updated {
	margin: 0;
}

.gwo-trust-eyebrow {
	color: var(--gwo-yellow);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--font-weight-semibold);
	letter-spacing: 0.1em;
	text-transform: none;
}

.gwo-trust-title {
	color: var(--gwo-white);
	font-size: clamp(2.6rem, 9vw, 6rem);
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.055em;
	line-height: 0.98;
	max-inline-size: 13ch;
}

.gwo-trust-hero__summary {
	color: rgb(255 255 255 / 82%);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: var(--font-weight-regular);
	line-height: 1.65;
	max-inline-size: 58rem;
}

.gwo-trust-updated {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: var(--wp--preset--font-size--body-sm);
	gap: var(--gwo-space-2);
}

.gwo-trust-updated span {
	color: rgb(255 255 255 / 62%);
}

.gwo-trust-updated time {
	font-weight: var(--font-weight-semibold);
}

.gwo-trust-layout {
	display: grid;
	gap: var(--gwo-space-12);
	padding-block: var(--gwo-space-16) var(--gwo-space-24);
}

.gwo-trust-rail {
	display: grid;
	gap: var(--gwo-space-6);
	min-inline-size: 0;
}

.gwo-trust-toc,
.gwo-trust-rail__note {
	border: 1px solid var(--gwo-border-soft);
	border-radius: var(--gwo-radius-lg);
	box-sizing: border-box;
	padding: var(--gwo-space-5);
}

.gwo-trust-toc {
	background-color: var(--gwo-surface-subtle);
}

.gwo-trust-toc__title,
.gwo-trust-rail__note-title {
	font-size: var(--wp--preset--font-size--body);
	font-weight: var(--font-weight-semibold);
	line-height: 1.35;
	margin: 0;
}

.gwo-trust-toc__list {
	display: grid;
	gap: var(--gwo-space-1);
	list-style: none;
	margin: var(--gwo-space-4) 0 0;
	padding: 0;
}

.gwo-trust-toc__list a {
	align-items: center;
	border-radius: var(--gwo-radius-sm);
	color: var(--gwo-text-muted);
	display: flex;
	font-size: var(--wp--preset--font-size--body-sm);
	line-height: 1.35;
	min-block-size: 44px;
	padding-inline: var(--gwo-space-3);
	text-decoration: none;
}

.gwo-trust-toc__list a:hover {
	background-color: var(--gwo-white);
	color: var(--gwo-red);
}

.gwo-trust-rail__note {
	background-color: var(--gwo-surface-yellow);
	border-color: rgb(244 216 10 / 55%);
}

.gwo-trust-rail__note p:last-child {
	color: var(--gwo-text-muted);
	font-size: var(--wp--preset--font-size--body-sm);
	line-height: 1.65;
	margin: var(--gwo-space-3) 0 0;
}

.gwo-trust-content {
	min-inline-size: 0;
}

.gwo-trust-section {
	border-block-end: 1px solid var(--gwo-border-soft);
	padding-block: 0 var(--gwo-space-12);
	scroll-margin-block-start: var(--gwo-space-32);
}

.gwo-trust-section + .gwo-trust-section {
	padding-block-start: var(--gwo-space-12);
}

.gwo-trust-section:last-child {
	border-block-end: 0;
	padding-block-end: 0;
}

.gwo-trust-section h2,
.gwo-trust-section h3,
.gwo-trust-section p,
.gwo-trust-section ul {
	max-inline-size: 72ch;
}

.gwo-trust-section h2 {
	font-size: clamp(1.7rem, 4vw, 2.55rem);
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.035em;
	line-height: 1.12;
	margin: 0 0 var(--gwo-space-5);
}

.gwo-trust-section h3 {
	font-size: var(--wp--preset--font-size--title-sm);
	font-weight: var(--font-weight-semibold);
	line-height: 1.3;
	margin: var(--gwo-space-8) 0 var(--gwo-space-3);
}

.gwo-trust-section p,
.gwo-trust-section li {
	color: var(--gwo-text-muted);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.75;
}

.gwo-trust-section p {
	margin: 0;
}

.gwo-trust-section p + p,
.gwo-trust-section p + ul,
.gwo-trust-section ul + p,
.gwo-trust-section .gwo-trust-table-wrap + p,
.gwo-trust-section .gwo-trust-callout + p {
	margin-block-start: var(--gwo-space-5);
}

.gwo-trust-section ul {
	display: grid;
	gap: var(--gwo-space-3);
	margin-block-end: 0;
	padding-inline-start: var(--gwo-space-6);
}

.gwo-trust-section li::marker {
	color: var(--gwo-green);
}

.gwo-trust-section strong {
	color: var(--gwo-black);
	font-weight: var(--font-weight-semibold);
}

.gwo-trust-section a {
	color: var(--gwo-green);
	font-weight: var(--font-weight-semibold);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

.gwo-trust-section a:hover {
	color: var(--gwo-black);
}

.gwo-trust-callout {
	background-color: rgb(68 158 55 / 9%);
	border: 1px solid rgb(68 158 55 / 34%);
	border-inline-start: var(--gwo-space-2) solid var(--gwo-green);
	border-radius: var(--gwo-radius-md);
	margin-block-start: var(--gwo-space-8);
	max-inline-size: 68ch;
	padding: var(--gwo-space-6);
}

.gwo-trust-callout h3 {
	font-size: var(--wp--preset--font-size--body);
	margin: 0 0 var(--gwo-space-2);
}

.gwo-trust-callout p {
	font-size: var(--wp--preset--font-size--body-sm);
}

.gwo-trust-table-wrap {
	inline-size: 100%;
	margin-block-start: var(--gwo-space-6);
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

.gwo-trust-table {
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--body-sm);
	inline-size: 100%;
	min-inline-size: 46rem;
	text-align: start;
}

.gwo-trust-table th,
.gwo-trust-table td {
	border: 1px solid var(--gwo-border-soft);
	line-height: 1.55;
	padding: var(--gwo-space-4);
	text-align: start;
	vertical-align: top;
}

.gwo-trust-table th {
	background-color: var(--gwo-black);
	color: var(--gwo-white);
	font-weight: var(--font-weight-semibold);
}

.gwo-trust-table td {
	color: var(--gwo-text-muted);
}

.gwo-trust-table tbody tr:nth-child(even) td {
	background-color: var(--gwo-surface-subtle);
}

.gwo-trust-inline-links,
.gwo-trust-regulator-list {
	list-style: none;
	padding: 0;
}

.gwo-trust-inline-links {
	display: flex !important;
	flex-wrap: wrap;
	gap: var(--gwo-space-3) var(--gwo-space-6) !important;
}

.gwo-trust-regulator-list a,
.gwo-trust-inline-links a {
	align-items: center;
	display: inline-flex;
	min-block-size: 44px;
}

.gwo-trust-button {
	align-items: center;
	background-color: var(--gwo-black);
	border: 1px solid var(--gwo-black);
	border-radius: var(--gwo-radius-pill);
	box-sizing: border-box;
	color: var(--gwo-white) !important;
	display: inline-flex;
	font-size: var(--wp--preset--font-size--body-sm);
	justify-content: center;
	min-block-size: 48px;
	padding-inline: var(--gwo-space-6);
	text-decoration: none !important;
}

.gwo-trust-button:hover {
	background-color: var(--gwo-yellow);
	border-color: var(--gwo-yellow);
	color: var(--gwo-black) !important;
}

.gwo-trust-toc__list a:focus-visible,
.gwo-trust-section a:focus-visible,
.gwo-trust-table-wrap:focus-visible {
	box-shadow: 0 0 0 5px var(--gwo-yellow);
	outline: 3px solid var(--gwo-black);
	outline-offset: 2px;
}

@media (min-width: 768px) {
	.gwo-trust-shell {
		padding-inline: var(--gwo-space-8);
	}

	.gwo-trust-hero__inner {
		padding-inline-end: clamp(var(--gwo-space-16), 10vw, var(--gwo-space-32));
	}
}

@media (min-width: 1024px) {
	.gwo-trust-shell {
		padding-inline: var(--gwo-space-12);
	}

	.gwo-trust-layout {
		align-items: start;
		gap: clamp(var(--gwo-space-12), 6vw, var(--gwo-space-24));
		grid-template-columns: minmax(15rem, 0.32fr) minmax(0, 1fr);
		padding-block: var(--gwo-space-24) var(--gwo-space-32);
	}

	.gwo-trust-rail {
		position: sticky;
		top: calc(var(--gwo-space-20) + var(--gwo-space-8));
	}
}

@media (max-width: 599px) {
	.gwo-trust-shell {
		padding-inline: var(--gwo-space-4);
	}

	.gwo-trust-layout {
		gap: var(--gwo-space-10);
		padding-block-start: var(--gwo-space-10);
	}

	.gwo-trust-toc,
	.gwo-trust-rail__note,
	.gwo-trust-callout {
		border-radius: var(--gwo-radius-md);
		padding: var(--gwo-space-4);
	}
}

@media print {
	.gwo-site-header,
	.gwo-site-footer,
	.gwo-trust-rail {
		display: none !important;
	}

	.gwo-trust-hero {
		background: none;
		color: var(--gwo-black);
	}

	.gwo-trust-title,
	.gwo-trust-hero__summary,
	.gwo-trust-updated {
		color: var(--gwo-black);
	}

	.gwo-trust-layout {
		display: block;
	}

	.gwo-trust-section {
		break-inside: avoid;
	}
}
