/* =====================================================================
   TECHINTERLAB – Pages intérieures
   Page Société (societe.tpl), page de résultats de la recherche (recherche.tpl).
   ===================================================================== */


/* ---------------------------------------------------------------------
   PAGES INTÉRIEURES, REPRISES DU THÈME D'ORIGINE
   Mise en page de départ des pages du catalogue, Société, Contact,
   Tech Groupe et recherche.
   Les sections suivantes l'adaptent au nouveau design : à force égale,
   elles l'emportent.
   --------------------------------------------------------------------- */

.heading-2 {
    font-size: var(--taille-18);
    text-transform: uppercase;
    font-weight: 500;
}

.heading-2 {
    display: block;
    margin-bottom: 3em;
}

.heading-2 h2 {
    font-weight: 900;
    text-transform: uppercase;
}

.contact-info-wrap-flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 3em;
}

.contact-info-wrap-flex > div {
    padding: 0.5em;
    display: flex;
}

.contact-info-wrap-flex .con-info {
    width: 100%;
    padding: 0.8em;
    background: var(--fond-doux);
    overflow-wrap: break-word;
}

.contact-info-wrap-flex .con-info:first-child {
    margin-left: 0;
}

@media screen and (max-width: 768px) {
    .contact-info-wrap-flex .con-info {
        width: 100%;
    }
}

.contact-info-wrap-flex .con-info a {
    text-decoration: none;
}

.contact-info-wrap-flex p {
    margin-bottom: 0;
    color: var(--noir);
}

.contact-info-wrap-flex p span i {
    color: var(--bleu);
}

.contact-info-wrap-flex p a {
    color: var(--noir);
}

#map {
    width: 100%;
    height: 500px;
    position: relative;
}

@media screen and (max-width: 768px) {
    #map {
        height: 200px;
    }
}

#websites #techgroup {
    margin-top: -12em;
}

#societe .container td {
    width: 150px;
    max-width: 150px;
}


/* ---------------------------------------------------------------------
   VIDÉO DE PRÉSENTATION – en bas de la page Société (societe.tpl)
   --------------------------------------------------------------------- */

.video-societe {
    clear: both;
    background: var(--blanc);              /* même blanc que le reste de la page Société */
    padding: 0 24px 72px;             /* le texte au-dessus a déjà sa marge du bas */
}

.video-societe-cadre {
    max-width: 960px;
    margin: 0 auto;
}

.video-societe-titre {
    font-family: Poppins, sans-serif;
    font-size: var(--taille-28);
    font-weight: 600;
    line-height: 1.25;
    color: var(--encre);
    margin: 0 0 24px;
}

.video-societe-titre::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin-top: 14px;
    background: var(--degrade);
}

.video-societe-lecteur {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--arrondi);
    background: var(--encre);
    box-shadow: 0 12px 28px rgba(var(--encre-rgb), 0.12);
}

@media (max-width: 767.98px) {
    .video-societe {
        padding: 0 16px 48px;
    }

    .video-societe-titre {
        font-size: var(--taille-24);
    }
}


/* ---------------------------------------------------------------------
   PAGE DE RÉSULTATS DE LA RECHERCHE (recherche.tpl)
   Les suggestions sous le champ sont dans 2-bandeau.css.
   --------------------------------------------------------------------- */

#page-recherche {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px 72px;
    font-family: Poppins, sans-serif;
}

#page-recherche h1 {
    margin: 0 0 20px;
    font-size: var(--taille-28);
    font-weight: 600;
    line-height: 1.25;
    color: var(--encre);
}

.recherche-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.recherche-formulaire {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin: 0;
}

.recherche-champ {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    border: 1px solid var(--lisere);
    border-radius: var(--arrondi);
    background: var(--blanc);
    color: var(--encre);
    font-family: inherit;
    font-size: var(--taille-16);
}

.recherche-champ:focus {
    outline: none;
    border-color: var(--bleu);
    box-shadow: 0 0 0 3px rgba(var(--bleu-rgb), 0.2);
}

.recherche-bouton {
    flex: none;
    height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--arrondi);
    background: linear-gradient(45deg, var(--bleu) 0%, var(--violet) 100%);
    color: var(--blanc);
    font-family: inherit;
    font-size: var(--taille-16);
    cursor: pointer;
}

