.change-content {
  border-bottom: solid 0.0625rem #e0e0e0;
}

.change-content .active-border {
  border-bottom: solid 0.0625rem #000;
}

.experience-servicesTabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 0.9375rem;
}

.service-layout {
  padding-top: 3.75rem;
}

.content-section {
  margin-top: 1.25rem;
}

.all-contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 0.625rem;
  padding-bottom: 3.125rem;
}

.content-tab-item {
  display: block;
  cursor: pointer;
  font-size: 1rem;
  font-style: normal;
}

/* Media queries for max-width 992px */
@media screen and (max-width: 992px) {
  .contacts {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
  .map {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .main-text {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  .image {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
  }
}
@media screen and (max-width: 991px) {
  .all-contents {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .all-contents::-webkit-scrollbar {
    display: none;
  }
  .service-content {
    margin-right: 1.25rem;
    height: 100%;
  }
}
.service-content {
  height: 100%;
  margin-bottom: 1.25rem;
}

.experience-agnesb_assets-storeServicesContent {
  display: none;
}

.experience-agnesb_assets-storeServicesContent.active {
  display: block !important;
}

.flex-container-service {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  border: 0.0625rem solid #e8e8e8;
}

.text-content {
  padding: 1.375rem 1.125rem;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.text-content h2 {
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
}
.text-content p {
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
}

.flex-container-event {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.25rem;
}
.flex-container-event .discover-button {
  border-radius: 0;
  color: black;
  background-color: transparent;
  border: 0.0625rem solid #000;
  height: 2.75rem;
  width: 18.75rem;
  margin-bottom: 1.25rem;
  margin-right: 0.625rem;
  margin-top: 1.875rem;
}
.flex-container-event .discover-button .btn-text {
  padding: 0 2.5rem;
  font-size: 0.75rem;
  font-weight: 800;
}
.flex-container-event .event-date {
  color: #666;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}
.flex-container-event .event-heading {
  font-size: 1rem;
}
.flex-container-event .image-container {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 30%;
          flex: 0 0 30%;
  margin-bottom: 0.625rem;
}
.flex-container-event .text-content {
  padding: 0 1.25rem;
  text-align: left;
}
.flex-container-event .text-content .btn {
  text-align: left;
}

@media (max-width: 768px) {
  .flex-container-event {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .image-container,
  .text-content {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
    padding: 0;
  }
  .event-button {
    text-align: center;
  }
}