.rules-page{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rules-page-detail{
  display: flex;
  flex-direction: column;
}
.rules-page__container{
  width: 100%;
  padding-bottom: 60px;
}
.rules-page__projects{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  width: 100%;
}
.rules-page__project{
  display: flex;
  flex-direction: column;
  position: relative;
  aspect-ratio: 337 / 118;
  overflow: hidden;
  padding: 20px;
  align-items: flex-end;
  justify-content: flex-end;
  transition: box-shadow .2s;
}
.rules-page__project-image{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.rules-page__project-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rules-page__project-title{
  font-size: 14px;
  color: #fff;
  text-align: right;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}
.rules-page__title{
  text-transform: uppercase;
  font-size: 22px;
}
.rules-page__files{
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 580px;
  row-gap: 20px;
  margin-top: 40px;
}
.rules-page__file-inner{
  display: flex;
  align-items: center;
  column-gap: 14px;
}
.rules-page__file-info{
  display: flex;
  padding: 5px;
  border-bottom: 1px solid #E6E6E6;
  flex: 1;
  column-gap: 10px;
}
.rules-page__file-title{
  font-size: 14px;
  font-weight: 700;
  flex: 1;
}
.rules-page__file-caption{
  font-size: 14px;
  font-weight: 400;
  margin-left: auto;
  margin-top: auto;
}
.rules-page__link{
  border-radius: 35px;
  color: #fff !important;
  background: rgb(153, 0, 25);
  padding: 12px 20px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
  text-transform: uppercase;
}
.rules-page__breadcrumbs{
  align-self: flex-start;
  margin-bottom: 35px;
}
@media (hover: hover) {
  .rules-page__link:hover{
    color: #fff !important;
    background: rgb(198, 1, 33);
  }
  .rules-page__project:hover{
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);;
  }
}

@media screen and (max-width: 1239px) {
  .rules-page__container{
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media screen and (max-width: 767px) {
  .rules-page__container{
    padding-left: 15px;
    padding-right: 15px;
  }
  .rules-page__projects{
    display: flex;
    flex-direction: column;
    row-gap: 30px;
  }
  .rules-page__breadcrumbs{
    margin-bottom: 24px;
  }
}