.recherche-bouton:hover {
    filter: brightness(1.08);
}

.recherche-compte {
    margin: 14px 0 0;
    font-size: var(--taille-15);
    color: var(--texte-doux);
}

.recherche-section h2,
.recherche-contact h2 {
    margin: 40px 0 16px;
    font-size: var(--taille-18);
    font-weight: 600;
    color: var(--encre);
}

.recherche-gammes,
.recherche-produits {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recherche-gammes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recherche-gammes a {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border: 1px solid var(--bordure);
    border-radius: var(--arrondi);
    background: var(--blanc);
    text-decoration: none;
    transition: border-color 0.2s;
}

.recherche-gammes a:hover {
    border-color: var(--bleu);
}

.recherche-gamme-titre {
    font-weight: 500;
    color: var(--encre);
}

.recherche-gamme-chemin,
.recherche-produit-chemin {
    font-size: var(--taille-12);
    color: var(--texte-discret);
}

.recherche-produits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.recherche-produits a {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--bordure);
    border-radius: var(--arrondi);
    background: var(--blanc);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recherche-produits a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(var(--encre-rgb), 0.12);
}

.recherche-produit-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 12px;
    border-bottom: 1px solid var(--bordure);
    background: var(--blanc);
}

.recherche-produit-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.recherche-produit-texte {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
}

.recherche-produit-titre {
    font-size: var(--taille-15);
    font-weight: 600;
    line-height: 1.35;
    color: var(--encre);
}

.recherche-vide {
    margin: 32px 0 0;
    color: var(--texte-moyen);
}

.recherche-contact {
    margin-top: 56px;
    padding: 28px;
    border-radius: var(--arrondi);
    background: var(--fond-doux);
}

.recherche-contact h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.recherche-contact p {
    margin: 0;
    color: var(--texte-moyen);
}

.recherche-contact .recherche-contact-liens {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 16px;
}

.recherche-contact-liens a {
    color: var(--bleu);
    font-weight: 500;
}

.recherche-contact-liens .recherche-contact-devis {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid var(--bleu);
    border-radius: var(--arrondi);
    text-decoration: none;
}

.recherche-contact-liens .recherche-contact-devis:hover {
    background: var(--bleu-clair);
}

@media (max-width: 767.98px) {
    #page-recherche {
        padding: 36px 16px 48px;
    }

    #page-recherche h1 {
        font-size: var(--taille-24);
    }

    .recherche-formulaire {
        flex-direction: column;
    }
}


/* ---------------------------------------------------------------------
   FORMULAIRE DE CONTACT (include/form/contact.form.tpl)
   --------------------------------------------------------------------- */

/* Champ e-mail : même hauteur que les autres champs (0-base.css ne la
   donne qu'aux champs type="text") */
.formulaire-contact input[type="email"] {
    height: 50px;
}


/* ---------------------------------------------------------------------
   PAGE D'UNE CATÉGORIE (category.tpl) – styles sortis du gabarit
   --------------------------------------------------------------------- */

/* Cartes des gammes d'une catégorie (photo en fond, choisie par PHP) */
#categories .intro-wrap .intro-flex > .intro-img {
    width: 300px;
    height: 200px;
    margin: 12px;
    border-radius: var(--arrondi);
}

#categories .intro-wrap .intro-flex > .intro-img .desc h3 {
    font-size: var(--taille-16);
    text-shadow: var(--noir) 1px 0 10px;
}


/* ---------------------------------------------------------------------
   PAGE D'UNE GAMME (sub_category.tpl) : ses produits en liste
   Une ligne par produit, entièrement cliquable, séparée de la suivante
   par un trait fin : grande photo, nom, début de la description, flèche.
   Données préparées par publicController.php (src/controller/catalogue.php
   pour la photo et le résumé).
   --------------------------------------------------------------------- */

.gamme {
    padding: 48px 0 80px;
    background: var(--blanc);
}

.gamme > .container {
    max-width: var(--largeur-contenu);   /* même largeur que le menu */
}

.gamme__entete {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 28px;
}

.gamme__titre {
    margin: 0;
    font-size: var(--taille-30);
    line-height: 1.25;
    font-weight: 700;
    color: var(--encre);
}

