:root {
    --color-bg-pr: #fafafa;
    --color-text-title: #1a1a1a;
    --color-text-body: #1a1a1a;
    --color-border: #eaeaea;
    --font-main: 'Arial', sans-serif;
}

.block-prest-region {
    width: 100%;
    padding: 80px;
    background: #FAFAF8;
}

.pr__container {
    max-width: 1280px;
    margin: 0 auto;
	display: flex;
flex-direction: column;

gap: 50px;
}

.pr__header {

}

.pr__title {
width: 1120px;
font-family: 'Ubuntu';
font-style: normal;
font-weight: 700;
font-size: 32px;
line-height: 37px;
color: #111111;
    margin: 0;
}

/* --- GRILLE & SCROLL MOBILE --- */
.pr__grid {
    display: flex;
    gap: 20px;
    
    /* Scroll horizontal sur Mobile */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.pr__grid::-webkit-scrollbar {
    display: none;
}

/* Grid Desktop */
@media (min-width: 992px) {
    .pr__grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
        overflow-x: visible;
		gap: 24px;
    }
}

/* --- CARTES GÉNÉRIQUES --- */
.pr__card {
    position: relative;
    background: #FFFFFF;
border: 1px solid #EAEAE5;
border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: center;
    display: flex;
    transition: box-shadow 0.3s ease;
}

.pr__card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pr__card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pr__card-title {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 500;
font-size: 24px;
line-height: 28px;
color: #000000;
    margin: 0 0 8px 0;
}

.pr__card-desc {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #000000;
    margin: 0 0 30px 0;
}

.pr__card-arrow {
    margin-top: auto; /* Pousse la flèche tout en bas */
    color: var(--color-text-title);
}

/* Lien qui couvre toute la carte */
.pr__card-link {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
}

/* --- CARTE MISE EN AVANT (1ère) --- */
/* Mobile: Colonne (Texte en haut, Image en bas) */
.pr__card--featured {
    flex-direction: column;
    flex: 0 0 85%; /* Largeur mobile */
}

/* Desktop: Ligne (Texte à gauche, Image à droite) et prend 2 colonnes */
@media (min-width: 992px) {
    .pr__card--featured {
        grid-column: span 2;
        flex-direction: row;
    }
    .pr__card--featured .pr__card-content {
        width: 50%;
        padding: 40px;
    }
    .pr__card--featured .pr__card-image {
        width: 50%;
    }
}

/* --- CARTES STANDARDS (2ème, 3ème, etc.) --- */
.pr__card--standard {
    flex-direction: column;
    flex: 0 0 75%; /* Largeur mobile, légèrement plus fine */
}

@media (min-width: 992px) {
    .pr__card--standard {
        grid-column: span 1;
    }
}

/* --- GESTION DES IMAGES --- */
.pr__card-image {
    display: flex;
    height: 200px; /* Hauteur fixe sur mobile */
}

@media (min-width: 992px) {
    .pr__card-image {
        height: auto; /* Prend la hauteur complète de la carte sur desktop */
    }
}

.pr__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder si aucune image n'est renseignée */
.pr__placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 50em) {
.pr__title{
	width: 100%;
font-size: 24px;
line-height: 28px;

}
.block-prest-region{
padding: 60px 24px;
}
}