/*
 * EcoFlow Reviews - product page reviews and questions.
 *
 * Mobile first, on the theme's tokens (theme.json presets and custom
 * values) so the block reads as part of the product page: monochrome, the
 * same 12px control radius and grey surface as the buy column, green only
 * for the "Покупець" badge (the theme's success colour).
 */

.ef-rv {
	--ef-rv-surface: #f5f5f5;
	--ef-rv-radius: 18px;
	--ef-rv-radius-control: 12px;
	--ef-rv-line: var(--wp--custom--border--on-light, rgba(0, 0, 0, 0.08));
	--ef-rv-muted: var(--wp--preset--color--contrast-muted, #888);
	--ef-rv-subtle: var(--wp--preset--color--contrast-subtle, #555);
	--ef-rv-ink: var(--wp--preset--color--contrast, #111);
	--ef-rv-success: var(--wp--preset--color--success, #5a9b62);
	--ef-rv-input-line: rgba(0, 0, 0, 0.13);
	--ef-rv-error: oklch(0.57 0.19 27);
	--ef-rv-radius-control: 12px;

	color: var(--ef-rv-ink);
	font-size: var(--wp--preset--font-size--base);
}

.ef-rv *,
.ef-rv *::before,
.ef-rv *::after {
	box-sizing: border-box;
}

.ef-rv .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Count badge in the tab label. */
.ef-rv-tab-count {
	display: inline-block;
	min-width: 1.6em;
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: var(--wp--custom--radius--pill, 999px);
	background: var(--wp--preset--color--base-subtle, #f3f3f3);
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	vertical-align: 2px;
	color: var(--wp--preset--color--contrast-subtle, #555);
}

/* --- Layout -------------------------------------------------------------- */

.ef-rv__layout {
	display: grid;
	gap: var(--wp--preset--spacing--8);
	min-width: 0;
}

.ef-rv__main {
	min-width: 0;
}

@media (min-width: 1024px) {
	.ef-rv__layout {
		grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
		gap: var(--wp--preset--spacing--12);
		align-items: start;
	}

	.ef-rv__aside {
		position: sticky;
		top: 112px;
	}
}

/* --- Stars --------------------------------------------------------------- */

.ef-rv-stars {
	position: relative;
	display: inline-flex;
	line-height: 0;
	white-space: nowrap;
	vertical-align: middle;
}

.ef-rv-stars__empty,
.ef-rv-stars__full {
	display: inline-flex;
	gap: 2px;
}

.ef-rv-stars svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.ef-rv-stars--lg svg {
	width: 20px;
	height: 20px;
}

.ef-rv-stars__empty {
	fill: var(--wp--preset--color--border, #e5e5e5);
}

.ef-rv-stars__full {
	position: absolute;
	inset: 0;
	overflow: hidden;
	fill: var(--ef-rv-ink);
}

/* --- Buttons ------------------------------------------------------------- */

.ef-rv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 var(--wp--preset--spacing--6);
	border: 1px solid transparent;
	border-radius: var(--ef-rv-radius-control);
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition:
		background-color var(--wp--custom--duration--fast, 180ms) ease,
		border-color var(--wp--custom--duration--fast, 180ms) ease,
		color var(--wp--custom--duration--fast, 180ms) ease;
}

.ef-rv-btn--primary {
	background: var(--ef-rv-ink);
	color: var(--wp--preset--color--base, #fff);
}

.ef-rv-btn--primary:hover {
	background: var(--wp--preset--color--primary-hover, #3d3d3d);
}

.ef-rv-btn--ghost {
	background: var(--wp--preset--color--base, #fff);
	border-color: var(--wp--preset--color--border, #e5e5e5);
	color: var(--ef-rv-ink);
}

.ef-rv-btn--ghost:hover {
	border-color: var(--ef-rv-ink);
}

.ef-rv-btn:focus-visible,
.ef-rv-chip:focus-visible,
.ef-rv-dist__row:focus-visible,
.ef-rv-link:focus-visible,
.ef-rv-sort select:focus-visible,
.ef-rv-gallery a:focus-visible {
	outline: 2px solid var(--ef-rv-ink);
	outline-offset: 2px;
}

.ef-rv-btn[disabled],
.ef-rv-btn[aria-busy="true"] {
	opacity: 0.55;
	cursor: progress;
}

.ef-rv-link {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	color: var(--ef-rv-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* --- Summary ------------------------------------------------------------- */

.ef-rv-summary {
	padding: var(--wp--preset--spacing--6);
	border-radius: var(--ef-rv-radius);
	background: var(--ef-rv-surface);
}

.ef-rv-summary__title {
	margin: 0 0 var(--wp--preset--spacing--5);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.ef-rv-summary__score {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--4);
	margin-bottom: var(--wp--preset--spacing--5);
}

.ef-rv-summary__avg {
	font-size: var(--wp--preset--font-size--xl-4);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.ef-rv-summary__meta {
	display: grid;
	gap: 6px;
}

.ef-rv-summary__count,
.ef-rv-summary__none {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--ef-rv-subtle);
}

.ef-rv-summary__none {
	margin: 0 0 var(--wp--preset--spacing--5);
}

.ef-rv-dist {
	display: grid;
	gap: 2px;
	margin: 0 0 var(--wp--preset--spacing--6);
	padding: 0;
	list-style: none;
}

.ef-rv-dist__row {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 36px;
	align-items: center;
	gap: var(--wp--preset--spacing--3);
	width: 100%;
	min-height: 32px;
	padding: 0 6px;
	border: 0;
	border-radius: 8px;
	background: none;
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--ef-rv-ink);
	cursor: pointer;
}

.ef-rv-dist__row:hover:not([disabled]),
.ef-rv-dist__row[aria-pressed="true"] {
	background: var(--wp--preset--color--base, #fff);
}

.ef-rv-dist__row[aria-pressed="true"] {
	font-weight: 700;
}

.ef-rv-dist__row[disabled] {
	cursor: default;
	color: var(--ef-rv-muted);
}

.ef-rv-dist__star {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-weight: 600;
}

.ef-rv-dist__star svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.ef-rv-dist__bar {
	position: relative;
	height: 6px;
	border-radius: 3px;
	background: var(--wp--preset--color--border, #e5e5e5);
	overflow: hidden;
}

.ef-rv-dist__bar > span {
	position: absolute;
	inset: 0 auto 0 0;
	border-radius: inherit;
	background: var(--ef-rv-ink);
}

.ef-rv-dist__n {
	text-align: right;
	color: var(--ef-rv-subtle);
}

.ef-rv-summary__cta {
	display: grid;
	gap: var(--wp--preset--spacing--3);
}

/* Phones-to-tablet: the two calls to action side by side once they fit. */
@media (min-width: 480px) and (max-width: 1023px) {
	.ef-rv-summary__cta {
		grid-template-columns: 1fr 1fr;
	}
}

/* Tablet: score and distribution next to each other. */
@media (min-width: 768px) and (max-width: 1023px) {
	.ef-rv-summary {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
		column-gap: var(--wp--preset--spacing--10);
		align-items: start;
	}

	.ef-rv-summary__title,
	.ef-rv-summary__cta {
		grid-column: 1 / -1;
	}

	.ef-rv-dist {
		margin-bottom: var(--wp--preset--spacing--5);
	}
}

/* --- Toolbar ------------------------------------------------------------- */

.ef-rv-toolbar {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--3);
	margin-bottom: var(--wp--preset--spacing--2);
}

/* One scrollable row on phones, like the tab row above it. */
.ef-rv-chips {
	display: flex;
	gap: var(--wp--preset--spacing--2);
	overflow-x: auto;
	scrollbar-width: none;
	padding-block: 2px;
}

.ef-rv-chips::-webkit-scrollbar {
	display: none;
}

.ef-rv-chip {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 6px;
	min-height: 40px;
	padding: 0 var(--wp--preset--spacing--4);
	border: 1px solid var(--wp--preset--color--border, #e5e5e5);
	border-radius: var(--wp--custom--radius--pill, 999px);
	background: var(--wp--preset--color--base, #fff);
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	white-space: nowrap;
	color: var(--ef-rv-ink);
	cursor: pointer;
}

.ef-rv-chip:hover {
	border-color: var(--ef-rv-ink);
}

.ef-rv-chip[aria-pressed="true"] {
	border-color: var(--ef-rv-ink);
	background: var(--ef-rv-ink);
	color: var(--wp--preset--color--base, #fff);
}

.ef-rv-chip[hidden] {
	display: none;
}

.ef-rv-chip__n {
	font-weight: 400;
	opacity: 0.6;
}

.ef-rv-chip__x {
	width: 14px;
	height: 14px;
}

.ef-rv-sort select {
	width: 100%;
	min-height: 44px;
	padding: 0 40px 0 var(--wp--preset--spacing--4);
	border: 1px solid var(--wp--preset--color--border, #e5e5e5);
	border-radius: var(--ef-rv-radius-control);
	background: var(--wp--preset--color--base, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	color: var(--ef-rv-ink);
	appearance: none;
	cursor: pointer;
}

@media (min-width: 768px) {
	.ef-rv-toolbar {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.ef-rv-chips {
		flex-wrap: wrap;
		overflow: visible;
	}

	.ef-rv-sort {
		flex: 0 0 auto;
	}

	.ef-rv-sort select {
		width: auto;
		min-width: 220px;
	}
}

/* --- List ---------------------------------------------------------------- */

.ef-rv__list[aria-busy="true"] {
	opacity: 0.5;
	transition: opacity var(--wp--custom--duration--fast, 180ms) ease;
}

.ef-rv__more {
	width: 100%;
	margin-top: var(--wp--preset--spacing--6);
}

.ef-rv__more[hidden],
.ef-rv__empty[hidden] {
	display: none;
}

.ef-rv__empty {
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--6);
	border: 1px dashed var(--wp--preset--color--border, #e5e5e5);
	border-radius: var(--ef-rv-radius);
	text-align: center;
	color: var(--ef-rv-subtle);
}

.ef-rv__empty p {
	margin: 0 0 var(--wp--preset--spacing--2);
}

.ef-rv__empty-title {
	font-weight: 700;
	color: var(--ef-rv-ink);
}

/* --- Card ---------------------------------------------------------------- */

.ef-rv-card {
	padding-block: var(--wp--preset--spacing--6);
	border-bottom: 1px solid var(--ef-rv-line);
}

/* Anchor jumps (#review-12, #question-34, #reviews) clear the sticky header. */
.ef-rv,
.ef-rv-card {
	scroll-margin-top: 96px;
}

.ef-rv-card__head {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--wp--preset--spacing--3);
	margin-bottom: var(--wp--preset--spacing--3);
}

.ef-rv-card__avatar {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ef-rv-surface);
	font-weight: 700;
	color: var(--ef-rv-subtle);
}

.ef-rv-card__who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px var(--wp--preset--spacing--2);
	min-width: 0;
}

.ef-rv-card__author {
	font-weight: 700;
	overflow-wrap: anywhere;
}

.ef-rv-card__date {
	font-size: var(--wp--preset--font-size--xs);
	color: var(--ef-rv-muted);
	white-space: nowrap;
}

.ef-rv-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px 2px 6px;
	border-radius: var(--wp--custom--radius--pill, 999px);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.ef-rv-badge svg {
	width: 12px;
	height: 12px;
}

.ef-rv-badge--buyer {
	background: rgba(90, 155, 98, 0.12);
	color: #3f7a47;
}

.ef-rv-card__rating {
	margin-bottom: var(--wp--preset--spacing--3);
}

.ef-rv-card__body {
	display: grid;
	gap: var(--wp--preset--spacing--3);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.ef-rv-card__body p {
	margin: 0;
}

.ef-rv-card__body p + p {
	margin-top: 0.6em;
}

.ef-rv-card__label {
	margin: 0 0 2px;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
	color: var(--ef-rv-ink);
}

.ef-rv-card__block {
	color: var(--ef-rv-subtle);
}

.ef-rv-card__source {
	margin: var(--wp--preset--spacing--3) 0 0;
	font-size: var(--wp--preset--font-size--xs);
	color: var(--ef-rv-muted);
}

.ef-rv-card__source a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ef-rv-card__source a:hover {
	color: var(--ef-rv-ink);
}

.ef-rv-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2);
	margin: var(--wp--preset--spacing--4) 0 0;
	padding: 0;
	list-style: none;
}

.ef-rv-gallery a {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--ef-rv-surface);
}

.ef-rv-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 768px) {
	.ef-rv-gallery a {
		width: 88px;
		height: 88px;
	}
}

/* --- Lightbox ------------------------------------------------------------ */

.ef-rv-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(5, 5, 5, 0.94);
	color: #fff;
}

.ef-rv-lightbox::backdrop {
	background: rgba(5, 5, 5, 0.94);
}

.ef-rv-lightbox[open] {
	display: grid;
	place-items: center;
}

.ef-rv-lightbox__img {
	display: block;
	max-width: calc(100vw - 32px);
	max-height: calc(100dvh - 140px);
	object-fit: contain;
	border-radius: 8px;
}

.ef-rv-lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
}

.ef-rv-lightbox__btn:hover {
	background: rgba(255, 255, 255, 0.24);
}

.ef-rv-lightbox__btn svg {
	width: 22px;
	height: 22px;
}

.ef-rv-lightbox__close {
	top: 16px;
	right: 16px;
}

.ef-rv-lightbox__prev,
.ef-rv-lightbox__next {
	bottom: 24px;
}

.ef-rv-lightbox__prev {
	left: calc(50% - 64px);
}

.ef-rv-lightbox__next {
	right: calc(50% - 64px);
}

.ef-rv-lightbox__btn[hidden] {
	display: none;
}

.ef-rv-lightbox__count {
	position: absolute;
	top: 28px;
	left: 20px;
	font-size: var(--wp--preset--font-size--sm);
	opacity: 0.8;
}

@media (min-width: 768px) {
	.ef-rv-lightbox__img {
		max-width: calc(100vw - 200px);
		max-height: calc(100dvh - 80px);
	}

	.ef-rv-lightbox__prev,
	.ef-rv-lightbox__next {
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
	}

	.ef-rv-lightbox__prev {
		left: 24px;
	}

	.ef-rv-lightbox__next {
		right: 24px;
	}
}

/* --- Card footer: reply link and votes ------------------------------------ */

.ef-rv-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
	margin-top: var(--wp--preset--spacing--4);
}

.ef-rv-card__reply {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	font-size: var(--wp--preset--font-size--sm);
	text-decoration: none;
}

.ef-rv-card__reply:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ef-rv-card__reply svg {
	width: 18px;
	height: 18px;
}

.ef-rv-vote {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2);
}

.ef-rv-vote__q {
	margin-right: 2px;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--ef-rv-muted);
}

.ef-rv-vote__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 56px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--border, #e5e5e5);
	border-radius: var(--wp--custom--radius--pill, 999px);
	background: var(--wp--preset--color--base, #fff);
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	color: var(--ef-rv-ink);
	cursor: pointer;
}

.ef-rv-vote__btn:hover {
	border-color: var(--ef-rv-ink);
}

.ef-rv-vote__btn:focus-visible {
	outline: 2px solid var(--ef-rv-ink);
	outline-offset: 2px;
}

.ef-rv-vote__btn[aria-pressed="true"] {
	border-color: var(--ef-rv-ink);
	background: var(--ef-rv-ink);
	color: var(--wp--preset--color--base, #fff);
}

.ef-rv-vote__btn[aria-busy="true"] {
	opacity: 0.6;
	cursor: progress;
}

.ef-rv-vote__btn svg {
	width: 18px;
	height: 18px;
}

.ef-rv-vote__msg {
	margin: var(--wp--preset--spacing--2) 0 0;
	font-size: var(--wp--preset--font-size--xs);
	color: var(--ef-rv-error);
	text-align: right;
}

.ef-rv-vote__msg[hidden] {
	display: none;
}

/* --- Replies ------------------------------------------------------------- */

.ef-rv-replies {
	display: grid;
	gap: var(--wp--preset--spacing--3);
	margin-top: var(--wp--preset--spacing--4);
	padding-left: var(--wp--preset--spacing--4);
	border-left: 2px solid var(--wp--preset--color--border, #e5e5e5);
}

.ef-rv-replies[hidden] {
	display: none;
}

.ef-rv-reply {
	padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
	border-radius: var(--ef-rv-radius-control);
	background: var(--ef-rv-surface);
}

.ef-rv-reply--store {
	background: var(--wp--preset--color--base-subtle, #f3f3f3);
	box-shadow: inset 3px 0 0 var(--ef-rv-ink);
}

.ef-rv-reply__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px var(--wp--preset--spacing--2);
	margin-bottom: 4px;
}

.ef-rv-reply__author {
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.ef-rv-reply__date {
	margin-left: auto;
	font-size: var(--wp--preset--font-size--xs);
	color: var(--ef-rv-muted);
	white-space: nowrap;
}

.ef-rv-reply__text {
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.6;
	color: var(--ef-rv-subtle);
	overflow-wrap: anywhere;
}

.ef-rv-reply__text p {
	margin: 0;
}

.ef-rv-reply__text p + p {
	margin-top: 0.5em;
}

.ef-rv-badge--store {
	background: var(--ef-rv-ink);
	color: var(--wp--preset--color--base, #fff);
}

@media (min-width: 768px) {
	.ef-rv-replies {
		margin-left: 52px;
	}
}

/* --- Inline reply form --------------------------------------------------- */

.ef-rv-reply-slot:empty {
	display: none;
}

.ef-rv-reply-slot {
	margin-top: var(--wp--preset--spacing--4);
}

.ef-rv-replyform {
	display: grid;
	gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--5);
	border: 1px solid var(--wp--preset--color--border, #e5e5e5);
	border-radius: var(--ef-rv-radius);
}

.ef-rv-replyform__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--3);
}

.ef-rv-replyform__actions .ef-rv-btn {
	flex: 1 1 140px;
	min-height: 48px;
}

@media (min-width: 600px) {
	.ef-rv-replyform__actions .ef-rv-btn {
		flex: 0 0 auto;
	}
}

.ef-rv-reply-note {
	margin: 0;
	padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
	border-radius: var(--ef-rv-radius-control);
	background: rgba(90, 155, 98, 0.12);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	color: #3f7a47;
}

@media (max-width: 374px) {
	.ef-rv-vote__q {
		display: none;
	}
}

/* --- Questions and answers ----------------------------------------------- */

.ef-qa {
	max-width: 880px;
}

.ef-qa__head {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	margin-bottom: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--6);
	border-radius: var(--ef-rv-radius);
	background: var(--ef-rv-surface);
}

.ef-qa__title {
	margin: 0 0 4px;
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.ef-qa__count {
	margin: 0;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--ef-rv-subtle);
}

.ef-qa__head .ef-rv-btn {
	width: 100%;
}

@media (min-width: 600px) {
	.ef-qa__head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.ef-qa__head .ef-rv-btn {
		flex: 0 0 auto;
		width: auto;
	}
}

.ef-qa-card__q {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.ef-qa-card__q p {
	margin: 0;
}

.ef-qa-card__q p + p {
	margin-top: 0.5em;
}

.ef-qa-status {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: var(--wp--custom--radius--pill, 999px);
	background: rgba(184, 138, 59, 0.14);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	color: #8a6420;
}

.ef-qa-status[hidden] {
	display: none;
}

.ef-qa-status--answered {
	background: var(--wp--preset--color--base-subtle, #f3f3f3);
	color: var(--ef-rv-subtle);
}
