.dhc-offices,
.dhc-experts {
  width: 100%;
  overflow: hidden;
}

.dhc-offices *,
.dhc-offices *::before,
.dhc-offices *::after,
.dhc-experts *,
.dhc-experts *::before,
.dhc-experts *::after {
  box-sizing: border-box;
}

.dhc-section-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #078fc5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.dhc-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #31566f;
  font-size: 15px;
  line-height: 1.5;
}

.dhc-section-link span {
  color: #078fc5;
  font-size: 19px;
  transition: transform .2s ease;
}

.dhc-section-link:hover {
  color: #078fc5;
}

.dhc-section-link:hover span {
  transform: translateX(3px);
}

.dhc-offices {
  padding: 72px 0 78px;
  background: #fff;
}

.dhc-offices__header,
.dhc-experts__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.dhc-offices__heading,
.dhc-experts__heading {
  max-width: 760px;
}

.dhc-offices__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dhc-offices__title-row h2,
.dhc-experts__heading h2 {
  margin: 0;
  color: #162f46;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.dhc-offices__title-row > span {
  padding: 5px 9px;
  border: 1px solid #b9dce9;
  border-radius: 4px;
  background: #f1f9fc;
  color: #22799c;
  font-size: 13px;
  line-height: 1.4;
}

.dhc-offices__heading > p,
.dhc-experts__heading > p {
  margin: 12px 0 0;
  color: #63798c;
  font-size: 16px;
  line-height: 1.8;
}

.dhc-offices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.dhc-offices__item {
  min-width: 0;
}

.dhc-offices__card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d8e3ea;
  border-radius: 6px;
  background: #fff;
  color: #17344c;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.dhc-offices__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #edf2f5;
}

.dhc-offices__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.dhc-offices__number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(20, 47, 70, .88);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.dhc-offices__body {
  display: flex;
  min-height: 158px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 18px;
}

.dhc-offices__body strong {
  color: #17344c;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
}

.dhc-offices__summary {
  display: -webkit-box;
  min-height: 48px;
  margin-top: 7px;
  overflow: hidden;
  color: #6b7f8f;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dhc-offices__more {
  margin-top: auto;
  padding-top: 12px;
  color: #087fae;
  font-size: 14px;
  font-weight: 600;
}

.dhc-offices__more i {
  margin-left: 4px;
  font-style: normal;
}

.dhc-offices__card:hover {
  border-color: #9fc7d9;
  box-shadow: 0 12px 28px rgba(24, 69, 99, .11);
  transform: translateY(-3px);
}

.dhc-offices__card:hover img {
  transform: scale(1.035);
}

.dhc-experts {
  padding: 72px 0 82px;
  background: #f4f7f9;
  border-top: 1px solid #e5ecef;
  border-bottom: 1px solid #e5ecef;
}

.dhc-experts__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
}

.dhc-experts__controls {
  display: flex;
  gap: 8px;
}

.dhc-experts__arrow {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #c6d5df;
  border-radius: 4px;
  background: #fff;
  color: #1a526f;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.dhc-experts__arrow > span {
  font: 400 29px/1 Arial, sans-serif;
  transform: translateY(-1px);
}

.dhc-experts__arrow:hover,
.dhc-experts__arrow:focus-visible {
  border-color: #078fc5;
  background: #078fc5;
  color: #fff;
  outline: none;
}

.dhc-experts__arrow:disabled {
  border-color: #dce4e9;
  background: #edf1f3;
  color: #a9b8c3;
  cursor: default;
}

.dhc-experts__viewport {
  width: 100%;
  margin-top: 34px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.dhc-experts__viewport::-webkit-scrollbar {
  display: none;
}

.dhc-experts__viewport:focus-visible {
  outline: 2px solid #6db7d6;
  outline-offset: 4px;
}

.dhc-experts__track {
  display: grid;
  grid-auto-columns: calc(25% - 15px);
  grid-auto-flow: column;
  gap: 20px;
  width: 100%;
}

.dhc-experts__item {
  min-width: 0;
  scroll-snap-align: start;
}

.dhc-experts__card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d4dfe6;
  border-radius: 6px;
  background: #fff;
  color: #17344c;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.dhc-experts__portrait {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e9edef;
}

