/* Lost Pet Recovery page */

/* ---------- Hero ---------- */

.hero {
	min-height: 580px;
}

.hero-urgent .urgent-cta {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 19px;
}

@media (max-width: 760px) {
	.hero {
		min-height: 0;
		padding-top: 190px;
		background-image: linear-gradient(0deg, #000e 0%, #000c 55%, #0000 85%), var(--hero-img);
		background-position: center, 85% top;
		background-size: auto, auto 420px;
	}
	.hero-urgent .urgent-cta {
		font-size: 18px;
	}
}

/* ---------- Recovery log: photo and video links ---------- */

.log-list li.has-photo {
	cursor: pointer;
	transition: border-color 0.18s, background 0.18s;
	outline-offset: 3px;
}

.log-list li.has-photo:hover,
.log-list li.has-photo:focus-visible {
	border-color: #a98a5f;
	background: #19191a;
}

.log-view {
	margin-top: 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold);
}

.log-video {
	display: table;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold);
	cursor: pointer;
}

.log-video:hover,
.log-video:focus-visible {
	text-decoration: underline;
}

body.light-mode .log-list li.has-photo:hover,
body.light-mode .log-list li.has-photo:focus-visible {
	background: var(--light-card);
	border-color: var(--light-gold-border);
}

body.light-mode .log-view {
	color: var(--light-gold);
}

/* ---------- Watch a recovery: video beside text (player styles in site.css) ---------- */

.watch-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

@media (max-width: 760px) {
	.watch-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* ---------- Pet photo popup ---------- */

.pet-shade {
	position: fixed;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: #000c;
}

.pet-shade[hidden] {
	display: none;
}

.pet-modal {
	position: relative;
	width: min(460px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: var(--panel);
	border: 1px solid var(--border-gold);
	border-top: 3px solid var(--gold);
	box-shadow: 0 20px 60px #000;
	text-align: left;
}

.pet-modal img {
	display: block;
	width: 100%;
	max-height: 60vh;
	object-fit: cover;
	background: var(--bg);
}

.pet-body {
	padding: 20px 24px 24px;
}

.pet-body .kicker {
	margin-bottom: 6px;
}

.pet-body h3 {
	margin: 0 0 8px;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 30px;
	font-weight: 500;
	color: var(--offwhite);
}

.pet-meta {
	margin: 0;
	font-size: 15px;
	color: var(--text);
}

.pet-meta b {
	color: var(--gold);
}

.pet-note {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-dim);
}

.pet-call {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid #2a2b2e;
	font-size: 13px;
	color: var(--text-muted);
}

.pet-call a {
	color: var(--gold-light);
	font-weight: 700;
}

.pet-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 38px;
	height: 38px;
	border: 1px solid var(--border-gold);
	border-radius: 50%;
	background: #000b;
	color: var(--offwhite);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.pet-close:hover {
	border-color: var(--gold);
	color: var(--gold);
}
