/* ══════════════════════════════════════════════════════
   ARTICLE PAGE — article-page.css
   Ordre maquette :
     image hero → share bar → titre → date → sources → corps
   ══════════════════════════════════════════════════════ */

/* ── Conteneur principal ── */
.node--type-article.node--view-mode-full {
 /* max-width: 860px;*/
  margin: 0 auto;
  padding: 0 0 48px;
  font-family: var(--bs-font-sans-serif);
}

/* ── Masquer éléments Drupal redondants ──
.node--type-article.node--view-mode-full .node__submitted,
.node--type-article.node--view-mode-full > h2,
.node--type-article.node--view-mode-full .field--name-title,
.node--type-article.node--view-mode-full .field--name-field-image,
.node--type-article.node--view-mode-full .field--name-field-type-article {
  display: none !important;
} */
:root {
  --color-blue:    #1A4FB3;
  --color-blue-dk: #1f4177;
  --color-red:     #c0392b;
  --color-red-dk:  #a93226;
  --color-dark:    #051040;
  --color-grey:    #f6f6f7;
  --top-h:         58px;
  --nav-h:         48px;
      --bs-body-font-family: var(--bs-font-sans-serif);
}

/* ══ 1. IMAGE HERO ══ */
.art-hero-wrap {
  width: 100%;
  margin: 0 0 0;
  line-height: 0;
  position: relative;
  overflow: hidden;
  background: #e8edf5;
}

.art-hero-wrap img {
  width: 100%;
  height: 420px;           /* hauteur fixe, identique pour toutes */
  max-height: none;
  object-fit: cover;       /* recadre au lieu de déformer */
  object-position: center; /* "center 30%" si le sujet est coupé */
  display: block;
}
/* Placeholder quand l'image privée est inaccessible */
.art-hero-placeholder {
  width: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, var(--color-dark, #051040) 0%, var(--color-blue, #1A4FB3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-hero-placeholder-icon {
  font-size: 3.5rem;
  color: rgba(255,255,255,0.25);
}

/* ══ 2. BARRE DE PARTAGE ══ */
.art-share-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 0 0;
  margin-bottom: 4px;
}