.dhc-experts__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease;
}

.dhc-experts__body {
  display: flex;
  min-height: 164px;
  flex-direction: column;
  padding: 18px 19px 17px;
}

.dhc-experts__body > strong {
  display: -webkit-box;
  min-height: 52px;
  overflow: hidden;
  color: #17344c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dhc-experts__name {
  margin-top: 2px;
  color: #667d8f;
  font-size: 14px;
  line-height: 1.5;
}

.dhc-experts__meta {
  display: flex;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e3e9ed;
  flex-direction: column;
  gap: 3px;
}

.dhc-experts__meta > span {
  overflow: hidden;
  color: #526b7d;
  font-size: 14px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dhc-experts__meta em {
  color: #0783b4;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.dhc-experts__card:hover {
  border-color: #a8c9d8;
  box-shadow: 0 12px 28px rgba(24, 69, 99, .1);
  transform: translateY(-3px);
}

.dhc-experts__card:hover img {
  transform: scale(1.025);
}

@media screen and (max-width: 1000px) {
  .dhc-offices__grid {
    gap: 16px;
  }

  .dhc-experts__track {
    grid-auto-columns: calc(50% - 8px);
    gap: 16px;
  }
}

@media screen and (max-width: 767px) {
  .dhc-offices,
  .dhc-experts {
    padding: 44px 0 52px;
  }

  .dhc-offices__header,
  .dhc-experts__header {
    align-items: flex-start;
    gap: 18px;
  }

  .dhc-section-eyebrow {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .dhc-offices__title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .dhc-offices__title-row h2,
  .dhc-experts__heading h2 {
    font-size: 27px;
  }

  .dhc-offices__heading > p,
  .dhc-experts__heading > p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
  }

  .dhc-section-link {
    font-size: 13px;
  }

  .dhc-section-link > span {
    display: none;
  }

  .dhc-offices__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 25px;
  }

  .dhc-offices__card {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  }

  .dhc-offices__media {
    height: 100%;
    min-height: 156px;
    aspect-ratio: auto;
  }

  .dhc-offices__number {
    top: 10px;
    left: 10px;
    min-width: 34px;
    height: 27px;
  }

  .dhc-offices__body {
    min-height: 156px;
    padding: 15px 15px 13px;
  }

  .dhc-offices__body strong {
    font-size: 18px;
  }

  .dhc-offices__summary {
    min-height: 43px;
    font-size: 13px;
    line-height: 1.65;
  }

  .dhc-offices__more {
    padding-top: 8px;
    font-size: 13px;
  }

  .dhc-experts__actions {
    gap: 10px;
  }

  .dhc-experts__controls {
    display: none;
  }

  .dhc-experts__viewport {
    margin-top: 25px;
  }

  .dhc-experts__track {
    grid-auto-columns: 82%;
    gap: 12px;
    padding-right: 9%;
  }

  .dhc-experts__body {
    min-height: 153px;
    padding: 16px;
  }
}

@media screen and (max-width: 420px) {
  .dhc-offices__header,
  .dhc-experts__header {
    display: block;
  }

  .dhc-offices__header > .dhc-section-link,
  .dhc-experts__actions {
    margin-top: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dhc-experts__viewport {
    scroll-behavior: auto;
  }

  .dhc-section-link span,
  .dhc-offices__card,
  .dhc-offices__media img,
  .dhc-experts__card,
  .dhc-experts__portrait img {
    transition: none;
  }
}

/* Compact desktop layout and collapsible office directory. */
.dhc-offices {
  padding: 0;
  border-top: 1px solid #e5ecef;
  border-bottom: 1px solid #e5ecef;
}

.dhc-offices__details {
  width: 100%;
}

.dhc-offices__summary-row {
  display: flex;
  min-height: 138px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 0;
  cursor: pointer;
  list-style: none;
}

.dhc-offices__summary-row::-webkit-details-marker {
  display: none;
}

.dhc-offices__summary-row::marker {
  display: none;
  content: "";
}

.dhc-offices__summary-heading {
  display: block;
  min-width: 0;
}

.dhc-offices__summary-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dhc-offices__title {
  color: #162f46;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.25;
}

.dhc-offices__tag {
  padding: 4px 8px;
  border: 1px solid #b9dce9;
  border-radius: 4px;
  background: #f1f9fc;
  color: #22799c;
  font-size: 12px;
  line-height: 1.4;
}

.dhc-offices__intro {
  display: block;
  margin-top: 7px;
  color: #63798c;
  font-size: 14px;
  line-height: 1.7;
}

.dhc-offices__toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #31566f;
  font-size: 14px;
  font-weight: 600;
}

