/* TGP Reviews: review card. Colors and fonts match the WPRM "arbpenposter" recipe card. */
.tgp-reviews-card {
	--tgpr-text: #333333;
	--tgpr-head: #000000;
	--tgpr-link: #8b572a;
	--tgpr-border: #aaaaaa;
	--tgpr-rule: #9b9b9b;
	--tgpr-cream: #f2f0df;
	--tgpr-brown: #8b572a;
	--tgpr-star: #417505;
	--tgpr-cta-link: #7a93b4;

	max-width: 1200px;
	margin: 20px auto;
	padding: 0 10px 10px;
	border: 1px solid var(--tgpr-border);
	border-radius: 1px;
	background: #ffffff;
	color: var(--tgpr-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1em;
	line-height: 1.5em;
	scroll-margin-top: 70px;
}
.tgp-reviews-card a { color: var(--tgpr-link); }
.tgp-reviews-card h2,
.tgp-reviews-card h3,
.tgp-reviews-card h4 {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: var(--tgpr-head);
	line-height: 1.3em;
}

/* Jump to Review bar (matches the WPRM "arbpen-snippet-2" box) */
.tgpr-jump {
	margin: 0 0 15px;
	padding: 10px;
	border: 1px solid #8b572a;
	border-radius: 5px;
	background: #f2f0df;
	color: #333333;
	font-size: .9em;
}
.tgpr-jump-name { display: block; font-weight: 700; }
.tgpr-jump-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.tgpr-jump-link,
.tgpr-jump-score {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px;
	border-radius: 5px;
	background: #ffffff;
	color: #333333 !important;
}
.tgpr-jump-score .tgpr-stars { color: #417505; }
@media (max-width: 640px) {
	.tgpr-jump { text-align: center; }
	.tgpr-jump-actions { justify-content: center; }
}

/* Top: name, overall, verdict (cream panel, like the recipe summary area) */
.tgpr-top {
	margin: 0 -10px 10px;
	padding: 14px 16px 12px;
	background: var(--tgpr-cream);
	border-bottom: 1px solid #c0c0c0;
}
.tgp-reviews-card .tgpr-name { margin: 0 0 4px; padding: 0; font-size: 1.5em; }
.tgpr-overall { display: flex; align-items: center; gap: 6px; margin: 2px 0 6px; }
.tgpr-verdict { margin: 0; font-weight: 700; }

/* Stars */
.tgpr-stars { display: inline-flex; gap: 1px; color: var(--tgpr-star); vertical-align: middle; }
.tgpr-star { display: block; }
.tgpr-score { font-weight: 700; font-size: .95em; }

/* Image + share */
.tgpr-image { margin: 0 -10px; }
.tgpr-image img { display: block; width: 100%; height: auto; }
.tgpr-share { display: flex; justify-content: center; gap: 6px; margin: 8px 0 4px; }
.tgpr-pin {
	display: inline-block;
	padding: 3px 12px;
	border: 1px solid #333;
	border-radius: 3px;
	font-size: .85em;
	text-decoration: none;
	color: #333 !important;
	background: #fff;
}
.tgpr-pin:hover { background: var(--tgpr-cream); }

/* Facts row, like the recipe times row */
.tgpr-facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 12px 0 6px;
	padding: 10px 0;
	border-top: 1px dotted var(--tgpr-rule);
	border-bottom: 1px dotted var(--tgpr-rule);
}
.tgpr-facts > div { flex: 1 1 150px; text-align: center; padding: 0 8px; }
.tgpr-facts dt { margin: 0; color: #777; font-size: .85em; }
.tgpr-facts dd { margin: 0; font-weight: 700; }
.tgpr-months { font-weight: 400; color: #555; }
.tgpr-meta { margin: 6px 0 0; color: #777; font-size: .85em; }

/* Section headers with the WPRM decoration line */
.tgpr-section { margin-top: 1.2em; }
.tgp-reviews-card .tgpr-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	padding: 0;
	font-size: 1.2em;
	font-weight: 700;
}
.tgpr-header-line { flex: 1; border-top: 1px solid var(--tgpr-rule); }
.tgp-reviews-card h4 { margin: 0 0 4px; font-size: 1em; }
.tgp-reviews-card ul { margin: 0 0 .5em; padding: 0; }
.tgp-reviews-card li { margin: 0 0 4px 24px; padding: 0; }

/* Ratings */
.tgpr-ratings ul { list-style: none; }
.tgpr-ratings li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 6px 0;
	border-bottom: 1px dotted #ddd;
}
.tgpr-rating-value { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* Pros & cons */
.tgpr-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tgpr-pros ul, .tgpr-for { list-style: none; }
.tgpr-pros li::before, .tgpr-for li::before { content: "\2713"; color: var(--tgpr-star); font-weight: 700; margin: 0 8px 0 -20px; }
.tgpr-cons ul:not(.tgpr-keep), .tgpr-not-for { list-style: none; }
.tgpr-cons ul:not(.tgpr-keep) li::before, .tgpr-not-for li::before { content: "\2717"; color: #b0413e; font-weight: 700; margin: 0 8px 0 -20px; }
.tgpr-no-cons { margin: 0 0 8px; font-style: italic; }

/* At a glance */
.tgpr-glance table { width: 100%; border-collapse: collapse; margin: 0; }
.tgpr-glance th,
.tgpr-glance td { padding: 6px 8px; border-bottom: 1px solid #e3e0cc; text-align: left; vertical-align: top; }
.tgpr-glance th { width: 38%; font-weight: 700; background: #faf9f1; }

/* Who is this for */
.tgpr-who h4 { margin-top: 8px; }

/* Button (wraps the Easy Affiliate Links link) */
.tgpr-button { margin: 1.4em 0 1em; text-align: center; }
.tgpr-button a {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 5px;
	background: var(--tgpr-brown);
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: none;
}
.tgpr-button a:hover { background: #503838; }

/* Got questions (same as the recipe call to action) */
.tgpr-cta {
	display: block;
	margin: 0 -10px;
	padding: 20px;
	background: var(--tgpr-cream);
	color: #4a4a4a;
	text-align: center;
}
.tgpr-cta-header { display: block; font-weight: 700; }
.tgpr-cta a { color: var(--tgpr-cta-link); }

/* Experience footer */
.tgpr-eat { margin-top: 2em; font-size: .95em; line-height: 1.6; }
.tgp-reviews-card .tgpr-eat-title { margin: 0 0 .5em; font-size: 1.25em; }

/* QR code */
.tgpr-qr { display: block; margin: 2em auto 0; }

@media (max-width: 640px) {
	.tgpr-columns { grid-template-columns: 1fr; }
}

@media print {
	.tgpr-share, .tgpr-button { display: none; }
}
