/*
 * Layout de base du widget "PC – Grille de publications".
 * Le reste du style (couleurs, typographies, bordures, ombres...) est
 * généré dynamiquement par Elementor à partir des contrôles de l'onglet Style.
 */

.pc-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.pc-grid__item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
}

.pc-grid__image {
	display: block;
	width: 100%;
	overflow: hidden;
}

.pc-grid__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pc-grid__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	/* Le padding est géré par le contrôle Elementor "Padding interne" (cible .pc-grid__item). */
}

.pc-grid__title {
	display: block;
	font-weight: 600;
}

.pc-grid__text {
	display: block;
}

.pc-grid__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pc-grid__pagination a,
.pc-grid__pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	text-decoration: none;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

.pc-grid__pagination .current {
	font-weight: 700;
}

.pc-grid__pagination .dots {
	border: none;
}
