/* ==========================================================================
   Zampette – design tokens, shared components and block styles.
   Loaded on the front end and inside the block editor.
   ========================================================================== */

/* Design tokens
   ========================================================================== */
:root {
	--zp-green: #7b8f6d;
	--zp-green-dark: #5f7352;
	--zp-green-ink: #4f6444;
	--zp-sage: #eef2ec;
	--zp-cream: #f6f5f1;
	--zp-white: #ffffff;
	--zp-ink: #2b2b2b;
	--zp-text: #5b5b57;
	--zp-muted: #8b8b86;
	--zp-line: #e7e7e2;
	--zp-clay: #d9845b;
	--zp-clay-dark: #c26f47;
	--zp-footer: #2b2b2b;

	--zp-font-display: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	--zp-font-body: var(--wp--preset--font-family--body, system-ui, sans-serif);

	--zp-radius-sm: 8px;
	--zp-radius: 10px;
	--zp-radius-md: 16px;
	--zp-radius-lg: 20px;
	--zp-radius-xl: 24px;

	--zp-container: 1280px;
	--zp-gutter: 20px;
	--zp-header-h: 82px;
	--zp-section-y: clamp(56px, 7vw, 96px);
	--zp-ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
	:root { --zp-gutter: 40px; }
}
@media (min-width: 1440px) {
	:root { --zp-gutter: 80px; }
}

/* Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: var(--zp-radius);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s var(--zp-ease), color .2s var(--zp-ease), border-color .2s var(--zp-ease), box-shadow .2s var(--zp-ease);
}
.btn .icon { width: 18px; height: 18px; }

.btn--primary { background: var(--zp-green); color: var(--zp-white); box-shadow: 0 6px 16px -8px rgba(79, 100, 68, .55); }
.btn--primary:hover { background: var(--zp-green-dark); color: var(--zp-white); }

.btn--clay { background: var(--zp-clay); color: var(--zp-white); }
.btn--clay:hover { background: var(--zp-clay-dark); color: var(--zp-white); }

.btn--ghost { background: var(--zp-white); border-color: var(--zp-line); color: var(--zp-ink); }
.btn--ghost:hover { border-color: var(--zp-green); color: var(--zp-ink); }

.btn--soft { background: var(--zp-sage); color: var(--zp-green-dark); }
.btn--soft:hover { background: #e2e9de; color: var(--zp-green-ink); }

.btn--white { background: var(--zp-white); color: var(--zp-green-dark); }
.btn--white:hover { background: var(--zp-sage); color: var(--zp-green-ink); }

.btn--outline-light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: var(--zp-white); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .2); color: var(--zp-white); }

.btn--sm { min-height: 42px; padding: 9px 22px; font-size: 14.5px; }
.btn--lg { min-height: 50px; padding: 12px 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-group--center { justify-content: center; }

/* Chips
   ========================================================================== */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}
.chip .icon { width: 14px; height: 14px; }
.chip--soft { background: var(--zp-sage); color: var(--zp-green-ink); }
.chip--xs { padding: 3px 10px; font-size: 11.5px; }
.chip--icon .icon { color: var(--zp-green); }

.chip--status { color: var(--zp-white); font-size: 12.5px; padding: 5px 14px; }
.chip--disponibile,
.chip--nuovo { background: var(--zp-green); }
.chip--urgente { background: var(--zp-clay); }
.chip--riservato { background: #b59a5b; }
.chip--adottato { background: var(--zp-ink); }

/* Grid helpers
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.grid--start { align-items: start; }
.grid--center { align-items: center; }
.grid--4 { gap: 32px; }

.eyebrow {
	margin-bottom: 10px;
	color: var(--zp-green-dark);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .06em;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--zp-ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Home hero
   ========================================================================== */
.home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
	align-items: center;
	gap: clamp(32px, 6vw, 96px);
}
.home-hero__content .chip { margin: 0 0 26px; }
.home-hero__title { max-width: 14ch; font-size: clamp(40px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -0.02em; }
.home-hero__title { margin: 0; }
.home-hero__text { max-width: 52ch; margin: 28px 0 32px; font-size: 16.5px; line-height: 1.7; }

.home-hero__media {
	position: relative;
	display: block;
	aspect-ratio: 540 / 480;
	overflow: hidden;
	border-radius: var(--zp-radius-xl);
	background: var(--zp-sage);
}
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--zp-ease); }
.home-hero__media:hover img { transform: scale(1.03); }

