/* Balanced editorial galleries across both cottages. The original alternating
   grid left empty columns when a compact bathroom image was positioned right. */
@media (min-width: 701px) {
  .gallery-sequence {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 44px);
    align-items: center;
  }
  .gallery-sequence > .photo:nth-child(n) {
    grid-column: auto / span 6;
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
    justify-self: stretch;
  }
  /* An unpaired final photograph is centered, never stranded at one edge. */
  .gallery-sequence > .photo:last-child:nth-child(odd) {
    grid-column: 4 / span 6;
  }
  .gallery-sequence > .photo.doris-compact-bathroom:nth-child(n) {
    grid-column: auto / span 6;
    width: 72%;
    max-width: 410px;
    margin: 0;
    justify-self: center;
  }
  .gallery-sequence > .photo.doris-compact-bathroom:last-child:nth-child(odd) {
    grid-column: 4 / span 6;
  }
}
@media (max-width: 700px) {
  .gallery-sequence > .photo.doris-compact-bathroom:nth-child(n) {
    width: 72%;
    max-width: 340px;
    margin: 1.5rem auto 2rem;
  }
}
