/* media */

.media {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #2461ff;
}

.media_cont {
  display: flex;
  width: 95%;
  max-width: 1200px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.navigator {
  /* display: flex; */
  width: 100%;
  padding: 10px 0px;
}

.media_line {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.media_card {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.media_title {
  display: flex;
  width: 100%;

  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 38px;
  /* identical to box height */

  color: #000000;
}

.media_subtitle {
  display: flex;
  width: 100%;

  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;

  color: #000000;
}

.media_img {
  display: flex;
  width: 100%;
  max-width: 307px;
  justify-content: center;
  align-items: center;
}

.media_img img {
  width: 100%;
}

@media screen and (max-width: 650px) {
  .media_line {
    flex-direction: column;
    margin-top: 15px;
  }
}

/* /media */

/* media__block */

.media__block {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.media__block_cont {
  display: flex;
  width: 95%;
  max-width: 1200px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 25px;
}

.media__block_header {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-direction: column;
  margin-top: 20px;
}

.media__block_title {
  display: flex;
  width: 100%;

  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 38px;
  color: #000000;
}

.media__block_text {
  display: flex;
  width: 100%;

  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;

  color: #000000;
}

.media__block_text {
  display: flex;
  width: 100%;

  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: justify;
  margin-bottom: 25px;
  color: #000000;
}

/* media_db */

/* media_db */

.media_db {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.media_db_card {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 266px;
  height: 280px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* border: 1px solid #2461FF; */
  border-radius: 4px;
  margin: 10px;
}

.media_db_img {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  
}

.media_db_img img {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.media_db_cont {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 10px;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: linear 0.3s;
  cursor: pointer;
}

.media_db_cont:hover {
  background: rgba(0, 0, 0, 0.7);
  transition: linear 0.3s;
}

.media_db_title {
  display: flex;
  width: 100%;
  margin-bottom: 15px;
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 103.7%;
  /* or 26px */

  color: #ffffff;
}

.media_db_text {
  display: flex;
  width: 100%;

  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;

  color: #ffffff;
}

.media__block_text {
  margin-bottom: 0px;
}

.media__block_header {
  margin-bottom: 10px;
  margin-top: 25px;
}

@media screen and (max-width: 650px) {
  .media_db {
    flex-direction: column;
  }

  .media__block_text {
    margin-bottom: 0px;
  }

  .media__block_header {
    margin-bottom: 10px;
    margin-top: 25px;
  }

  .media_db_card {
    width: 100%;
    max-width: 100%;
    margin: 10px 0px;
  }
}

.line_footer {
  display: flex;
  width: 100%;
  margin-top: 10px;

  justify-content: space-between;
  align-items: center;
}

.line_footer_date {
  display: flex;
  width: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;

  color: #ffffff;
}

/* media_db */
/* /media__block */
