/* Game & Hardware Reviews — front-end styles */

.ghw-editorial-box {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 20px;
	margin: 0 0 24px;
	background: #fafafa;
}

/* Byline with avatar */
.ghw-byline {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.ghw-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.ghw-byline-text {
	font-size: 13px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.ghw-byline-text strong { color: #111; display: block; font-size: 14px; margin: 2px 0; }

.ghw-byline-title {
	color: #888;
	margin-left: 4px;
}
.ghw-byline-title::before { content: "· "; }

.ghw-review-date {
	font-size: 12px;
	color: #999;
	margin-top: 4px;
}

/* Key Specs box */
.ghw-specs-box {
	background: #f8f8f8;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 14px;
}

.ghw-specs-box h4 {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #333;
}

.ghw-specs-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.5;
}

.ghw-specs-box li {
	margin-bottom: 4px;
	color: #444;
}
.ghw-specs-box li:last-child { margin-bottom: 0; }

/* Premium hero section */
.ghw-hero {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 24px;
	align-items: center;
	background: linear-gradient(135deg, #1e2330, #232b38);
	border-radius: 12px;
	padding: 32px 40px;
	margin-bottom: 28px;
	overflow: hidden;
}

.ghw-hero-left {
	display: flex;
	flex-direction: column;
	gap: 16px;
	z-index: 2;
}

.ghw-hero-right {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

/* Hexagonal score badge */
.ghw-score-hex {
	width: 120px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
	box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.ghw-score-hex-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	color: #fff;
	text-align: center;
	width: 100%;
	height: 100%;
}

.ghw-hex-number {
	font-size: 48px;
	line-height: 1;
	display: block;
}

.ghw-hex-word {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 4px;
	display: block;
}

/* Hexagon colors (gradients) */
.ghw-score-hex.ghw-tier-amazing  { background: linear-gradient(135deg, #4be89a, #0fae66); }
.ghw-score-hex.ghw-tier-great    { background: linear-gradient(135deg, #7ed67f, #3d9e40); }
.ghw-score-hex.ghw-tier-good     { background: linear-gradient(135deg, #8adde4, #2f9aa6); }
.ghw-score-hex.ghw-tier-okay     { background: linear-gradient(135deg, #f7d76c, #e0a300); }
.ghw-score-hex.ghw-tier-mediocre { background: linear-gradient(135deg, #f7b46e, #d9730d); }
.ghw-score-hex.ghw-tier-bad      { background: linear-gradient(135deg, #f17b7b, #c0392b); }
.ghw-score-hex.ghw-tier-awful    { background: linear-gradient(135deg, #c0392b, #7b1f13); }

/* Hero excerpt and byline */
.ghw-hero-excerpt {
	font-size: 16px;
	line-height: 1.6;
	color: #ddd;
	max-height: 120px;
	overflow: hidden;
}

.ghw-hero-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.ghw-avatar-hero {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.ghw-hero-byline strong {
	display: block;
	color: #fff;
	font-size: 14px;
}

.ghw-byline-title-hero {
	font-size: 12px;
	color: #aaa;
	text-transform: uppercase;
	letter-spacing: .5px;
}

/* YouTube video and image hero */
.ghw-video-hero,
.ghw-image-hero {
	width: 100%;
	height: 100%;
	min-height: 300px;
}

.ghw-video-hero iframe {
	border-radius: 8px;
}

.ghw-image-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

@media (max-width: 1024px) {
	.ghw-hero {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 24px 28px;
	}
	.ghw-hero-right { min-height: 280px; }
}

@media (max-width: 480px) {
	.ghw-hero {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px 18px;
	}
	.ghw-score-hex {
		width: 100px;
		height: 100px;
	}
	.ghw-hex-number { font-size: 40px; }
	.ghw-hero-excerpt { font-size: 14px; }
	.ghw-hero-right { min-height: 200px; }
}

.ghw-score-badge-sm {
	position: absolute;
	top: 10px;
	right: 10px;
	min-width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 800;
	color: #17181a;
	padding: 0 6px;
}

.ghw-score-badge-sm.ghw-tier-amazing  { background: linear-gradient(135deg, #4be89a, #0fae66); }
.ghw-score-badge-sm.ghw-tier-great    { background: linear-gradient(135deg, #7ed67f, #3d9e40); }
.ghw-score-badge-sm.ghw-tier-good     { background: linear-gradient(135deg, #8adde4, #2f9aa6); }
.ghw-score-badge-sm.ghw-tier-okay     { background: linear-gradient(135deg, #f7d76c, #e0a300); }
.ghw-score-badge-sm.ghw-tier-mediocre { background: linear-gradient(135deg, #f7b46e, #d9730d); }
.ghw-score-badge-sm.ghw-tier-bad      { background: linear-gradient(135deg, #f17b7b, #c0392b); color: #fff; }
.ghw-score-badge-sm.ghw-tier-awful    { background: linear-gradient(135deg, #c0392b, #7b1f13); color: #fff; }

@media (max-width: 480px) {
	.ghw-score-panel { flex-direction: column; align-items: flex-start; }
	.ghw-score-number-big { align-self: stretch; }
}

.ghw-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 14px;
}

.ghw-pros, .ghw-cons {
	border-radius: 10px;
	padding: 12px 14px;
}

.ghw-pros {
	background: linear-gradient(160deg, rgba(61, 220, 132, .10), rgba(61, 220, 132, .02));
	border: 1px solid rgba(61, 220, 132, .25);
}

.ghw-cons {
	background: linear-gradient(160deg, rgba(235, 87, 87, .10), rgba(235, 87, 87, .02));
	border: 1px solid rgba(235, 87, 87, .25);
}

.ghw-pros-cons h4 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #333;
}

.ghw-pros h4::before, .ghw-cons h4::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-right: 2px;
}
.ghw-pros h4::before { background: linear-gradient(135deg, #3ddc84, #0fae66); }
.ghw-cons h4::before { background: linear-gradient(135deg, #eb5757, #c0392b); }

.ghw-pros-cons ul { margin: 0; padding: 0; list-style: none; }

.ghw-pros-cons li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.4;
}
.ghw-pros-cons li:last-child { margin-bottom: 0; }

.ghw-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 800;
	color: #fff;
}

.ghw-icon-pro { background: linear-gradient(135deg, #3ddc84, #0fae66); }
.ghw-icon-con { background: linear-gradient(135deg, #eb5757, #c0392b); }

.ghw-verdict, .ghw-price { font-size: 14px; margin-top: 8px; }

/* Details row (price, playtime) */
.ghw-details-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e5e5e5;
	font-size: 13px;
}

.ghw-detail-item { color: #555; }
.ghw-detail-item strong { color: #333; font-weight: 600; }

@media (max-width: 480px) {
	.ghw-details-row { grid-template-columns: 1fr; }
}

/* Final Thoughts box */
.ghw-final-thoughts {
	background: linear-gradient(160deg, rgba(95, 158, 160, .08), rgba(95, 158, 160, .02));
	border-left: 3px solid #5f9ea0;
	padding: 14px 16px;
	margin: 16px 0;
	border-radius: 4px;
}

.ghw-final-thoughts h4 {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #333;
}

.ghw-final-thoughts p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}

/* Where to Buy */
.ghw-where-to-buy {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
}

.ghw-where-to-buy h4 {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #333;
}

.ghw-buy-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ghw-buy-link {
	display: inline-block;
	padding: 8px 14px;
	background: linear-gradient(135deg, #4be89a, #0fae66);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	transition: transform .15s ease, box-shadow .15s ease;
}

.ghw-buy-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(15, 174, 102, .3);
}

/* Related Reviews */
.ghw-related-reviews {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 2px solid #e5e5e5;
}

.ghw-related-reviews h3 {
	margin: 0 0 16px;
	font-size: 16px;
}

.ghw-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 782px) {
	.ghw-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.ghw-related-grid { grid-template-columns: 1fr; }
}

.ghw-related-card {
	position: relative;
	display: block;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}

.ghw-related-card:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,.08);
	transform: translateY(-1px);
}

.ghw-related-thumb img { width: 100%; height: 140px; object-fit: cover; display: block; }

.ghw-related-title {
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #333;
}

/* Reader rating widget */
.ghw-reader-rating {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 0 0 28px;
	text-align: center;
}

.ghw-reader-rating-label { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #777; margin-bottom: 6px; }

.ghw-stars { font-size: 28px; cursor: pointer; user-select: none; }
.ghw-star { color: #d0d0d0; transition: color .15s ease; }
.ghw-star.is-active,
.ghw-star.is-hover { color: #f2b200; }

.ghw-reader-rating[data-voted="1"] .ghw-stars { cursor: default; pointer-events: none; opacity: .8; }

.ghw-reader-rating-meta { font-size: 13px; color: #555; margin-top: 6px; }
.ghw-rating-message { font-size: 12px; margin-top: 6px; color: #2e9e4f; }
.ghw-rating-message.is-error { color: #d64545; }

/* Review grid / shortcode */
.ghw-review-grid {
	display: grid;
	grid-template-columns: repeat(var(--ghw-cols, 3), 1fr);
	gap: 20px;
	margin: 20px 0;
}

@media (max-width: 782px) {
	.ghw-review-grid { grid-template-columns: repeat(2, 1fr); }
	.ghw-pros-cons { grid-template-columns: 1fr; }
	.ghw-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.ghw-review-grid { grid-template-columns: 1fr; }
	.ghw-related-grid { grid-template-columns: 1fr; }
	.ghw-score-panel { flex-direction: column; align-items: flex-start; }
	.ghw-score-number-big { align-self: stretch; }
}

.ghw-review-card {
	position: relative;
	display: block;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}

.ghw-review-card:hover {
	box-shadow: 0 6px 18px rgba(0,0,0,.08);
	transform: translateY(-2px);
}

.ghw-review-card-thumb img { width: 100%; height: 160px; object-fit: cover; display: block; }
.ghw-review-card-title { font-weight: 700; padding: 10px 12px 0; }
.ghw-review-card-excerpt { font-size: 13px; color: #666; padding: 6px 12px 14px; }
