/*
Theme Name: PAWS AZ
Theme URI: https://pawsaz.org
Author: Phoenix Animal Welfare Society
Description: Custom block theme for the Phoenix Animal Welfare Society — warm desert palette designed around the hand-drawn PAWS logo.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: pawsaz
*/

/* ---- Status badges ---- */
.paws-badge {
	display: inline-block;
	padding: 0.2em 0.75em;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.paws-badge--available { background: #e5ecdc; color: #43542e; }
.paws-badge--pending   { background: #fbe8c9; color: #8a5a12; }
.paws-badge--adopted   { background: #eee4da; color: #6b5747; }

/* ---- Animal cards ---- */
.animal-card {
	background: var(--wp--preset--color--surface);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(42, 33, 28, 0.08), 0 4px 14px rgba(42, 33, 28, 0.06);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	height: 100%;
}
.animal-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 2px 6px rgba(42, 33, 28, 0.1), 0 10px 26px rgba(42, 33, 28, 0.12);
}
.animal-card .wp-block-post-featured-image img {
	transition: transform 0.3s ease;
}
.animal-card:hover .wp-block-post-featured-image img {
	transform: scale(1.03);
}
.animal-card .wp-block-post-title {
	margin-top: 0.35em;
	margin-bottom: 0;
}
.animal-card .wp-block-post-title a {
	text-decoration: none;
}
.animal-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--primary);
}
.paws-summary {
	margin-top: 0.25em;
	color: #6b5f56;
	font-size: 0.92rem;
}

/* Placeholder when an animal has no photo yet */
.animal-card .wp-block-post-featured-image:empty {
	background: var(--wp--preset--color--sand) url('assets/img/paw-placeholder.svg') center / 96px no-repeat;
	aspect-ratio: 4 / 3;
}

/* ---- Single animal details ---- */
.paws-details {
	margin: 0;
	border-top: 1px solid #eadfd2;
}
.paws-detail {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6em 0;
	border-bottom: 1px solid #eadfd2;
}
.paws-detail dt {
	font-weight: 700;
	color: #6b5f56;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.paws-detail dd {
	margin: 0;
	text-align: right;
}

/* ---- Buttons ---- */
.wp-block-button__link {
	transition: transform 0.15s ease, filter 0.15s ease;
}
.wp-block-button__link:hover {
	filter: brightness(1.07);
	transform: translateY(-1px);
}

/* ---- Header ---- */
.paws-header .wp-block-site-logo img {
	max-height: 84px;
	width: auto;
}
.paws-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--primary);
}

/* ---- Misc ---- */
.paws-hero-logo img {
	filter: drop-shadow(0 6px 24px rgba(42, 33, 28, 0.12));
}
