.gilda-display-regular {
    font-family: "Gilda Display", serif;
    font-weight: 400;
    font-style: normal
}

.cormorant-regular {
    font-family: "Cormorant", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal
}

.cormorant-bold {
    font-family: "Cormorant", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal
}

.montserrat-regular {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal
}

.montserrat-bold {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal
}


a,
a:hover,
a:visited {
    text-decoration: none;
}

.bgColor1 {
    background-color: #c3b0a2;
}

.bgColor2 {
    background-color: #9d8b74;
}

.bgColor3 {
    background-color: #d6cbb7;
}

.bgColor4 {
  background-color: #F2F2F2;
}

.bgColor5 {
  background-color: #b4a193;
}

.btn-primary {
    background-color: #9d8b74;
    border-color: #9d8b74;
    color: #fff;
    border-radius: 0;
}

.btn-primary:hover {
    background-color: #c3b0a2;
    border-color: #c3b0a2;
}

.btn-primary:visited {
    color: #fff;
}

.btn-secondary {
    background-color: #c3b0a2;
    border-color: #c3b0a2;
    color: #fff;
    border-radius: 0;
}

.btn-secondary:visited {
    color: #fff;
}

.btn-secondary:hover {
    background-color: #9d8b74;
    border-color: #9d8b74;
}

/* ===== HERO ===== */
.front-hero {
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* filter:saturate(.9); z-index:0; */
}

.front-hero .hero-bg.is-zoom {
    transform: scale(1.03)
}




/* Calques fond */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter:saturate(.9); */
    opacity: 0;
    transition: opacity .45s ease;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-layer.is-visible {
    opacity: 1
}

/* L’overlay reste identique */
.front-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 8, .45);
    pointer-events: none;
    z-index: 2;
}

/* Le contenu doit être au-dessus des calques */
.front-hero .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
}



@media (max-width: 767px) {
.modalMob{margin-top:70px;}
}

.site-hero-title {
    letter-spacing: .06em;
    line-height: 1.1;
    font-weight: 400;
    font-size: clamp(28px, 4.2vw, 56px);
    color: #fff;
}

/* ===== LIGNES VERTICALES PLEINE HAUTEUR ===== */
/* largeur + padding du container Bootstrap */
:root {
    --container-max: 1320px;
    --container-pad: .75rem;
    /* padding horizontal du .container */
}

@media (max-width:1399.98px) {
    :root {
        --container-max: 1140px
    }
}

@media (max-width:1199.98px) {
    :root {
        --container-max: 960px
    }
}

@media (max-width:991.98px) {
    :root {
        --container-max: 720px
    }
}

@media (max-width:767.98px) {
    :root {
        --container-max: 540px
    }
}

@media (max-width:575.98px) {
    :root {
        --container-max: 100%
    }
}

/* pleine hauteur, largeur = container **moins** son padding */
.grid-lines {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - (var(--container-pad) * 2)),
            calc(var(--container-max) - (var(--container-pad) * 2)));
    z-index: 2;
    pointer-events: none;
}

.grid-lines::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right,
            rgba(255, 255, 255, .18),
            rgba(255, 255, 255, .18) 1px,
            transparent 1px);
    background-size: calc(100% / var(--cols)) 100%;
    background-repeat: repeat-x;
    opacity: .65;
}

/* trait final à droite */
.grid-lines::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .18);
    opacity: .65;
}








