/* GIEC PR Pages — front-end styles. Scoped under .giec-pr-page / .giec-pr-theme so
   they only ever affect this plugin's own markup, never the active theme's other content. */

.giec-pr-page { max-width: 100%; box-sizing: border-box; }
.giec-pr-page * { box-sizing: border-box; }

.giec-pr-breadcrumb { font-size: 0.85em; margin: 0 0 1em; opacity: 0.8; }
.giec-pr-breadcrumb a { text-decoration: none; }
.giec-pr-breadcrumb a:hover { text-decoration: underline; }

.giec-pr-hero { margin-bottom: 1em; }
.giec-pr-title { margin: 0 0 0.3em; line-height: 1.2; }

.giec-pr-rating-badge { display: inline-flex; align-items: center; gap: 0.35em; font-size: 1.1em; }
.giec-pr-rating-badge .star { color: #e2a33a; line-height: 1; }
.giec-pr-rating-badge .star-empty { color: #ccc; }
.giec-pr-rating-text { font-size: 0.75em; opacity: 0.75; margin-left: 0.25em; }

.giec-pr-facts { margin: 1.5em 0; padding: 1em 1.25em; border: 1px solid #e2e2e2; border-radius: 8px; background: #fafafa; }
.giec-pr-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75em 1.5em; }
.giec-pr-fact { display: flex; flex-direction: column; }
.giec-pr-fact-label { font-size: 0.78em; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.6; }
.giec-pr-fact-value { font-size: 1.02em; font-weight: 600; }
.giec-pr-fact-links { margin: 0.75em 0 0; font-size: 0.85em; }
.giec-pr-fact-links a { margin-right: 1em; }

.giec-pr-article { margin: 1.5em 0; line-height: 1.7; }

.giec-pr-faq { margin: 2em 0; }
.giec-pr-faq-item { border-bottom: 1px solid #e2e2e2; padding: 0.75em 0; }
.giec-pr-faq-item summary { cursor: pointer; font-weight: 600; }
.giec-pr-faq-item div { margin-top: 0.5em; opacity: 0.9; }

.giec-pr-reviews { margin: 2.5em 0; padding-top: 1.5em; border-top: 1px solid #e2e2e2; }
.giec-pr-reviews-empty { opacity: 0.7; }
.giec-pr-review-list { list-style: none; margin: 1em 0; padding: 0; }
.giec-pr-review { border-bottom: 1px solid #ededed; padding: 0.9em 0; }
.giec-pr-review-stars { color: #e2a33a; letter-spacing: 0.1em; }
.giec-pr-review-author { font-size: 0.8em; opacity: 0.65; margin: 0.25em 0 0; }

.giec-pr-review-form { max-width: 480px; margin-top: 1.5em; padding: 1.25em; border: 1px solid #e2e2e2; border-radius: 8px; }
.giec-pr-review-form h3 { margin-top: 0; }
.giec-pr-review-form label { display: block; font-weight: 600; margin-bottom: 0.3em; font-size: 0.9em; }
.giec-pr-review-form input[type="text"],
.giec-pr-review-form textarea { width: 100%; padding: 0.5em; border: 1px solid #ccc; border-radius: 4px; }

.giec-pr-star-input { display: flex; flex-direction: row-reverse; gap: 0.15em; font-size: 1.6em; margin-bottom: 0.75em; }
.giec-pr-star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.giec-pr-star-input label { display: inline-block; cursor: pointer; color: #ccc; margin: 0; }
.giec-pr-star-input label span { pointer-events: none; }
.giec-pr-star-input label:hover,
.giec-pr-star-input label:hover ~ label,
.giec-pr-star-input input:checked ~ label,
.giec-pr-star-input label.giec-pr-star-active { color: #e2a33a; }

.giec-pr-review-submit { padding: 0.6em 1.4em; border: none; border-radius: 4px; background: #1d4ed8; color: #fff; cursor: pointer; font-weight: 600; }
.giec-pr-review-submit:hover { background: #1740b3; }
.giec-pr-review-msg { font-size: 0.9em; min-height: 1.2em; }

@media (max-width: 480px) {
	.giec-pr-facts-grid { grid-template-columns: 1fr; }
}
