.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 65px;
  padding-right: 15px;
  padding-left: 15px;
}

.category {
  width: 100%;
  max-width: 320px;
  margin-right: auto;
  margin-left: auto;
}

.category_wide {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  background-color: var(--color-secondary);
  transition: box-shadow 0.15s ease-in-out;
}

.category__link {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 30px 15px;
  border: 3px solid var(--color-secondary);
}

.category__href {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: box-shadow 0.15s ease-in-out;
}

.category__href:hover {
  box-shadow: 0 0 13px 0 rgba(181, 181, 181, 1);
}

.category__image {
  display: block;
  width: 88px;
  height: 88px;
}

.category__icon {
  width: 50px;
  height: 50px;
}

.category__label {
  margin-top: 22px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #0b304d;
}

.category_wide .category__label {
  color: #ffffff;
}

.category_wide .category__link,
.category_wide .category__article {
  width: 50%;
}

.category_wide .category__link {
  max-width: none;
  height: auto;
  justify-content: space-around;
}

.category_wide .category__icon {
  width: 100%;
  max-width: 130px;
  height: auto;
}

.category__article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-basis: 60%;
  padding: 50px 16px;
  background-color: #ffffff;
  border: 3px solid var(--color-secondary);
  border-left: none;
}

.category__image {
  display: block;
  width: 75px;
  height: 75px;
  border-radius: 50%;
}

.category__title {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 10px;
  text-align: center;
}

