/* ==========================================================================
   Articles à Louer — Styles publics
   Chargé uniquement sur les pages du catalogue (archive, taxonomie, fiche).
   ========================================================================== */

.aal-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.aal-page-header {
	margin-bottom: 36px;
	text-align: center;
}

.aal-page-title {
	font-size: 2rem;
	margin: 0 0 10px;
}

.aal-page-description {
	max-width: 700px;
	margin: 0 auto;
	color: #555;
}

.aal-breadcrumb {
	font-size: 0.9rem;
	margin-bottom: 18px;
}

.aal-breadcrumb a {
	text-decoration: none;
	color: #9a6a4f;
}

.aal-breadcrumb a:hover {
	text-decoration: underline;
}

.aal-empty {
	text-align: center;
	color: #777;
	padding: 40px 0;
}

/* ----- Grille générique (catégories ou articles) ----- */

.aal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 28px;
}

.aal-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aal-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.aal-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f2efed;
}

.aal-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aal-card-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c7bfb9;
}

.aal-card-image-placeholder .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
}

.aal-card-body {
	padding: 16px 18px;
}

.aal-card-title {
	font-size: 1.05rem;
	margin: 0 0 6px;
	line-height: 1.3;
}

.aal-card-count {
	font-size: 0.85rem;
	color: #888;
}

.aal-card-price {
	display: inline-block;
	font-weight: 600;
	color: #9a6a4f;
	font-size: 0.95rem;
}

/* ----- Pagination ----- */

.aal-pagination {
	margin-top: 40px;
	text-align: center;
}

.aal-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border-radius: 6px;
	background: #f2efed;
	text-decoration: none;
	color: #333;
}

.aal-pagination .page-numbers.current {
	background: #9a6a4f;
	color: #fff;
}

/* ----- Fiche détail d'un article ----- */

.aal-single-article {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.aal-single-media img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}

.aal-single-placeholder {
	aspect-ratio: 4 / 3;
	border-radius: 10px;
}

.aal-single-title {
	font-size: 1.8rem;
	margin: 0 0 12px;
}

.aal-single-price {
	font-size: 1.3rem;
	font-weight: 700;
	color: #9a6a4f;
	margin-bottom: 16px;
}

.aal-single-categories {
	margin-bottom: 20px;
}

.aal-tag {
	display: inline-block;
	background: #f2efed;
	color: #555;
	font-size: 0.8rem;
	padding: 5px 12px;
	border-radius: 20px;
	text-decoration: none;
	margin-right: 6px;
}

.aal-tag:hover {
	background: #e6e0db;
}

.aal-single-description {
	line-height: 1.7;
	color: #333;
	margin-bottom: 28px;
}

.aal-btn-contact {
	display: inline-block;
	background: #9a6a4f;
	color: #fff;
	padding: 13px 28px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s ease;
}

.aal-btn-contact:hover {
	background: #7e5640;
	color: #fff;
}

/* ----- Responsive ----- */

@media (max-width: 768px) {
	.aal-single-article {
		grid-template-columns: 1fr;
	}

	.aal-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 18px;
	}

	.aal-page-title {
		font-size: 1.5rem;
	}
}
