.rent-club-standard-page {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--paper-ink);
	padding-bottom: clamp(64px, 8vw, 128px);
	padding-top: clamp(40px, 6vw, 88px) !important;
}

.rent-club-standard-page > .wp-block-post-title {
	font-family: var(--wp--preset--font-family--onest);
	font-size: clamp(34px, 5vw, 68px) !important;
	letter-spacing: -0.04em;
	line-height: 1;
	margin: 0 auto clamp(28px, 4vw, 52px) !important;
	max-width: 920px;
}

.rent-club-legal {
	background: var(--wp--preset--color--paper-white);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--paper-ink) 18%, transparent);
	border-radius: clamp(24px, 3vw, 40px);
	box-sizing: border-box;
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.65;
	margin-inline: auto;
	max-width: 920px;
	overflow-wrap: anywhere;
	padding: clamp(24px, 5vw, 72px);
}

.rent-club-legal a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.rent-club-legal table {
	border-collapse: collapse;
	display: block;
	margin-block: 24px;
	max-width: 100%;
	overflow-x: auto;
	width: 100%;
}

.rent-club-legal td,
.rent-club-legal th {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--paper-ink) 18%, transparent);
	padding: 12px;
	vertical-align: top;
}

.rent-club-legal ul,
.rent-club-legal ol {
	padding-left: 1.4em;
}

@media (max-width: 600px) {

	.rent-club-standard-page {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* QA: preserve readable legal text on the light card in both themes. */
.rent-club-legal {
	color: #17171b;
}

.rent-club-legal :is(h1, h2, h3, h4, h5, h6, a) {
	color: #17171b;
}

.rent-club-legal a {
	text-decoration: underline;
}

/* Keep legal document titles readable with the installed default page template. */
main:has(> .wp-block-post-content > .rent-club-legal) > .wp-block-post-title {
	margin-block-end: var(--wp--preset--spacing--card-gap-large) !important;
}

@media (max-width: 600px) {

	main:has(> .wp-block-post-content > .rent-club-legal) > .wp-block-post-title {
		font-size: var(--wp--preset--font-size--heading-md) !important;
	}
}