/* ===== MENU aligné aux colonnes ===== */
.hero-menu {
    --cols: 6;

    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-menu>li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-nav-link {
    display: block;
    padding: .25rem 1rem;
    letter-spacing: .18em;
    text-decoration: none;
    color: #fff;
}

.hero-nav-link:hover,
.hero-nav-link:focus,
.hero-nav-link:visited {
    color: #fff;
    text-decoration: none
}

/* Responsive : adapte colonnes + lignes de séparation si tu veux wrap */
@media (max-width:991.98px) {
    .hero-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-lines::before {
        background-size: calc(100% / 3) 100%;
    }
}

@media (max-width:575.98px) {
    .hero-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-lines::before {
        background-size: calc(100% / 2) 100%;
    }
}

/* Desktop navbar : aligne proprement */
@media (min-width: 992px) {
  .navbar .navbar-nav .nav-link { padding: .5rem 1rem; }
  .navbar .dropdown-menu { margin-top: .5rem; }
}

/* ===== Navbar spacing (évite le contenu sous la navbar fixed) ===== */
.nav-spacer { height: 64px; } /* ajuste à la hauteur réelle de ta navbar */

/* ===== Offcanvas full width (slide horizontal) ===== */
.fullwidth-offcanvas.offcanvas-end {
  width: 100vw;            /* couvre toute la largeur */
  max-width: 100vw;
  height: 100vh;           /* et toute la hauteur */
  border: 0;
  background: #b5a294;     /* ta teinte */
  color: #fff;
  padding-top: 5rem;       /* espace sous la barre interne */
  /* Animation fluide ouverture/fermeture */
  transform: translateX(100%);                     /* état initial : hors écran à droite */
  transition: transform .20s ease;

}

/* Quand Bootstrap met .show, on ramène le panneau à l'écran */
.fullwidth-offcanvas.offcanvas-end.show {
  transform: translateX(0);
  opacity: 1;
}

/* Header interne inchangé */
.fullwidth-offcanvas .offcanvas-header {
  position: absolute; top:0; left:0; right:0; height:4.5rem;
  display:flex; align-items:center; justify-content:space-between;
  padding:1rem 1.25rem; background:#b5a294;
  border-bottom:1px solid rgba(255,255,255,.1); z-index:10;
}

.fullwidth-offcanvas .offcanvas-title { color:#fff; text-transform:uppercase; letter-spacing:.1em; }
.fullwidth-offcanvas .btn-close-white { filter: brightness(0) invert(1); }

/* Liste du menu (tu peux garder tes règles précédentes) */
.fullwidth-offcanvas .mobile-nav { margin:0; padding:0; }
.fullwidth-offcanvas .mobile-nav .nav-link {
  display:block; padding:1rem 0; border-bottom:1px solid rgba(255,255,255,.15);
  font-size:1.1rem; letter-spacing:.12em; text-transform:uppercase; color:#fff; text-decoration:none;
}
.fullwidth-offcanvas .mobile-nav .nav-item:last-child .nav-link { border-bottom:0; }
.fullwidth-offcanvas .mobile-nav .nav-link:hover,
.fullwidth-offcanvas .mobile-nav .nav-link:focus { opacity:.9; text-decoration:none; }

/* Sous-menu empilé */
.fullwidth-offcanvas .dropdown-menu {
  position: static; float:none; display:none; margin:0; padding:0 0 0 1rem;
  background:transparent; border:0; box-shadow:none;
}
.fullwidth-offcanvas .dropdown.show > .dropdown-menu,
.fullwidth-offcanvas .dropdown-menu.show { display:block; }
.fullwidth-offcanvas .dropdown-menu .nav-link { border:0; padding:.75rem 0; opacity:.9; }

/* Effet cascade des items (stagger) */
.fullwidth-offcanvas .mobile-nav .nav-item { opacity:0; transform:translateY(-8px); transition:all .35s ease; }
.fullwidth-offcanvas.show .mobile-nav .nav-item { opacity:1; transform:translateY(0); }
.fullwidth-offcanvas.show .mobile-nav .nav-item:nth-child(1){transition-delay:.05s;}
.fullwidth-offcanvas.show .mobile-nav .nav-item:nth-child(2){transition-delay:.10s;}
.fullwidth-offcanvas.show .mobile-nav .nav-item:nth-child(3){transition-delay:.15s;}
.fullwidth-offcanvas.show .mobile-nav .nav-item:nth-child(4){transition-delay:.20s;}
.fullwidth-offcanvas.show .mobile-nav .nav-item:nth-child(5){transition-delay:.25s;}
.fullwidth-offcanvas.show .mobile-nav .nav-item:nth-child(6){transition-delay:.30s;}

/* Backdrop */
.offcanvas-backdrop.show { opacity:.6; }














/* ===== Présentation de la galerie ===== */
.front-intro {
    background: #fff;
    color: #222;
}

@media (min-width: 960px) {
    .front-intro .front-intro-text {
        margin-left: clamp(1rem, 6vw, 6rem);
        margin-right: 0;
    }

    .front-intro .front-intro-text {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }
}

.intro-kicker {
    font-family: "Cormorant", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 1.5vw, 22px);
    color: #333;
}

.intro-title {
    font-family: "Gilda Display", serif;
    font-weight: 400;
    line-height: 1.15;
    font-size: clamp(28px, 3.2vw, 42px);
    letter-spacing: .02em;
    color: #222;
}

.intro-desc {
    font-family: "Montserrat", sans-serif;
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, .6);
}