.dhc-offices__toggle i {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 1px solid #bdd0dc;
  border-radius: 50%;
  background: #fff;
}

.dhc-offices__toggle i::before,
.dhc-offices__toggle i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: #167ca5;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.dhc-offices__toggle i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.dhc-offices__toggle-close {
  display: none;
}

.dhc-offices__details[open] .dhc-offices__toggle-open {
  display: none;
}

.dhc-offices__details[open] .dhc-offices__toggle-close {
  display: inline;
}

.dhc-offices__details[open] .dhc-offices__toggle i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.dhc-offices__panel {
  padding: 0 0 44px;
  border-top: 1px solid #e1e8ed;
}

.dhc-offices__grid {
  margin-top: 24px;
  gap: 18px;
}

.dhc-offices__media {
  aspect-ratio: 16 / 9;
}

.dhc-offices__body {
  min-height: 124px;
  padding: 15px 18px 14px;
}

.dhc-offices__body strong {
  font-size: 18px;
}

.dhc-offices__summary {
  min-height: 40px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
}

.dhc-offices__more {
  padding-top: 7px;
  font-size: 13px;
}

.dhc-offices__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.dhc-experts {
  padding: 52px 0 58px;
}

.dhc-experts__heading h2 {
  font-size: 32px;
}

.dhc-experts__heading > p {
  margin-top: 8px;
  font-size: 15px;
}

.dhc-experts__viewport {
  margin-top: 24px;
}

.dhc-experts__track {
  grid-auto-columns: calc(20% - 16px);
}

.dhc-experts__body {
  min-height: 136px;
  padding: 14px 15px 13px;
}

.dhc-experts__body > strong {
  min-height: 45px;
  font-size: 16px;
}

.dhc-experts__name,
.dhc-experts__meta > span,
.dhc-experts__meta em {
  font-size: 13px;
}

.dhc-experts__meta {
  padding-top: 8px;
}

@media screen and (max-width: 1200px) and (min-width: 901px) {
  .dhc-experts__track {
    grid-auto-columns: calc(25% - 15px);
  }
}

@media screen and (max-width: 900px) and (min-width: 768px) {
  .dhc-experts__track {
    grid-auto-columns: calc(50% - 8px);
  }
}

@media screen and (max-width: 767px) {
  .dhc-offices__summary-row {
    min-height: 0;
    gap: 16px;
    padding: 22px 0;
  }

  .dhc-offices__title {
    font-size: 25px;
  }

  .dhc-offices__summary-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .dhc-offices__intro {
    font-size: 13px;
  }

  .dhc-offices__toggle > span {
    display: none;
  }

  .dhc-offices__toggle i {
    width: 32px;
    height: 32px;
  }

  .dhc-offices__panel {
    padding-bottom: 30px;
  }

  .dhc-offices__grid {
    margin-top: 18px;
  }

  .dhc-offices__media {
    aspect-ratio: auto;
  }

  .dhc-offices__body {
    min-height: 146px;
  }

  .dhc-experts {
    padding: 44px 0 50px;
  }

  .dhc-experts__heading h2 {
    font-size: 27px;
  }

  .dhc-experts__viewport {
    margin-top: 20px;
  }

  .dhc-experts__track {
    grid-auto-columns: 78%;
  }

  .dhc-experts__body {
    min-height: 145px;
  }
}