.gamme__titre::after {                 /* trait dégradé, comme les titres de l'accueil */
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 12px;
    border-radius: 2px;
    background: var(--degrade);
}

.gamme__nombre,
.gamme__vide {
    margin: 0;
    font-size: var(--taille-15);
    color: var(--texte-moyen);
}

.gamme__liste {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--bordure);
}

/* Une ligne : photo | nom et résumé | flèche */
.produit-ligne {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 12px;
    border-bottom: 1px solid var(--bordure);
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.produit-ligne:hover,
.produit-ligne:focus-visible {
    background: var(--fond-doux);
    color: inherit;
    text-decoration: none;
}

.produit-ligne__image {
    flex-shrink: 0;
    width: 220px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--arrondi);
    background: var(--blanc);
}

.produit-ligne__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;               /* photos de produits : rien n'est coupé */
}

/* Texte resserré : il se répartit sur plusieurs lignes, à hauteur de la photo */
.produit-ligne__texte {
    flex-grow: 1;
    min-width: 0;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.produit-ligne__titre {
    font-size: var(--taille-18);
    line-height: 1.35;
    font-weight: 600;
    color: var(--bleu-texte);          /* nom du produit en bleu : il se lit comme un lien */
    transition: color 0.2s ease;
}

.produit-ligne:hover .produit-ligne__titre {
    color: var(--bleu-fonce);
}

.produit-ligne__resume {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;             /* quatre lignes au plus */
    overflow: hidden;
    font-size: var(--taille-14);
    line-height: 1.65;
    color: var(--texte-moyen);
}

/* Flèche seule, poussée à droite ; elle avance un peu au survol */
.produit-ligne__fleche {
    flex-shrink: 0;
    margin-left: auto;
    font-size: var(--taille-22);
    color: var(--bleu-texte);
    transition: transform 0.2s ease;
}

.produit-ligne:hover .produit-ligne__fleche {
    transform: translateX(4px);
}

/* Tablette : photo un peu plus petite */
@media (max-width: 991.98px) {
    .produit-ligne__image {
        width: 170px;
    }
}

/* Téléphone : photo réduite, résumé sur trois lignes */
@media (max-width: 767.98px) {
    .gamme {
        padding: 32px 0 56px;
    }

    .gamme__titre {
        font-size: var(--taille-24);
    }

    .produit-ligne {
        gap: 14px;
        padding: 16px 0;
    }

    .produit-ligne__image {
        width: 104px;
    }

    .produit-ligne__titre {
        font-size: var(--taille-16);
    }

    .produit-ligne__resume {
        -webkit-line-clamp: 3;
    }

    .produit-ligne__fleche {
        font-size: var(--taille-18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .produit-ligne__fleche {
        transition: none;
    }

    .produit-ligne:hover .produit-ligne__fleche {
        transform: none;
    }
}


/* ---------------------------------------------------------------------
   ÉVÉNEMENTS (page Actualités, actualites.tpl)
   Section déplacée telle quelle depuis l'accueil.
   Événements à venir : grande carte, affiche en haut avec la date posée
   dessus, texte complet. Événements passés : lignes compactes que l'on
   déplie d'un clic. Mise en place par web/js/accueil/evenements.js.
   --------------------------------------------------------------------- */

/* Trait dégradé sous le titre */
#events .heading h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin: 14px auto 0;
    background: var(--degrade);
}

/* Contour clavier (touche Tab) des événements passés */
#events .evt-passe .desc:focus-visible {
    outline: 2px solid var(--bleu);
    outline-offset: -2px;
    border-radius: var(--arrondi);
}

/* L'éditeur de l'administration ajoute parfois sa propre police, taille,
   épaisseur ou couleur : tout est ramené au même style dans chaque carte */
#events .events-entry .location * {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: normal;
}

#events .events-entry .location *:not(a) {
    color: inherit;
    background-color: transparent;
}

#events .events-entry .location img {
    max-width: 100%;
    height: auto;
    border-radius: var(--arrondi);
}

/* Survol des boutons */
#events .events-entry .btn-colored:hover,
#events .events-entry .btn-colored:focus {
    transform: none;
    background: var(--bleu-clair);
    color: var(--bleu-fonce);
}

/* Règles communes avec les actualités, écrites dans la section Actualités :
   trait sous le titre, contour clavier, texte saisi dans l'administration
   (police, taille, images) et survol des boutons. */