/* Boutons */
.btn-intro {
    --c: #b9a18e;
    /* beige / sable */
    background: var(--c);
    border: 1px solid var(--c);
    color: #fff;
    font-size: .8rem;
    letter-spacing: .04em;
    padding: .5rem 1rem;
    border-radius: .25rem;
    text-decoration: none;
}

.btn-intro:hover {
    filter: brightness(1.05);
    color: #fff;
}

/* Image colonne droite */
.front-intro-image {
    background-size: cover;
    background-position: center;
    min-height: 55vh;
    /* hauteur sur petits écrans */
}

@media (min-width: 992px) {
    .front-intro-image {
        min-height: 70vh;
    }
}







/* Cartes */
.artwork-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111;
}

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

/* Colonne droite = 2 cases égales */
.stack-2 {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--bs-gutter-y, 1rem);
    height: 100%;
}

.stack-2 .artwork-card {
    height: 100%;
}

/* Grande image = pleine hauteur de la colonne */
.artwork-card--tall {
    height: 100%;
}

/* ----- Hauteur de rangée “élastique” & identique pour les 2 colonnes ----- */
.artworks-row {
    /* ajuste ces bornes si besoin */
    --row-h: clamp(520px, 68vh, 880px);
}

/* on applique la même hauteur aux colonnes directes de la rangée */
.artworks-row>[class^="col-"],
.artworks-row>[class*=" col-"] {
    height: var(--row-h);
}

/* Mobile : on laisse couler en hauteur, retour aux ratios */
@media (max-width: 767.98px) {

    .artworks-row>[class^="col-"],
    .artworks-row>[class*=" col-"] {
        height: auto;
    }

    .stack-2 {
        display: block;
        height: auto;
    }

    .stack-2 .artwork-card {
        height: auto;
        aspect-ratio: 1/1;
    }

    .artwork-card--tall {
        height: auto;
        aspect-ratio: 3/4;
    }
}

/* Our collection (home) — éviter la coupe centrée, caler depuis le haut */
.artworks-mosaic .artwork-card img {
    object-position: top center;
    /* équiv. background-position pour <img> */
}

/* (optionnel) si tu as un placeholder en div */
.artworks-mosaic .artwork-ph {
    background-position: top center;
    background-size: cover;
}











/* --- Artwork modal plein écran --- */
.artwork-modal[hidden] {
    display: none !important;
}

.artwork-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh;
    z-index: 2000;
    display: flex;
    /* flex pour centrer le contenu */
    background: rgb(157, 139, 116);
    color: #fff;

    /* Anim: on fait bouger TOUTE la modale */
    transform: translateX(-100vw);
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    will-change: transform;
}

.artwork-modal.open {
    /* ouverte = au centre */
    transform: translateX(0);
}

.artwork-modal.closing {
    /* fermeture = sort à droite */
    transform: translateX(100%);
}

/* Backdrop */
.artwork-modal__backdrop {
    position: absolute;
    inset: 0;
}

/* Logo centré en haut */
.artwork-modal__logo {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    /* width:clamp(120px,14vw,220px); height:auto; */
    pointer-events: none;
    user-select: none;
}

/* Dialog : pas d’anim ici, seulement layout */
.artwork-modal__dialog {
    position: relative;
    height: 100%;
    margin: 0 auto;
    padding: clamp(16px, 2.5vw, 32px);
    display: flex;
    align-items: center;
    width: min(95%, 1400px);
}

/* Contenu scrollable si besoin */
.artwork-modal__dialog .row {
    width: 100%;
    max-height: calc(100svh - clamp(16px, 2.5vw, 32px)*2);
    overflow: auto;
}

#am-image {
    width: 100%;
    height: auto;
    max-height: calc(100svh - clamp(16px, 2.5vw, 32px)*2);
    object-fit: contain;
    display: block;
}

.artwork-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

/* Bloque le scroll du fond quand la modale est ouverte */
body.modal-open {
    overflow: hidden;
}