.art-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #c8d0dc;
 
  color: var(--color-dark, #051040);
  font-size: 1.05rem;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.art-share-btn:hover {
  background: var(--color-blue, #1A4FB3);
  color: #fff;
  border-color: var(--color-blue, #1A4FB3);
}

.art-share-btn.art-share-mail:hover {
  background: var(--color-red, #c0392b);
  border-color: var(--color-red, #c0392b);
}

/* ══ 3. TITRE ══ */
.art-title {
  font-family: var(--bs-font-sans-serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--color-dark, #051040);
  line-height: 1.25;
  margin: 8px 0 12px;
  padding: 0;
}

/* ══ 4. DATE ══ */
.art-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 14px;
  background: #f0f4fa;
 
  padding: 4px 10px;
}

.art-meta-date .bi {
  color: var(--color-blue, #1A4FB3);
  font-size: 0.85rem;
}

/* ══ 5. SOURCES ══ */
.art-sources-block {
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dde3ed;
}

.art-sources-label {
  font-weight: 700;
  color: var(--color-dark, #051040);
}

.art-sources-value {
  margin-left: 4px;
  color: #555;
}

/* ══ 6. CORPS DE L'ARTICLE ══ */
.art-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #222;
}

.art-content p,
.art-content .field--name-body p {
  margin-bottom: 1em;
}

.art-content h2,
.art-content h3,
.art-content h4 {
  font-family: var(--bs-font-sans-serif);
  color: var(--color-dark, #051040);
  margin: 1.4em 0 0.5em;
}

.art-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  border-left: 3px solid var(--color-blue, #1A4FB3);
  padding-left: 10px;
}

.art-content h3, .art-content h4 {
  font-size: 1rem;
  font-weight: 700;
}

.art-content ul, .art-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.art-content li {
  margin-bottom: 0.4em;
}

.art-content blockquote {
  border-left: 3px solid var(--color-blue, #1A4FB3);
  margin: 1.2em 0;
  padding: 10px 16px;
  background: #f4f7fc;
  color: #333;
  font-style: italic;
 
}

.art-content a {
  color: var(--color-blue, #1A4FB3);
  text-decoration: underline;
}

/* Masquer l'image insérée dans le body par Drupal (déjà affichée en hero) */
.art-content .field--name-body img {
  display: none;
}

/* ── RESPONSIVE ── */

/* ══ 7. MEMBRES LIÉS ══ */
.art-members-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--color-blue, #1A4FB3);
}

.art-members-label {
  font-size:18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blue, #1A4FB3);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.art-member-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f4f7fc;
 
  padding: 14px 16px;
  margin-bottom: 12px;
}

.art-member-logo {
  flex-shrink: 0;
  width: 100px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;

  border: 1px solid #dde3ed;
  padding: 6px;
}

.art-member-logo img {
  max-width: 90px;
  max-height: 50px;
  object-fit: contain;
  width: auto;
  height: auto;
}

.art-member-initiale {
  background: var(--color-blue, #1A4FB3);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
}

.art-member-info {
  flex: 1;
  min-width: 0;
}

.art-member-name a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-dark, #051040);
  text-decoration: none;
}

.art-member-name a:hover {
  color: var(--color-blue, #1A4FB3);
}

.art-member-text {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
  margin-top: 4px;
}

/* ── Masquer le champ original Drupal ── */
.node--type-article.node--view-mode-full .field--name-field-adherents-lies {
  display: none !important;
}

/* ══════════════════════════════════════════════════════
   PAGE NEWS — /en/news
   Même charte que homepage .paragraph--type--nos-actualites
   ══════════════════════════════════════════════════════ */

/* ── Wrapper pleine largeur fond beige ── */
.view-actualites {
  position: relative;
  background: #f0ede8;
  padding: 48px 0 56px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* ── FILTRES ── */
.view-actualites .view-filters {
  max-width: 1320px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.view-actualites .views-exposed-form .form--inline {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.view-actualites .views-exposed-form label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  display: block;
}

/* Select Année — une seule flèche */
.view-actualites .views-exposed-form .js-form-item-year {
  flex: 0 0 90px;
}

.view-actualites .views-exposed-form select.form-select {
  height: 38px;
  border: 1.5px solid #c8d0dc;
border-radius: 0px;
  font-size: 0.88rem;
  color: var(--color-dark, #051040);
  background-color: #fff;
  padding: 0 36px 0 12px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231A4FB3' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.view-actualites .views-exposed-form select.form-select:focus {
  border-color: var(--color-blue, #1A4FB3);
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,79,179,0.15);
}

/* Champ texte recherche */
.view-actualites .views-exposed-form .js-form-item-title {
  flex: 1 1 240px;
}

.view-actualites .views-exposed-form input.form-text {
  height: 42px;
  border: 1.5px solid #c8d0dc;

  font-size: 0.88rem;
  color: var(--color-dark, #051040);
  padding: 0 14px;
  width: 100%;
  background: #fff;
  -webkit-appearance: none;
}

.view-actualites .views-exposed-form input.form-text:focus {
  border-color: var(--color-blue, #1A4FB3);
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,79,179,0.15);
}

/* Bouton Apply */
.view-actualites .views-exposed-form .form-actions {
  flex: 0 0 auto;
}

.view-actualites .views-exposed-form input[type="submit"] {
  height: 42px;
  padding: 0 28px;
  background: var(--color-blue, #1A4FB3);
  color: #fff;
  border: 2px solid var(--color-blue, #1A4FB3);

  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  -webkit-appearance: none;
}

.view-actualites .views-exposed-form input[type="submit"]:hover {
  background: transparent;
  color: var(--color-blue, #1A4FB3);
}

/* ── GRILLE 4 colonnes ── */
.view-actualites .view-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.view-actualites .views-row {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
  display: flex;
}

/* ── CARTE ── */
.view-actualites .views-row article.node--view-mode-teaser {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
 
  overflow: hidden;
  height: 480px;
  padding-bottom: 27px;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}

.view-actualites .views-row article.node--view-mode-teaser:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}

/* Contextual admin */
.view-actualites .views-row .contextual {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}

/* ── IMAGE en premier (déplacée en JS avant le h2) ── */
.view-actualites .node--view-mode-teaser .field--name-field-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.view-actualites .node--view-mode-teaser .field--name-field-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.view-actualites .node--view-mode-teaser .field--name-field-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.view-actualites .node--view-mode-teaser:hover .field--name-field-image img {
  transform: scale(1.05);
}

/* ── TITRE h2 ── */
.view-actualites .node--view-mode-teaser h2 {
  font-family: var(--bs-font-sans-serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  padding: 14px 14px 0;
  flex: 1;
}

.view-actualites .node--view-mode-teaser h2 a {
  color: var(--color-blue, #1A4FB3);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  transition: color 0.2s;
}

.view-actualites .node--view-mode-teaser h2 a:hover {
  color: var(--color-blue-dk, #1f4177);
}

/* ── CORPS texte ── */
.view-actualites .node--view-mode-teaser .node__content {
  display: flex;
  flex-direction: column;
}

.view-actualites .node--view-mode-teaser .field--name-body {
  padding: 8px 14px 0;
  font-size: 12px;
  line-height: 1.55;
  color: #051040;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── FLÈCHE bleue centré en bas ── */
.view-actualites .node--view-mode-teaser .field--name-body::after {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background: var(--color-blue, #1A4FB3)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z'/%3E%3C/svg%3E")
    no-repeat center / 15px;
  
  margin: 15px auto 0;
  flex-shrink: 0;
  transition: background-color 0.2s;
}

.view-actualites .node--view-mode-teaser:hover .field--name-body::after {
  background-color: var(--color-blue-dk, #1f4177);
}

/* ── RESPONSIVE ── */

/* Conteneur principal */
.article-organisme-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: #e0e0e0;
    border: 0.5px solid #e0e0e0;
    margin: 2rem 0;
}

/* Élément individuel */
.article-organisme-related-item {
    background: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.2s;
}

.article-organisme-related-item:hover { background: #1A4FB3; }
.article-organisme-related-item:hover .organisme-title       { color: #fff; }
.article-organisme-related-item:hover .organisme-baseline    { color: rgba(255,255,255,0.65); }
.article-organisme-related-item:hover .organisme-description { color: rgba(255,255,255,0.8); }
.article-organisme-related-item:hover .organisme-logo-container {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
}
.article-organisme-related-item:hover .organisme-link::after {
    opacity: 1;
    color: #fff;
    transform: translateX(2px);
}

/* Lien vers l'organisme */
.organisme-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.organisme-link::after {
    content: '→';
    font-size: 16px;
    color: #bbb;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.2s, color 0.2s;
}

/* Conteneur du logo */
.organisme-logo-container {
    width: 56px;
    height: 56px;
    border: 0.5px solid #e8e8e8;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
    margin-right: 0; /* reset ancien */
}

/* Logo */
.organisme-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Conteneur du contenu textuel */
.organisme-content {
    flex: 1;
    min-width: 0;
}

/* Titre de l'organisme */
.organisme-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

/* Baseline (slogan) */
.organisme-baseline {
    font-size: 12px;
    color: #888;
    margin: 3px 0 0;
    font-style: italic;
    line-height: 1.4;
    transition: color 0.2s;
}

/* Description */
.organisme-description {
    font-size: 13px;
    color: #555;
    line-height: 1.65;
    margin: 0;
    padding-left: 0; /* reset ancien padding-left: 95px */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: color 0.2s;
}
/* ============================================================
   PARTENARIATS PRIVILÉGIÉS
   Tout scopé sous #partenariats-privilegies — rien d'autre touché
   ============================================================ */

#partenariats-privilegies {
  padding: 2rem 1.5rem;
  background:#F5F3F1 ;
  margin-bottom: 50px;
}
#partenariats-privilegies h2.display-5
{
  font-size: 25px;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
/* ============================================================
   GROUPE GAUCHE — items empilés, centrés
   ============================================================ */
#partenariats-privilegies .pp-groupe--gauche {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}
.pp-item__texte p{
  text-align: left;
}
#partenariats-privilegies .pp-item--gauche {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

#partenariats-privilegies .pp-item--gauche .pp-item__logo-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
}

#partenariats-privilegies .pp-item--gauche .pp-item__logo {
  width: 130px;
  height: auto;
  max-height: 90px;
  object-fit: contain;
}

#partenariats-privilegies .pp-item--gauche .pp-item__texte {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #333;
}

/* ============================================================
   GROUPE HAUT — côte à côte dans .content-img-haut
   ============================================================ */
#partenariats-privilegies .content-img-haut {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
}

#partenariats-privilegies .pp-item--haut {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 200px;
  max-width: 280px;
  gap: 1rem;
}

#partenariats-privilegies .pp-item--haut .pp-item__logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}

#partenariats-privilegies .pp-item--haut .pp-item__logo {
  max-width: 150px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

#partenariats-privilegies .pp-item--haut .pp-item__texte {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #333;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   SECTION VALEURS — isolée, sans impact sur les autres classes
   ============================================================ */

.valeurs {
  padding: 48px 24px 64px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Titre de section */
.valeurs__titre {
  text-align: center;
 font-size: 30px;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Grille : 2 colonnes par défaut, 1 sur mobile */
.valeurs__grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Carte individuelle */
.valeurs__carte {
  display: flex;
  flex-direction: row;
  align-items: center; /* ← centre verticalement */
  gap: 24px;
  background-color: var(--color-blue);
 
  padding: 32px 28px;
  box-sizing: border-box;
  min-height: 140px;
}
.valeurs__texte span{
  color:#fff;
}
/* Nom de la valeur */
.valeurs__nom {
  font-size: 17px; 
    font-weight: 700;
  color:#fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 100px;
  /*max-width: 130px;*/
  margin: 0 10px 0 0;
  padding: 0;
  line-height: 1.3;
}

/* Texte descriptif */
.valeurs__texte p {
  font-size: 0.9rem;
  color: #ffffff!important;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablette : on garde 2 colonnes mais on réduit les paddings */

/* Mobile : 1 colonne */