#events {
    background: var(--fond-doux);
    padding: 72px 24px 80px;
}

#events > .container {
    max-width: 900px;
    padding: 0;
}

/* Titre et texte d'introduction : même style que les autres sections */
#events .heading {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 0 40px;
    padding: 0;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: var(--taille-16);
    line-height: 1.6;
    color: var(--texte-doux);
}

#events .heading h2 {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-size: var(--taille-28);
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
    color: var(--encre);
}


#events .heading > *:not(h2) {
    max-width: 620px;
    margin: 18px auto 0;
}

#events .heading * {
    font-family: Poppins, sans-serif;
}

/* Liste */
#events .evt-liste,
#events .row:not(:first-child) {
    margin: 0;
}

#events .row > .col-centered {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 0;
}

#events .evt-etiquette {
    flex: 0 0 100%;
    margin: 0 0 12px 2px;
    font-family: Poppins, sans-serif;
    font-size: var(--taille-11);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--texte-discret);
}

#events .evt-etiquette:not(:first-child) {
    margin-top: 24px;
}

/* Carte */
#events .events-entry {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--bordure);
    border-radius: var(--arrondi);
    background: var(--blanc);
    box-shadow: 0 4px 14px rgba(var(--encre-rgb), 0.06);
    font-family: Poppins, sans-serif;
}

#events .events-entry.evt-a-venir {
    box-shadow: 0 12px 28px rgba(var(--encre-rgb), 0.10);
}

/* Affiche en haut de la carte, à sa taille réelle */
#events .evt-affiche {
    position: relative;
    border-bottom: 1px solid var(--bordure);
}

#events .evt-affiche img {
    display: block;
    width: 100%;
    height: auto;
}

/* Date : vignette blanche à liseré dégradé */
#events .events-entry .desc .meta {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 80px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--arrondi);
    line-height: 1;
    text-transform: uppercase;
}

#events .evt-affiche .meta {
    position: absolute;
    top: auto;
    bottom: -34px;
    left: 24px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 80px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--bordure);
    border-radius: var(--arrondi);
    background: var(--blanc);
    box-shadow: 0 8px 20px rgba(var(--encre-rgb), 0.12);
    line-height: 1;
    text-transform: uppercase;
}

#events .meta::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--degrade);
}

#events .meta .date-1 {
    display: block;
    font-size: var(--taille-30);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--bleu) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#events .meta .date-2 {
    display: block;
    margin-top: 4px;
    background: none;
    font-size: var(--taille-12);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--encre);
    -webkit-text-fill-color: var(--encre);
}

#events .meta .evt-annee {
    display: none;                    /* l'année ne s'affiche que pour les événements passés */
}

/* En-tête : pastilles, puis titre */
#events .events-entry .desc {
    position: static;
    margin: 0;
    padding: 28px 32px 0 124px;
    border: 0;
}

#events .evt-avec-affiche .desc {
    padding-top: 18px;
}

#events .evt-pastilles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    min-height: 40px;
}

#events .evt-statut {
    padding: 3px 10px;
    border-radius: var(--arrondi);
    background: var(--bleu-clair);
    color: var(--bleu-texte);
    font-size: var(--taille-12);
    font-weight: 600;
    line-height: 1.4;
}

#events .events-entry .organizer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: var(--taille-12);
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--texte-discret);
}

#events .events-entry .organizer span {
    color: inherit;
}

#events .events-entry .organizer svg {
    flex: none;
    color: var(--bleu);
}

#events .events-entry h2 {
    margin: 10px 0 0;
    font-family: Poppins, sans-serif;
    font-size: var(--taille-22);
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    color: var(--encre);
}

/* Texte complet saisi dans l'administration, harmonisé */
#events .events-entry .location {
    padding: 10px 32px 0 124px;
    font-family: Poppins, sans-serif;
    font-size: var(--taille-15);
    font-weight: 400;
    line-height: 1.65;
    color: var(--texte-moyen);
}


#events .events-entry .location strong,
#events .events-entry .location b {
    font-weight: 600;
    color: var(--encre);
}

#events .events-entry .location p {
    margin: 0 0 10px;
}

#events .events-entry .location p:empty {
    display: none;
}


#events .events-entry .location a {
    color: var(--bleu);
}

