/**
 * Location page tweaks.
 */

/*
 * The hero address is an external link, so it receives two external-link
 * indicators: the themed `::after` icon and the extlink module's appended SVG.
 * Hide the extlink SVG (kept in the DOM, off-screen for assistive tech) so only
 * a single icon is shown, matching the platform's location hero design.
 *
 * The library forces this SVG visible with an `!important` rule
 * (`.jcc-location__address > a.ext > svg`), so this override raises specificity
 * and also uses `!important`.
 */
.jcc-location__address.jcc-location-hero-link > a.ext > svg.ext {
  display: none !important;
}

/*
 * Locations & Contact Info cards grid: constrain and centre the tiles on
 * desktop so they don't stretch the full page width (about 25% smaller than
 * the platform's default card size). The breakpoint matches the platform's
 * `.jcc-cards--3-cols` grid (tablet-lg, 55em); below it the cards remain
 * full-width.
 */
@media all and (min-width: 55em) {
  .jcc-location-cards {
    max-width: 69.25rem;
    margin-left: auto;
    margin-right: auto;
  }
}
