/* here you can put your own css to customize and override the theme */

.global-offices-block {
  padding: 72px 0 92px;
  background:
    linear-gradient(28deg, #eaf4f7 0%, rgba(234, 244, 247, 0.72) 24%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(135deg, #fff8f4 0%, #ffffff 42%, #edf5f8 100%);
  color: #333333;
}

.global-offices-block .container {
  max-width: 1440px;
}

.global-offices-kicker {
  width: 32px;
  height: 3px;
  margin: 0 auto 26px;
  border-radius: 4px;
  background: #F36B3D;
}

.global-offices-block h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  color: #2f3338;
  letter-spacing: 0;
}

.global-offices-block h2 span {
  color: #F36B3D;
}

.global-offices-block h4 {
  margin: 12px 0 26px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #9a9a9a;
  text-transform: none;
}

.global-offices-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 24px;
  color: #F36B3D;
  font-size: 20px;
  font-weight: 700;
}

.global-offices-brand span {
  width: 58px;
  height: 1px;
  background: #e4c8bd;
}

.global-offices-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  margin: 0 auto 58px;
  max-width: 1320px;
}

.global-offices-tabs button {
  min-width: 108px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid #eeeeee;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.76);
  color: #666666;
  font-size: 15px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.03);
  outline: none;
  transition: all 0.2s ease;
}

.global-offices-tabs button:hover,
.global-offices-tabs button.active {
  border-color: #F36B3D;
  background: #F36B3D;
  color: #FFFFFF;
}

.global-offices-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  text-align: left;
}

.global-offices-photo {
  width: 748px;
  max-width: 58%;
  overflow: hidden;
  border-radius: 16px !important;
  background: #FFFFFF;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.global-offices-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.87 / 1;
  object-fit: cover;
}

.global-offices-copy {
  width: 430px;
  max-width: 34%;
  padding: 10px 0;
}

.global-offices-copy h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: #333333;
}

.global-offices-mark {
  width: 24px;
  height: 3px;
  margin: 14px 0 18px;
  border-radius: 4px;
  background: #F36B3D;
}

.global-offices-copy p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 2.05;
  color: #5f6266;
}

.global-offices-consult {
  display: block;
  color: #f05a28;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
  word-break: keep-all;
}

@media (max-width: 1024px) {
  .global-offices-block {
    padding: 58px 0 72px;
  }

  .global-offices-block h2 {
    font-size: 28px;
  }

  .global-offices-panel {
    gap: 32px;
  }

  .global-offices-photo {
    max-width: 55%;
  }

  .global-offices-copy {
    max-width: 39%;
  }

  .global-offices-copy h3 {
    font-size: 24px;
  }

  .global-offices-copy p {
    font-size: 15px;
    line-height: 1.9;
  }
}

@media only screen and (max-width: 768px) {
  .global-offices-block {
    padding: 0.76rem 0 0.86rem;
    overflow: hidden;
  }

  .global-offices-kicker {
    width: 0.44rem;
    height: 0.04rem;
    margin-bottom: 0.28rem;
  }

  .global-offices-block h2 {
    max-width: 8.6rem;
    margin: 0 auto;
    font-size: 0.52rem;
    line-height: 1.42;
  }

  .global-offices-block h4 {
    max-width: 8.4rem;
    margin: 0.16rem auto 0.34rem;
    font-size: 0.28rem;
  }

  .global-offices-brand {
    gap: 0.24rem;
    margin-bottom: 0.3rem;
    font-size: 0.36rem;
  }

  .global-offices-brand span {
    width: 0.82rem;
  }

  .global-offices-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.18rem;
    width: 100vw;
    max-width: none;
    margin: 0 0 0.5rem;
    padding: 0 0.4rem 0.08rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .global-offices-tabs::-webkit-scrollbar {
    display: none;
  }

  .global-offices-tabs button {
    flex: 0 0 auto;
    min-width: auto;
    height: 0.68rem;
    padding: 0 0.34rem;
    border-radius: 0.34rem !important;
    font-size: 0.28rem;
    line-height: 0.66rem;
  }

  .global-offices-panel {
    display: block;
    padding: 0 0.4rem;
  }

  .global-offices-photo {
    width: 100%;
    max-width: none;
    border-radius: 0.18rem !important;
  }

  .global-offices-copy {
    width: 100%;
    max-width: none;
    padding: 0.48rem 0 0;
  }

  .global-offices-copy h3 {
    font-size: 0.44rem;
  }

  .global-offices-mark {
    width: 0.36rem;
    height: 0.04rem;
    margin: 0.18rem 0 0.24rem;
  }

  .global-offices-copy p {
    margin-bottom: 0.36rem;
    font-size: 0.28rem;
    line-height: 1.9;
  }

  .global-offices-consult {
    font-size: 0.3rem;
    line-height: 1.65;
    word-break: break-word;
  }
}
