.photo-canvas {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 100%;
  width: 100%;
  min-width: 0;
  margin: 1rem 0;
  gap: 1px;
}

/* Ratios généraux */
.photo-content.ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.photo-content.ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.photo-content.ratio-1x1 {
  aspect-ratio: 1 / 1;
}

.photo-content {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.photo-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Layouts simples */
.canvas-hero {
  display: grid;
  grid-template-columns: 1fr;
}

.canvas-2cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.canvas-3cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 1 grande à gauche + 2 à droite */
.canvas-hero-right-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1px;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.canvas-hero-right-2 > .photo-content:first-child {
  height: 100%;
}

.canvas-hero-right-2 .canvas-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  min-width: 0;
  height: 100%;
}

.canvas-hero-right-2 .canvas-col .photo-content {
  height: 100%;
  aspect-ratio: auto; /* important */
}

/* Responsive */
@media (max-width: 768px) {
  .canvas-2cols,
  .canvas-3cols,
  .canvas-hero-right-2 {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .canvas-hero-right-2 .canvas-col {
    grid-template-rows: auto auto !important;
    height: auto;
  }

  .canvas-hero-right-2 .canvas-col .photo-content {
    aspect-ratio: 16 / 9;
  }
}


/* timeline */
.timeline-compact-days {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-day {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-date {
    font-size: 13px;
    font-weight: 700;
    color: #1a73e8;
}

.timeline-line {
    font-size: 13px;
    font-weight: 600;
    color: #202124;
}

.timeline-address {
    font-size: 12px;
    color: #5f6368;
}