@charset "UTF-8";
/*! act-projets-citoyen — single projet : éditer assets/scss/blocks/_projet-single.scss */
/* Bannière */
/* Bannière container */
.act-projet-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  background-color: var(--primary-dark, var(--act--primary--800, rgb(34, 148, 77)));
}

.act-projet-heading--no-image {
  grid-template-columns: 1fr;
}

/* Bannière image */
.act-projet-heading-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

.act-projet-heading-image img {
  border-radius: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Content wrapper */
.act-projet-heading-content {
  display: flex;
  justify-content: center;
  padding: 6rem 4rem;
}

/* Content bannière wrapeper*/
.act-projet-heading-content-wrapper {
  color: var(--white, var(--act--neutral--0, #fff));
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 31.25rem;
}

.act-projet-heading-content h1 {
  color: var(--white, var(--act--neutral--0, #fff));
  font-size: clamp(2.375rem, 2.1678rem + 0.6935vw, 3rem);
  font-weight: 800;
}

.act-projet-heading-content .act-projet-heading__kind {
  font-size: 1rem;
  font-weight: 400;
}

/* Description bannière */
.act-projet-heading__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white, var(--act--neutral--0, #fff));
  opacity: 0.95;
}
.act-projet-heading__text :where(p):last-child {
  margin-bottom: 0;
}

/* Reposive bannière */
@media (max-width: 1000px) {
  .act-projet-heading-content {
    padding: 3rem 4rem;
    gap: 1rem;
  }
}
/* Menu */
/* z-index: par défaut 999 — au-dessus d’une navbar thème souvent en ~998 (clics). Surcharger avec --act-projet-menu-z-index. Si le header global du site doit rester au-dessus de la table des matières, lui donner z-index > 999 (ex. 1000) côté thème. */
.act-projet-menu {
  position: sticky;
  top: 0;
  z-index: var(--act-projet-menu-z-index, 999);
  background-color: var(--primary-ultra-light, var(--act--primary--100, rgb(235, 254, 242)));
  width: 100%;
  padding: 2rem 5rem;
  align-items: start;
}

body.admin-bar .act-projet-menu {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .act-projet-menu {
    top: 46px;
  }
}
.act-projet-menu-container {
  gap: 2rem;
}

.act-projet-menu__intro {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--primary-dark, var(--act--primary--800, rgb(34, 148, 77)));
}

.act-projet-menu__liste {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  gap: 1rem;
  row-gap: 1.5rem;
}

.act-projet-menu__li {
  list-style: none;
}

.act-projet-menu__li a {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.act-projet-menu__li:hover a,
.act-projet-menu__li.is-active a {
  color: var(--white, var(--act--neutral--0, #fff));
  background-color: var(--primary-dark, var(--act--primary--800, rgb(34, 148, 77)));
}

.act-projet-menu__li a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-ultra-dark, var(--act--neutral--800, rgb(27, 27, 27)));
  line-height: 100%;
  transition: all 0.3s ease;
}

.act-projet-menu__element {
  text-decoration: none;
}

/* Contenu de gauche */
.act-projet-single {
  width: 100%;
  padding: 5rem 4rem;
}

.act-projet-single__container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  width: 100%;
  min-width: 0;
}

.act-projet-single__container--no-sidebar {
  grid-template-columns: 1fr;
}

.act-projet-single__details-container {
  min-width: 0;
  max-width: min(52.875rem, 100%);
  width: 100%;
}

/* Fallback espacement contenu si Automatic.css (smart-spacing) absent */
.act-projet-default-spacing {
  display: flex;
  flex-direction: column;
  gap: var(--wp--style--block-gap, var(--space-m, 2rem));
}

.act-projet-default-spacing > :first-child {
  margin-block-start: 0;
}

/*
 * Accordéons imbriqués : aligner sur l’espacement entre accordéons racine
 * (.act-projet-section-orphans > .wp-block-details.is-layout-flow).
 * ACSS remet --stacked-details-gap à 0 sur .wp-block-details ; smart-spacing ne
 * cible que les enfants directs (> * + *).
 */
.act-projet-single .wp-block-details .wp-block-details {
  --stacked-details-gap: var(--flow-spacing, var(--wp--style--block-gap, var(--space-m, 2rem)));
}
.act-projet-single {
  /* Tableaux larges (min-width site) : scroll dans le wrapper, pas sur tout le details */
}
.act-projet-single .wp-block-details .act-block-post-content {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

/* Étapes : espacement métier (entre-accordéons racine = thème via is-layout-flow) */
.act-projet-etapes__titre {
  margin-top: 0;
}

.act-projet-etapes__description {
  margin-top: 1rem;
}

/* Notices d’étape (types : --default --info --alert --warning --success) */
.act-projet-etape-notice {
  margin-top: 1.5rem;
  border-radius: 8px;
  padding: 2rem;
}

.act-projet-etape-notice__title {
  font-weight: 700;
}

.act-projet-etape-notice__text {
  margin-top: 0.5rem;
}

.act-projet-etape-notice--default {
  background-color: var(--neutral-ultra-light, var(--act--neutral--100, rgb(236, 236, 236)));
}

.act-projet-etape-notice--info {
  background-color: var(--info-ultra-light, #e7f3ff);
}
.act-projet-etape-notice--info .act-projet-etape-notice__title,
.act-projet-etape-notice--info .act-projet-etape-notice__text {
  color: var(--info-ultra-dark, #0f4c81);
}

.act-projet-etape-notice--alert {
  background-color: var(--danger-ultra-light, #fdecea);
}
.act-projet-etape-notice--alert .act-projet-etape-notice__title,
.act-projet-etape-notice--alert .act-projet-etape-notice__text {
  color: var(--danger-ultra-dark, #8f1d1d);
}

.act-projet-etape-notice--warning {
  background-color: var(--warning-ultra-light, #fff4e5);
}
.act-projet-etape-notice--warning .act-projet-etape-notice__title,
.act-projet-etape-notice--warning .act-projet-etape-notice__text {
  color: var(--warning-ultra-dark, #8a4b00);
}

.act-projet-etape-notice--success {
  background-color: var(--success-ultra-light, #e6f4ea);
}
.act-projet-etape-notice--success .act-projet-etape-notice__title,
.act-projet-etape-notice--success .act-projet-etape-notice__text {
  color: var(--success-ultra-dark, #1b5e20);
}

.act-projet-commentaires__commentaire {
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--neutral-semi-light, #e0e0e0);
}

.act-projet-commentaires__commentaire > .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Comité : portrait + texte */
.act-projet-comite__membre {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.5rem;
}

.act-projet-comite__photo {
  flex-shrink: 0;
  max-width: 7.5rem;
}

.act-projet-comite__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  object-fit: cover;
}

.act-projet-comite__col--primary {
  flex: 1 1 12rem;
  min-width: 0;
}

.act-projet-comite__col--secondary {
  flex: 1 1 10rem;
  min-width: 0;
}

.act-projet-comite__nom {
  font-weight: 700;
}

.act-projet-comite__org,
.act-projet-comite__poste {
  margin-top: 0.25rem;
}

.act-projet-comite .act-projet-comite__membre + .act-projet-comite__membre {
  margin-top: 1.5rem;
}

/* Galerie (rendu PHP, hors bloc mosaic ACF) */
.act-projet-galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 1.25rem;
}

.act-projet-galerie__item {
  margin: 0;
}

.act-projet-galerie__media,
.act-projet-galerie__embed iframe,
.act-projet-galerie__embed video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

.act-projet-galerie__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.act-projet-galerie__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.25rem;
}

.act-projet-galerie__link {
  display: block;
  word-break: break-word;
}

.act-projet-galerie__caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

/* Sidebar */
.act-projet-single__sidebar {
  padding: 1.5rem;
  border-radius: 8px;
  background-color: var(--primary-ultra-light, var(--act--primary--100, rgb(235, 254, 242)));
}

.wp-block-heading svg {
  transform: translateY(3px);
}

.wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wp-block-group h4 {
  color: var(--primary-dark, var(--act--primary--800, rgb(34, 148, 77)));
}

.act-timeline {
  padding-left: 0.27rem;
  gap: 2rem;
  display: flex;
  flex-direction: column;
}

.act-timeline li {
  list-style: none;
  display: flex;
  gap: 0.3rem;
  position: relative;
}
.act-timeline li::before {
  content: "";
  display: inline-block;
  position: relative;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 3px solid var(--white, var(--act--neutral--0, #fff));
  background-color: var(--secondary-dark, var(--act--secondary--700, rgb(5, 130, 118)));
  box-shadow: 0 0 0 0.5px var(--neutral-semi-dark, var(--act--neutral--300, rgb(143, 143, 143)));
  transform: translateY(6px);
}
.act-timeline li:first-child::before {
  width: 1.3125rem;
  height: 1.3125rem;
  border: none;
  transform: translateY(4px) translateX(-2.5px);
  box-shadow: 0 0 0 0px var(--neutral-dark, var(--act--neutral--700, rgb(41, 41, 41)));
  flex-shrink: 0;
}
.act-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 2px;
  left: calc(0.5rem - 1px);
  top: calc(4px + 0.5rem);
  bottom: calc(-1 * 2rem - 4px - 0.5rem);
  background-color: var(--secondary-dark, var(--act--secondary--700, rgb(5, 130, 118)));
}
.act-timeline li:first-child:not(:last-child)::after {
  left: calc(0.65625rem - 3.5px);
  top: calc(4px + 0.65625rem);
}

.act-timeline li .act-timeline__date,
.act-timeline li .act-timeline__element {
  font-size: 0.875rem;
}

.act-timeline li .act-timeline__title {
  font-size: 1.125rem;
  color: var(--secondary-dark, var(--act--secondary--700, rgb(5, 130, 118)));
  font-weight: 600;
}

.act-timeline li .act-timeline__container-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.act-timeline li .act-timeline__element {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  align-items: start;
}

.act-timeline li .act-timeline__element svg {
  flex-shrink: 0;
  width: 17px;
  height: 16px;
  max-width: none;
  transform: translateY(7px);
}

/* Status */
.act-timeline__status {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--neutral-ultra-dark, var(--act--neutral--800, rgb(27, 27, 27)));
}

/* Commentaires (liste + formulaire — look détaillé via thème / GF) */
.act-projet-commentaires__count {
  margin: 0 0 0rem;
  padding-bottom: 0.75rem;
  font-size: clamp(1.25rem, 0.9174rem + 0.6938vw, 1.75rem);
  font-weight: 400;
  border-bottom: 1px solid var(--neutral-semi-light, #e0e0e0);
}

.act-projet-commentaires .wp-block-comments {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.act-projet-comment-form .act-projet-comment-form__field {
  margin-bottom: 1rem;
}

.act-projet-comment-form__submit-wrap {
  margin-top: 0.5rem;
}

/* Paragraphe début de formulaire */
.comment-form .logged-in-as {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  margin-top: 0;
}

.comment-form .act-projet-comment-form__logged-in-as-text {
  font-size: clamp(1.25rem, 0.9174rem + 0.6938vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.comment-form .act-projet-comment-form__logged-in-as-required {
  margin-bottom: 0.5rem;
}

.comment-form .act-projet-comment-form__logged-in-as-text,
.comment-form .act-projet-comment-form__logged-in-as-required {
  display: block;
}

.comment-form .act-projet-comment-form__logged-in-as-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 3rem;
  font-size: 0.95rem !important;
  line-height: 100%;
  margin-bottom: 1.25rem;
}

.act-projet-commentaires__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0rem;
  margin-bottom: 0rem;
}

.act-projet-commentaires__heading-main {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1rem;
  min-width: 0;
}

.act-projet-commentaires__heading-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0rem;
  font-size: 0.95rem !important;
  line-height: 150%;
}

.act-projet-commentaires__titre {
  min-width: 0;
}

.act-projet-commentaires__titre .wp-block-comment-author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.act-projet-commentaires__reply,
.act-projet-commentaires__edit {
  display: flex;
}

.act-projet-commentaires__reply .wp-block-button,
.act-projet-commentaires__edit .wp-block-button {
  margin: 0;
}

.act-projet-commentaires__date {
  margin: 0;
  text-align: left;
}

.act-projet-commentaires__titre .wp-block-comment-author-name {
  font-weight: 400;
  font-size: clamp(1.25rem, 0.9174rem + 0.6938vw, 1.75rem);
}

.act-projet-commentaires__text .wp-block-comment-content > p {
  margin-top: 0;
  font-size: 1rem;
}

.act-projet-comment-respond .comment-reply-title {
  font-size: clamp(1.25rem, 0.9174rem + 0.6938vw, 1.75rem);
  margin-bottom: 1rem;
}

.act-projet-comment-respond .comment-reply-title {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.act-projet-comment-respond .comment-reply-title small {
  font-size: 1.125rem !important;
  line-height: 100%;
  color: var(--primary, var(--act--primary--700, rgb(46, 198, 102)));
  margin-bottom: 0.25rem;
}

.act-projet-comment-respond .comment-reply-title small:hover {
  color: var(--primary-hover, var(--act--primary--800, rgb(34, 148, 77)));
}

/* Specific responsive for grid container */
@media (max-width: 1260px) {
  .act-projet-single__container {
    grid-template-columns: 2fr 1fr;
  }
}
/*Responsive Ipad */
@media (max-width: 767px) {
  .act-projet-heading {
    grid-template-columns: 1fr;
  }
  .act-projet-heading-content {
    justify-content: flex-start;
    padding: 3rem 1rem;
  }
  .act-projet-heading-content-wrapper {
    max-width: 100%;
  }
  .act-projet-menu {
    padding: 3rem 1rem;
    position: static;
    top: auto;
    z-index: auto;
  }
  .act-projet-single {
    padding: 5rem 1rem;
  }
  .act-projet-single__container {
    grid-template-columns: 1fr;
  }
  /* Sidebar */
  .act-projet-single__sidebar {
    display: none;
  }
  .act-projet-commentaires__heading-main {
    /*flex-direction: column; */
    /*align-items: flex-start;*/
    justify-content: space-between;
  }
  .act-projet-commentaires__heading-side {
    align-items: flex-start;
  }
  .act-projet-commentaires__date {
    text-align: left;
  }
}
/*Responsive Mobile 478px */

/*# sourceMappingURL=style.css.map */
