/* Reviews Manager frontend styles. Everything is scoped under .prm-page, so the plugin
   never restyles the theme's header, footer, sidebar, or Elementor wrappers. The reviews
   content fills the theme's content container via .prm-page { width:100%; flex:1 1 100% }
   below; archive edge-to-edge output is handled by body.prm-fullbleed at the end of this file. */

.prm-page {
	--prm-ink: var(--text, #EAEDE6);
	--prm-muted: var(--mut, #828A82);
	--prm-line: var(--line, rgba(232,236,229,.09));
	--prm-soft: var(--ink, #070A08);
	--prm-card: var(--ink-2, #0B0F0C);
	--prm-dark: var(--panel, #0E1310);
	--prm-dark-2: var(--ink-2, #0B0F0C);
	--prm-gold: var(--amber, #FFC24B);
	--prm-gold-dark: var(--amber, #FFC24B);
	--prm-font-body: var(--f-d, "Archivo", sans-serif);
	--prm-font-heading: var(--f-s, "Fraunces", serif);
	--prm-blue: var(--acc, #3DFFA8);
	--prm-red: var(--coral, #FF6B4A);
	--prm-green: var(--acc, #3DFFA8);
	min-width: 0;
	width: 100%;
	max-width: 100%;
	flex: 1 1 100%;
	color: var(--prm-ink);
	background: var(--prm-soft);
	font-family: var(--prm-font-body);
	font-size: 15px;
	line-height: 1.5;
}

.prm-page *,
.prm-page *::before,
.prm-page *::after {
	box-sizing: border-box;
}

.prm-shell {
	width: min(1240px, calc(100% - 40px));
	margin-inline: auto;
}

.prm-hero {
	position: relative;
	overflow: hidden;
	padding: 34px 0 56px;
	color: #f8fafc;
	background:
		radial-gradient(circle at 50% 10%, rgba(45, 73, 121, 0.46), transparent 34rem),
		linear-gradient(140deg, #151922 0%, #08101d 54%, #071121 100%);
}

.prm-hero-inner {
	display: grid;
	justify-items: center;
	text-align: center;
}

.prm-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	margin: 0 0 26px;
	padding: 4px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: #e6ebf4;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.06);
}

.prm-hero h1,
.prm-home-hero h2 {
	max-width: 720px;
	margin: 0;
	color: var(--prm-hero-title, #ffffff);
	font-family: var(--prm-font-heading);
	font-size: clamp(44px, 7vw, 76px);
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.prm-hero-copy,
.prm-home-hero p {
	max-width: 640px;
	margin: 24px 0 0;
	color: #d5dce8;
	font-size: 16px;
	line-height: 1.65;
}

.prm-hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 42px;
}

.prm-button,
.prm-outline-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 24px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease-out, border-color 180ms ease-out;
}

.prm-button:active,
.prm-outline-button:active {
	transform: scale(0.98);
}

.prm-page .prm-button-gold {
	color: #17130b;
	background: var(--prm-gold);
	border: 1px solid var(--prm-gold-dark);
}

.prm-page .prm-button-dark {
	color: #f4f7fb;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.prm-stat-band {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: min(760px, 100%);
	margin-top: 70px;
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.06);
	color: #f8fafc;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(6px);
}

.prm-stat-band div {
	text-align: left;
	padding-inline: 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.prm-stat-band div:last-child {
	border-right: 0;
}

.prm-stat-band span,
.prm-stat-band small {
	display: block;
	color: rgba(233, 238, 247, 0.72);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.prm-stat-band strong {
	display: block;
	margin: 8px 0 4px;
	font-family: var(--prm-font-heading);
	font-size: 27px;
	line-height: 1;
}

.prm-stars {
	color: #dba329;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.prm-platform-strip {
	margin-top: 0;
	padding-top: 24px;
	padding-bottom: 24px;
	background: var(--prm-soft) !important;
}

.prm-platform-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.prm-review-card,
.prm-feature-card,
.prm-side-card,
.prm-customer-card,
.prm-aside-card,
.prm-related-card {
	border: 1px solid var(--prm-line);
	border-radius: 18px;
	background: var(--prm-card);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.prm-platform-card {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 12px 16px !important;
	border-radius: 4px !important;
	background: var(--prm-card) !important;
	border: 1px solid var(--prm-line) !important;
	border-top: 5px solid var(--prm-blue) !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.1) !important;
	min-height: 80px !important;
	position: relative !important;
	overflow: visible !important;
	text-align: left !important;
}

.prm-platform-card-logo {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	background: #f8fafc !important;
	border: 1px solid #f1f5f9 !important;
	flex-shrink: 0 !important;
	overflow: hidden !important;
}

.prm-platform-card-logo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 50% !important;
}

.prm-platform-card-logo svg {
	width: 32px !important;
	height: 32px !important;
	display: block !important;
}

.prm-platform-card-info {
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
	text-align: left !important;
	flex-grow: 1 !important;
}

.prm-platform-card-title {
	font-weight: 500 !important;
	font-size: 13px !important;
	color: #475569 !important;
	margin: 0 !important;
	line-height: 1.2 !important;
}

.prm-platform-card-rating-row {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 2px 0 !important;
}

.prm-platform-card-avg {
	font-weight: 700 !important;
	font-size: 18px !important;
	line-height: 1 !important;
}

.prm-platform-card.prm-social .prm-platform-card-avg {
	color: #0b8d4f !important;
}
.prm-platform-card.prm-google .prm-platform-card-avg {
	color: #ec6608 !important;
}
.prm-platform-card.prm-facebook .prm-platform-card-avg {
	color: #1877f2 !important;
}
.prm-platform-card.prm-yelp .prm-platform-card-avg {
	color: #d32323 !important;
}

.prm-platform-card.prm-social .prm-stars {
	color: #0b8d4f !important;
	font-size: 15px !important;
}
.prm-platform-card.prm-google .prm-stars {
	color: #ec6608 !important;
	font-size: 15px !important;
}
.prm-platform-card.prm-facebook .prm-stars {
	color: #1877f2 !important;
	font-size: 15px !important;
}
.prm-platform-card.prm-yelp .prm-stars {
	color: #d32323 !important;
	font-size: 15px !important;
}

.prm-platform-card-count {
	font-size: 11px !important;
	color: #64748b !important;
	margin: 0 !important;
	line-height: 1.2 !important;
}

.prm-platform-mark {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	color: #f8fafc;
	font-size: 13px;
	font-weight: 900;
}

.prm-google,
.prm-facebook {
	background: var(--prm-blue);
}

.prm-yelp {
	background: var(--prm-red);
}

.prm-trustpilot,
.prm-angi {
	background: var(--prm-green);
}

.prm-bbb,
.prm-other {
	background: #475467;
}

.prm-toolbar {
	border-top: 1px solid var(--prm-line);
	border-bottom: 1px solid var(--prm-line);
	background: var(--prm-card);
}

.prm-toolbar-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 0;
}

.prm-search {
	flex: 1 1 360px;
}

.prm-search input {
	width: 100%;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--prm-line);
	border-radius: 999px;
	background: var(--prm-soft);
	color: var(--prm-ink);
}

.prm-search input:focus {
	outline: 3px solid var(--acc-dim, rgba(61,255,168,.14));
	border-color: var(--prm-blue);
}

.prm-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.prm-page .prm-filter-pills button {
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid var(--prm-line);
	border-radius: 999px;
	color: var(--prm-muted);
	background: var(--prm-card);
	font-weight: 800;
	font-size: 12px;
	cursor: pointer;
}

.prm-page .prm-filter-pills button.is-active {
	color: var(--prm-soft);
	background: var(--prm-blue);
	border-color: var(--prm-blue);
}

.prm-featured {
	padding: 62px 0 34px;
}

.prm-section-head,
.prm-list-head,
.prm-single-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.prm-section-head span {
	color: var(--prm-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.prm-section-head h2,
.prm-list-head h2,
.prm-single-section-head h2 {
	margin: 6px 0 0;
	font-family: var(--prm-font-heading);
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1;
}

.prm-section-head a,
.prm-list-head span,
.prm-single-section-head a {
	color: var(--prm-blue);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.prm-featured-grid {
	display: grid;
	grid-template-columns: 1.08fr 1fr 1fr;
	gap: 24px;
}

.prm-feature-card {
	min-height: 286px;
	padding: 28px;
}

.prm-feature-card.is-dark {
	color: #f8fafc;
	background: var(--prm-dark-2);
	border-color: rgba(255, 255, 255, 0.1);
}

.prm-feature-card.is-dark h3 {
	color: #ffffff !important;
}

.prm-quote-mark {
	color: var(--prm-gold);
	font-family: var(--prm-font-heading);
	font-size: 46px;
	line-height: 0.7;
}

.prm-feature-card h3,
.prm-review-card h3,
.prm-related-card h3 {
	margin: 18px 0 12px;
	font-family: var(--prm-font-heading);
	font-size: 17px;
	line-height: 1.2;
}

.prm-feature-card p,
.prm-review-card p,
.prm-related-card p {
	color: #687386;
	line-height: 1.65;
}

.prm-feature-card.is-dark p {
	color: #d6deeb;
}

.prm-person,
.prm-review-card header,
.prm-recent-list a {
	display: flex;
	align-items: center;
	gap: 12px;
}

.prm-avatar {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	color: #f8fafc;
	background: #149765;
	font-size: 12px;
	font-weight: 900;
	object-fit: cover;
}

.prm-avatar-large {
	width: 98px;
	height: 98px;
	font-size: 25px;
}

.prm-person small,
.prm-review-card small,
.prm-recent-list small {
	display: block;
	color: var(--prm-muted);
}

.prm-feature-card.is-dark .prm-person small {
	color: #aab4c4;
}

.prm-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
}

.prm-platform-name {
	padding: 5px 12px;
	border-radius: 999px;
	color: #f8fafc;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
}

.prm-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 270px;
	gap: 36px;
	padding: 36px 0 80px;
}

.prm-review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.prm-review-card {
	padding: 20px;
}

.prm-review-card header .prm-platform-mark {
	margin-left: auto;
	width: 24px;
	height: 24px;
	font-size: 11px;
}

.prm-card-stars {
	display: flex;
	justify-content: space-between;
	margin-top: 22px;
	font-size: 13px;
}

.prm-card-stars time {
	color: var(--prm-muted);
}

.prm-review-card footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--prm-line);
}

.prm-review-card footer span {
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--prm-soft);
	color: var(--prm-muted);
	font-size: 12px;
	font-weight: 800;
}

.prm-review-card footer a {
	color: var(--prm-blue);
	font-weight: 800;
	font-size: 13px;
	text-decoration: none;
}

.prm-infinite-scroll {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	margin-top: 24px;
	color: var(--prm-muted);
	font-size: 13px;
	font-weight: 800;
}

.prm-infinite-scroll[hidden] {
	display: none;
}

.prm-infinite-scroll span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid var(--prm-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.prm-infinite-scroll.is-idle span,
.prm-infinite-scroll.is-done span {
	opacity: 0;
}

.prm-infinite-scroll.is-loading span::before {
	width: 14px;
	height: 14px;
	border: 2px solid rgba(15, 23, 42, 0.18);
	border-top-color: var(--prm-dark);
	border-radius: 50%;
	content: "";
	animation: prm-spin 0.75s linear infinite;
}

.prm-infinite-scroll.is-error span {
	color: #b42318;
	border-color: rgba(180, 35, 24, 0.24);
	background: #fff7f5;
}

@keyframes prm-spin {
	to {
		transform: rotate(360deg);
	}
}

.prm-sidebar {
	display: grid;
	align-content: start;
	gap: 18px;
}

.prm-side-card {
	padding: 20px;
}

.prm-side-card h3 {
	margin: 0 0 16px;
	font-family: var(--prm-font-heading);
	font-size: 18px;
}

.prm-mini-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.prm-mini-stats h3 {
	grid-column: 1 / -1;
}

.prm-mini-stats div {
	padding: 14px;
	border-radius: 16px;
	background: var(--prm-soft);
}

.prm-mini-stats span {
	display: block;
	font-family: var(--prm-font-heading);
	font-size: 19px;
}

.prm-mini-stats small {
	color: var(--prm-muted);
}

.prm-platform-row {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--prm-line);
}

.prm-platform-row:last-child {
	border-bottom: 0;
}

.prm-recent-list a {
	padding: 10px 0;
	color: inherit;
	text-decoration: none;
}

.prm-review-cta,
.prm-newsletter {
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 22px;
	color: #f8fafc;
	background: var(--prm-dark);
}

.prm-review-cta h3,
.prm-newsletter h3 {
	margin: 0 0 10px;
	color: #f8fafc;
	font-family: var(--prm-font-heading);
	font-size: 24px;
}

.prm-review-cta p,
.prm-newsletter p {
	color: #d5dce8;
	line-height: 1.55;
}

.prm-submit-review {
	padding: 18px 0 86px;
}

.prm-submit-review-panel {
	display: grid;
	grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(24px, 5vw, 58px);
	align-items: start;
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--prm-line);
	border-radius: 22px;
	background: var(--prm-card);
	box-shadow: 0 20px 48px rgba(31, 42, 68, 0.08);
}

.prm-submit-review-copy span {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--prm-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.prm-submit-review-copy h2 {
	margin: 0;
	color: var(--prm-heading-color, var(--prm-ink));
	font-family: var(--prm-font-heading);
	font-size: var(--prm-section-heading-size, 30px);
	line-height: 1.08;
}

.prm-submit-review-copy p {
	margin: 16px 0 0;
	max-width: 420px;
	color: var(--prm-muted);
	line-height: 1.7;
}

.prm-review-form-image {
	margin: clamp(24px, 4vw, 42px) 0 0;
	width: min(100%, 430px);
	overflow: hidden;
	border: 1px solid var(--prm-line);
	border-radius: 22px;
	background: var(--prm-soft);
	box-shadow: 0 16px 36px rgba(31, 42, 68, 0.08);
}

.prm-review-form-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1.28;
	height: auto;
	object-fit: cover;
}

.prm-review-form {
	display: grid;
	gap: 18px;
}

.prm-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.prm-review-form label {
	display: grid;
	gap: 8px;
	color: var(--prm-ink);
	font-weight: 800;
}

.prm-review-form label span {
	font-size: 13px;
}

.prm-review-form input,
.prm-review-form select,
.prm-review-form textarea {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--prm-line);
	border-radius: 12px;
	background: var(--prm-soft);
	color: var(--prm-ink);
	font: inherit;
	font-weight: 600;
	outline: none;
	box-shadow: none;
}

.prm-review-form input,
.prm-review-form select {
	padding: 0 14px;
}

.prm-review-form textarea {
	min-height: 138px;
	padding: 13px 14px;
	resize: vertical;
}

.prm-review-form input:focus,
.prm-review-form select:focus,
.prm-review-form textarea:focus {
	border-color: var(--prm-blue);
	box-shadow: 0 0 0 4px rgba(47, 115, 230, 0.12);
}

.prm-form-wide,
.prm-form-message {
	grid-column: 1 / -1;
}

.prm-form-message {
	display: none;
	padding: 12px 14px;
	border-radius: 12px;
	font-weight: 800;
}

.prm-form-message.is-success,
.prm-form-message.is-error {
	display: block;
}

.prm-form-message.is-success {
	color: #05603a;
	background: #ecfdf3;
	border: 1px solid #abefc6;
}

.prm-form-message.is-error {
	color: #b42318;
	background: #fff7f5;
	border: 1px solid #fecdca;
}

.prm-form-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.prm-review-form button[disabled] {
	cursor: wait;
	opacity: 0.72;
}

.prm-single {
	padding: 56px 0 84px;
}

.prm-single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: 46px;
}

.prm-single-card {
	padding: clamp(28px, 5vw, 56px);
	border-radius: 18px;
	background: #fbfcfe;
	box-shadow: 0 14px 34px rgba(31, 42, 68, 0.07);
}

.prm-single-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.prm-source-pill {
	padding: 7px 13px;
	border-radius: 999px;
	background: var(--prm-soft);
	color: var(--prm-muted);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.prm-single-card h1 {
	max-width: 780px;
	margin: 34px 0 28px;
	font-family: var(--prm-font-heading);
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.07;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.prm-review-prose {
	max-width: 68ch;
	color: #2e3440;
	font-size: 19px;
	line-height: 1.8;
}

.prm-single-footer {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 52px;
	padding-top: 28px;
	border-top: 1px solid var(--prm-line);
	color: #475467;
}

.prm-share {
	display: flex;
	align-items: center;
	gap: 12px;
}

.prm-share a {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: #eef2f7;
	color: #111821;
	font-weight: 900;
	text-decoration: none;
}

.prm-single-aside {
	display: grid;
	align-content: start;
	gap: 24px;
}

.prm-customer-card,
.prm-aside-card {
	padding: 28px;
	text-align: center;
}

.prm-customer-card h2 {
	margin: 18px 0 6px;
	font-family: var(--prm-font-heading);
	font-size: 29px;
}

.prm-customer-card p {
	margin: 0 0 22px;
	color: #667085;
}

.prm-customer-card span {
	display: inline-flex;
	padding: 9px 16px;
	border: 1px solid #f2d99a;
	border-radius: 999px;
	color: #c08412;
	background: #fff7df;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.prm-aside-label {
	display: block;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--prm-line);
	text-align: left;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.prm-source-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	text-align: left;
}

.prm-source-row .prm-platform-mark {
	width: 52px;
	height: 52px;
}

.prm-source-row small {
	display: block;
	color: #667085;
}

.prm-outline-button {
	width: 100%;
	color: #111821;
	border: 1px solid #111821;
	background: transparent;
}

.prm-newsletter input,
.prm-newsletter button {
	width: 100%;
	min-height: 48px;
	border-radius: 9px;
	font-weight: 800;
}

.prm-newsletter input {
	margin: 8px 0 12px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #f8fafc;
	background: rgba(255, 255, 255, 0.08);
}

.prm-newsletter input::placeholder {
	color: rgba(233, 238, 247, 0.55);
}

.prm-newsletter button {
	border: 1px solid var(--prm-gold-dark);
	color: #17130b;
	background: var(--prm-gold);
	cursor: pointer;
}

.prm-review-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 32px;
	padding-bottom: 52px;
	border-bottom: 1px solid var(--prm-line);
}

.prm-review-nav div:last-child {
	text-align: right;
}

.prm-review-nav span {
	display: block;
	color: #98a2b3;
	font-size: 12px;
	text-transform: uppercase;
}

.prm-review-nav a {
	color: var(--prm-ink);
	font-size: 22px;
	font-weight: 800;
	text-decoration: none;
}

.prm-highest {
	padding-top: 48px;
}

.prm-single-section-head p {
	margin: 10px 0 0;
	color: #475467;
}

.prm-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.prm-related-card {
	padding: 30px;
}

.prm-home-hero {
	padding: 72px 0;
	color: #f8fafc;
	background: var(--prm-dark);
}

.prm-home-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
	align-items: center;
	gap: 44px;
}

.prm-home-hero .prm-stat-band {
	margin-top: 0;
}

@media (hover: hover) and (pointer: fine) {
	.prm-button:hover,
	.prm-outline-button:hover,
	.prm-filter-pills button:hover {
		transform: translateY(-1px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.prm-button,
	.prm-outline-button {
		transition: none;
	}
}

@media (max-width: 960px) {
	.prm-stat-band,
	.prm-platform-grid,
	.prm-featured-grid,
	.prm-review-grid,
	.prm-related-grid,
	.prm-home-hero-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.prm-main-grid,
	.prm-single-grid,
	.prm-submit-review-panel {
		grid-template-columns: 1fr;
	}

	.prm-sidebar,
	.prm-single-aside {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.prm-shell {
		width: min(100% - 28px, 1120px);
	}

	.prm-hero {
		min-height: auto;
		padding-bottom: 86px;
	}

	.prm-stat-band,
	.prm-platform-grid,
	.prm-featured-grid,
	.prm-review-grid,
	.prm-related-grid,
	.prm-sidebar,
	.prm-single-aside,
		.prm-review-nav,
		.prm-form-grid,
		.prm-home-hero-inner {
		grid-template-columns: 1fr;
	}

	.prm-stat-band div {
		padding: 14px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.38);
	}

	.prm-stat-band div:last-child {
		border-bottom: 0;
	}

	.prm-toolbar-inner,
	.prm-section-head,
	.prm-list-head,
	.prm-single-section-head,
	.prm-single-top,
	.prm-single-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.prm-single-card h1 {
		font-size: 40px;
	}

	.prm-review-nav div:last-child {
		text-align: left;
	}
}

/* Keep the hero heading legible even when the active theme forces a global h1/h2 color.
   Uses the setting variable when present, falls back to white otherwise. prm-theme-conflict-guard */
.prm-page .prm-hero .prm-hero-inner h1,
.prm-page .prm-home-hero .prm-home-hero-inner h2 {
	color: var(--prm-hero-title, #ffffff) !important;
}

.prm-page .prm-hero .prm-kicker {
	color: var(--prm-hero-kicker, #e6ebf4) !important;
}

.prm-page .prm-hero .prm-hero-copy {
	color: var(--prm-hero-text, #d5dce8) !important;
}

/* Edge-to-edge layout. The native reviews archive adds prm-fullbleed automatically;
   the settings toggle can still use the same class for embedded reviews layouts. */
body.prm-fullbleed .prm-page {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
}

@supports (width: 100dvw) {
	body.prm-fullbleed .prm-page {
		width: 100dvw;
		max-width: 100dvw;
		margin-left: -50dvw;
		margin-right: -50dvw;
	}
}