/* Bouton : contour bleu, comme les autres boutons du site */
#events .events-entry > .row,
#events .evt-detail > .row {
    margin: 0;
    padding: 8px 32px 0 124px;
}

#events .events-entry .btn-colored {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin: 0;
    padding: 8px 20px;                /* comme tous les boutons .btn-md (0-base.css) */
    border: 1px solid var(--bleu);
    border-radius: var(--arrondi);
    background: var(--blanc);
    color: var(--bleu);
    font-family: Poppins, sans-serif;
    font-size: var(--taille-15);
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none;
    transition: background-color 0.2s, color 0.2s;
}


#events .evt-a-venir::after {
    content: "";
    display: block;
    height: 30px;                     /* marge sous le contenu */
}

/* Événements passés : lignes compactes */
#events .evt-passe .desc {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto 18px;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 20px;
    padding: 16px 22px;
    cursor: pointer;
}


#events .evt-passe .desc .meta {
    position: static;
    grid-row: 1 / 3;
    display: block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    text-transform: none;
    line-height: 1.3;
}

#events .evt-passe .meta::before {
    display: none;
}

#events .evt-passe .meta .date-1,
#events .evt-passe .meta .date-2 {
    display: inline;
    margin: 0;
    background: none;
    font-size: var(--taille-14);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--texte-doux);
    -webkit-text-fill-color: var(--texte-doux);
}

#events .evt-passe .meta .date-1::after {
    content: " ";
}

#events .evt-passe .meta .evt-annee {
    display: block;
    background: none;
    font-size: var(--taille-12);
    font-weight: 400;
    color: var(--gris-clair);
    -webkit-text-fill-color: var(--gris-clair);
}

#events .evt-passe .organizer {
    grid-column: 2;
    grid-row: 1;
    color: var(--gris-clair);
}

#events .evt-passe .organizer svg {
    color: var(--gris-pale);
}

#events .evt-passe h2 {
    grid-column: 2;
    grid-row: 2;
    margin: 2px 0 0;
    font-size: var(--taille-15);
    color: var(--texte);
}

#events .evt-termine {
    grid-column: 3;
    grid-row: 1 / 3;
    padding: 3px 10px;
    border-radius: var(--arrondi);
    background: var(--fond-doux);
    color: var(--texte-discret);
    font-size: var(--taille-12);
    font-weight: 500;
    white-space: nowrap;
}

#events .evt-passe .desc::after {
    content: "";
    grid-column: 4;
    grid-row: 1 / 3;
    justify-self: center;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid var(--gris-clair);
    border-bottom: 2px solid var(--gris-clair);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

#events .evt-passe.evt-ouvert .desc::after {
    margin-top: 4px;
    transform: rotate(-135deg);
}

#events .evt-detail {
    display: none;
    padding: 4px 0 24px;
    border-top: 1px solid var(--fond-doux);
}

#events .evt-ouvert .evt-detail {
    display: block;
}

#events .evt-detail .location {
    padding: 16px 32px 0 132px;
}

#events .evt-detail > .row {
    padding-left: 132px;
}

#events .evt-detail .location img {
    max-width: 560px;
}

/* Téléphones */
@media (max-width: 767.98px) {
    #events {
        padding: 48px 16px 56px;
    }

    #events .heading h2 {
        font-size: var(--taille-24);
    }

    #events .evt-a-venir .desc {
        padding: 56px 20px 0;
    }

    #events .evt-a-venir:not(.evt-avec-affiche) .desc {
        padding-top: 120px;
    }

    #events .evt-affiche .meta {
        left: 20px;
    }

    #events .events-entry .desc .meta {
        left: 20px;
    }

    #events .evt-a-venir .location,
    #events .evt-a-venir > .row {
        padding-left: 20px;
        padding-right: 20px;
    }

    #events .evt-passe .desc {
        grid-template-columns: 70px minmax(0, 1fr) 18px;
        padding: 14px 16px;
        column-gap: 14px;
    }

    #events .evt-termine {
        display: none;
    }

    #events .evt-passe .desc::after {
        grid-column: 3;
    }

    #events .evt-detail .location,
    #events .evt-detail > .row {
        padding-left: 16px;
        padding-right: 16px;
    }

    #events .evt-detail .location img {
        max-width: 100%;
    }
}
