
.container {
  max-width: 1322px;
  padding: 0 15px;
  margin: 0 auto;
}

.otdel__title {
  font-family: "Play", sans-serif;
  font-weight: 400;
  font-size: 48px;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #525151;
  text-align: center;
}

.otdel__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}

.otdel__item {
  max-width: 240px;
}

.otdel__img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.otdel__img img {
  width: 100%;
  display: block;
}

.otdel__item-title {
  font-family: "Play", sans-serif;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  text-transform: uppercase;
  text-align: center;
  color: #383838;
}

.otdel__item-text {
  font-family: "Play", sans-serif;
  padding: 0 10px;
  font-size: 16px;
  text-align: center;
  line-height: 20px;
}

.otdel__item-title1 {
  font-family: "Play", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  color: #383838;
}

.otdel__inner-one {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 40px;
}

.otdel-textbox {
  padding: 30px;
  border-radius: 20px;
  background: #f7f7f7;
}

.otdel-textbox__inner {
  display: flex;
  justify-content: space-between;
}

.otdel-textbox__item {
  max-width: 600px;
  flex-grow: 1;
}

.otdel-textbox__text {
  font-family: "Play", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 102%;
  color: #383838;
  margin-bottom: 15px;
}

.otdel-textbox__text1 {
  font-family: "Play", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #383838;
  margin-bottom: 15px;
  text-align: right;
  margin-top: 40px;
}

.otdel-textbox__text1 a {
  text-decoration: underline;
}

.otdel-textbox__item-btn {
  display: none;
}

@media (max-width: 1150px) {
  .otdel__inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .otdel-textbox__inner {
    flex-direction: column;
    gap: 40px;
  }

  .otdel-textbox__item-btn {
    display: inline-block;
    margin-top: 20px;
    cursor: pointer;
    padding: 0;
    border: none;
    background-color: transparent;
    text-decoration: underline;
  }
}

@media (max-width: 991px) {
  .otdel__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .otdel__title {
    font-size: 32px;
  }

  .otdel-textbox__box {
    transition: .2s;
    height: 160px;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .otdel__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .otdel__title {
    font-size: 28px;
  }

  .otdel__item:nth-child(odd) {
    margin-left: auto;
  }

  .otdel__item-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .otdel__item-text {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .otdel__item {
    max-width: 200px;
  }

  .otdel__item-title {
    font-size: 16px;
  }

  .otdel__item-text {
    font-size: 14px;
  }

  .otdel-textbox {
    padding: 15px 0;
  }

  .otdel-textbox__text {
    font-size: 18px;
  }
}

@media (max-width: 450px) {
  .otdel__item {
    max-width: 160px;
  }

  .otdel__inner-one {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* .otdel__inner-one .otdel__item {
    margin: 0 auto;
  } */
}