.card-office-details {
  max-height: 709px;
  overflow: hidden;
  h4 {
    font-size: 24px;
    font-family: var(--font-family-roboto);
    font-weight: 700;
    color: #5f5e5e;
    @media (width<1200px) {
      font-size: 22px;
    }
    @media (width<768px) {
      font-size: 20px;
    }
  }

  h5 {
    position: relative;
    font-size: 20px;
    font-family: var(--font-family-roboto);
    font-weight: 600;
    color: #1c1c1c;
    @media (width<1200px) {
      font-size: 22px;
    }
    @media (width<768px) {
      font-size: 20px;
    }
    &::after {
      content: "";
      position: absolute;
      display: block;
      bottom: -0.75rem;
      height: 1px;
      width: 200vw;
      left: -50%;
      background: #f1f1f1;
    }
  }
  .card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .card-head-actions {
      display: flex;
      align-items: center;
      width: fit-content;
      gap: 10px;
      button {
        padding: 0;
        border: none;
        outline: none;
        background: transparent;
        justify-content: center;
        svg path {
          transition: 0.4s;
          fill: var(--color-secondary-dark);
        }
        &:hover svg path {
          fill: var(--color-primary);
        }
      }
    }
  }
  .card-body-office-info {
    @media (width>=768px) {
      display: flex;
      justify-content: space-between;
    }
    & > div {
      max-width: 264px;
      p {
        font-size: 14px;
        color: #1e1e1e;
      }
      p.fw-bolder {
        font-size: 18px;
      }

      text-align: start;

      @media (width>=768px) {
        text-align: start;
        display: flex;
        gap: 10px;
        justify-content: end;
        align-items: start;
      }
    }
    @media (width>=768px) {
      .container-contact {
        max-width: 172px !important;
      }
    }
  }
  .card-body {
    thead tr th {
      border: none;
    }
    padding: 0;
    margin-top: 1rem;
    .card-body-actions {
      display: flex;
      align-items: center;
      width: 100%;
      gap: 10px;
      button {
        padding: 0;
        border: none;
        outline: none;
        background: transparent;
        justify-content: center;
        svg path {
          transition: 0.4s;
        }
        &:hover svg path[fill="#A9A9A9"],
        &:hover svg path[fill="#B2ABAB"] {
          fill: var(--color-secondary-dark);
        }
        &:hover svg path[stroke="#A9A9A9"],
        &:hover svg path[stroke="#B2ABAB"] {
          stroke: var(--color-secondary-dark);
        }
      }
    }
    tbody tr td:nth-last-child(2){
      color: var(--color-secondary-dark) !important;
      font-weight: 400 !important;
    }
  }
  .card-footer {
    border: none;
    background: transparent;
    display: flex;
    justify-content: center;
  }
}
