/* Locations v2 (Claude lane, private preview, 2026-10-12). Daniel: "Locations page needs to be worked on, pictures of the
   location, directions guide". Real office photos from DIO website potential assets; every fact sourced in
   docs/website-rebuild/locations-research-2026-10-12.md. No embedded map (no third-party request); "Open in Maps" links out. */
.loc-wrap{max-width:1120px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}
.loc-switch-row{display:flex;justify-content:center;margin:28px 0 22px}
.loc-switch{display:inline-flex;gap:0;padding:5px;border-radius:999px;background:linear-gradient(180deg,#e6e8e8 0%,#d4d7d7 38%,#c9cdcd 100%);box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(20,40,52,.28),0 6px 14px -8px rgba(0,0,0,.35)}
.loc-switch>button{min-height:48px;padding:12px clamp(14px,3vw,30px);border:0;border-radius:999px;background:transparent;color:#1c3341;font:600 16px/1.2 var(--font,'Avenir Next',Avenir,Nunito Sans,system-ui,sans-serif);cursor:pointer}
.loc-switch:not(.dio-segmented-control)>button[aria-pressed=true]{background:linear-gradient(180deg,#68869a 0%,#56737f 40%,#4a6573 100%);color:#fff}
.loc-panel[hidden]{display:none}
.loc-hero{position:relative;margin:0;border-radius:16px;overflow:hidden;aspect-ratio:21/9;background:#203846;box-shadow:0 20px 40px -26px rgba(16,32,42,.6)}
.loc-hero img{width:100%;height:100%;object-fit:cover;display:block}
.loc-hero figcaption{position:absolute;left:0;right:0;bottom:0;padding:60px clamp(18px,3vw,32px) 22px;color:#fff;background:linear-gradient(180deg,rgba(16,32,42,0) 0%,rgba(16,32,42,.55) 40%,rgba(16,32,42,.85) 100%)}
.loc-hero .kicker{display:block;font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#f4a165;margin:0 0 6px}
.loc-hero h2{margin:0;font-size:clamp(30px,4.4vw,48px);line-height:1.05;color:#fff}
.loc-hero p{margin:8px 0 0;font-size:18px;color:#e6edf1;max-width:640px}
.loc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin:22px 0 0}
.loc-card{border-radius:14px;padding:22px 22px 20px;background:linear-gradient(180deg,#e6e8e8 0%,#d4d7d7 38%,#c9cdcd 100%);box-shadow:inset 0 1px 0 #fff,0 14px 28px -20px rgba(16,32,42,.5);color:#1c3341}
.loc-card.navy{background:linear-gradient(180deg,#2c4757 0%,#203846 50%,#1b3140 100%);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 14px 28px -18px rgba(16,32,42,.6)}
.loc-card h3{margin:0 0 12px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#33444f}
.loc-card.navy h3{color:#a9c0cc}
.loc-addr{font-size:20px;line-height:1.4;font-weight:600;margin:0 0 14px}
.loc-hours{width:100%;border-collapse:collapse;font-size:15px;margin:0 0 16px}
.loc-hours td{padding:6px 0;border-top:1px solid rgba(32,56,70,.14)}
.loc-hours td:last-child{text-align:right;font-weight:600}
.loc-note{font-size:13px;color:#526773;margin:-6px 0 16px}
.loc-actions{display:flex;flex-wrap:wrap;gap:10px}
.loc-actions a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:999px;font-weight:600;font-size:15px;text-decoration:none;color:#fff;background:linear-gradient(180deg,#68869a 0%,#56737f 40%,#4a6573 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 4px 10px -6px rgba(0,0,0,.4)}
.loc-actions a.alt{color:#1c3341;background:#fff}
.loc-team{list-style:none;margin:0;padding:0}
.loc-team li{border-top:1px solid rgba(255,255,255,.14)}
.loc-team li:first-child{border-top:0}
.loc-team a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;color:#fff;text-decoration:none}
.loc-team b{font-size:17px;font-weight:600}
.loc-team small{display:block;font-size:14px;color:#c9d6dd;font-weight:400;margin-top:2px}
.loc-team .go{flex:0 0 32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:14px}
.loc-team a:hover b{text-decoration:underline;text-underline-offset:3px}
.loc-guide{margin:40px 0 0}
.loc-guide>h3{font-size:clamp(26px,3vw,34px);margin:0 0 6px;color:#1c3341}
.loc-guide>p.sub{margin:0 0 20px;color:#3d5260;font-size:17px}
.loc-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.loc-step{display:grid;grid-template-columns:52px minmax(0,1fr) minmax(0,260px);gap:16px;align-items:start;padding:18px;border-radius:14px;background:#f4f6f7;border:1px solid #e3e8eb}
.loc-step.noimg{grid-template-columns:52px minmax(0,1fr)}
.loc-step .n{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:18px;color:#203846;background:linear-gradient(180deg,#f4a165 0%,#ed873c 40%,#e9853b 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 2px 4px rgba(16,32,42,.25)}
.loc-step h4{margin:4px 0 6px;font-size:19px;color:#1c3341}
.loc-step p{margin:0 0 6px;font-size:16px;line-height:1.55;color:#33444f}
.loc-step img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;display:block}
.loc-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0 0}
.loc-strip figure{margin:0}
.loc-strip img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}
.loc-strip figcaption{font-size:14px;color:#526773;margin-top:6px}
.loc-travel{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin:26px 0 0;padding:20px 22px;border-radius:14px;background:#fdf1e7;border:1px solid #f6d6bb}
.loc-travel p{margin:0;font-size:17px;color:#5a2e0c;max-width:640px}
.loc-travel a{font-weight:700;color:#203846}
.loc-src{font-size:13px;color:#7a8b95;margin:14px 0 0}
@media(max-width:860px){.loc-grid{grid-template-columns:1fr}.loc-hero{aspect-ratio:16/10}.loc-step{grid-template-columns:44px minmax(0,1fr)}.loc-step img{grid-column:1/-1}.loc-strip{grid-template-columns:1fr 1fr}.loc-strip figure:nth-child(3){display:none}}
@media(max-width:480px){.loc-hero{aspect-ratio:4/5}.loc-switch>button{padding-inline:14px;font-size:15px}.loc-hero p{font-size:16px}}
/* Daniel 2026-10-13: the call button is the light aluminium pill, the same finish as the office switch, not flat white */
.loc-actions a.alt{color:#1c3341;background:linear-gradient(180deg,#e6e8e8 0%,#d4d7d7 38%,#c9cdcd 100%);box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(20,40,52,.28),0 6px 14px -6px rgba(0,0,0,.35);text-shadow:0 1px 0 rgba(255,255,255,.55)}
.loc-actions a.alt:hover,.loc-actions a.alt:focus-visible{background:linear-gradient(180deg,#eef0f0 0%,#dcdfdf 38%,#d1d5d5 100%)}
/* 2026-11-11 audit: on phones the header map draws at under half size, so its labels fell to 6 to 9px. Label sizes only, in the
   drawing's own units (about 12px names and 10px notes at 390); the map art is untouched. */
@media(max-width:480px){.dio-offices-map svg text.om-tx{font-size:32px}.dio-offices-map svg text.om-sm{font-size:29px}.dio-offices-map svg text.om-sm:not(.om-h){font-size:26px}}
/* 2026-11-12: raised from 27/24/22 when the drawing widened (offices-map.svg v3, 955 units across), so phone labels stay about 12px names and 10px notes */
/* 2026-11-11 audit: the kicker and sentence on the office photo sat on awnings, cars and pavement; a deeper, taller scrim puts all three lines on a dark field */
.loc-hero figcaption{padding-top:84px;background:linear-gradient(180deg,rgba(16,32,42,0) 0%,rgba(16,32,42,.74) 34%,rgba(16,32,42,.93) 100%)}
/* 2026-11-11 audit: the route map's heading was 8 to 25px under the last step card; a normal section gap */
.loc-steps + [data-dio-anim="boca-map"]{margin-top:48px}
/* 2026-11-11 audit: steps without a photo started 8px further right than the others on phones and tablets */
@media(max-width:860px){.loc-step.noimg{grid-template-columns:44px minmax(0,1fr)}}
/* 2026-11-11 audit: step text ran as single lines of about 130 characters on wide screens */
.loc-step p{max-width:72ch}
/* 2026-11-11 audit (Meet the doctors, the built page's .dio-doctor-grid): the three team cards keep their own height and sit three across
   on wide screens, instead of one stretched to its neighbour and one alone on a second row */
.loc-grid.dio-doctor-grid{align-items:start}
@media(min-width:1120px){.loc-grid.dio-doctor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* 2026-11-11 audit: the team card was stretched to the height of the hours card, leaving empty navy under a short list
   (about 330px on Tampa, one doctor). Each card now ends with its own content. */
.loc-panel:not(.loc-soon) .loc-grid{align-items:start}
/* 2026-11-11 audit: phones dropped the third gallery photo (the one with people in it). Three across still fits down to 600px;
   below that the three stack, full width. */
@media(max-width:860px){.loc-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.loc-strip figure:nth-child(3){display:block}}
@media(max-width:600px){.loc-strip{grid-template-columns:1fr;gap:16px}}
/* 2026-11-11 audit: on phones the action buttons stacked as left-aligned pills of two or three different widths */
@media(max-width:480px){.loc-actions a{flex:1 1 100%;justify-content:center}}
/* 2026-11-11 audit: on an office's own page (no office switch above it) the photo banner started 9px under the navy header,
   a thin seam that read as two blocks failing to join. A normal gap instead. */
.loc-wrap:not(:has(.loc-switch-row)) .loc-hero{margin-top:24px}
/* 2026-11-11 audit: on wide screens a step with a photo held two lines of text at the top of a 210px card; number and text now
   sit centred against the photo */
@media(min-width:861px){.loc-step:not(.noimg){align-items:center}}
/* 2026-11-11 audit (regression review): the "Getting here" map ran 980px wide on laptops, more than a screen tall, with labels larger than the
   section heading. It is held to the figure width used elsewhere (640px), as it already is in the media column on /travel-package/. */
.loc-steps + [data-dio-anim="boca-map"]{max-width:640px}
/* 2026-11-12 Salt Lake City photos (Daniel): its photo banner carries the "Now open" badge above the kicker, as the navy block did */
.loc-hero .loc-soon-badge{margin:0 0 10px}
/* 2026-11-12: an office with one gallery photo so far (Salt Lake City) shows it across the row, not alone in a third of it */
.loc-strip:has(>figure:only-child){grid-template-columns:minmax(0,1fr)}
.loc-strip>figure:only-child img{aspect-ratio:2/1}
@media(max-width:600px){.loc-strip>figure:only-child img{aspect-ratio:4/3}}
/* 2026-11-12 (Daniel, team review: "the USA and State centered and maybe spread apart from each other more for balance"): the map pair is
   centred in the header's content width; the spread is in the drawing itself (offices-map.svg v3). Drawn at the same scale as before
   (0.8 px per unit, 764px wide) where there is room; "Tap a pin to see that office." centred under the pair. */
.offices-hero .dio-vis.dio-offices-map{max-width:764px;margin:22px auto 0}
.offices-hero .dio-offices-map .ans-anim.is-static{max-width:none}
.offices-hero .dio-offices-map figcaption{text-align:center}
/* 2026-11-12 Salt Lake City: a gallery strip holding two photos spans the row in two equal columns (no empty third column) */
.loc-strip:has(>figure:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.loc-strip:has(>figure:nth-child(2):last-child){grid-template-columns:1fr}}
