.network {
  padding: 2rem 0;
}

.network__title {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--brandClr);
  margin-bottom: 1.5rem;
  line-height: 1.12;
}
.network__title span {
  font-weight: 800;
}

.network__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.visit-our-centers__location-card-btn img,
.visit-our-centers__location-card-btn-arrow2 {
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.2rem;
}
.visit-our-centers__location-card-btn-arrow2 {
  /* display: none; */
}
.visit-our-centers__location-card-btn:hover
  .visit-our-centers__location-card-btn-arrow2 {
  display: none;
}
@media (min-width: 768px) {
  .network__layout {
    flex-direction: row;
    gap: 2.5rem;
  }
}

/* LEFT */
.network__centers {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.center-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem;
  background: #fff;
  border-radius: 0.4rem;
  border: 0.5px solid #d4d4d4;
}

.center-name {
  font-size: 0.909rem;
  color: #c7527f;
  font-weight: 600;
}

.center-btn {
  display: block;
  font-size: 0.6rem;
  padding: 0.4rem 0.7rem;
  background: var(--brandClr);
  color: #fff;
  border: none;
  border-radius: 0.3rem;
}
.desktop-btn {
  display: none;
}

/* RIGHT */
.network__districts {
  flex: 1;
}

.network__subtitle {
  font-size: 0.7rem;
  margin-bottom: 0.8rem;
  color: #555;
}

.network__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.network__tabs button {
  font-size: 0.818rem;
  padding:;
  width: 5.59rem;
  height: 2.27rem;
  border-radius: 0.3rem;
  background: #eee;
}
@media screen and(min-width: 768px) {
  .network__tabs button {
    width: 3.39rem;
    height: 1rem;
    border-radius: 0.07rem;
  }
}

.network__district-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.district-pill {
  font-size: 0.55rem;
  padding: 0.4rem 1rem;
  background: #eeeeee;
  color: #2d2d2d;
}

.district-pill.active {
  background: #ffe9f2;
  color: #2d2d2d;
}

.center-rating {
  display: flex;
  align-items: center;
  color: var(--brandClr);
  font-size: 0.818rem;
}

.center-rating img {
  width: 4rem;
  height: 0.727rem;
}

@media screen and (min-width: 768px) {
  .network__title {
    font-weight: 500;
    font-style: Medium;
    font-size: 1.01rem;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
    width: 15.075rem;
    angle: 0 deg;
    opacity: 1;
  }
  .network__title span {
    font-weight: 700;
    font-style: Bold;
  }
  .district-pill {
    width: 4.188rem;
    height: 1.03rem;
    angle: 0 deg;
    opacity: 1;
    gap: 0.188rem;
    padding: 0.226rem 0.301rem;
    font-weight: 400;
    font-style: Regular;
    font-size: 0.45rem;
    leading-trim: NONE;
    line-height: 130%;
    letter-spacing: 0%;
  }
  .network__subtitle {
    font-weight: 500;
    font-style: Medium;
    font-size: 0.45rem;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: 0%;

    color: #802a8f;
  }
  .center-btn {
    display: none;
    width: 3.39rem;
    height: 1.01rem;
    border-radius: 4px;
    angle: 0 deg;
    opacity: 1;
    gap: 0.226rem;
    padding: 0.226rem 0.301rem;
    background: #802a8f;
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fdfdfd;
  }
  .desktop-btn {
    display: block;
    width: 3.39rem;
    height: 1.01rem;
    border-radius: 4px;
    angle: 0 deg;
    opacity: 1;
    gap: 0.226rem;
    padding: 0.226rem 0.301rem;
    background: #802a8f;
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fdfdfd;
  }
  .center-name {
    font-family: Poppins;
    font-weight: 500;
    font-style: Medium;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: -2%;
    /* text-align: center; */
  }
  .center-rating {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
  }
  .center-rating img {
    width: 1.9rem;
    height: 0.287rem;
    angle: 0 deg;
    opacity: 1;
  }
  .center-card {
    width: 11.96rem;
    height: 1.69rem;
    border-radius: 0.0575rem;
    angle: 0 deg;
    opacity: 1;
    box-shadow: 0px 0.0288rem 0.23rem 0px #c7527f26;
  }
}
@media screen and (max-width: 768px) {
  /* DISTRICT GRID */
  .network__district-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* BASE BUTTON */
  .district-pill {
    height: 42px;
    background: #f2f2f2;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  /* ACTIVE (Hyderabad) */
  .district-pill.active {
    background: #fde7f0;
  }

  /* FORCE FULL WIDTH — ONLY THESE TWO */
  .district-pill[data-district="Hyderabad"],
  .district-pill[data-district="Vizag"] {
    grid-column: span 2;
  }
}
