
#offices.office-bg-section .office-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;min-height:480px}
#offices.office-bg-section .office-card{position:relative;isolation:isolate;overflow:hidden;min-width:0;height:424px;padding:32px;color:#fff;background:#10141e;border:0;display:flex;flex-direction:column;justify-content:space-between}
#offices.office-bg-section .office-card:nth-child(2){margin-top:56px;height:400px}
#offices.office-bg-section .office-bg-image{position:absolute;inset:0;z-index:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:55% center;filter:saturate(.78)}
#offices.office-bg-section .office-card:nth-child(2) .office-bg-image{object-position:58% center}
#offices.office-bg-section .office-card:after{content:'';position:absolute;inset:0;width:auto;height:auto;border:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(7,10,16,.26),rgba(7,10,16,.34) 36%,rgba(7,10,16,.9)),rgba(7,10,16,.2)}
#offices.office-bg-section .office-bg-heading,#offices.office-bg-section .office-bg-detail{position:relative;z-index:2}
#offices.office-bg-section .office-city{display:flex;align-items:center;gap:10px;font-size:11px;line-height:1.5;letter-spacing:.13em;color:#e6e7e9;font-weight:500}
#offices.office-bg-section .office-city:before{content:'';width:19px;height:2px;background:#D9FF43}
#offices.office-bg-section .office-card:nth-child(2) .office-city:before{background:#817fff}
#offices.office-bg-section .office-card h3{font-size:clamp(30px,3.3vw,44px);line-height:1.08;letter-spacing:-.04em;font-weight:600;margin:22px 0 0;max-width:none;color:#fff}
#offices.office-bg-section .office-bg-detail{padding-top:22px;border-top:1px solid rgba(255,255,255,.3)}
#offices.office-bg-section .office-card h4{font-size:17px;line-height:1.45;font-weight:600;letter-spacing:-.01em;padding:0;border:0;margin:0 0 12px;color:#fff}
#offices.office-bg-section .office-card p{font-size:15px;line-height:1.65;font-weight:400;color:#dedfe3;margin:0;max-width:520px}
#offices.office-bg-section .office-support{margin-top:22px}
@media(max-width:760px){#offices.office-bg-section .office-grid{grid-template-columns:1fr;gap:24px;min-height:0}#offices.office-bg-section .office-card{height:390px;padding:28px;width:100%;margin-right:0;margin-left:0}#offices.office-bg-section .office-card:nth-child(2){margin-top:0;margin-right:0;margin-left:0;height:390px}#offices.office-bg-section .office-card h3{font-size:34px}#offices.office-bg-section .office-card h4{font-size:16px}#offices.office-bg-section .office-card p{font-size:14px}}

@media (min-width:1024px){
/* Office panels align at the top and bottom; their text has stronger contrast. */
#offices.office-bg-section .office-grid{min-height:424px;align-items:stretch}
#offices.office-bg-section .office-card,#offices.office-bg-section .office-card:nth-child(2){margin-top:0;height:424px}
#offices.office-bg-section .office-card:after{background:linear-gradient(180deg,rgba(5,8,14,.36),rgba(5,8,14,.42) 32%,rgba(5,8,14,.95)),rgba(5,8,14,.23)}
#offices.office-bg-section .office-city{color:#fff;font-size:12px;font-weight:600}
#offices.office-bg-section .office-card h3{font-size:clamp(36px,3.5vw,48px);font-weight:700;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.4)}
#offices.office-bg-section .office-bg-detail{min-height:154px;border-top-color:rgba(255,255,255,.5)}
#offices.office-bg-section .office-card h4{font-size:18px;line-height:1.4;font-weight:700;min-height:2.8em;color:#fff;margin-bottom:10px}
#offices.office-bg-section .office-card p{font-size:16px;line-height:1.6;font-weight:500;color:#fff}
}

#offices.office-bg-section .office-grid {
  align-items:stretch;
  min-height:0;
}
#offices.office-bg-section .office-grid > .office-card {
  height:auto;
  min-height:390px !important;
  margin:0;
  justify-content:flex-start;
  row-gap:24px;
}
#offices.office-bg-section .office-bg-detail {min-height:0}
#offices.office-bg-section .office-card h4 {min-height:0;margin-bottom:6px}
#offices.office-bg-section .office-card:nth-child(2) .office-city::before {background:#ff595e}
@media (max-width:760px) {
  #offices.office-bg-section .office-grid {grid-template-columns:minmax(0,1fr)}
  #offices.office-bg-section .office-grid > .office-card {
    min-height:0 !important;
    padding:24px;
    row-gap:20px !important;
  }
  #offices.office-bg-section .office-bg-detail {padding-top:16px}
}
