/* ==========================================================================
   Blocs de l'accueil : FAQ, presse, derniers articles.
   Valeurs relevées dans uploads/elementor/css/post-31.css, reproduites
   à l'identique. Les fonds et titres de section restent portés par le
   HTML aplati : ce fichier ne style que le contenu des blocs.

   Deux écarts de charte VOLONTAIREMENT conservés, à traiter lors de la
   refonte de la direction artistique, pas ici :
     - la FAQ est en Oswald (la charte prévoit Roboto et Montserrat) ;
     - son rayon est de 10px (la charte v2 prévoit 5px).
   ========================================================================== */

/* --------------------------------------------------------------------------
   FAQ, ex loop-grid + nested-accordion
   -------------------------------------------------------------------------- */
.jdk-faq .jdk-accordeon { display: grid; gap: 14px; }

.jdk-faq .jdk-accordeon__item {
	background: #242627;
	border: 1px solid #353839;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color .25s ease;
}

.jdk-faq .jdk-accordeon__item:hover { border-color: #D2AF87; }

.jdk-faq .jdk-accordeon__tete {
	background: none;
	padding: 18px 22px;
	gap: 12px;
}

.jdk-faq .jdk-accordeon__item[open] .jdk-accordeon__tete { background: none; }

.jdk-faq .jdk-accordeon__titre {
	padding: 0;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 17px;
	color: #FFFAFA;
}

.jdk-faq .jdk-accordeon__item[open] .jdk-accordeon__titre { color: #D2AF87; }

.jdk-faq .jdk-accordeon__icone {
	width: auto;
	height: auto;
	font-size: 15px;
	color: #D2AF87;
}

.jdk-faq .jdk-accordeon__icone svg { fill: #D2AF87; }

.jdk-faq .jdk-accordeon__contenu {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0 22px 18px;
}

.jdk-faq .jdk-accordeon__texte,
.jdk-faq .jdk-accordeon__texte p {
	margin-top: 0;
	font-family: "Montserrat", sans-serif;
	color: #D8D5D5;
	font-size: 15px;
	line-height: 1.75;
}

.jdk-faq .jdk-accordeon__texte p + p { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Derniers articles, ex widget posts
   -------------------------------------------------------------------------- */
.jdk-articles__grille {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 35px;
	column-gap: 30px;
}

.jdk-articles__carte {
	border: 1px solid #FFFFFF33;
	border-radius: 5px;
	overflow: hidden;
}

.jdk-articles__lien { display: block; text-decoration: none; color: inherit; }

.jdk-articles__media {
	display: block;
	position: relative;
	padding-bottom: 66%;
	overflow: hidden;
	background: #1B1B1B;
}

.jdk-articles__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
	margin: 0;
}

.jdk-articles__corps { display: block; padding: 10px; }

.jdk-articles__date {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: .78rem;
	color: #B49D82;
	margin-bottom: 6px;
}

.jdk-articles__nom {
	margin: 0 0 8px;
	font-family: "Roboto", sans-serif;
	font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.48rem);
	font-weight: 500;
	color: #D2AF87;
}

.jdk-articles__extrait {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(0.9rem, 0.88rem + 0.2vw, 0.95rem);
	color: #D8D5D5;
	line-height: 1.6;
}

.jdk-articles__suite {
	display: inline-block;
	margin-top: 12px;
	font-family: "Montserrat", sans-serif;
	font-size: .9rem;
	color: #FFFAFA;
}

.jdk-articles__carte:hover .jdk-articles__suite { color: #D2AF87; }

/* --------------------------------------------------------------------------
   Presse, ex loop-carousel. Trois fiches, comme les trois vues du carrousel.
   -------------------------------------------------------------------------- */
.jdk-presse__piste {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: clamp(1.5rem, 3.5vw, 3rem);
}

.jdk-presse__carte {
	display: flex;
	flex-direction: column;
	border: 1px solid #FFFFFF26;
	border-radius: 5px;
	overflow: hidden;
	background: #1B1B1B;
}

.jdk-presse__media { display: block; position: relative; background: #0f0f0f; }

.jdk-presse__media img { display: block; width: 100%; height: auto; }

.jdk-presse__media .jdk-presse__logo {
	position: absolute;
	left: 12px;
	bottom: 12px;
	width: 78px;
	height: auto;
	border-radius: 5px;
}

.jdk-presse__corps { display: block; padding: 16px 18px 20px; }

.jdk-presse__canal,
.jdk-presse__date {
	display: inline-block;
	margin-right: 10px;
	font-family: "Montserrat", sans-serif;
	font-size: .78rem;
	color: #B49D82;
}

.jdk-presse__nom {
	margin: 8px 0;
	font-family: "Roboto", sans-serif;
	font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem);
	font-weight: 600;
	color: #FFFAFA;
}

.jdk-presse__resume {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: .9rem;
	line-height: 1.6;
	color: #D8D5D5;
}

/* --------------------------------------------------------------------------
   Adaptation aux petits écrans, reprise des points de rupture du kit
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.jdk-articles__grille { grid-template-columns: repeat(2, 1fr); }
	.jdk-presse__piste { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.jdk-articles__grille,
	.jdk-presse__piste { grid-template-columns: 1fr; }
	.jdk-presse__piste { padding: 0; }
	.jdk-articles__media { padding-bottom: 50%; }
}
