/**
 * GP Coupons — review & blog editorial templates.
 */

.gp-editorial-temp .post-content {
	background: var(--surface, #fafafa);
	width: 100%;
}

.gp-editorial-temp .gp-editorial-article {
	margin-top: 0;
	width: 100%;
	max-width: none;
}

.gp-editorial-featured {
	margin: 0 0 clamp(20px, 3vw, 28px);
	border-radius: 12px;
	overflow: hidden;
	background: var(--surface, #fafafa);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.gp-editorial-featured__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(480px, 52vh);
	object-fit: cover;
}

.gp-editorial-featured__caption {
	margin: 0;
	padding: 10px 14px;
	font-size: var(--gpc-text-sm);
	line-height: var(--gpc-leading-normal);
	color: var(--muted, #6b7280);
	text-align: center;
}

.gp-editorial-temp .gp-editorial-comments {
	margin-top: clamp(32px, 4vw, 48px);
	padding-top: 0;
	border-top: 0;
}

/* Mobile-only score card — shown below article when sidebar is hidden. */
.gp-editorial-score-mobile {
	display: none;
}

.gpc-review-rail .title {
	margin: 0 0 14px;
	font-size: var(--gpc-text-lg);
	line-height: var(--gpc-leading-snug);
	font-weight: 600;
	color: var(--headline, #252525);
}

.gpc-review-rail__score {
	margin: 0 0 12px;
	font-size: clamp(1.75rem, 4vw, 2.125rem);
	line-height: var(--gpc-leading-tight);
	color: #111827;
}

.gpc-review-rail__out-of {
	font-size: var(--gpc-text-lg);
	font-weight: 500;
	color: var(--muted, #6b7280);
}

.gpc-review-rail__item {
	margin: 0 0 10px;
	font-size: var(--gpc-text-sm);
	line-height: var(--gpc-leading-normal);
	color: #374151;
}

.gpc-review-rail__label {
	display: block;
	font-size: var(--gpc-text-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--muted, #6b7280);
	margin-bottom: 2px;
}

.gpc-review-rail__verdict {
	margin: 0 0 12px;
	font-size: var(--gpc-text-sm);
	line-height: var(--gpc-leading-relaxed);
	color: #4b5563;
}

.gpc-review-rail__methodology {
	margin: 0;
	font-size: var(--gpc-text-sm);
}

.gpc-review-rail__methodology a {
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
}

.gpc-review-rail__methodology a:hover {
	text-decoration: underline;
}

.gp-editorial-temp .entry-content .wp-block-columns.gpc-pros-cons,
.gp-editorial-temp .gpc-block-content .wp-block-columns.gpc-pros-cons {
	width: 100%;
	max-width: none;
}

.gp-editorial-temp .gpc-pros-cons > .wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

.gp-editorial-sidebar .gpc-sidebar-sticky {
	display: block;
}

@media (max-width: 1024px) {
	.gp-editorial-temp .gp-editorial-sidebar {
		display: none;
	}

	.gp-editorial-temp .content-block .gpc-toc--mobile {
		display: block;
		margin-bottom: 14px;
	}

	.gp-editorial-score-mobile {
		display: block;
		margin-top: clamp(28px, 4vw, 40px);
	}
}

.gp-editorial-temp .gp-skip-link:focus,
.gp-editorial-temp .gp-skip-link:focus-visible {
	position: static;
	width: auto;
	height: auto;
	margin: 0 0 12px;
	padding: 10px 14px;
	clip: auto;
	overflow: visible;
	background: #111827;
	color: #fff;
	border-radius: 8px;
	z-index: 2;
}

#gp-editorial-main:focus {
	outline: 2px solid #2563eb;
	outline-offset: 4px;
}