.media-chip {
	position: absolute;
	left: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: var(--zp-radius);
	background: rgba(255, 255, 255, .94);
	color: var(--zp-ink);
	font-size: 13px;
	box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .35);
	backdrop-filter: blur(6px);
}
.media-chip .icon { width: 14px; height: 14px; color: var(--zp-clay); }
.media-chip--top { top: 20px; }
.media-chip--bottom { bottom: 28px; font-size: 13px; color: var(--zp-text); }
.media-chip--bottom strong { color: var(--zp-ink); font-family: var(--zp-font-display); font-size: 17px; font-weight: 600; }
.media-chip__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--zp-muted); opacity: .6; }

/* Media placeholder */
.media-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 200px;
	background: var(--zp-sage);
	color: var(--zp-green);
}
.media-placeholder .icon { width: 48px; height: 48px; opacity: .6; }

/* Animal cards
   ========================================================================== */
.animal-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--zp-radius-md);
	background: var(--zp-white);
	box-shadow: 0 1px 2px rgba(43, 43, 43, .04);
	transition: box-shadow .35s var(--zp-ease), transform .35s var(--zp-ease);
}
.animal-card:hover { box-shadow: 0 18px 40px -24px rgba(79, 100, 68, .45); transform: translateY(-3px); }

.animal-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.animal-card__link:hover { color: inherit; }

.animal-card__media {
	position: relative;
	display: block;
	aspect-ratio: 410 / 220;
	overflow: hidden;
	background: var(--zp-sage);
}
.animal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--zp-ease); }
.animal-card:hover .animal-card__media img { transform: scale(1.04); }
.animal-card__badge { position: absolute; top: 12px; left: 12px; padding: 3px 11px; font-size: 11.5px; border-radius: 6px; }

.animal-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.animal-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.animal-card__name { margin: 0; font-size: 22px; font-weight: 600; }
.animal-card__name a { color: inherit; }
.animal-card__meta { margin: 6px 0 0; font-size: 14px; }

.animal-card--featured .animal-card__media { aspect-ratio: 376 / 238; }
.animal-card--featured .animal-card__body { padding: 20px 18px 18px; }
.animal-card--featured .animal-card__meta { font-size: 13px; }
.animal-card__excerpt { margin: 12px 0 14px; color: var(--zp-muted); font-size: 13px; line-height: 1.55; }
.animal-card__cta { margin-top: auto; }

/* Stats
   ========================================================================== */
.stats { padding-block: 40px 44px; background: var(--zp-sage); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat__value {
	display: block;
	color: var(--zp-green-ink);
	font-family: var(--zp-font-display);
	font-size: clamp(34px, 3.4vw, 44px);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}
.stat__label { display: block; margin-top: 6px; font-size: 14px; }

/* Team
   ========================================================================== */
.team-member { text-align: center; }
.team-member__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px; height: 120px;
	margin: 0 auto 18px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--zp-sage);
	color: var(--zp-green);
}
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member__name { font-family: var(--zp-font-body); font-size: 16.5px; font-weight: 500; }
.team-member__role { margin-top: 10px; color: var(--zp-green-dark); font-size: 13.5px; }

/* Donation tiers
   ========================================================================== */
.tier {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 32px;
	border: 2px solid transparent;
	border-radius: var(--zp-radius-md);
	background: var(--zp-white);
	text-align: center;
}
.tier--popular { padding-block: 30px; border-color: var(--zp-green); }
.tier--popular .chip { margin-bottom: 14px; }
.tier__amount { color: var(--zp-green-dark); font-family: var(--zp-font-display); font-size: 42px; font-weight: 600; line-height: 1.1; }
.tier__period { margin-top: 10px; color: var(--zp-muted); font-size: 13.5px; }
.tier__text { margin: 12px 0 14px; color: var(--zp-ink); font-size: 15px; }

/* Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.info-list { display: grid; gap: 24px; }
.info-list__item { display: flex; gap: 16px; }
.info-list__icon { width: 24px; height: 24px; margin-top: 4px; color: var(--zp-green); }
.info-list__label { display: block; color: var(--zp-ink); font-size: 15px; font-weight: 500; }
.info-list__value { display: block; color: var(--zp-text); font-size: 14.5px; }
a.info-list__value:hover { color: var(--zp-green-dark); }
.contact__extra { margin-top: 32px; }

.contact__card { padding: 32px; border-radius: var(--zp-radius-md); background: var(--zp-cream); }
.contact__title { margin-bottom: 20px; font-size: 22px; font-weight: 600; }

.form { display: grid; gap: 18px; }
.form__row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__field label { display: block; margin-bottom: 6px; color: var(--zp-ink); font-size: 14px; }
.form__field input,
.form__field textarea {
	width: 100%;
	padding: 11px 16px;
	border: 1px solid var(--zp-line);
	border-radius: var(--zp-radius-sm);
	background: var(--zp-white);
	color: var(--zp-ink);
	font-size: 15px;
	transition: border-color .2s var(--zp-ease), box-shadow .2s var(--zp-ease);
}
.form__field textarea { min-height: 120px; resize: vertical; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: #a5a5a0; }
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--zp-green); box-shadow: 0 0 0 3px rgba(123, 143, 109, .2); }
.form__consent { font-size: 13px; line-height: 1.5; }
.form__consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form__consent input { margin-top: 2px; accent-color: var(--zp-green); }
.form__consent a { text-decoration: underline; }
.form .btn { justify-self: start; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { margin-bottom: 18px; padding: 12px 16px; border-radius: var(--zp-radius-sm); font-size: 14.5px; }
.notice--success { background: var(--zp-sage); color: var(--zp-green-ink); border-left: 3px solid var(--zp-green); }
.notice--error { background: #fbeee7; color: #8a3f1c; border-left: 3px solid var(--zp-clay); }

.map { overflow: hidden; border-radius: var(--zp-radius-md); background: var(--zp-sage); }
.map iframe { width: 100%; height: 420px; border: 0; }
.map__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 320px;
	color: var(--zp-text);
	font-size: 16px;
}
.map__placeholder .icon { width: 40px; height: 40px; color: var(--zp-green); }


/* Core block variations (registered in inc/setup.php)
   ========================================================================== */
.wp-block-button__link,
.btn,
.animal-card a,
.zp-link-arrow a { text-decoration: none; }
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	transition: background-color .2s var(--zp-ease), color .2s var(--zp-ease), border-color .2s var(--zp-ease);
}
.wp-block-button.is-style-zp-soft .wp-block-button__link { background: var(--zp-sage); color: var(--zp-green-dark); }
.wp-block-button.is-style-zp-soft .wp-block-button__link:hover { background: #e2e9de; color: var(--zp-green-ink); }
.wp-block-button.is-style-zp-ghost .wp-block-button__link { background: var(--zp-white); border-color: var(--zp-line); color: var(--zp-ink); }
.wp-block-button.is-style-zp-ghost .wp-block-button__link:hover { border-color: var(--zp-green); color: var(--zp-ink); }
.wp-block-button.is-style-zp-clay .wp-block-button__link { background: var(--zp-clay); color: var(--zp-white); }
.wp-block-button.is-style-zp-clay .wp-block-button__link:hover { background: var(--zp-clay-dark); }
.wp-block-button.is-style-zp-white .wp-block-button__link { background: var(--zp-white); color: var(--zp-green-dark); }
.wp-block-button.is-style-zp-white .wp-block-button__link:hover { background: var(--zp-sage); }
.wp-block-button.is-style-zp-outline-light .wp-block-button__link { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: var(--zp-white); }
.wp-block-button.is-style-zp-outline-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .2); }

p.is-style-zp-eyebrow {
	color: var(--zp-green-dark);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .06em;
}
.is-style-zp-eyebrow + .wp-block-heading { margin-block-start: 10px; }

.wp-block-group.is-style-zp-card {
	padding: 32px;
	border-radius: var(--zp-radius-md);
	background: var(--zp-cream);
}

.wp-block-image.zp-media { margin: 0; }
.wp-block-image.zp-media img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: var(--zp-radius-lg);
}

