/* Homepage contact offices: compact light cards, one per entity, icon rows only for available details.
   Density follows the Global Presence country cards. */
#contact.offices{background:var(--platinum);color:var(--ink)}
.offices-header{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:end;gap:48px;margin-bottom:40px}
.offices-header .eyebrow{margin-bottom:22px}
#contact.offices h2{margin:0;font-size:clamp(34px,3.2vw,48px);font-weight:400;line-height:1.35;letter-spacing:.5px;color:var(--dark)}
html[lang=en] #contact.offices h2{font-size:clamp(30px,2.8vw,42px);letter-spacing:0}
.offices-intro{max-width:380px;margin:0;font-size:15px;line-height:1.8;color:var(--muted)}
/* Cards keep their own height; short cards no longer stretch to the tallest. */
.offices-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:20px}
.office-card{min-width:0;padding:18px 16px 16px;background:#fff;border:1px solid var(--line)}
.office-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.office-number{color:var(--gold);font-size:12px;letter-spacing:1.5px;font-variant-numeric:tabular-nums}
.office-country{color:var(--dark);font-size:15px;font-weight:600;letter-spacing:.5px}
.office-region{margin-left:auto;padding:4px 8px;background:#f5f3ec;color:#827451;font-size:11px;letter-spacing:.5px;line-height:1.4;white-space:nowrap}
.office-card h3{margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid var(--line);color:var(--dark);font-size:14px;font-weight:400;line-height:1.45;letter-spacing:0;overflow-wrap:break-word}
.office-rows{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.office-row{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:8px;font-size:13px;line-height:1.5}
.office-row svg{width:16px;height:16px;margin-top:1px;fill:none;stroke:var(--gold);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.office-value{min-width:0;overflow-wrap:break-word}
.office-value address{font-style:normal}
/* Thai address: wrap at spaces; break inside a word only if one cannot fit the card. */
.office-address-long{overflow-wrap:break-word;word-break:normal;hyphens:manual}
.office-value a{color:var(--dark);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
.office-value a:hover{text-decoration-color:var(--gold)}
#contact.offices a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.office-badge{display:inline-block;margin-left:6px;padding:0 6px;border-radius:3px;background:var(--lime);color:var(--dark);font-size:10px;font-weight:600;letter-spacing:.5px;line-height:1.7;vertical-align:1px}
.office-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Four columns get too narrow for the addresses below 1100px. */
@media(max-width:1099px){
  .offices-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  .offices-header{grid-template-columns:1fr;gap:20px;margin-bottom:30px}
  .offices-grid{grid-template-columns:1fr;gap:14px}
}
