/* Keep the portrait inside its column, including while its source is loading. */
.agency-intro {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.agency-intro > * {
  min-inline-size: 0;
}
.agency-intro img.agent-portrait,
.agency-intro img.agent-logo {
  display: block;
  max-inline-size: 100%;
}
@media (max-width: 900px) {
  .agency-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .agency-intro img.agent-portrait,
  .agency-intro img.agent-logo {
    block-size: auto;
    max-block-size: 25rem;
    object-fit: contain;
  }
}
@media (max-width: 600px) {
  .ft-sector-copy .button {
    white-space: normal;
  }
  .ft-sector-intro figure {
    min-height: 0;
    aspect-ratio: 1.65;
  }
  .ft-sector-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-sector-gallery img:last-child:nth-child(odd) {
    aspect-ratio: 1.65;
  }
  main .help-inline > summary {
    align-content: center;
    min-block-size: 44px;
  }
  .property-grid .teaser-prev,
  .property-grid .teaser-next {
    min-inline-size: 44px;
    min-block-size: 44px;
  }
}

.hero.amy-editorial-hero .hero-content > h1 { font-weight: 600; font-size: clamp(2.25rem, 4vw, 4.2rem); hyphens: auto; }
.hero.amy-editorial-hero .hero-media [hidden] { display: none; }
.hero-media .ft-slide-tools { display: flex; gap: .5rem; }
.hero-media .ft-slide-tools button { min-width: 44px; min-height: 44px; padding: .35rem .85rem; border: 1px solid #fff9; border-radius: 2rem; background: #181816; color: white; font: 600 .85rem/1.1 var(--sans); cursor: pointer; }
.hero-media .ft-slide-tools button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.amy-discovery-search .discovery-fields > div { min-width: 0; }
.amy-discovery-search input[name="secteur"] { width: 100%; min-width: 0; min-height: 52px; border: 1px solid #bfb6a5; border-radius: 12px; background: #fdfbf7; color: #161613; padding: 12px 14px; font: 500 1rem/1.5 var(--sans); }
@media (max-width: 600px) { .amy-discovery-search .discovery-fields { grid-template-columns: minmax(0, 1fr); } }
