.flex_layout.specialty_groot {
  max-width: 100%;
  margin-top: clamp(
    60px,
    60px + (150 - 60) * ((100vw - 350px) / (1290 - 350)),
    150px
  );
  margin-bottom: clamp(
    80px,
    80px + (200 - 80) * ((100vw - 350px) / (1290 - 350)),
    200px
  );
}

.flex_layout.specialty_groot .pk-top_row {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: clamp(
    50px,
    50px + (110 - 50) * ((100vw - 350px) / (1290 - 350)),
    110px
  );
}

.flex_layout.specialty_groot .pk-top_row h1,
.flex_layout.specialty_groot .pk-top_row h2 {
  font-size: clamp(
    40px,
    40px + (60 - 40) * ((100vw - 350px) / (1290 - 350)),
    60px
  );
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}

.flex_layout.specialty_groot .pk-top_row p {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  color: var(--white);
  max-width: 500px;
  margin: 0 auto;
}

.flex_layout.specialty_groot .pk-grid {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.flex_layout.specialty_groot .pk-item {
  width: 100%;
  color: var(--white);
  border-radius: 10px;
  border: 0.55px solid rgba(225, 234, 232, 0.1);
  background: rgba(225, 234, 232, 0.1);
  backdrop-filter: blur(22px);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.flex_layout.specialty_groot .pk-item:hover {
  border: 0.74px solid rgba(225, 234, 232, 0.749);
}

.flex_layout.specialty_groot .pk-item .pk-item_inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 24px;
}

.flex_layout.specialty_groot .pk-item .pk-item_inner figure {
  margin-bottom: 40px;
}

.flex_layout.specialty_groot .pk-item h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
}

.flex_layout.specialty_groot .pk-item .secondary-btn {
  margin-top: 20px;
}

/* Dialog */
.flex_layout.specialty_groot dialog {
  width: 100%;
}

.flex_layout.specialty_groot .pk-dialog_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.flex_layout.specialty_groot dialog .pk-col_left {
  max-width: 422px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 58px;
  border-radius: 15px;
  background: rgba(188, 225, 255, 1);
  overflow: hidden;
}

.flex_layout.specialty_groot dialog .pk-col_left .pk-content_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  text-align: center;
}

.flex_layout.specialty_groot dialog .pk-col_left .pk-content_wrap img {
  max-width: 120px;
  width: 100%;
  filter: invert(1);
  margin-bottom: 24px;
}

.flex_layout.specialty_groot dialog .pk-col_left h2 {
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 24px;
}

.flex_layout.specialty_groot dialog .pk-dialog_wrap .pk-col_right {
  max-width: 700px;
  width: 100%;
  padding: 20px;
  border-radius: 15px;
  background: white;
  overflow: hidden;
}

.flex_layout.specialty_groot dialog .pk-col_right .pk-btn_wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.flex_layout.specialty_groot dialog .pk-btn_wrap button.close {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  float: unset;
  border: 1px solid rgba(40, 40, 40, 1);
  border-radius: 999px;
}

.flex_layout.specialty_groot dialog .pk-btn_wrap button.close:focus {
  color: rgba(40, 40, 40, 1);
  background: unset;
}

.flex_layout.specialty_groot dialog .pk-items_wrap {
  height: 100%;
}

.flex_layout.specialty_groot dialog .pk-items_wrap .pk-providers_grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 290px;
  overflow-y: auto;
}

.flex_layout.specialty_groot dialog .pk-items_wrap .pk-section_title {
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 24px;
}

.flex_layout.specialty_groot dialog .pk-provider {
  padding: 30px;
  border-radius: 10px;
  background: rgba(217, 217, 217, 0.51);
}

.flex_layout.specialty_groot dialog .pk-provider .pk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex_layout.specialty_groot dialog .pk-provider .pk-top img {
  max-width: 130px;
}

.flex_layout.specialty_groot dialog .pk-provider .pk-top a.primary-btn {
  font-size: 16px;
  color: white;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  background: rgba(40, 40, 40, 1);
}

.flex_layout.specialty_groot dialog .pk-provider .pk-bottom {
  margin-top: 25px;
}

.flex_layout.specialty_groot dialog .pk-provider .pk-bottom p {
  font-size: 16px;
  color: rgba(40, 40, 40, 1);
  line-height: 1.5;
}

/*  scrollbar styling*/
.flex_layout.specialty_groot .pk-providers_grid::-webkit-scrollbar {
  width: 1.5px;
}

.flex_layout.specialty_groot .pk-providers_grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
}

.flex_layout.specialty_groot .pk-providers_grid::-webkit-scrollbar-thumb {
  background-color: black;
  background: #a58fff;
}

@media screen and (min-width: 608px) {
  .flex_layout.specialty_groot .pk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 768px) {
  .flex_layout.specialty_groot .pk-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 990px) {
  .flex_layout.specialty_groot .pk-grid {
    max-width: 920px;
  }
  /* .flex_layout.specialty_groot .pk-grid {
    grid-template-columns: repeat(4, 1fr);
  } */

  /* .flex_layout.specialty_groot .pk-item {
    aspect-ratio: 307/390;
  } */

  .flex_layout.specialty_groot .pk-item .pk-item_inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .flex_layout.specialty_groot dialog .pk-dialog_wrap .pk-col_right {
    padding: 30px 58px 58px 58px;
  }
}
