/* A compact reading layout for the two Home templates, using their live tokens. */
@media (max-width: 767px) {
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home {
		padding-block: calc(var(--renew-space) * .75);
	}
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_home_intro {
		margin-bottom: var(--renew-gap);
	}
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home :is(.mh-eyebrow, .renew-eyebrow) {
		margin-bottom: var(--renew-gap);
	}
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_home_intro h2 {
		margin: 0 0 var(--renew-gap);
		font-size: clamp(1.65rem, 7vw, 2.25rem);
		line-height: 1.14;
		letter-spacing: -.045em;
		text-wrap: balance;
	}
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home :is(.rdmf_intro, .renew-intro) {
		margin: 0;
		color: var(--renew-muted);
		font-size: .9375rem;
		line-height: 1.6;
	}
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_summary {
		justify-content: flex-start;
		gap: var(--renew-gap);
		margin: 0 0 calc(var(--renew-gap) * 1.5);
		padding: var(--renew-gap) 0;
		border: 0;
		border-block: 1px solid color-mix(in srgb, var(--renew-olive) 14%, transparent);
	}
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_summary_score {
		font-size: 2.5rem;
	}
	/* Author first, short quote, then the print preview and a compact reading link. */
	.rdmf_popup_ready :is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_feedbacks .rdmf_card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto minmax(0, 1fr) auto;
		gap: calc(var(--renew-gap) * .75);
		min-height: 0;
		padding: calc(var(--renew-gap) * 1.25);
		border: 1px solid color-mix(in srgb, var(--renew-olive) 12%, transparent);
		border-radius: var(--renew-radius);
		box-shadow: none;
		transform: none;
	}
	.rdmf_popup_ready :is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_feedbacks .rdmf_card:has(.rdmf_print) { grid-template-rows: auto auto minmax(0, 1fr) auto auto; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_card_header {
		order: 1;
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 2.5rem minmax(0, 1fr);
		column-gap: calc(var(--renew-gap) * .75);
		row-gap: calc(var(--renew-gap) * .25);
		margin: 0;
		padding: 0 0 calc(var(--renew-gap) * .75);
		border-bottom: 1px solid var(--rdm-border-color);
	}
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_identity { display: contents; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_avatar { grid-column: 1; grid-row: 1 / 3; width: 2.5rem; height: 2.5rem; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_name { grid-column: 2; font-size: 1rem; line-height: 1.3; letter-spacing: -.015em; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_badge { grid-column: 2; justify-self: start; padding: 0; background: none; border: 0; font-size: .75rem; line-height: 1.35; color: var(--rdm-color-text-muted); }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_stars { order: 2; grid-column: 1 / -1; font-size: 1.0625rem; }
	.rdmf_popup_ready :is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_feedbacks .rdmf_quote { order: 3; grid-column: 1 / -1; font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.015em; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_quote_mark { display: none; }
	.rdmf_popup_ready :is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_feedbacks .rdmf_quote p { -webkit-line-clamp: 4; }
	.rdmf_popup_ready :is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_feedbacks .rdmf_card:has(.rdmf_print) .rdmf_quote p { -webkit-line-clamp: 2; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_print { order: 4; grid-column: 1 / -1; padding: 0; overflow: hidden; background: color-mix(in srgb, var(--renew-cream) 12%, transparent); border: 1px solid var(--rdm-border-color); border-radius: calc(var(--renew-radius) * .5); }
	/* Preserve the preview frame height while filling it with a proportional crop. */
	.rdmf_popup_ready :is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_feedbacks .rdmf_print img { width: 100%; height: 10rem; max-height: none; object-fit: cover; object-position: top; border-radius: 0; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_card_footer { order: 5; grid-column: 1; align-self: center; margin: 0; padding: 0; border: 0; font-size: .75rem; line-height: 1.4; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_read_more { order: 6; grid-column: 2; width: auto; gap: calc(var(--renew-gap) * .5); padding-inline: calc(var(--renew-gap) * .75); border: 1px solid var(--rdm-border-color); border-radius: var(--rdm-radius-pill, 999px); font-size: .8125rem; line-height: 1.3; text-decoration: none; white-space: nowrap; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_controls { margin-top: var(--renew-gap); }
	/* The invitation is a distinct, touch-friendly card below the collection. */
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_invite {
		gap: var(--renew-gap);
		margin-top: calc(var(--renew-gap) * 1.5);
		padding: calc(var(--renew-gap) * 1.25);
		background: var(--renew-pale);
		border: 1px solid color-mix(in srgb, var(--renew-olive) 12%, transparent);
		border-radius: var(--renew-radius);
	}
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_invite strong { display: block; max-width: 22ch; font-size: 1.25rem; line-height: 1.25; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_invite p { font-size: .875rem; line-height: 1.5; }
	:is(.rdm-mobile-home, .rdm-massagens-renew) .rdmf_home .rdmf_invite .rdmf_button { min-height: 48px; width: 100%; justify-content: space-between; font-size: .875rem; }
}
