/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0
*/

/* CSS pour CPT animale */
.animal-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px;
}

.animal-hero {
	text-align: center;
	margin-bottom: 50px;
}

.animal-hero h1 {
	font-size: clamp(2.4rem, 5vw, 4rem);
	margin-bottom: 10px;
}

.animal-arrival {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 25px;
}

.animal-main-photo img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.animal-card {
	background: #fff;
	border-radius: 24px;
	padding: 35px;
	margin: 45px 0;
	box-shadow: 0 6px 25px rgba(0,0,0,0.06);
}

.animal-card h2,
.animal-adoption h2,
.animal-share h2 {
	margin-top: 0;
	font-size: 2rem;
}

.animal-text {
	font-size: 1.1rem;
	line-height: 1.8;
}

.animal-gallery {
	margin: 40px 0;
}

.animal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 18px;
}

.animal-grid div {
	background: #f7f7f7;
	border-radius: 16px;
	padding: 18px;
}

.animal-grid strong {
	display: block;
	font-size: 0.85rem;
	text-transform: uppercase;
	opacity: 0.65;
	margin-bottom: 5px;
}

.animal-compat {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.animal-compat div {
	padding: 14px 20px;
	border-radius: 999px;
	font-weight: 700;
}

.animal-compat .yes {
	background: #e7f7ec;
	color: #167a35;
}

.animal-compat .no {
	background: #fdeaea;
	color: #b32626;
}

.animal-adoption {
	background: #fff3d6;
	border-radius: 28px;
	padding: 40px;
	margin: 55px 0;
	text-align: center;
}

.animal-button {
	display: inline-block;
	margin-top: 15px;
	padding: 14px 26px;
	border-radius: 999px;
	background: #222;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.animal-share {
	text-align: center;
	margin: 40px 0;
}

.animal-share a,
.animal-share button {
	display: inline-block;
	margin: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	text-decoration: none;
}

@media (max-width: 700px) {
	.animal-card {
		padding: 24px;
	}

	.animal-main-photo img {
		max-height: 380px;
	}

	.animal-compat {
		display: grid;
		grid-template-columns: 1fr;
	}
}

.animal-share {
	text-align: center;
	margin: 60px 0;
}

.animal-share h2 {
	margin-bottom: 25px;
}

.share-btn {
	display: inline-block;
	margin: 8px;
	padding: 14px 22px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: 0.2s ease;
}

.share-btn:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.facebook {
	background: #1877f2;
	color: white;
}

.whatsapp {
	background: #25d366;
	color: white;
}

.telegram {
	background: #229ED9;
	color: white;
}

.twitter {
	background: #111;
	color: white;
}

.email {
	background: #f3f3f3;
	color: #222;
}

.copy-link {
	background: #ffe9b3;
	color: #222;
}

.copy-link {
	background: #ffe9b3;
	color: #222 !important;
}

.copy-link:hover {
	background: #ffd86b;
}

.animal-share a.copy-link {
	background: #ffe9b3 !important;
	color: #222 !important;
	border-color: #ffe9b3 !important;
}

/* Page "Adottare un animale" */

/* Resserer la typographie */
.page-id-post=152 .entry-content {
	max-width: 900px;
	margin: 0 auto;
}

.page-id-post=152 .entry-content p {
	margin-top: 0;
	margin-bottom: 14px;
	line-height: 1.75;
}

.page-id-post=152 .entry-content h1,
.page-id-XXX .entry-content h2,
.page-id-XXX .entry-content h3 {
	margin-top: 42px;
	margin-bottom: 14px;
}

.page-id-post=152 .entry-content ul {
	margin-top: 8px;
	margin-bottom: 18px;
}

.page-id-post=152 .entry-content li {
	margin-bottom: 6px;
}

/* Boutons avec liens pour adopter */
.adoption-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin: 45px 0 20px;
}

.adoption-buttons a {
	display: inline-block;
	padding: 14px 24px;
	border-radius: 999px;
	background: #ffe9b3;
	color: #222 !important;
	font-weight: 700;
	text-decoration: none;
}

.adoption-buttons a:hover {
	background: #ffd86b;
	transform: translateY(-2px);
}