/* Start custom CSS *//* La Revue — archive des articles (template 703 : page des articles /patrimoine-art-de-vivre/ + catégories),
   Figma « last-pages/patrimoine et art de vivre ». Send the full file with elementor-update-page-settings → custom_css (post 703). */

/* Héros : « ◆ La Revue Maison Harri ◆ » */
body .elementor [data-interaction-id="48c2fdb4"]::before, body .elementor [data-interaction-id="48c2fdb4"]::after { content: "◆"; font-size: 7px; vertical-align: 2px; margin-inline: 6px; }
body .elementor [data-interaction-id="48c2fdb4"]::before { margin-inline-start: 0; }

/* À la une : flèche or */
body .elementor [data-interaction-id="6df10507"] svg path { fill: var(--mh-accent); }

/* Grille : 3 colonnes à 32 px, filet sous chaque rangée (prolongé dans la gouttière) */
#rv-grille .e-collection-loop-layout-base { column-gap: 32px; row-gap: 0; }
#rv-grille [role="listitem"] { position: relative; padding-block-end: 64px; margin-block-end: 64px; }
#rv-grille [role="listitem"]::after { content: ""; position: absolute; inset-inline: 0 -32px; bottom: 0; height: 1px; background-color: #DDD5C8; }
@media (min-width: 1025px) { #rv-grille [role="listitem"]:nth-child(3n)::after { inset-inline-end: 0; } }
#rv-grille [role="listitem"]:nth-last-child(-n+3) { margin-block-end: 0; }
#rv-grille [role="listitem"]:nth-last-child(-n+3)::after { display: none; }
body .elementor [data-interaction-id="26e3d6c9"] { border-top: 1px solid #D1D5DB; }
@media (max-width: 1024px) { #rv-grille [role="listitem"]::after { inset-inline-end: 0; } #rv-grille [role="listitem"] { padding-block-end: 40px; margin-block-end: 40px; } }
#rv-grille a[data-interaction-id="434df550"], #rv-une a[data-interaction-id="5bbb93c4"] { display: block; width: 100%; }
#rv-grille a[data-interaction-id="434df550"] { height: 230px; overflow: hidden; }
#rv-une a[data-interaction-id="5bbb93c4"] { position: absolute; inset: 0; }
#rv-grille a[data-interaction-id="434df550"] img, #rv-une a[data-interaction-id="5bbb93c4"] img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
#rv-grille a[data-interaction-id="434df550"]:hover img, #rv-une a[data-interaction-id="5bbb93c4"]:hover img { opacity: 0.92; }
/* Liens « Lire l'article » à la largeur du texte */
body .elementor [data-interaction-id="435d9a3c"], body .elementor [data-interaction-id="2c4e7f3"] { width: fit-content; align-self: flex-start; }
body .elementor [data-interaction-id="26514a7b"] svg path { fill: var(--mh-primary); }

/* Pagination (comme la Sélection privée) : côté inactif grisé, « Suivant → », numéros au centre (mh-6-pagination.js) */
body .elementor [data-interaction-id="26e3d6c9"] { position: relative; min-height: 60px; }
body .elementor [data-interaction-id="26e3d6c9"] .e--disabled { border-color: transparent; pointer-events: none; }
body .elementor [data-interaction-id="26e3d6c9"] .e--disabled span { color: #E5E5E5; }
body .elementor [data-interaction-id="d38f1da"] { gap: 12px; padding-block-end: 4px; }
body .elementor [data-interaction-id="d38f1da"]::after { content: ""; width: 16px; height: 16px; background-color: var(--mh-primary); -webkit-mask: url(https://cdd920cf40.7a9.mcms.ovh.net/wp-content/uploads/2026/10/icon-arrow-right-navy.svg) center / contain no-repeat; mask: url(https://cdd920cf40.7a9.mcms.ovh.net/wp-content/uploads/2026/10/icon-arrow-right-navy.svg) center / contain no-repeat; }
body .elementor [data-interaction-id="d38f1da"].e--disabled::after { background-color: #E5E5E5; }
body .elementor [data-interaction-id="26e3d6c9"] a[data-e-pagination] { position: relative; border-radius: 0; }
body .elementor [data-interaction-id="26e3d6c9"] a[data-e-pagination]::before { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background-color: var(--mh-accent); transform: scaleX(0); transform-origin: left center; transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1); }
body .elementor [data-interaction-id="26e3d6c9"] a[data-e-pagination]:not(.e--disabled):hover::before { transform: scaleX(1); }
body .elementor [data-interaction-id="26e3d6c9"] a[data-e-pagination]:not(.e--disabled):hover span { color: var(--mh-accent); }
body .elementor [data-interaction-id="d38f1da"]:not(.e--disabled):hover::after { background-color: var(--mh-accent); }
body .elementor .mh-pages { position: absolute; inset-inline-start: 50%; top: 24px; transform: translateX(-50%); display: flex; gap: 12px; }
body .elementor .mh-page { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-family: var(--mh-font-body); font-size: 14px; color: var(--mh-primary); text-decoration: none; transition: color 0.2s; }
body .elementor a.mh-page:hover { color: var(--mh-accent); }
body .elementor .mh-page.is-current { background-color: var(--mh-accent); color: var(--mh-surface); font-weight: 500; }
@media (max-width: 767px) {
	body .elementor [data-interaction-id="26e3d6c9"] { flex-wrap: wrap; }
	body .elementor .mh-pages { position: static; transform: none; order: 3; width: 100%; justify-content: center; gap: 4px; }
}

body .elementor [data-interaction-id="7ca801ae"], body .elementor [data-interaction-id="4231029b"] { width: auto !important; flex: 0 0 auto !important; }
/* CTA : bouton contour → fond blanc, texte marine au survol */
body .elementor [data-interaction-id="4231029b"]:hover span { color: var(--mh-primary); }
body .elementor [data-interaction-id="7ca801ae"] svg path { fill: #FFFFFF; }/* End custom CSS */