/* ============================================================
   ESPACE MEMBRE — Barre de raccourcis (maquette)
   Ciblage : .extranet .espace-membre-topbar
   ============================================================ */

:root {
  --ev-blue: #1A4FB3;
  --dark: #051040;
  --ev-red: #c0392b;
  --ev-white: #ffffff;
  --grey-bg: #F5F3F1;
  --ev-radius: 4px;
  /* couleurs complémentaires conservées telles quelles */
  --ev-cyan: #5abcb5;
  --ev-orange: #F15E00;
  --color-grey: #F2F2F2;
  --primary-color: #1A4FB3;
  /* Bleu Proavia */
  --secondary-color: #f8f9fa;
  --text-color: #333;
  --light-text: #666;
  --border-color: #e0e0e0;
  --section-bg: #ffffff;
  --label-color: var(--primary-color);
  --field-padding: 15px;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --accent-color: #1A4FB3;
}

.text-blue {
  color: var(--ev-blue)
}

.espace-membre-dashboard .row {
  --bs-gutter-x: 1rem;
}

.espace-membre-dashboard .dashboard-block {
  border: 1px solid #ddd;
  height: 100%;
  overflow: hidden;
}

#contentsubmenu {
  top: -60px;
  position: relative;
  background: var(--grey-bg);
  margin-bottom: -30px;
}