/* (Optionnel) si l’utilisateur préfère réduire les animations,
   on ralentit au lieu de les supprimer, pour garder la cohérence visuelle. */
@media (prefers-reduced-motion: reduce) {
    .artwork-modal {
        transition-duration: 1.2s;
    }
}







/* ===== Bouton fermer : cercle parfait + croix qui tourne ===== */
.artwork-modal__close {
    position: absolute;
    top: clamp(8px, 2vw, 16px);
    right: clamp(8px, 2vw, 16px);

    /* cercle parfaitement rond */
    width: 56px;
    aspect-ratio: 1 / 1;
    /* garanti le 1:1 */
    box-sizing: border-box;
    /* le border ne déforme pas */
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    padding: 0;

    /* on cache le “×” texte du <button> */
    font-size: 0;
    line-height: 0;
    color: transparent;

    display: grid;
    place-items: center;
    background: transparent;
    cursor: pointer;
    z-index: 5;
    opacity: 1;

    will-change: transform;
    transition: transform .35s ease, opacity .25s ease, background-color .25s ease, border-color .25s ease;
}

/* croix avec 2 traits, centrée au pixel */
.artwork-modal__close::before,
.artwork-modal__close::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    left: 50%;
    top: 50%;
    transform-origin: center;
}

.artwork-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.artwork-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* rotation 180° au survol/focus (demi-tour) */
.artwork-modal__close:hover,
.artwork-modal__close:focus-visible {
    transform: rotate(180deg);
    opacity: 1;
    outline: none;
}

/* petit fond au hover + anneau d’accessibilité */
/* .artwork-modal__close:hover{ background:rgba(255,255,255,.08); }
.artwork-modal__close:focus-visible{ box-shadow:0 0 0 3px rgba(255,255,255,.35); } */

/* mobile */
@media (max-width:575.98px) {
    .artwork-modal__close {
        width: 48px;
    }

    .artwork-modal__close::before,
    .artwork-modal__close::after {
        width: 20px;
    }
}

/* on garde l’anim même en reduced-motion, mais un peu plus douce */
@media (prefers-reduced-motion: reduce) {
    .artwork-modal__close {
        transition-duration: .5s;
    }
}

.am-meta>div:not(:empty) {
    margin-bottom: .25rem;
}



/* Quand le logo centré est visible, on réserve de la place en haut */
@media (min-width: 1200px) {
  .artwork-modal__dialog {
    /* laisse de l'air sous le logo + close */
    padding-top: clamp(80px, 10vw, 150px);
  }
}

/* texte (col gauche) passe au-dessus de l'image */
.artwork-modal__dialog .col-lg-5 { 
  position: relative;
  z-index: 3;
}

/* image (col droite) reste derrière le texte */
.artwork-modal__dialog .col-lg-7 { 
  position: relative;
  z-index: 1;
}

/* sécurité : l'image ne déborde jamais visuellement */
#am-image {
  position: relative;
  z-index: 1;
  max-height: calc(100svh - clamp(16px, 2.5vw, 32px)*2);
  object-fit: contain;
}







/* grille déjà gérée par Bootstrap */

/* cartes */
.event-card {
    background: #fff;
}

.event-card__content {
    padding: .75rem 0 0;
}

/* images : ratio stable, pas de padding-top hacks */
.event-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
}

.event-card--main .event-card__img {
    aspect-ratio: 5/4;
}

/* typo */
.event-card__dates {
    font-size: 0.9rem;
    color: #666;
}

.event-card__title {
    line-height: 1.25;
}

.event-card__place,
.event-card__address {
    font-size: 0.95rem;
}

/* swiper container borné */
.home-events__carousel.swiper {
    position: relative;
    overflow: hidden;
}

.home-events__carousel .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

/* .home-events__carousel .swiper-slide { height: auto; display: flex; } */



/* swiper base */
/* .home-events__carousel.swiper{ position:relative; overflow:hidden; }
.home-events__carousel .swiper-wrapper{ display:flex; flex-wrap:nowrap; align-items:flex-start; }
.home-events__carousel .swiper-slide{ display:block; height:auto; } */





/* boutons swiper posés proprement (optionnel) */
.home-events__carousel .swiper-button-prev,
.home-events__carousel .swiper-button-next {
    color: inherit;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .05);
}





