.sch-row {
  display: grid;
  justify-content: space-evenly;
  margin: 50px auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
}
.sch-row * {
  text-decoration: none;
}

.sch-card {
  display: block;
  text-align: center;
}

.sch-img {
  width: 120px;
  height: 120px;
  margin-right: 40px;
  margin-left: 20px;
  object-fit: contain;
}

.sch-item {
  border-radius: 10px;
  width: 100%;
  /* box-shadow: 0px 3px 5px 1px #ddd; */
}

.sch-item .sch-des {
  width: 90%;
  margin: 10px auto;
}
.sch-title {
  color: var(--grey);
  font-weight: 300;
  text-wrap: nowrap;
}
.sch-link {
  font-size: 14px;
  color: var(--secondary);
  font-style: italic;
  border: 1px solid var(--bg-primary);
  padding: 7px 15px;
  border-radius: 4px;
  position: relative;
  display: block;
  overflow: hidden !important;
}
.sch-link::before,
.sch-link::after {
  content: "";
  width: 600%;
  height: 100%;
  position: absolute;
}
.sch-link:hover {
  color: white;
  transition: all 300ms linear 300ms;
}
.sch-link::before {
  bottom: 150%;
  left: -60%;
  transform-origin: left;
  transform: rotate(45deg);
  z-index: -1;
  background: linear-gradient(rgb(238, 238, 238), rgba(223, 223, 223, 0.71));
}
.sch-link::after {
  width: 400px;
  height: 400px;
  right: -400px;
  top: -400px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  z-index: -1;
}
.sch-link:hover::before {
  left: 150%;
  transition: all 300ms linear;
}
.sch-link:hover::after {
  scale: 7;
  transition: all 300ms linear 300ms;
}
.sch-link-mm {
  color: rgb(124, 116, 116);
  margin-bottom: 0;
  font-size: 14px;
}

.sch-underline {
  height: 3px;
  width: 112px;
  background-color: #9b8718;
  margin-top: 0;
  border-radius: 5px;
}
.sch-btn-underline {
  height: 3px;
  width: 100px;
  background-color: var(--purple);
  margin-top: -10px;
  border-radius: 5px;
}

.sch-underline-mm {
  height: 3px;
  width: 130px;
  background-color: var(--purple);
  margin-top: 0;
  border-radius: 5px;
}

.sch-header-underline {
  height: 7px;
  width: 100px;
  margin: 0 auto;
  background-color: var(--secondary);
  margin-top: 0;
  border-radius: 5px;
  text-align: center;
}

.scholar-student-row {
  display: flex;
  justify-content: space-between;
  width: 75%;
  margin: 50px auto;
}
.scholar-student-row * {
  text-decoration: none;
}

.crown-position {
  color: #c9b232;
  font-size: 75px;
  position: absolute;
  top: -30px;
  right: -30px;
  transform: rotate(25deg);
}

@media only screen and (max-width: 1248px) {
  .sch-row {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 1000px) {
  .sch-row {
    width: 100%;
  }
}
@media only screen and (max-width: 780px) {
  .sch-row {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media only screen and (max-width: 400px) {
  .sch-img {
    margin-left: 10px;
    margin-right: 5px;
  }
  .sch-item {
    padding: 45px 5px;
  }
}

.students,
.schoolar_student_wrapper {
  columns: 4;
  gap: 25px;
  margin-top: 2rem;
}
.student-card,
.scholar-student-card {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}
.student-card > img,
.scholar-student-card > img {
  max-width: 100%;
  border-radius: 10px;
}
.student-sch,
.student-sch-not-link,
.scholar-sub-title {
  text-decoration: none;
  color: var(--light-grey);
  font-style: italic;
  font-size: 14px;
}

.student-des .student-title,
.student-des .scholar-student-title {
  margin: 5px 0;
  font-weight: 600;
  color: var(--light);
}
.student-des > p {
  margin: 0;
}
.student-des .additional-txt {
  font-size: 12px;
  color: var(--light);
}


.activies_grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  grid-template-rows: masonry;
  align-tracks: stretch;
  gap: 0.5em;
}

.activies_grid > img {
  max-width: 200px;
  width: 100%;
  height: 100%;
  border-radius: 0.25em;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.activies_grid > img.hidden {
  opacity: 0;
}

.activites_container_grid{
  display: column;
  gap: 1em;
  columns: 2;
}
.activites_container_grid > * {
  break-inside: avoid;
  margin-bottom: 0.5em;
}

.act_content{
  padding: 1em;
}
@media only screen and (min-width: 767px) and (max-width: 991px) {
  .students {
    /* width: 100%; */
    margin-left: 0;
    margin-right: 0;
  }
  .students,
  .schoolar_student_wrapper {
    columns: 3;
  }
}
@media only screen and (max-width: 991px) {

  .activites_container_grid{
    columns: 1;
  }
}
@media screen and (max-width: 768px) {
  .students,
  .schoolar_student_wrapper {
    columns: 2;
  }
}
@media screen and (max-width: 450px) {
  .students,
  .schoolar_student_wrapper {
    columns: 1;
  }
}