.category__button {
  font-size: 14px;
  padding: 6px 14px;
  text-transform: uppercase;
  border: 2px solid var(--color-secondary);
  border-radius: 25px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.category__article:hover .category__button,
.category__button:hover {
  color: #ffffff;
  background-color: var(--color-secondary);
}

.category_wide .category__href:hover {
  box-shadow: none;
}

.category_wide:hover {
  box-shadow: 0 0 13px 0 rgba(181, 181, 181, 1);
}

@media (min-width: 768px) {
  .categories {
    flex-wrap: nowrap;
  }

  .category {
    width: 25%;
  }

  .category_wide {
    width: 50%;
  }

  .category__article {
    padding: 30px 15px;
  }
}

@media (min-width: 1250px) {
  .category__label {
    font-size: 36px;
    font-weight: 400;
    text-transform: none;
  }

  .category__link {
    padding: 50px 16px;
  }

  .category_wide {
    flex-basis: 600px;
  }

  .category__image {
    width: 170px;
    height: 170px;
  }

  .category__title {
    font-size: 20px;
  }

  .category_wide .category__link {
    flex-basis: 45%;
  }

  .category__article {
    padding: 50px 16px;
  }

  .category__icon {
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category__button,
  .category__href,
  .category_wide {
    transition: none;
  }
}

.maps {
  margin-top: 40px;
  background-color: #0b304d;
}

.maps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.15s ease-in-out;
}

.maps__info {
  display: flex;
  flex-direction: column;
}

.maps__title {
  margin-top: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing:4px;
  text-transform: uppercase;
}

.maps__text {
  font-size: 12px;
  line-height: 120%;
}

.maps__item:hover {
  background-color: var(--color-secondary);
}

@media (min-width: 768px) {
  .maps .container {
    display: flex;
  }

  .maps__item {
    flex: 33.333333333% 0 0;
  }
}

@media (min-width: 1250px) {
  .maps__item {
    flex-direction: row;
    align-items: flex-start;
    padding: 32px;
  }

  .maps__image {
    margin-right: 32px;
    margin-bottom: 0;
  }

  .maps__title {
    margin-top: 24px;
    margin-bottom: 24px;
    font-size: 24px;
    text-align: left;
  }

  .maps__text {
    font-size: 16px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  transition: none;
}

.news-block {
  padding: 26px 15px;
}

.news-block__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 19px;
  padding-left: 40px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0b304d;
  background-position: center left;
  background-repeat: no-repeat;
}

.news-block__title small {
  display: none;
  font-size: 18px;
  font-weight: 400;
  color: #0b304d;
  background: #ffffff;
  padding: 0 0.7em;
  border: 1px solid #dddddd;
  text-transform: none;
}

.news-block__title_practice {
  background-image: url(../img/titles/practice.png);
}

.news-block__title_partners {
  background-image: url(../img/titles/partners.png);
}

.news-block__title_training {
  background-image: url(../img/titles/training.png);
}

.news-block__title_news {
  background-image: url(../img/titles/news.png);
}

.news-block__title_article {
  background-image: url(../img/titles/articles.png);
}

.news-block__title_events {
  background-image: url(../img/titles/events.png);
}

.news-block__title_science {
  background-image: url(../img/titles/science.png);
}

.news-block__title_publications {
  background-image: url(../img/titles/publications.png);
}

.news-block__item {
  display: block;
  color: #0b304d;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.news-block__item:hover,
.news-block__item:hover .news-block__date {
  color: #999999;
}

.news-block__preview {
  margin-top: 0;
}

.news-block__date {
  font-size: 10px;
  color: var(--color-secondary);
  transition: color 0.15s ease-in-out;
}

.news-block__buttons {
  text-align: center;
}

.news-block__details {
  display: inline-block;
  padding: 5px 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background-color: var(--color-secondary);
  border-radius: 23px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.news-block__details:hover {
  color: #0b304d;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .news {
    background-color: #f6f7f9;
  }

  .news .container {
    display: flex;
    gap: 20px;
  }

  .news .news-block {
    flex: 50% 0 0;
  }
}

@media (min-width: 1250px) {
  .news-block__title {
    font-size: 30px;
    margin-bottom: 26px;
  }

  .news-block__item {
    font-size: 20px;
    margin-bottom: 26px;
  }

  .news-block__date {
    font-size: 14px;
  }

  .news-block__buttons {
    text-align: left;
  }

  .news-block__title small {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-block__item,
  .news-block__date,
  .news-block__details {
    transition: none;
  }
}

.events__item {
  width: 100%;
  padding: 8px;
}

.events__item .news-block__item {
  background-color: #f6f7f9;
}

.events__picture {
  width: 100%;
  height: 375px;
}

.events__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.events__item .news-block__preview {
  padding: 16px 20px 32px;
}

.events__buttons {
  padding-bottom: 48px;
  text-align: center;
}

.events .news-block__buttons {
  margin-top: 40px;
}

.events__item .news-block__item:hover .btn {
  color: #ffffff;
  background-color: var(--color-secondary);
}

.publications .news-block__item {
  display: flex;
  align-items: center;
  margin-bottom: 27px;
}

.publications .btn {
  flex-shrink: 0;
}

.publications .news-block__preview {
  margin-right: 14px;
  color: inherit;
  text-decoration: none;
}

.publications .news-block__button {
  margin-left: auto;
}

.events .slick-track {
  display: flex;
  align-items: stretch;
}

.events .slick-slide {
  display: flex !important;
  height: inherit;
}

.events .slick-slide .events__item {
  display: flex !important;
  height: 100%;
}

.events .slick-slide .news-block__item {
  display: flex;
  flex-direction: column;
}

.events .slick-slide .news-block__item .news-block__preview {
  flex-grow: 1;
}

.events .slick-prev::before,
.events .slick-next::before {
  display: none;
}


.events .slick-prev,
.events .slick-next {
  width: 17px;
  height: 30px;
}

.events .slick-prev {
  left: -15px !important;
  z-index: 99;
  background: url(../img/arrow-left.png)no-repeat center !important;
}

.events .slick-next {
  right: -15px !important;
  z-index: 99;
  background: url(../img/arrow-right.png)no-repeat center !important;
}

.articles .news-block__item {
  color: #0b304d;
}

.articles .news-block__preview {
  transition: color 0.15s ease-in-out;
}

.articles .news-block__preview:hover {
  color: #999999;
}

@media (min-width: 768px) {
  .articles {
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: repeat(2, auto);
  }

  .articles .events {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
  }

  .articles .science {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
  }

  .articles .publications {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
  }

  .articles .btn_download {
    width: 40px;
    height: 40px;
    padding: 0;
    text-indent: -9999px;
    background-size: 24px 24px;
    background-position: 50% 50%;
  }
}

@media (min-width: 1250px) {

  .articles .events {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 3;
  }

  .articles .science {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
  }

  .articles .publications {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
  }

  .articles .btn_download {
    width: auto;
    height: auto;
    padding: 0.4em 1em 0.4em 30px;
    text-indent: 0;
    background-size: 17px 17px;
    background-position: 10% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .articles .news-block__preview {
    transition: none;
  }
}