/* Utilitaire : aligne un bloc sur le bord gauche d'un .container Bootstrap */
@media (min-width: 960px) {
    .align-left-to-container {
        padding-left: 1rem;
    }
}

/* fallback mobile */

/* Sm ≥576px -> container max 540px */
/* @media (min-width: 576px) {
    .align-left-to-container {
        padding-left: max((100vw - 540px)/2, 12px);

    }
} */

/* Md ≥768px -> container max 720px */
/* @media (min-width: 768px) {
    .align-left-to-container {
        padding-left: max((100vw - 720px)/2, 12px);

    }
} */

/* Lg ≥992px -> container max 960px */
@media (min-width: 960px) {
    .align-left-to-container {
        padding-left: max((100vw - 960px)/2, 12px);

    }
}

/* Xl ≥1200px -> container max 1140px */
@media (min-width: 1200px) {
    .align-left-to-container {
        padding-left: max((100vw - 1140px)/2, 12px);

    }
}

/* Xxl ≥1400px -> container max 1320px */
@media (min-width: 1400px) {
    .align-left-to-container {
        padding-left: max((100vw - 1320px)/2, 12px);

    }
}






.events-left {
    margin-left: 0;
}



/* variable hauteur basée sur l'image gauche */
.home-events {
    --events-img-h: auto;
}

/* IMAGE gauche : ratio agréable mais la hauteur réelle sera mesurée en JS */
.events-left__img {
    width: 100%;
    aspect-ratio: 5 / 4;
    /* base visuelle */
    background-size: cover;
    background-position: inherit;
}

/* IMAGES des slides : mêmes dimensions que la gauche */
@media (min-width: 992px) {
    .home-events__carousel .event-thumb__img {
        width: 100%;
        height: var(--events-img-h);
        /* <- clé : hauteur identique */
        background-size: cover;
        background-position: center;
    }
}

/* en mobile (1 colonne), on peut garder un ratio */
@media (max-width: 991.98px) {
    .home-events__carousel .event-thumb__img {
        aspect-ratio: 4/3;
    }
}


.txtVerti {
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
}





/* le conteneur d'image doit être un contexte de positionnement */
.events-left__img,
.event-thumb__img {
    position: relative;
}

/* groupe d’icônes en haut à droite */
.event-thumb__icons {
    position: absolute;
    top: .5rem;
    right: .5rem;
    display: flex;
    gap: .35rem;
}

/* pastilles d’icône */
.event-thumb__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* width: 32px; height: 32px;
  border-radius: 6px; */
    /* background: rgba(0,0,0,.55); */
    color: #fff;
    /* font-size: 1rem; */
    line-height: 1;
}

/* option : survol un peu plus opaque */
/* .event-thumb__icon:hover { background: rgba(0,0,0,.75); } */






/* Vignettes publication en portrait */
.home-publications-swiper .pub-thumb {
    aspect-ratio: 3 / 4;
    /* format portrait */
    width: 100%;
}

.home-publications-swiper .pub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-publications-swiper .swiper-slide {
    height: auto;
    /* permet à la carte de prendre sa hauteur */
}

.home-publications-swiper .swiper-button-prev,
.home-publications-swiper .swiper-button-next {
    color: #000;
    /* adapte au thème */
}

.home-publications-swiper .pub-title {
    line-height: 1.3;
    display: inline-block;
}



.home-video .ratio {
    background: #000;
}

/* pour éviter un flash blanc avant chargement */

.bgContact {
    background: url(https://www.galeriejacquesbarrere.com//wp-content/themes/gjb/img/paris.jpg) no-repeat center center fixed;
    background-color: rgba(0, 0, 0, 0);
    background-size: auto;
    height: 100%;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: #9D8B74 !important;
}

.wpcf7-text,
.wpcf7-textarea {
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #7f7b77;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
}

.wpcf7-text:focus,
.wpcf7-text:active,
.wpcf7-textarea:focus,
.wpcf7-textarea:active {
    border-bottom-color: #fff;
    outline: none;
    box-shadow: 0 2px 0 0 #fff;
}



.wpcf7 .wpcf7-submit {
    display: inline-block;
    padding: .6rem 1.2rem;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 999px;
    transition: transform .12s ease, background-color .2s ease, color .2s ease;
    margin-top: 1em;
}

.wpcf7 .wpcf7-submit:hover {
    background: #fff;
    color: #000;
}

.wpcf7 .wpcf7-submit:active {
    transform: translateY(1px);
}



.wpcf7-list-item-label {
    color: #fff;
}

.wpcf7-list-item {
    margin: 0;
}


.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  background-color: #000;
  color: #fff;
}




