/* Hayden v6: shared structure for the five local office pages only.
   Keep the approved typography, palette, service rows and real team tiles. */
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-team .team-tile h3 > a.office-person-name {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-team .team-tile h3 > a.office-person-name:focus-visible {
  outline: 3px solid var(--syrah, #642239);
  outline-offset: 4px;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-grid {
  position: relative;
  align-items: stretch;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-image {
  margin: 0;
  min-width: 0;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .rating a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .6rem;
  color: inherit;
  text-underline-offset: .2em;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) :is(.location-services, .office-source-reviews, .location-team, .office-advice-v6, .location-faq) {
  padding-block: clamp(56px, 6vw, 88px);
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-source-reviews {
  background: var(--paper, #f7f4ed);
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-source-reviews .wrap,
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-map-v6 {
  min-width: 0;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-advice-v6 {
  background: var(--paper, #f7f4ed);
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin-top: 24px;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-advice-grid h2 {
  margin-top: 0;
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.15;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-advice-grid p {
  margin-bottom: 0;
  color: var(--muted, #5b666b);
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-visit-intro {
  max-width: 74ch;
  margin-bottom: 32px;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-visit-intro h2 {
  color: inherit;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-visit-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-map-v6 iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}
@media (max-width: 920px) {
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-advice-grid,
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-visit-layout {
    grid-template-columns: 1fr;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-advice-grid {
    gap: 28px;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-map-v6 iframe {
    height: 360px;
  }
}
@media (max-width: 700px) {
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-image {
    min-height: 0;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-image > img {
    position: static;
    height: 360px;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-image .location-card {
    position: static;
    width: auto;
    margin: 0 20px 32px;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-copy {
    padding-inline: 20px;
    min-width: 0;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .office-map-v6 iframe {
    min-height: 300px;
    height: 300px;
  }
}

/* Keep the six approved services readable on narrow office pages. The older
   two-column placement otherwise creates an implicit second grid track. */
@media (max-width: 480px) {
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-service {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-service h2 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-service h2::before {
    flex: none;
    margin: 3px 0 0;
  }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-service :is(p, a) {
    grid-column: 1;
    margin-left: 36px;
  }
}

/* Keep the phone, contact button and rating together on shorter laptops.
   Normal-flow content can still grow; tall desktops and mobile keep their scale. */
@media (min-width: 1021px) and (max-height: 800px) {
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-grid,
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-image { min-height: 0; }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-copy { padding-block: 24px; }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-copy .breadcrumbs { margin-bottom: 24px; }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero h1 { font-size: clamp(48px, 4.4vw, 62px); max-width: none; margin-bottom: 18px; }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-copy > .eyebrow { margin-bottom: 16px; }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-copy > p:not(.eyebrow):not(.rating) { font-size: 16px; line-height: 1.6; margin-bottom: 0; }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-copy .location-phone { font-size: 36px; margin-block: 18px; }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .location-hero-copy .rating { margin: 20px 0 0; }
}

/* Preserve breathing room on either side of the visit-detail divider. */
body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .visit-details > div { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 701px) {
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .visit-details > div:nth-child(odd) { padding-right: 24px; }
  body.site-suite.august-7.location-august:is(.page-id-13125, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .visit-details > div:nth-child(even) { padding-left: 24px; }
}