/* International offices: compact filmstrip carousel with a visible next card. */
.dhc-offices.dhc-offices--carousel {
  overflow: hidden;
  padding: 46px 0 50px;
  border-top: 1px solid #e5ecef;
  border-bottom: 1px solid #e5ecef;
  background: #fff;
}

.dhc-offices__carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.dhc-offices--carousel .dhc-offices__title-row h2 {
  font-size: 31px;
}

.dhc-offices--carousel .dhc-offices__heading > p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.7;
}

.dhc-offices__carousel-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
}

.dhc-offices__controls {
  display: inline-grid;
  grid-template-columns: repeat(2, 38px);
  gap: 6px;
}

.dhc-offices__controls button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #c5d5df;
  border-radius: 4px;
  background: #fff;
  color: #1d6385;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.dhc-offices__controls button:hover {
  border-color: #1285b1;
  background: #1285b1;
  color: #fff;
}

.dhc-offices__controls button:disabled {
  border-color: #dce5ea;
  background: #f7f9fa;
  color: #9aabb5;
  cursor: default;
}

.dhc-offices__viewport {
  width: 100%;
  margin-top: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.dhc-offices__viewport::-webkit-scrollbar {
  display: none;
}

.dhc-offices__track {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.dhc-offices--carousel .dhc-offices__item {
  flex: 0 0 clamp(270px, 27%, 380px);
  scroll-snap-align: start;
}

.dhc-offices--carousel .dhc-offices__card {
  height: 100%;
  transform: none;
}

.dhc-offices--carousel .dhc-offices__media {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.dhc-offices--carousel .dhc-offices__body {
  min-height: 122px;
  padding: 15px 18px 14px;
}

.dhc-offices--carousel .dhc-offices__body strong {
  font-size: 18px;
}

.dhc-offices--carousel .dhc-offices__summary {
  min-height: 40px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
}

.dhc-offices--carousel .dhc-offices__more {
  padding-top: 7px;
  font-size: 13px;
}

.dhc-offices__status {
  display: grid;
  width: min(360px, 100%);
  grid-template-columns: 28px minmax(120px, 1fr) 28px;
  align-items: center;
  gap: 12px;
  margin: 18px auto 0;
  color: #607789;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.dhc-offices__progress {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  background: #dbe5ea;
}

.dhc-offices__progress i {
  position: absolute;
  inset: 0;
  display: block;
  background: #1384ae;
  transform: scaleX(.08);
  transform-origin: left center;
  transition: transform .18s ease-out;
}

@media screen and (max-width: 1000px) {
  .dhc-offices--carousel .dhc-offices__item {
    flex-basis: clamp(270px, 42%, 350px);
  }
}

@media screen and (max-width: 767px) {
  .dhc-offices.dhc-offices--carousel {
    padding: 38px 0 42px;
  }

  .dhc-offices__carousel-header {
    align-items: flex-end;
    gap: 14px;
  }

  .dhc-offices--carousel .dhc-offices__title-row h2 {
    font-size: 27px;
  }

  .dhc-offices--carousel .dhc-offices__heading > p {
    max-width: 260px;
    margin-top: 7px;
    font-size: 13px;
  }

  .dhc-offices__carousel-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .dhc-offices__controls {
    grid-template-columns: repeat(2, 34px);
  }

  .dhc-offices__controls button {
    width: 34px;
    height: 34px;
  }

  .dhc-offices__viewport {
    margin-top: 20px;
  }

  .dhc-offices__track {
    gap: 12px;
  }

  .dhc-offices--carousel .dhc-offices__item {
    flex-basis: 84%;
  }

  .dhc-offices--carousel .dhc-offices__card {
    display: block;
  }

  .dhc-offices--carousel .dhc-offices__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .dhc-offices--carousel .dhc-offices__body {
    min-height: 128px;
  }

  .dhc-offices__status {
    width: min(260px, 86%);
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dhc-offices__viewport {
    scroll-behavior: auto;
  }

  .dhc-offices__progress i,
  .dhc-offices__controls button {
    transition: none;
  }
}