/* Fond et lisibilité */
.navbar.fixed-top {
    background-color: #b4a193;
    z-index: 1050;
}

.navbar .nav-link {
    color: #fff;
}

.navbar .nav-link:hover,
.navbar .nav-item.active>.nav-link {
    color: #fff;
    text-decoration: underline;
}

/* Espacement vertical harmonisé */
.navbar .navbar-nav .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

/* Logo dans .navbar-brand */
.navbar .navbar-brand img.custom-logo {
    height: 40px;
    width: auto;
}

.navbar .navbar-brand {
    color: #fff;
    font-weight: 600;
}

.navbar .navbar-brand:hover {
    color: #fff;
    opacity: .9;
}

/* Le spacer prend la hauteur réelle de la navbar (valeur par défaut si JS absent) */
.nav-spacer {
    height: 66px;
}

/* Sécurité : s'il y a une variable CSS posée par le JS, on l'utilise */
.nav-spacer {
    height: var(--nav-height, 66px);
}

/* Si l’admin bar est visible (cas où tu la réactives un jour) */
body.admin-bar .navbar.fixed-top {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .navbar.fixed-top {
        top: 46px;
    }
}


.post,
.page {
    margin: 0;
}


.pagination .page-link {
    border-radius: 0;
}

.pagination .page-item+.page-item .page-link {
    margin-left: .25rem;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .25);
}


/* Pagination : liens par défaut */
.pagination .page-link {
    color: #7c6c5b;
    /* couleur texte (ex : marron/bronze) */
    background-color: #fff;
    /* fond blanc */
    border: 1px solid #ddd;
    /* bordure légère */
    transition: all .2s ease;
}

/* Hover/focus sur les non-actifs */
.pagination .page-link:hover,
.pagination .page-link:focus {
    color: #fff;
    background-color: #7c6c5b;
    border-color: #7c6c5b;
    text-decoration: none;
}


/* Couleur de fond et texte pour la pagination active */
.pagination .page-item.active .page-link {
    background-color: #9d8b74;
    /* ta couleur personnalisée */
    border-color: #9d8b74;
    color: #fff;
    /* texte blanc lisible */
}

/* Optionnel : hover/focus */
.pagination .page-item.active .page-link:hover,
.pagination .page-item.active .page-link:focus {
    background-color: #6a5c4d;
    /* une nuance plus foncée */
    border-color: #6a5c4d;
    color: #fff;
}



/* Contrainte visuelle uniforme pour les vignettes des cartes */

.card {border-radius:0!important;}

.card .card-img-wrap { 
  display:block;
  /* Option A (moderne): ratio CSS natif */
  aspect-ratio: 4 / 3;           /* même ratio que add_image_size */
  overflow: hidden; 
}

.card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;            
  object-position: center center;
  display: block;
  border-radius:0;
}

.card-img-wrap {
  position: relative;
  border-radius: 0;
}

.news-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Hero image ratio : 3:2 réactif (change si besoin) */
.news-single .post-hero {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: .5rem;
}
.news-single .post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Date badge overlay */
.news-single .news-date {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: .35rem .6rem;
  font-size: .85rem;
}

.footer {
    background: url(https://www.galeriejacquesbarrere.com/wp-content/themes/gjb/img/bg_footer.jpg) no-repeat center center;
    background-color: rgba(0, 0, 0, 0);
    background-size: auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.bgTextFoot {
    background: url(https://www.galeriejacquesbarrere.com/wp-content/themes/gjb/img/stay-in-touch.png) no-repeat center center;
}


/* Empile les icônes verticalement dans les vignettes d'événements */
.event-thumb__icons {
  display: flex;
  flex-direction: column;   /* ← clé pour empiler verticalement */
  align-items: flex-end;    /* pour aligner à droite comme sur ton image */
  gap: 6px;                 /* espace entre les icônes */
  position: absolute;
  top: 0.5rem;              /* ajuste si besoin */
  right: 0.5rem;
}

.event-thumb__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