/* Section header pattern */
.zp-section-head { margin-bottom: 0; }
.zp-section-head + * { margin-block-start: 40px !important; }
.zp-section-head .wp-block-heading + p { margin-block-start: 12px; }
.zp-section-head--split { gap: 16px 24px; }
.zp-link-arrow { margin: 0; }
.zp-link-arrow a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.zp-link-arrow a::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .25s var(--zp-ease);
}
.zp-link-arrow a:hover::after { transform: translateX(3px); }

/* Page hero pattern */
.zp-page-hero .wp-block-heading + p { margin-block-start: 18px; }

/* Split section (text + full-height photo) */
.wp-block-columns.zp-split { gap: 0; margin-block: 0; }
.zp-split__content {
	padding-block: 64px;
	padding-right: clamp(24px, 4vw, 64px);
	/* Align with the 1280px content column of the other sections */
	padding-left: max(var(--wp--style--root--padding-left, 20px), calc((100vw - 1280px) / 2));
}
.zp-split__content > * { max-width: 560px; }
.zp-split__content > .wp-block-heading { margin-block-start: 10px; }
.zp-split__media .wp-block-image { height: 100%; margin: 0; }
.zp-split__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* Columns holding cards: equal heights */
.zp-card-row > .wp-block-column > * { height: 100%; }

/* Steps
   ========================================================================== */
ol.wp-block-zampette-steps { margin: 0; padding: 0; list-style: none; counter-reset: zp-step; }
.wp-block-zampette-steps > li { margin: 0; }
.step-card {
	counter-increment: zp-step;
	padding: 28px 28px 32px;
	border-radius: var(--zp-radius-md);
	text-align: center;
	font-size: 14.5px;
	line-height: 1.6;
}
.step-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--zp-green);
	color: var(--zp-white);
	font-family: var(--zp-font-display);
	font-size: 18px;
	font-weight: 600;
}
.step-card__number::before { content: counter(zp-step); }
.step-card__title { margin: 0 0 14px; font-size: 19px; font-weight: 600; }
.step-card__text { margin: 0; }

/* Icon card
   ========================================================================== */
.icon-card {
	padding: 32px;
	border-radius: var(--zp-radius-md);
	font-size: 14.5px;
	line-height: 1.6;
}
.icon-card__icon { display: block; margin-bottom: 18px; color: var(--zp-clay); }
.icon-card__icon .icon { width: 36px; height: 36px; }
.icon-card--green .icon-card__icon { color: var(--zp-green); }
.icon-card--green .icon-card__icon .icon { width: 28px; height: 28px; }
.icon-card--center { text-align: center; }
.icon-card--center .icon-card__icon .icon { margin-inline: auto; }
.icon-card__title { margin: 0 0 14px; font-size: 21px; font-weight: 600; }
.icon-card--green .icon-card__title { font-family: var(--zp-font-body); font-size: 16px; font-weight: 500; }
.icon-card__text { margin: 0; }
.icon-card .wp-block-buttons { margin-top: 20px; }
.icon-card--center .wp-block-buttons { justify-content: center; }

/* Stats, tiers, team, contact: block wrappers
   ========================================================================== */
.wp-block-zampette-stats { margin-block: 0; }
.stat__value,
.stat__label { margin: 0; }
.tier p { margin: 0; }
.tier__badge {
	display: inline-flex;
	margin-bottom: 14px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--zp-green);
	color: var(--zp-white);
	font-size: 11.5px;
	font-weight: 500;
}
.tier .wp-block-buttons { margin-top: 14px; }
ul.team { margin: 0; padding: 0; list-style: none; }
.team-member__name,
.team-member__role { margin: 0; }
.team-member__role { margin-top: 10px; }
.zp-contact { gap: 40px; }
.zp-contact .info-list { margin-top: 28px; }
.contact__card .contact__title { margin: 0 0 20px; }

/* Home hero block */
.home-hero .wp-block-buttons { gap: 12px; }

/* Editor-only helpers */
.zp-editor-empty { padding: 24px; border: 1px dashed var(--zp-green); border-radius: var(--zp-radius); color: var(--zp-text); text-align: center; }
.zp-icon-preview { margin: -8px 0 16px; color: var(--zp-clay); }
.zp-icon-preview .icon { width: 32px; height: 32px; }
.home-hero__media .media-placeholder { flex-direction: column; gap: 8px; }

/* Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-hero { grid-template-columns: minmax(0, 1fr); }
	.home-hero__title { max-width: 16ch; }
	.stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 781px) {
	.zp-split__content { padding-inline: var(--wp--style--root--padding-left, 20px); }
	.zp-split__content > * { max-width: none; }
	.zp-split__media img { min-height: 300px; }
}
@media (max-width: 640px) {
	.grid--3,
	.grid--4:not(.team) { grid-template-columns: minmax(0, 1fr); }
	.team { gap: 32px 16px; }
	.form__row--2 { grid-template-columns: minmax(0, 1fr); }
	.contact__card { padding: 24px 20px; }
	.media-chip { left: 14px; }
	.media-chip--bottom { bottom: 16px; }
}

/* Blog cards
   ========================================================================== */
.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--zp-radius-md);
	background: var(--zp-white);
	box-shadow: 0 1px 2px rgba(43, 43, 43, .04);
	transition: box-shadow .35s var(--zp-ease), transform .35s var(--zp-ease);
}
.post-card:hover { box-shadow: 0 18px 40px -24px rgba(79, 100, 68, .45); transform: translateY(-3px); }
.post-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card__link:hover { color: inherit; }
.post-card__media { position: relative; aspect-ratio: 410 / 220; overflow: hidden; background: var(--zp-sage); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--zp-ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__badge { position: absolute; top: 12px; left: 12px; border-radius: 6px; font-size: 11.5px; padding: 3px 11px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.post-card__date { margin: 0 0 8px; color: var(--zp-muted); font-size: 12.5px; }
.post-card__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.25; }
.post-card__excerpt { margin: 10px 0 16px; font-size: 14px; line-height: 1.6; }
.post-card__more { margin-top: auto; color: var(--zp-green-dark); font-size: 14px; font-weight: 500; }
.post-card:hover .post-card__more { color: var(--zp-green-ink); }
.post-card--plain .post-card__body { padding: 24px 20px; }
.post-card--plain .post-card__title { font-size: 19px; }
.post-card--plain .post-card__more { margin-top: 14px; }

/* Adopted animals ("storie a lieto fine")
   ========================================================================== */
.zp-adopted__count {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 32px;
	color: var(--zp-green-dark);
	font-size: 15px;
	font-weight: 500;
}
.zp-adopted__count .icon { width: 18px; height: 18px; color: var(--zp-clay); }

.adopted-card .animal-card__badge { display: inline-flex; align-items: center; gap: 6px; }
.adopted-card .animal-card__badge .icon { width: 12px; height: 12px; }
.adopted-card .animal-card__media img { filter: saturate(1.02); }
.adopted-card__date { margin: 12px 0 0; color: var(--zp-green-dark); font-size: 13.5px; font-weight: 500; }
.adopted-card__note {
	margin: 12px 0 0;
	padding-left: 14px;
	border-left: 2px solid var(--zp-sage);
	color: var(--zp-muted);
	font-family: var(--zp-font-display);
	font-size: 15px;
	font-style: italic;
	line-height: 1.5;
}

.adopted-box {
	display: flex;
	gap: 14px;
	margin-top: 26px;
	padding: 20px 22px;
	border-radius: var(--zp-radius-md);
	background: var(--zp-sage);
}
.adopted-box__icon { width: 22px; height: 22px; margin-top: 2px; color: var(--zp-clay); flex-shrink: 0; }
.adopted-box__title { margin: 0; color: var(--zp-ink); font-family: var(--zp-font-display); font-size: 18px; font-weight: 600; }
.adopted-box__note { margin: 8px 0 12px; font-size: 14.5px; font-style: italic; }
.adopted-box .link-arrow { font-size: 14px; }

/* Focal point
   Images are resized (not hard cropped) by WordPress, so every box below
   crops with object-fit; the inline object-position added in PHP keeps the
   chosen point of interest visible.
   ========================================================================== */
.animal-card__media img,
.post-card__media img,
.home-hero__media img,
.animal-gallery__image,
.animal-gallery__thumb img,
.team-member__photo img,
.zp-split__media img,
.wp-block-image.zp-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
