/* Offre bailleurs — déclinaison locale de la plaquette copropriété V3. */

.clean-bailleur-route .back-to-offers::before {
  margin-right: 7px;
  content: "←";
}

.cover-mosaic--bailleur-only {
  grid-template: 1fr / 1fr;
}

.cover-mosaic--bailleur-only .market-card {
  border: 0;
}

.cover-mosaic--bailleur-only .market-card img {
  object-position: center 48%;
  filter: saturate(.82) contrast(.98);
}

.sheet--bailleur-context .context-narrative {
  grid-template-columns: 1fr 1.08fr 1.12fr;
}

.bailleur-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.bailleur-timeline .timeline-phase {
  min-height: 66px;
  padding: 14px 18px 12px;
}

.bailleur-timeline .timeline-item--phase > p {
  padding-inline: 8px;
  font-size: 7.8px;
}

.timeline-item--portfolio .timeline-phase { background: var(--green-deep); }
.timeline-item--program .timeline-phase { background: var(--green); }

.timeline-notes--bailleur {
  grid-template-columns: 1fr 1fr;
  margin-left: 0;
}

.clean-bailleur-route .product-marker img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media screen and (max-width: 850px) {
  .clean-bailleur-route .viewer-toolbar__brand {
    width: 108px;
  }

  .clean-bailleur-route .viewer-toolbar > div {
    gap: .45rem;
  }

  .clean-bailleur-route .viewer-toolbar > div > .back-to-offers {
    display: inline-flex;
    min-height: 38px;
    padding-inline: .7rem;
    font-size: .68rem;
  }

  .clean-bailleur-route .viewer-toolbar > div > a:not(.back-to-offers):not(.download-action) {
    display: none;
  }

  .cover-mosaic--bailleur-only {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(310px, 76vw);
  }

  .cover-mosaic--bailleur-only .market-card img {
    object-position: center 46%;
  }

  .sheet--bailleur-context .context-narrative {
    grid-template-columns: 1fr;
  }

  .bailleur-timeline .timeline-item--phase > p {
    padding-inline: 0;
    font-size: .78rem;
  }

  .timeline-notes--bailleur {
    grid-template-columns: 1fr;
    margin-left: 76px;
  }

  .clean-bailleur-route .product-marker img {
    width: 22px;
    height: 22px;
  }
}

@media screen and (max-width: 480px) {
  .clean-bailleur-route .product-marker img {
    width: 20px;
    height: 20px;
  }
}

@media print {
  .clean-bailleur-route .back-to-offers {
    display: none !important;
  }
}