.espace-membre-topbar .shortcut-box {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.espace-membre-topbar .shortcut-box:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.bg-proavia-red {
  background-color: #d9534f !important;
}

.bg-proavia-darkblue {
  background-color: #0b1a4a !important;
}

.bg-proavia-blue {
  background-color: #1d5cb0 !important;
}

.bg-proavia-grey {
  background-color: var(--grey-bg) !important;
}

.bg-proavia-cyan {
  background-color: #5abcb5 !important;
}

.bg-proavia-orange {
  background-color: #F15E00 !important;
}

.text-proavia-blue {
  color: #1d5cb0 !important;
}

.text-proavia-darkblue {
  color: #0b1a4a !important;
}

.extranet header[role="banner"] .region-nav-additional {
  background: none !important;
}

.infoprojet-card-link:hover {
  opacity: 0.85;
}

.infoprojet-card-link:hover .infoprojet-title {
  text-decoration: underline;
}

.extranet header[role="banner"] .region-nav-additional input[type="search"],
.extranet header[role="banner"] .region-nav-additional input[type="text"] {

  top: 1px;
  height: 49px;
  /*left: 28px;*/
  left: 4px;
  border-radius: 0px !important;
}

.article-date-loc {
  font-size: 0.85rem;
  color: #6d98d2;
  margin-bottom: 0.3rem;
  display: block;
}

.article-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.article-text {
  color: #555;
  font-size: 0.95rem;
}

.calendar-card {
  background-color: #f8f9fa;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}

.calendar-date {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1d5cb0;
  margin-bottom: 0.3rem;
}

.calendar-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0b1a4a;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.calendar-location {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b1a4a;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.calendar-location svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ===== CARTE DE CONTACT ===== */
.page-node-type-contact .field.field--name-title.field--type-string.field--label-hidden {
  display: none;
}

.page-node-type-contact {
  display: flex;
  gap: 25px;
  margin-bottom: 50px;
}

.page-node-type-contact .node__content {
  max-width: 860px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 2rem;
  align-items: start;
}

/* ===== COLONNE GAUCHE ===== */
.page-node-type-contact .contact-col-left {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.page-node-type-contact .field--name-field-image img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ev-blue);
  display: block;
  margin: 0 auto;
}

/* ===== EXPERTISE PAYS ===== */
.page-node-type-contact .field--name-field-experience-pays {
  text-align: center;
  font-size: 0.85rem;
}

.page-node-type-contact .field--name-field-experience-pays .field__label {
  font-weight: bold;
  margin-bottom: 0.4rem;
  color: #555;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.page-node-type-contact .field--name-field-experience-pays .field__item {
  background: #f0f4ff;
  border-radius: 4px;
  padding: 2px 6px;
  margin: 2px auto;
  display: inline-block;
}

/* ===== COLONNE DROITE ===== */
.page-node-type-contact .contact-col-right {
  grid-column: 2;
}

.page-node-type-contact .ev-page-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 0.25rem;
}

/* ===== CHAMPS AVEC ICÔNE BOOTSTRAP ===== */
.page-node-type-contact .field--name-field-organisme,
.page-node-type-contact .field--name-field-fonction,
.page-node-type-contact .field--name-field-courriel,
.page-node-type-contact .field--name-field-telephone,
.page-node-type-contact .field--name-field-telephone-portable,
.page-node-type-contact .field--name-field-linkedin,
.page-node-type-contact .field--name-field-adresse {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.3rem 0;
}

/* Masquer les labels Drupal */
.page-node-type-contact .field--name-field-organisme .field__label,
.page-node-type-contact .field--name-field-fonction .field__label,
.page-node-type-contact .field--name-field-courriel .field__label,
.page-node-type-contact .field--name-field-telephone .field__label,
.page-node-type-contact .field--name-field-telephone-portable .field__label,
.page-node-type-contact .field--name-field-linkedin .field__label {
  display: none;
}

/* Icônes Bootstrap Icons via ::before */
.page-node-type-contact .field--name-field-organisme::before,
.page-node-type-contact .field--name-field-fonction::before,
.page-node-type-contact .field--name-field-courriel::before,
.page-node-type-contact .field--name-field-telephone::before,
.page-node-type-contact .field--name-field-telephone-portable::before,
.page-node-type-contact .field--name-field-linkedin::before,
.page-node-type-contact .field--name-field-adresse::before {
  font-family: "bootstrap-icons";
  color: var(--ev-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.page-node-type-contact .field--name-field-organisme::before {
  content: "\F87C";
}

/* bi-building */
.page-node-type-contact .field--name-field-fonction::before {
  content: "\f4da";
}

/* bi-person */
.page-node-type-contact .field--name-field-courriel::before {
  content: "\f32f";
}

/* bi-envelope */
.page-node-type-contact .field--name-field-telephone::before {
  content: "\F5B4";
}

/* bi-telephone */
.page-node-type-contact .field--name-field-telephone-portable::before {
  content: "\F4E2";
}

/* bi-telephone même icône */
.page-node-type-contact .field--name-field-linkedin::before {
  content: "\f472";
}

/* bi-linkedin */
.page-node-type-contact .field--name-field-adresse::before {
  content: "\F424";
}

/* bi-house */

.page-node-type-contact .field--name-field-organisme {
  border-top: 1px solid #eee;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

/* ===== LIENS ===== */
.page-node-type-contact .field__item a {
  color: var(--ev-blue);
  text-decoration: none;
}

.page-node-type-contact .field__item a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */

/* ====== fin carte de contact ===== */

/* ===== CONTEUR PRINCIPAL (2 COLONNES) ===== */
.contact-container {
  display: flex;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background: white;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== COLONNE DE GAUCHE (IMAGE) ===== */
.contact-image-column {
  flex: 0 0 250px;
  /* Largeur fixe pour l'image */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-image-column .field--name-field-image img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

/* ===== COLONNE DE DROITE (DONNÉES) ===== */
.contact-data-column {
  flex: 1;
  /* Prend tout l'espace restant */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ===== CHAMPS DE CONTACT ===== */
.contact-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-color);
  border-radius: 6px;
}

.field-label {
  font-weight: 600;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}

.field-label i {
  color: var(--primary-color);
}

.field-value {
  color: var(--text-color);
  flex: 1;
  word-break: break-word;
}

.field-value a {
  color: var(--primary-color);
  text-decoration: none;
}

.field-value a:hover {
  text-decoration: underline;
}

/* ===== DESCRIPTION ===== */
.contact-description {
  padding: 10px;
  background: var(--bg-color);
  border-radius: 6px;
  margin-top: 10px;
}

.contact-description p {
  margin: 0;
  color: var(--light-text);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */

/* ============================================================
   card https://proavia.anakrys.biz/en/about
   ============================================================ */
/**/
.espace-membre-dashboard .col-lg-3 .bg-light {
  overflow-wrap: break-word;
  min-width: 0;
}

.espace-membre-dashboard .col-lg-3 .d-flex>div {
  min-width: 0;
}

.espace-membre-dashboard .col-lg-3 img {
  flex-shrink: 0;
}

.espace-membre-dashboard .col-lg-3 .small {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

/**/
.tch-member {
  position: relative;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  background: white;
  overflow: visible;
  /* Permet au logo de dépasser légèrement */
}

.tch-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tch-member-image-container {
  position: relative;
  height: 180px;
  /* Hauteur augmentée pour le logo */
  overflow: visible;
}

h3 .tch-member-name {
  margin-bottom: 0px;
}

.tch-member-content p.tch-member-company {
  margin-bottom: 12px;
  text-align: center;
}

.tch-member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*border-top-left-radius: 12px;
            border-top-right-radius: 12px;*/
}

.tch-member-logo {
  position: absolute;
  bottom: -20px;
  /* Positionné juste en dessous de l'image */
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1;
  max-width: 80%;
}

.tch-member-logo img {
  max-height: 40px;
  width: auto;
}

.tch-member-content {
  padding: 30px 20px 20px;
  /* Espace pour le logo en haut */
  text-align: center;
}

.tch-member-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #343a40;
}

.tch-member-company {
  font-size: 0.9rem;
  color: #6c757d;
}

.tch-member-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tch-member {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.tch-member:nth-child(1) {
  animation-delay: 0.1s;
}

.tch-member:nth-child(2) {
  animation-delay: 0.2s;
}

.tch-member:nth-child(3) {
  animation-delay: 0.3s;
}

.tch-member:nth-child(4) {
  animation-delay: 0.4s;
}

.tch-member:nth-child(5) {
  animation-delay: 0.5s;
}

/*************page https://proavia.anakrys.biz/en/documents-utiles**/
/* ===== RESET & BASE ===== */
.extranet .node--type-page {

  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #f8f9fa;
}

/* Suppression des styles Drupal inutiles */
.extranet .node--type-page .contextual,
.extranet .node--type-page .visually-hidden,
.extranet .node--type-page [data-contextual-id] {
  display: none !important;
}

/* ===== TITRES & SECTIONS ===== */
.extranet .node--type-page h2,
.extranet .node--type-page h3,
.extranet .node--type-page h4 {
  color: #2c3e50;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.extranet .node--type-page h2 {
  font-size: 2rem;
  border-bottom: 2px solid #1A4FB3;
  padding-bottom: 0.5rem;
}

.extranet .node--type-page h3 {
  font-size: 1.5rem;
  color: #1A4FB3;
  /* Bleu Proavia */
}

.extranet .node--type-page h4 {
  font-size: 1.2rem;
}

/* ===== PARAGRAPHES & TEXTE ===== */
.extranet .node--type-page .text-formatted p,
.extranet .node--type-page .paragraph--type--titre-texte p {
  margin-bottom: 1.2rem;
  color: #555;
}

.extranet .node--type-page .text-formatted p:first-child {
  font-style: italic;
  color: #666;
}

/* ===== DOCUMENTS TÉLÉCHARGEABLES ===== */
.extranet .node--type-page .paragraph--type--document-telechargeable {
  background: white;

  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #1A4FB3;
}

.extranet .node--type-page .paragraph--type--document-telechargeable .field--name-field-titre {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.extranet .node--type-page .file--application-pdf a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #1A4FB3;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.extranet .node--type-page .file--application-pdf a:hover {
  background: #0056b3;
}

/* ===== ESPACEMENT DES ÉLÉMENTS ===== */
.extranet .node--type-page .field__item {
  margin-bottom: 1.5rem;
}

.extranet .node--type-page .paragraph--type--titre-texte {
  margin-bottom: 1rem;
}

/* ===== COULEURS SPÉCIFIQUES ===== */
.extranet .node--type-page .text-proavia-blue {
  color: #1A4FB3;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */

/* =============================================
   NODE -- TYPE INFO-PROJET
   ============================================= */
/* Info-projet photo - zoom like use-case */
.node--type-info-projet .info-projet-photo .image-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.node--type-info-projet .info-projet-photo .image-wrapper img {
  display: block;
  transition: filter 0.3s ease;
}

.node--type-info-projet .info-projet-photo .image-wrapper:hover img {
  filter: brightness(0.75);
}

.node--type-info-projet .info-projet-photo .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.node--type-info-projet .info-projet-photo .zoom-icon i {
  font-size: 1.5rem;
  color: #333;
}

.node--type-info-projet .info-projet-photo .image-wrapper:hover .zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.node--type-info-projet {
  width: 100%;
  padding: 2rem 1.5rem;
  color: var(--dark);
}

/* Lien retour */
.node--type-info-projet .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ev-blue);
  text-decoration: none;
  margin-bottom: 2rem;
}

.node--type-info-projet .back-link:hover {
  text-decoration: underline;
}

/* Titre principal */
.node--type-info-projet h1 {
  font-size: 28px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ev-blue);
}

/* Grille méta (aéroport + pays) */
.info-projet-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.info-projet-aeroport,
.info-projet-pays {
  background: var(--grey-bg);
  padding: 0.875rem 1rem;
  border-left: 3px solid var(--ev-blue);
  /* pas de border-radius → angles carrés */
}

/* Séparateurs entre blocs */
.info-projet-body,
.info-projet-domaine,
.info-projet-prospect,
.info-projet-photo,
.info-projet-sources,
.info-projet-fichier {
  border-top: 0.5px solid #dde1eb;
  padding: 1.25rem 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
}

/* Tous les labels h2 */
.info-projet-aeroport h2,
.info-projet-pays h2,
.info-projet-body h2,
.info-projet-domaine h2,
.info-projet-prospect h2,
.info-projet-photo h2,
.info-projet-sources h2,
.info-projet-fichier h2 {
  font-size: 21px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ev-blue);
  margin-bottom: 4px;
}

/* Blocs en carte (body, domaine, prospect) */
.info-projet-body,
.info-projet-domaine,
.info-projet-prospect {
  background: #ffffff;
  border: 0.5px solid #dde1eb;
  border-radius: 0px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
}

/* Domaine + prospect côte à côte si la place le permet */
.info-projet-domaine,
.info-projet-prospect {
  display: inline-block;
  /* remplacé par grid si tu les wrapes */
}

/* Photo */
.info-projet-photo {
  /*background: var(--grey-bg);
  border: 0.5px solid #dde1eb;
  border-radius: 0px;*/
  border: none;
  padding: 1.25rem;
  margin-bottom: 1.5rem;  
  width: 20%;
  float: left;
}

.info-projet-photo img {
  max-width: 190px;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Sources */
.info-projet-sources {
  background: var(--grey-bg);
  border: 0.5px solid #dde1eb;
  border-radius: 0px;
  padding: 1.25rem;
  font-size: 13px;
  color: #5a6a8a;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Fichier */
.info-projet-fichier {
  background: #ffffff;
  border: 0.5px solid #dde1eb;
  border-radius: 0px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.info-projet-fichier a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1rem;
  background: var(--ev-blue);
  color: var(--ev-white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.info-projet-fichier a:hover {
  background: var(--dark);
}
/* =============================================
   NODE -- TYPE USE-CASE
   Calqué sur nouveaucode.html (A4 paysage)
   Charte : --color-blue #1A4FB3 / --color-dark #051040 / --color-red #c0392b
   ============================================= */

/* === VARIABLES === */
.node--type-use-case {
  --uc-blue:     #1A4FB3;
  --uc-blue-dk:  #1f4177;
  --uc-red:      #c0392b;
  --uc-dark:     #051040;
  --uc-grey:     #515151;
  --uc-bg:       #f7f7f7;
  --uc-bg-step:  #f2f2f2;
  --uc-radius:   3px;
  --uc-font: "Open Sans", sans-serif;

  font-family: var(--uc-font);
  color: #051040;
  background: var(--uc-bg);
  position: relative;
}

/* ══════════════════════════════════════════
   HEADER BANNER
   ══════════════════════════════════════════ */
   .node--type-use-case{
        width: 1122px;
        margin: 0 auto;
   }
.uc-header-banner {
  background-color: var(--uc-blue);
  width: 100%;
  padding: 14px 24px;
  display: flex;
  /*align-items: center;*/
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}
 
.uc-header-cell-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
      background: #fff;
    padding: 5px;
}
 
.logo-img,
.uc-logo-img {
  max-width: 110px;
  max-height: 52px;
  object-fit: contain;
  border-radius: 2px;
  display: block;
}
 
.uc-logo-placeholder {
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 80px;
  height: 44px;
  padding: 0 12px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.uc-header-cell-right {
  flex: 1 1 200px;
  display: flex;
  /*align-items: center;*/
  gap: 12px;
  flex-wrap: wrap;
  flex-direction: column;
}
 
.uc-how-to-badge {
  background: #fff;
  color: var(--uc-blue);
  font-size: 15px;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  /*flex-shrink: 0;*/
      width: 205px;
}
 
.uc-header-title {
  color: #fff;
      text-transform: uppercase;
  font-size: clamp(13px, 2vw, 17px);
  letter-spacing: 0.3px;
  margin: 0;
  line-height: 1.35;
}
 
/* ══════════════════════════════════════════
   LOCATION BANNER
   ══════════════════════════════════════════ */
.uc-location-banner {
  background-color: var(--uc-dark);
  color: #fff;
  padding: 7px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
 
.uc-location-icon {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
 
/* ══════════════════════════════════════════
   MAIN CONTAINER
   Desktop : sidebar gauche + blocs droite
   Tablette/Mobile : empilement vertical
   ══════════════════════════════════════════ */
.uc-main-container {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 24px;
  background: var(--uc-bg);
}
 
/* ── SIDEBAR PHOTOS ── */
.uc-images-sidebar {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
 
.uc-photos-1 { width: 220px; }
.uc-photos-2 { width: 270px; }
.uc-photos-3 { width: 160px; }
 
.uc-sidebar-photo {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #000;
}
 
.uc-photos-1 .uc-sidebar-photo { height: 240px; }
.uc-photos-2 .uc-sidebar-photo { height: auto; }
.uc-photos-3 .uc-sidebar-photo { height: 76px;  }
 
.uc-sidebar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}
 
.uc-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.25s;
}
 
.uc-photo-overlay i {
  font-size: 22px;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s;
}
 
.uc-sidebar-photo:hover img                  { transform: scale(1.05); opacity: 0.85; }
.uc-sidebar-photo:hover .uc-photo-overlay    { background: rgba(0,0,0,0.3); }
.uc-sidebar-photo:hover .uc-photo-overlay i  { opacity: 1; transform: scale(1); }
 
/* ── CONTENT BLOCKS ── */
.uc-content-blocks {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0; /* évite le débordement flex */
}
 
/* ══════════════════════════════════════════
   STEP ROWS
   ══════════════════════════════════════════ */
.uc-step-row {
     background: var(--uc-bg-step);
    border-radius: var(--uc-radius);
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}
 

.uc-result    { background: transparent; border: 1.5px solid var(--uc-red); }
 
.uc-step-badge {
 position: absolute;
    left: 0;
    top: 0;
    width: 10mm;
    height: 10mm;
    color: #ffffff;
    font-weight: bold;
    font-size: 14pt;
    text-align: center;
    line-height: 10mm;
    border-top-left-radius: 2px;
}
 
.uc-challenge .uc-step-badge { background: var(--uc-blue); }
.uc-solution  .uc-step-badge { background: var(--uc-blue-dk); }
.uc-result    .uc-step-badge { background: var(--uc-red); }
 
.uc-step-body {
      margin-left: 12mm;
    padding: 3mm 6mm 4mm 2mm;
    height: 100%;
}
 
.uc-step-title {
  font-size: 17px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
  line-height: 1.2;
}
 
.uc-challenge .uc-step-title { color: var(--uc-blue); }
.uc-solution  .uc-step-title { color: var(--uc-blue-dk); }
.uc-result    .uc-step-title { color: var(--uc-red); }
 
.uc-step-text {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}
 
.uc-step-text p            { margin: 0 0 4px; }
.uc-step-text p:last-child { margin: 0; }
 
.uc-step-text ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
 
.uc-step-text ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 3px;
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}
 
.uc-step-text ul li::before {
  content: "•";
  position: absolute;
  left: 3px;
  color: #888;
  font-size: 14px;
  line-height: 13px;
  top: 1px;
}
 
/* ══════════════════════════════════════════
   FOOTER BAR
   ══════════════════════════════════════════ */
.uc-footer-bar {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
 
.uc-footer-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
 
.uc-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--uc-dark);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
 
.uc-contact-icon {
  width: 14px;
  height: 14px;
  color: var(--uc-blue);
  flex-shrink: 0;
}
 
/* ══════════════════════════════════════════
   EXPORT PDF
   ══════════════════════════════════════════ */
.uc-export {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1.25rem 1.5rem;
  background: #f5f7fb;
  border-top: 0.5px solid #dde1eb;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
 
.uc-export-text {
  font-size: 14px;
  color: var(--uc-grey);
}
 
.uc-export-text strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--uc-dark);
  margin-bottom: 2px;
}
 
.uc-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--uc-blue);
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
 
.uc-btn:hover { opacity: 0.88; color: #fff; }
 /* ===== ACCORDÉON MOBILE — DASHBOARD ===== */

 
/* ══════════════════════════════════════════
   RESPONSIVE — TABLETTE  (< 768px)
   Sidebar passe au-dessus du contenu
   en grille horizontale de photos
   ══════════════════════════════════════════ */

 
/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE  (< 480px)
   ══════════════════════════════════════════ */

.edito-img-wrapper {
  float: left;
  margin-right: 10px;
  margin-bottom: 5px;
}

/********filter calendrier***/
/* Ligne unique — conteneur principal */

.page-route-view-events-page-1 .views-exposed-form .form--inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 15px;
}

/* Barre Search — plus large */
.page-route-view-events-page-1 .form-item-title {
  flex: 2;
  min-width: 0;
}

/* Wrapper date — taille fixe */
.page-route-view-events-page-1 #edit-date-wrapper {
  flex: 0 0 auto;
}

/* Masquer la légende "Date" qui décale l'alignement */
.page-route-view-events-page-1 #edit-date-wrapper legend {
  display: none;
}

/* Fieldset — reset border/padding natifs */
.page-route-view-events-page-1 #edit-date-wrapper fieldset,
.page-route-view-events-page-1 #edit-date-wrapper {
  border: none;
  padding: 0;
  margin: 0;
}

/* Min + Max côte à côte */
.page-route-view-events-page-1 #edit-date-wrapper .fieldset-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
      margin-bottom: 16px;
}

/* Labels Min / Max alignés avec Search */
.page-route-view-events-page-1 #edit-date-wrapper .form-item {
  flex: 1;
  min-width: 0;
  margin: 0;
}

/* Bouton Apply — plus petit, collé en bas */
.page-route-view-events-page-1 #edit-actions {
  flex: 0 0 auto;
  margin: 0;
      margin-bottom: 16px;
}

.page-route-view-events-page-1 #edit-submit-events {
  padding: 6px 14px;
  font-size: 13px;
  white-space: nowrap;
  height: 38px; /* même hauteur que les inputs */
      width: 126px;
}
/* ── Tablette : Search seule sur la 1re ligne,
       dates + bouton sur la 2e ──────────────────────────── */

/* ── Mobile : tout empilé, bouton pleine largeur ────────── */

/****fin filter calendrier***/