/* ─── Report Singular Page ────────────────────────────────────────────────── */

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.rpt-hero {
	position: relative;
	background: #0d0d0d;
	padding: 5rem 2rem 4rem;
	overflow: hidden;
	border-bottom: 1px solid #18181b;
}

.rpt-hero--has-img {
	padding: 8rem 2rem 4.5rem;
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* Full-bleed background image */
.rpt-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.rpt-hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	filter: brightness(0.45) saturate(0.8);
}

.rpt-hero__bg-scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom,
			rgba(0,0,0,0.15) 0%,
			rgba(0,0,0,0.3)  40%,
			rgba(10,10,10,0.92) 80%,
			#0a0a0a          100%),
		linear-gradient(to right, rgba(0,0,0,0.35), rgba(0,0,0,0));
}

.rpt-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
}

/* Breadcrumb */
.rpt-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: #52525b;
	margin-bottom: 1.75rem;
	letter-spacing: 0.02em;
}

.rpt-hero__breadcrumb a {
	color: #52525b;
	text-decoration: none;
	transition: color 0.15s;
}

.rpt-hero__breadcrumb a:hover { color: #a1a1aa; }

/* Chips row */
.rpt-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.125rem;
}

.rpt-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	line-height: 1;
	white-space: nowrap;
}

.rpt-chip--sev.sev-bad      { background: rgba(161,113,0,0.22); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.rpt-chip--sev.sev-very-bad { background: rgba(154,52,0,0.22);  color: #fb923c; border: 1px solid rgba(251,146,60,0.25); }
.rpt-chip--sev.sev-terrible { background: rgba(153,27,27,0.22); color: #f87171; border: 1px solid rgba(248,113,113,0.25); }

.rpt-chip--cat {
	background: rgba(255,255,255,0.07);
	color: #71717a;
	border: 1px solid rgba(255,255,255,0.1);
}

/* Eyebrow: place name label above the title */
.rpt-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ef4444;
	margin: 0 0 0.875rem;
	opacity: 0.9;
}
.rpt-hero__eyebrow svg {
	flex-shrink: 0;
	opacity: 0.75;
}

/* Hero title: report title only */
.rpt-hero__title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	color: #fafafa;
	margin: 0 0 1rem;
	max-width: 860px;
}

/* Meta row — address · author · date */
.rpt-hero__meta {
	margin: 0;
}
.rpt-hero__meta-byline {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.3rem 0.5rem;
	font-size: 0.8rem;
	color: #52525b;
	letter-spacing: 0.01em;
}
.rpt-hero__meta-addr,
.rpt-hero__meta-author {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}
.rpt-hero__meta-sep {
	color: #27272a;
}

/* ── Hero action bar (share + owner controls) ──────────────────────────────── */

.rpt-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

/* ── Share trigger button ──────────────────────────────────────────────────── */

.rpt-share-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	background: rgba(255,255,255,0.05);
	border: 1px solid #27272a;
	color: #71717a;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.rpt-share-trigger svg { width: 14px; height: 14px; flex-shrink: 0; }

.rpt-share-trigger:hover {
	border-color: #52525b;
	color: #d4d4d8;
	background: rgba(255,255,255,0.09);
}

/* ── Owner action buttons (Edit / Delete) ──────────────────────────────────── */

.rpt-hero__owner-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	border: 1px solid #27272a;
	background: rgba(255,255,255,0.05);
	color: #71717a;
	text-decoration: none;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.rpt-hero__owner-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.rpt-hero__owner-btn--edit:hover {
	border-color: #52525b;
	color: #d4d4d8;
	background: rgba(255,255,255,0.09);
}

.rpt-hero__owner-btn--delete {
	border-color: transparent;
}

.rpt-hero__owner-btn--delete:hover {
	border-color: #7f1d1d;
	color: #ef4444;
	background: rgba(239,68,68,0.08);
}

/* ── Share popup ───────────────────────────────────────────────────────────── */

.rpt-share-popup {
	position: fixed;
	inset: 0;
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	pointer-events: none;
}

.rpt-share-popup.is-open {
	visibility: visible;
	pointer-events: auto;
}

.rpt-share-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.rpt-share-popup.is-open .rpt-share-popup__backdrop { opacity: 1; }

.rpt-share-popup__card {
	position: relative;
	z-index: 1;
	width: min(380px, calc(100vw - 2rem));
	background: #111113;
	border: 1px solid #27272a;
	border-radius: 16px;
	padding: 1.25rem;
	transform: translateY(12px) scale(0.97);
	opacity: 0;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.rpt-share-popup.is-open .rpt-share-popup__card {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.rpt-share-popup__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.rpt-share-popup__title {
	font-size: 0.875rem;
	font-weight: 600;
	color: #a1a1aa;
	letter-spacing: 0.02em;
}

.rpt-share-popup__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: transparent;
	border: none;
	cursor: pointer;
	color: #52525b;
	transition: color 0.15s, background 0.15s;
}

.rpt-share-popup__close svg { width: 16px; height: 16px; }
.rpt-share-popup__close:hover { color: #e4e4e7; background: rgba(255,255,255,0.06); }

/* copy row */
.rpt-share-popup__copy-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255,255,255,0.04);
	border: 1px solid #27272a;
	border-radius: 10px;
	padding: 0.5rem 0.5rem 0.5rem 0.75rem;
	margin-bottom: 1.25rem;
}

.rpt-share-popup__copy-url {
	flex: 1;
	font-size: 0.75rem;
	color: #52525b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rpt-share-popup__copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	flex-shrink: 0;
	padding: 0.35rem 0.7rem;
	border-radius: 7px;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	background: rgba(255,255,255,0.07);
	border: 1px solid #3f3f46;
	color: #a1a1aa;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.rpt-share-popup__copy-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.rpt-share-popup__copy-btn .icon-check { display: none; }

.rpt-share-popup__copy-btn:hover {
	border-color: #71717a;
	color: #e4e4e7;
}

.rpt-share-popup__copy-btn.is-copied {
	border-color: rgba(34,197,94,0.5);
	color: #4ade80;
	background: rgba(34,197,94,0.07);
}

.rpt-share-popup__copy-btn.is-copied .icon-link  { display: none; }
.rpt-share-popup__copy-btn.is-copied .icon-check { display: block; }

/* platform grid — 4 cols, 2 rows (7 items wraps naturally) */
.rpt-share-popup__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.25rem;
}

.rpt-share-popup__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 0.25rem;
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.15s;
}

