/* Scoped to the new location page; existing catalogue styling stays unchanged. */
.approximate-location { max-width: 100%; }
/* Match the homepage heading scale without changing shared typography. */
.approximate-location > h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); text-align: center; }
/* One shared card: text and photograph remain separate, readable grid items. */
.contact-presentation { --contact-spacing: clamp(1.25rem, 2.5vw, 2rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--contact-spacing); align-items: center; margin: clamp(3rem, 5vw, 4.5rem) 0; padding: var(--contact-spacing); background: #faf8f2; border: 1px solid #d4d4d4; border-radius: 4px; box-shadow: 0 2px 8px rgb(37 54 43 / 4%); }
.contact-info { min-width: 0; }
.contact-photo { width: min(100%, 286px); justify-self: center; margin: 0; }
.contact-photo img { width: 100%; height: auto; max-height: none; object-fit: contain; }
/* Reserve enough space for whole contact rows before introducing the photo column. */
@media (min-width: 1000px) {
  .contact-presentation { grid-template-columns: minmax(0, 1fr) 237.6px; }
  .contact-photo { width: 100%; }
}
.contact-info h2 { margin: 0 0 1.5rem; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.contact-details { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 1rem .75rem; font-size: var(--intro-font-size); line-height: 1.65; }
.contact-details dt { font-weight: 600; }
.contact-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.contact-details .contact-phone { white-space: nowrap; }
@media (max-width: 600px) {
  .contact-details { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .contact-details dd { margin-bottom: 1rem; }
}
/* Frame only the map; existing action gaps and responsive layout stay intact. */
.map-card { padding: clamp(.75rem, 2.5vw, 1.5rem); margin-bottom: clamp(2rem, 4vw, 3rem); background: #fcfbf8; border: 1px solid #d4d4d4; border-radius: 4px; box-shadow: 0 2px 8px rgb(37 54 43 / 4%); }
#approximate-map { height: clamp(320px, 55vh, 540px); width: 100%; background: #eee; z-index: 0; border: 1px solid var(--site-green); box-shadow: 0 2px 8px rgb(37 54 43 / 4%); }
#approximate-map:focus-visible { outline: 2px solid #517952; outline-offset: 2px; }
.approximate-location .leaflet-control a { color: #333; }
.approximate-location .leaflet-control-attribution { font-size: 11px; }
.approximate-location .area-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1rem; }
.area-actions .area-external-first { margin-left: auto; }

/* Justify prose across the content width; leave the final line naturally short. */
.approximate-location > p:not(.area-links):not(.area-back) { max-width: none; width: 100%; font-size: var(--intro-font-size); text-align: justify; text-align-last: left; }
.approximate-location .area-back { margin-top: 2.5rem; }

/* Keep hidden reset out of the shared inline-block button rule until JS is ready. */
.area-actions .area-reset[hidden] { display: none; }

/* Compact spacing keeps longer translated controls together on tablets. */
@media (min-width: 768px) and (max-width: 900px) {
  .approximate-location .area-actions { gap: .75rem .5rem; }
  .approximate-location .area-actions button, .approximate-location .area-actions a { padding-inline: .5rem; }
}

/* Only mobile map actions: explicit columns prevent incidental flex wrapping.
   Keep the approved desktop/tablet rules above unchanged from 768 px upwards. */
@media (max-width: 767px) {
  .approximate-location .area-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: .5rem;
    margin-top: .75rem;
  }
  .area-actions .area-reset { grid-column: 1; grid-row: 1 / span 2; justify-self: start; }
  .area-actions .area-external-first { grid-column: 2; grid-row: 1; margin-left: 0; }
  .area-actions a:not(.area-external-first) { grid-column: 2; grid-row: 2; }
  .approximate-location .area-actions button,
  .approximate-location .area-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding-inline: .5rem;
    font-size: clamp(.875rem, 3.6vw, 1rem);
    line-height: 1.3;
    text-align: center;
    overflow-wrap: normal;
  }
  .approximate-location .area-actions a { justify-self: stretch; }
  .approximate-location .area-reset { hyphens: auto; overflow-wrap: anywhere; }
}
