/* RDM design tokens are inherited live from the theme, including Theme Options. */
.rdmf {
	--rdmf-columns: 3;
	--rdmf-visible: var(--rdmf-columns);
	box-sizing: border-box;
	font-family: var(--rdm-font-family-base, inherit);
	font-size: var(--rdm-font-size-md, 1rem);
	line-height: var(--rdm-line-height-normal, 1.6);
	color: var(--rdm-color-text, inherit);
}
.rdmf *, .rdmf *::before, .rdmf *::after { box-sizing: inherit; }
.rdmf [hidden] { display: none !important; }
.rdmf_columns_1 { --rdmf-columns: 1; }
.rdmf_columns_2 { --rdmf-columns: 2; }
.rdmf_columns_3 { --rdmf-columns: 3; }
.rdmf_columns_4 { --rdmf-columns: 4; }
.rdmf_feedbacks { container-type: inline-size; margin-block: var(--rdm-space-6, 1.5rem); }
.rdmf_items { display: grid; grid-template-columns: repeat(var(--rdmf-visible), minmax(0, 1fr)); gap: var(--rdm-space-6, 1.5rem); align-items: stretch; }
.rdmf_layout_list .rdmf_items { grid-template-columns: 1fr; }
/* One complete testimonial per slide; shares the accessible carousel controller. */
.rdmf_layout_slider .rdmf_items { grid-template-columns: 1fr; }
.rdmf_layout_slider .rdmf_card { padding: var(--rdm-space-8, 2rem); gap: var(--rdm-space-4, 1rem); }
.rdmf_layout_slider .rdmf_stars { order: 1; }
.rdmf.rdmf_layout_slider .rdmf_quote { order: 2; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: var(--rdm-line-height-tight, 1.3); text-wrap: pretty; }
.rdmf_layout_slider .rdmf_print { order: 3; width: min(100%, var(--rdm-layout-reading, 45rem)); }
.rdmf_layout_slider .rdmf_print img { max-height: 28rem; object-fit: contain; object-position: left; }
.rdmf_layout_slider .rdmf_card_header { order: 4; padding-top: var(--rdm-space-4, 1rem); justify-content: start; align-items: center; }
.rdmf_layout_slider .rdmf_card_footer { order: 5; margin: 0; padding: 0; }
.rdmf_layout_slider .rdmf_card:not([hidden]) { animation: rdmf_reveal var(--rdm-duration-slow, 360ms) var(--rdm-ease-standard, ease) both; }
@keyframes rdmf_reveal { from { opacity: 0; transform: translateY(.35rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rdmf_layout_slider .rdmf_card { animation: none; } }
.rdmf_layout_masonry .rdmf_items { display: block; column-count: var(--rdmf-visible); column-gap: var(--rdm-space-6, 1.5rem); }
.rdmf_layout_masonry .rdmf_card { break-inside: avoid; margin-bottom: var(--rdm-space-6, 1.5rem); }
.rdmf_card, .rdmf_form {
	padding: var(--rdm-space-6, 1.5rem);
	border: var(--rdm-border-width, 1px) var(--rdm-border-style, solid) var(--rdm-border-color, currentColor);
	border-radius: var(--rdm-radius, .5rem);
	background: var(--rdm-color-surface, Canvas);
	box-shadow: var(--rdm-shadow-sm, none);
	min-width: 0;
	overflow-wrap: anywhere;
}
.rdmf_card { display: flex; flex-direction: column; gap: var(--rdm-space-3, .75rem); }
.rdmf_card_header { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: var(--rdm-space-2, .5rem); }
.rdmf_identity { display: flex; align-items: center; gap: var(--rdm-space-3, .75rem); min-width: 0; }
.rdmf_avatar { display: grid; place-items: center; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; border-radius: var(--rdm-radius-circle, 50%); background: var(--rdm-color-surface-alt, Canvas); color: var(--rdm-color-primary, currentColor); font-size: var(--rdm-font-size-sm, .875rem); font-weight: var(--rdm-font-weight-semibold, 600); text-transform: uppercase; }
.rdmf .rdmf_stars { display: flex; align-items: center; justify-content: space-between; gap: var(--rdm-space-3, .75rem); }
.rdmf_rating_value { font-size: var(--rdm-font-size-xs, .75rem); font-weight: var(--rdm-font-weight-semibold, 600); letter-spacing: 0; }
.rdmf_quote_mark { display: none; }
.rdmf .rdmf_name { margin: 0; font-family: var(--rdm-font-family-heading, inherit); font-size: var(--rdm-font-size-lg, 1.25rem); font-weight: var(--rdm-font-weight-semibold, 600); color: var(--rdm-color-heading, inherit); }
.rdmf_badge { padding: var(--rdm-space-1, .25rem) var(--rdm-space-2, .5rem); border-radius: var(--rdm-radius-pill, 999rem); background: var(--rdm-color-surface-alt, Canvas); font-size: var(--rdm-font-size-xs, .75rem); font-weight: var(--rdm-font-weight-semibold, 600); }
.rdmf_source_google { border: var(--rdm-border-width, 1px) solid var(--rdm-color-primary, currentColor); }
.rdmf .rdmf_stars { margin: 0; font-size: var(--rdm-font-size-lg, 1.25rem); color: var(--rdm-color-primary, currentColor); letter-spacing: .12em; }
.rdmf .rdmf_quote { border: 0; padding: 0; margin: 0; font: inherit; color: inherit; }
.rdmf .rdmf_quote p { margin: 0; }
.rdmf_print { margin: 0; }
.rdmf_print img { display: block; width: 100%; height: auto; border-radius: var(--rdm-radius, .5rem); }
.rdmf_card_footer { display: flex; flex-direction: column; gap: var(--rdm-space-2, .5rem); margin-top: auto; padding-top: var(--rdm-space-2, .5rem); font-size: var(--rdm-font-size-sm, .875rem); color: var(--rdm-color-text-muted, inherit); }
.rdmf_example_notice { padding: var(--rdm-space-4, 1rem); background: var(--rdm-color-surface-alt, Canvas); border-inline-start: var(--rdm-border-width-strong, 2px) solid var(--rdm-color-primary, currentColor); }
.rdmf_example_label { color: var(--rdm-color-warning, inherit); }
.rdmf_controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--rdm-space-3, .75rem); margin-top: var(--rdm-space-6, 1.5rem); }
.rdmf .rdmf_button { cursor: pointer; min-height: 44px; padding: var(--rdm-space-2, .5rem) var(--rdm-space-4, 1rem); border: var(--rdm-border-width, 1px) solid var(--rdm-color-primary, currentColor); border-radius: var(--rdm-radius, .5rem); background: var(--rdm-color-primary, ButtonFace); color: var(--rdm-color-white, ButtonText); font: inherit; font-weight: var(--rdm-font-weight-semibold, 600); }
.rdmf .rdmf_button:disabled { opacity: .65; cursor: wait; }
.rdmf_position { display: none; }
.rdmf_dots { display: flex; flex-wrap: wrap; justify-content: center; }
.rdmf .rdmf_dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--rdm-color-primary, currentColor); }
.rdmf_dot::before { content: ''; width: var(--rdm-space-3, .75rem); height: var(--rdm-space-3, .75rem); border: var(--rdm-border-width-strong, 2px) solid currentColor; border-radius: var(--rdm-radius-circle, 50%); }
.rdmf_dot[aria-current="true"]::before { background: currentColor; }
.rdmf :is(button, input, textarea, a):focus-visible { outline: var(--rdm-focus-ring-width, 2px) solid var(--rdm-focus-ring-color, Highlight); outline-offset: var(--rdm-focus-ring-offset, 3px); }
.rdmf_form { max-width: var(--rdm-layout-reading, 45rem); margin-block: var(--rdm-space-6, 1.5rem); }
.rdmf_field { display: flex; flex-direction: column; gap: var(--rdm-space-2, .5rem); margin: 0 0 var(--rdm-space-5, 1.25rem); }
.rdmf_field label, .rdmf_rating_field legend { font-weight: var(--rdm-font-weight-semibold, 600); }
.rdmf_field :is(input, textarea) { width: 100%; min-height: 44px; padding: var(--rdm-space-3, .75rem); border: var(--rdm-border-width, 1px) solid var(--rdm-border-color, currentColor); border-radius: var(--rdm-radius, .5rem); background: var(--rdm-color-surface, Canvas); color: inherit; font: inherit; }
.rdmf_field textarea { resize: vertical; }
.rdmf_field small { font-size: var(--rdm-font-size-sm, .875rem); color: var(--rdm-color-text-muted, inherit); }
.rdmf_rating_field { margin: 0 0 var(--rdm-space-5, 1.25rem); padding: 0; border: 0; }
.rdmf_stars_input { display: flex; flex-wrap: wrap; gap: var(--rdm-space-2, .5rem); }
.rdmf_stars_input label { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; font-size: var(--rdm-font-size-xl, 1.75rem); color: var(--rdm-color-text-muted, currentColor); }
.rdmf_stars_input input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rdmf_stars_input label:has(input:checked), .rdmf_stars_input label:has(~ label input:checked) { color: var(--rdm-color-primary, currentColor); }
.rdmf_stars_input label:has(input:checked) { background: var(--rdm-color-surface-alt, Canvas); border-radius: var(--rdm-radius, .5rem); }
.rdmf_stars_input label:has(input:focus-visible) { outline: var(--rdm-focus-ring-width, 2px) solid var(--rdm-focus-ring-color, Highlight); outline-offset: var(--rdm-focus-ring-offset, 3px); }
.rdmf_consent input { accent-color: var(--rdm-color-primary, auto); }
.rdmf_captcha { min-width: 0; margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--rdm-border-color, currentColor); border-radius: var(--rdm-radius, .75rem); background: var(--rdm-color-surface-alt, Canvas); }
.rdmf_captcha legend { padding-inline: .35rem; font-size: .875rem; font-weight: 600; }
.rdmf_captcha .rdmf_field { margin-bottom: .25rem; }
.rdmf_captcha .rdmf_field input { max-width: 10rem; background: var(--rdm-color-surface, Canvas); }
.rdmf .rdmf_captcha_refresh { min-height: 44px; width: auto; padding: .5rem 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.rdmf .rdmf_captcha_refresh:disabled { cursor: wait; opacity: .6; }
.rdmf_captcha_status { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--rdm-color-text-muted, inherit); }
.rdmf_message { margin: var(--rdm-space-4, 1rem) 0 0; }
.rdmf_message:empty { display: none; }
.rdmf_error { color: var(--rdm-color-error, inherit); }
.rdmf_sr, .rdmf_honeypot { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Native Slider Pro owns transitions; this layer contains no nested carousel. */
.rdmf_highlight .rdmf_card { background: transparent; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
.rdmf_highlight .rdmf_card_header { order: 3; margin-top: var(--rdm-space-4, 1rem); }
.rdmf_highlight .rdmf_stars { order: 1; }
.rdmf_highlight .rdmf_quote { order: 2; font-size: var(--rdm-font-size-xl, 1.75rem); line-height: 1.3; letter-spacing: -.035em; }
.rdmf_highlight .rdmf_card_footer { order: 4; font-size: var(--rdm-font-size-xs, .75rem); }
.rdmf_highlight .rdmf_name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--rdm-font-size-md, 1rem); }
.rdmf_highlight .rdmf_identity { flex: 1 1 70%; }
.rdmf_highlight_label { font-size: var(--rdm-font-size-xs, .75rem); font-weight: var(--rdm-font-weight-semibold, 600); }
.rdmf_highlight_link { display: flex; align-items: center; justify-content: space-between; gap: var(--rdm-space-4, 1rem); min-height: 44px; margin-top: var(--rdm-space-4, 1rem); border-top: var(--rdm-border-width, 1px) solid var(--rdm-border-color, currentColor); font-size: var(--rdm-font-size-sm, .875rem); font-weight: var(--rdm-font-weight-semibold, 600); }
.rdmf_highlight .rdmf_print img { max-height: 10rem; object-fit: contain; }
.rdmf_summary { display: flex; align-items: center; gap: var(--rdm-space-4, 1rem); }
.rdmf_summary_score { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -.06em; white-space: nowrap; }
.rdmf_summary_score > span { font-size: var(--rdm-font-size-md, 1rem); letter-spacing: 0; font-weight: var(--rdm-font-weight-normal, 400); }
.rdmf_summary_caption, .rdmf_summary_count { display: block; font-size: var(--rdm-font-size-sm, .875rem); }
.rdmf_summary_caption { font-weight: var(--rdm-font-weight-semibold, 600); }
@container (max-width: 899px) {
	.rdmf_items { --rdmf-visible: min(2, var(--rdmf-columns)); }
}
@container (max-width: 559px) {
	.rdmf_items { --rdmf-visible: 1; }
}