.rpt-share-popup__item:hover { background: rgba(255,255,255,0.05); }

.rpt-share-popup__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255,255,255,0.05);
	border: 1px solid #27272a;
	color: #71717a;
	transition: border-color 0.15s, color 0.15s;
}

.rpt-share-popup__icon svg { width: 17px; height: 17px; }

.rpt-share-popup__label {
	font-size: 0.65rem;
	font-weight: 500;
	color: #52525b;
}

/* per-platform icon accent on hover */
.rpt-share-popup__item--x:hover        .rpt-share-popup__icon { border-color: #e7e9ea; color: #e7e9ea; }
.rpt-share-popup__item--facebook:hover .rpt-share-popup__icon { border-color: #1877f2; color: #1877f2; }
.rpt-share-popup__item--reddit:hover   .rpt-share-popup__icon { border-color: #ff4500; color: #ff4500; }
.rpt-share-popup__item--whatsapp:hover .rpt-share-popup__icon { border-color: #25d366; color: #25d366; }
.rpt-share-popup__item--telegram:hover .rpt-share-popup__icon { border-color: #2aabee; color: #2aabee; }
.rpt-share-popup__item--linkedin:hover .rpt-share-popup__icon { border-color: #0a66c2; color: #0a66c2; }
.rpt-share-popup__item--email:hover    .rpt-share-popup__icon { border-color: #a78bfa; color: #a78bfa; }

/* ── Body: two-column layout ──────────────────────────────────────────────── */

.rpt-body {
	background: #0a0a0a;
	padding: 3.5rem 2rem 7rem;
}

.rpt-body__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 4rem;
	align-items: start;
}

/* ── Report prose ─────────────────────────────────────────────────────────── */

.rpt-content { min-width: 0; }

.rpt-prose {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #a1a1aa;
}

.rpt-prose p  { margin: 0 0 1.375em; }
.rpt-prose p:last-child { margin-bottom: 0; }

.rpt-prose h2 {
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: #fafafa;
	margin: 2.25em 0 0.75em;
	line-height: 1.2;
}

.rpt-prose h3 {
	font-size: 1.125rem;
	font-weight: 600;
	color: #e4e4e7;
	margin: 2em 0 0.6em;
}

.rpt-prose a {
	color: #ef4444;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.rpt-prose a:hover { color: #f87171; }

.rpt-prose blockquote {
	border-left: 3px solid #ef4444;
	margin: 1.75em 0;
	padding: 0.5em 0 0.5em 1.5em;
	color: #71717a;
	font-style: italic;
}

.rpt-prose ul,
.rpt-prose ol {
	padding-left: 1.5em;
	margin: 0 0 1.375em;
}

.rpt-prose li { margin-bottom: 0.4em; }

.rpt-prose img {
	width: 100%;
	border-radius: 12px;
	margin: 1.5em 0;
	display: block;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */

.rpt-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: sticky;
	top: 2rem;
}

/* ── Cards ────────────────────────────────────────────────────────────────── */

.rpt-card {
	background: #0f0f0f;
	border: 1px solid #1e1e1e;
	border-radius: 14px;
	padding: 1.25rem 1.375rem;
}

.rpt-card__heading {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #3f3f46;
	margin: 0 0 0.875rem;
}

.rpt-card__place-name {
	font-size: 1rem;
	font-weight: 700;
	color: #fafafa;
	margin: 0 0 0.25rem;
	letter-spacing: -0.02em;
}

.rpt-card__address {
	font-size: 0.8125rem;
	color: #a1a1aa;
	margin: 0 0 1rem;
	line-height: 1.6;
}

.rpt-card__map-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #ef4444;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: color 0.15s, gap 0.15s;
}
.rpt-card__map-link:hover {
	color: #f87171;
	gap: 0.5rem;
}

/* Severity card variants */
.rpt-card--sev-bad      { border-color: rgba(251,191,36,0.15); }
.rpt-card--sev-very-bad { border-color: rgba(251,146,60,0.15); }
.rpt-card--sev-terrible { border-color: rgba(248,113,113,0.15); }

.rpt-card__sev-label {
	font-size: 1.0625rem;
	font-weight: 700;
	color: #fafafa;
	margin: 0 0 0.75rem;
}

.rpt-card__sev-dots {
	display: flex;
	gap: 0.375rem;
}

.rpt-card__sev-dot {
	width: 28px;
	height: 6px;
	border-radius: 999px;
	background: #27272a;
	transition: background 0.2s;
}

.rpt-card--sev-bad      .rpt-card__sev-dot.is-active { background: #fbbf24; }
.rpt-card--sev-very-bad .rpt-card__sev-dot.is-active { background: #fb923c; }
.rpt-card--sev-terrible .rpt-card__sev-dot.is-active { background: #f87171; }

/* Meta list */
.rpt-meta-list {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.375rem 0.875rem;
	font-size: 0.8125rem;
	margin: 0;
}

.rpt-meta-list dt {
	color: #3f3f46;
	font-weight: 500;
	white-space: nowrap;
}

.rpt-meta-list dd {
	color: #a1a1aa;
	margin: 0;
}

/* CTA */
.rpt-cta {
	background: linear-gradient(145deg, #130505, #0f0f0f);
	border: 1px solid rgba(239,68,68,0.15);
	border-radius: 14px;
	padding: 1.375rem;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	align-items: flex-start;
}

.rpt-cta p {
	font-size: 0.875rem;
	color: #71717a;
	margin: 0;
	line-height: 1.5;
}

.rpt-cta__btn {
	display: inline-block;
	padding: 0.6rem 1.25rem;
	background: #ef4444;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.15s;
	white-space: nowrap;
}
.rpt-cta__btn:hover { background: #dc2626; }

/* ── Comments — inline below the report prose ─────────────────────────────── */

.rpt-comments {
	margin-top: 3rem;
	padding-top: 2.5rem;
	border-top: 1px solid #1e1e1e;
}

.rpt-comments__heading {
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: #fafafa;
	margin: 0 0 2.25rem;
}

/* ── Comment list ─────────────────────────────────────────────────────────── */

.rpt-comment-list {
	list-style: none;
	margin: 0 0 3rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.rpt-comment {
	border-top: 1px solid #18181b;
	padding: 1.625rem 0;
}

.rpt-comment:last-child {
	border-bottom: 1px solid #18181b;
}

.rpt-comment__inner {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

/* Avatar */
.rpt-comment__avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
	background: #1c1c1e;
	border: 1px solid #27272a;
}

/* Body */
.rpt-comment__body {
	flex: 1;
	min-width: 0;
}

.rpt-comment__meta {
	display: flex;
	align-items: baseline;
	gap: 0.625rem;
	margin-bottom: 0.5rem;
}

.rpt-comment__author {
	font-size: 0.875rem;
	font-weight: 600;
	color: #e4e4e7;
}

.rpt-comment__date {
	font-size: 0.75rem;
	color: #3f3f46;
	letter-spacing: 0.02em;
}

.rpt-comment__text {
	font-size: 0.9375rem;
	color: #71717a;
	line-height: 1.7;
}

.rpt-comment__text p { margin: 0 0 0.75em; }
.rpt-comment__text p:last-child { margin-bottom: 0; }

.rpt-comment__pending {
	font-size: 0.8125rem;
	color: #52525b;
	font-style: italic;
	margin: 0;
}

/* ── Reply link ───────────────────────────────────────────────────────────── */

.rpt-comment__reply {
	margin-left: auto;
}

.rpt-comment__reply a,
.comment-reply-link {
	font-size: 0.75rem;
	font-weight: 600;
	color: #52525b;
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: color 0.15s;
}

.rpt-comment__reply a:hover,
.comment-reply-link:hover { color: #ef4444; }

/* Cancel reply link — sits in the comment form title area */
#cancel-comment-reply-link {
	font-size: 0.75rem;
	font-weight: 500;
	color: #3f3f46;
	text-decoration: none;
	margin-left: 0.75rem;
	letter-spacing: 0.01em;
	transition: color 0.15s;
}

#cancel-comment-reply-link:hover { color: #ef4444; }

/* ── Nested comment lists ─────────────────────────────────────────────────── */

.rpt-comment-list--nested {
	list-style: none;
	margin: 0;
	padding: 0 0 0 3rem;
	border-left: 2px solid #1a1a1a;
}

/* depth-2 replies: slightly tighter indent on mobile */
.rpt-comment--d2 > .rpt-comment__inner { opacity: 0.95; }
.rpt-comment--d3 > .rpt-comment__inner { opacity: 0.88; }

/* Nested comments inherit borders from the parent list */
.rpt-comment-list--nested .rpt-comment {
	border-top: 1px solid #141414;
	border-bottom: none;
}

.rpt-comment-list--nested .rpt-comment:first-child { border-top: none; }

/* ── Load more button ─────────────────────────────────────────────────────── */

.rpt-load-more {
	display: flex;
	justify-content: center;
	margin: 0 0 2.5rem;
}

.rpt-load-more__btn {
	background: transparent;
	border: 1px solid #27272a;
	border-radius: 9px;
	color: #52525b;
	font-size: 0.875rem;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: 0.01em;
	padding: 0.625rem 1.5rem;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}

.rpt-load-more__btn:hover {
	border-color: #ef4444;
	color: #ef4444;
}

.rpt-load-more__btn:disabled {
	opacity: 0.4;
	cursor: default;
}

/* ── Comment form ─────────────────────────────────────────────────────────── */

.rpt-comment-form__title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fafafa;
	margin: 0 0 1.375rem;
}

.rpt-comment-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.rpt-comment-form__label {
	font-size: 0.8rem;
	font-weight: 500;
	color: #52525b;
	letter-spacing: 0.01em;
}

.rpt-comment-form__textarea {
	width: 100%;
	background: #0f0f0f;
	border: 1px solid #27272a;
	border-radius: 12px;
	color: #e4e4e7;
	font-size: 0.9375rem;
	font-family: inherit;
	line-height: 1.65;
	padding: 0.875rem 1rem;
	resize: vertical;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	min-height: 120px;
}

.rpt-comment-form__textarea:focus {
	border-color: rgba(239, 68, 68, 0.5);
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.07);
}

.rpt-comment-form__textarea::placeholder { color: #3f3f46; }

.rpt-comment-form__submit {
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1.5rem;
	background: #ef4444;
	color: #fff;
	border: none;
	border-radius: 9px;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s;
}

.rpt-comment-form__submit:hover { background: #dc2626; }

/* WordPress wraps the submit in a .form-submit div */
.rpt-comment-form .form-submit { margin: 0; }

/* ── Login gate ───────────────────────────────────────────────────────────── */

.rpt-comment-gate {
	border: 1px solid #1e1e1e;
	border-radius: 14px;
	padding: 2rem;
	text-align: center;
	background: #0f0f0f;
}

.rpt-comment-gate__text {
	font-size: 0.9375rem;
	color: #52525b;
	margin: 0;
}

.rpt-comment-gate__text a {
	color: #ef4444;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.15s;
}

.rpt-comment-gate__text a:hover { color: #f87171; }

/* ── Photo row (below description) ────────────────────────────────────────── */

.rpt-photo-row {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	margin-top: 1.75rem;
	padding-bottom: 2px;
}

.rpt-photo-row::-webkit-scrollbar { display: none; }

.rpt-photo-row__item {
	flex: 0 0 auto;
	height: 160px;
	width: auto;
	border-radius: 8px;
	overflow: hidden;
	border: none;
	padding: 0;
	background: #111;
	cursor: zoom-in;
	position: relative;
	transition: opacity 0.15s;
}

.rpt-photo-row__item img {
	height: 100%;
	width: auto;
	display: block;
	object-fit: cover;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.rpt-photo-row__item:hover img {
	transform: scale(1.04);
	filter: brightness(0.8);
}

.rpt-photo-row__item:hover { opacity: 0.9; }

/* ── Lightbox ───────────────────────────────────────────────────────────────── */

.rpt-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9500;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rpt-lightbox[hidden] { display: none; }

.rpt-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.92);
	backdrop-filter: blur(12px);
}

.rpt-lightbox__stage {
	position: relative;
	z-index: 1;
	max-width: calc(100vw - 8rem);
	max-height: calc(100vh - 6rem);
	display: flex;
	align-items: center;
	justify-content: center;
}

.rpt-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 6rem);
	border-radius: 8px;
	box-shadow: 0 32px 80px rgba(0,0,0,0.8);
	object-fit: contain;
	animation: lb-fadein 0.2s ease;
}

@keyframes lb-fadein {
	from { opacity: 0; transform: scale(0.97); }
	to   { opacity: 1; transform: scale(1); }
}

.rpt-lightbox__close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	z-index: 2;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	border: 1px solid #3f3f46;
	color: #e4e4e7;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}

.rpt-lightbox__close svg { width: 18px; height: 18px; }
.rpt-lightbox__close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.rpt-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	border: 1px solid #3f3f46;
	color: #e4e4e7;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s, opacity 0.15s;
}

.rpt-lightbox__nav svg { width: 20px; height: 20px; }
.rpt-lightbox__nav:hover { background: rgba(255,255,255,0.15); color: #fff; }
.rpt-lightbox__nav:disabled { opacity: 0.2; cursor: default; pointer-events: none; }

.rpt-lightbox__nav--prev { left: 1.25rem; }
.rpt-lightbox__nav--next { right: 1.25rem; }

.rpt-lightbox__counter {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #71717a;
	letter-spacing: 0.04em;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
	.rpt-body__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.rpt-sidebar {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}

	.rpt-cta { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.rpt-hero { padding: 4rem 1.25rem 3rem; }
	.rpt-hero--has-img { padding: 5rem 1.25rem 3rem; min-height: 50vh; }
	.rpt-body { padding: 2.5rem 1.25rem 5rem; }

	.rpt-sidebar { grid-template-columns: 1fr; }

	.rpt-prose { font-size: 1rem; }

	/* Photo row on mobile */
	.rpt-photo-row__item { height: 120px; }

	/* Lightbox on mobile — full bleed */
	.rpt-lightbox__stage { max-width: 100vw; max-height: calc(100vh - 9rem); }
	.rpt-lightbox__img   { max-height: calc(100vh - 9rem); border-radius: 0; }
	.rpt-lightbox__nav--prev { left: 0.5rem; }
	.rpt-lightbox__nav--next { right: 0.5rem; }
}

