/* Chantiers (2026-11-19) : liste en grille alignée, liens brique, icône de reportage plus discrète ;
   fiche : récit dans la police du site (textes collés en Cantarell ou Times), navigation entre chantiers. */

/* Liste (FR) : grille au lieu des colonnes flottantes de hauteur fixe. */
.operations-list .col.s12 > .row, .operations-list li.active > .collapsible-body {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin: 0;
}
.operations-list .collapsible-body { padding: 20px 0 6px; }  /* « Archives » : grille seulement une fois ouvert */
@media only screen and (max-width: 992px) {
  .operations-list .col.s12 > .row, .operations-list li.active > .collapsible-body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media only screen and (max-width: 600px) {
  .operations-list .col.s12 > .row, .operations-list li.active > .collapsible-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
}
.operations-list .row > .col, .operations-list .collapsible-body > .col { float: none; width: auto; margin: 0; padding: 0; min-height: 0; }
.operations-list .card.small { height: 100% !important; margin: 0; display: flex; flex-direction: column; overflow: visible; }
.operations-list .card .card-image { display: block; overflow: hidden; max-height: none; border-radius: 2px; }
.operations-list .card .card-image img.img-card { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.operations-list .card .card-image:hover img.img-card { transform: scale(1.04); }
.operations-list .card.small .card-content {
  flex: 1; display: flex; flex-direction: column; height: auto !important; min-height: 0 !important; max-height: none !important;
  overflow: visible; padding: 0 !important;
}
.operations-list .card.small .card-content p:last-child { margin-top: auto; padding-top: 4px; }
.operations-list .card .card-content .titre-card { line-height: 1.3; }
.operations-list a.tc-plus.grey-text { color: rgb(176, 73, 50) !important; }
a.tc-plus:hover { text-decoration: underline; text-underline-offset: 3px; }
.operations-list .icon-player { width: 40px; height: 40px; max-width: 40px; max-height: 40px; opacity: .8; }
.operations-list .card-image .card-title { margin-left: -20px; margin-top: -20px; }
.operations-list .card-image:hover .icon-player { opacity: 1; }

/* Fiche : récit lisible quelle que soit sa provenance (styles collés neutralisés : police, taille, interligne). */
.tc-recit { font-size: 15px; line-height: 1.65; color: #222; }
.tc-recit * { font-family: inherit !important; line-height: inherit !important; }
.tc-recit p, .tc-recit div, .tc-recit span, .tc-recit font, .tc-recit li { font-size: inherit !important; }
.tc-recit p { margin: 0 0 .9em; }
.tc-recit h2 { font-size: 1.35rem !important; line-height: 1.3 !important; margin: .6em 0 .5em; }
.tc-recit a { color: rgb(176, 73, 50); }

/* Navigation entre chantiers, en bas de la fiche. */
.tc-chantier-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  margin: 26px 0 10px; padding: 14px 0; border-top: 1px solid #eadfd4;
  /* Materialize habille toutes les balises <nav> (fond, hauteur, texte blanc) : neutralisé ici. */
  height: auto; line-height: normal; background: none; box-shadow: none; color: inherit;
}
.tc-chantier-nav a { color: #222; line-height: 1.35; padding: 0; font-size: 14px; }
.tc-chantier-nav a small { display: block; font-size: 12px; color: rgb(176, 73, 50); font-weight: 500; }
.tc-chantier-nav a:hover { color: rgb(176, 73, 50); }
.tc-chantier-prec { text-align: left; }
.tc-chantier-suiv { text-align: right; }
.tc-chantier-nav .tc-chantier-tous {
  padding: 7px 16px; border: 1.5px solid rgb(176, 73, 50); border-radius: 90px; color: rgb(176, 73, 50) !important;
  font-weight: 500; white-space: nowrap;
}
.tc-chantier-nav .tc-chantier-tous:hover { background: rgb(176, 73, 50); color: #fff !important; }
@media only screen and (max-width: 600px) {
  .tc-chantier-nav { grid-template-columns: 1fr 1fr; }
  .tc-chantier-nav .tc-chantier-tous { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* « Archives » (2026-11-19) : bouton au contour brique, nombre de chantiers, chevron qui pivote à l'ouverture. */
.operations-list .collapsible.tc-archives { border: 0; box-shadow: none; margin: 34px 0 0; }
.operations-list .tc-archives-tete {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px;
  border: 1.5px solid rgb(176, 73, 50) !important; border-radius: 90px; background: #fff; color: rgb(176, 73, 50);
  cursor: pointer; transition: background-color .2s;
}
.operations-list .tc-archives-tete:hover { background: #fbf3ef; }
.operations-list .tc-archives-tete h3 { font-size: 1.1rem !important; font-weight: 500; color: rgb(176, 73, 50); }
.tc-archives-nombre { font-size: .9rem; color: #6d4c41; }
.tc-chevron { flex: none; transition: transform .25s; }
.operations-list li.active > .tc-archives-tete .tc-chevron { transform: rotate(180deg); }
.operations-list li.active > .tc-archives-tete { border-radius: 22px; }
.operations-list .tc-archives .collapsible-body { border: 0; }
@media (prefers-reduced-motion: reduce) { .tc-chevron { transition: none; } }
