.event .section {
  overflow: hidden;
}
.event__content {
  display: grid;
}
@media only screen and (max-width: 767px) {
  .event__content {
    gap: 50px 0;
  }
}
@media only screen and (min-width: 768px) {
  .event__content {
    gap: 70px 0;
  }
}
.event__block {
  position: relative;
}
.event__block::after {
  content: "";
  width: 1000%;
  position: absolute;
  top: 0;
  left: -100%;
}
@media only screen and (max-width: 767px) {
  .event__block::after {
    height: 120px;
  }
}
@media only screen and (min-width: 768px) {
  .event__block::after {
    height: 185px;
  }
}
.event__list {
  display: grid;
  position: relative;
  z-index: 10;
  grid-template-columns: repeat(2, 1fr);
}
@media only screen and (max-width: 767px) {
  .event__list {
    gap: 20px 15px;
  }
}
@media only screen and (min-width: 768px) {
  .event__list {
    gap: 30px;
  }
}
.event__item {
  position: relative;
}
@media only screen and (min-width: 768px) {
  .event__item {
    border-radius: 30px;
    transition: 0.3s;
  }
  .event__item:hover {
    box-shadow: 5px 5px 13px rgba(0, 0, 0, 0.05);
  }
  .event__item:hover .event__item-pic img {
    transform: scale(1.1);
  }
  .event__item:hover .event__item-text {
    border-right: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    border-left: 1px solid #f1f1f1;
  }
}
.event__item-pic {
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .event__item-pic {
    border-radius: 15px 15px 0 0;
  }
}
@media only screen and (min-width: 768px) {
  .event__item-pic {
    border-radius: 30px 30px 0 0;
  }
}
.event__item-pic img {
  transition: 0.3s;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.event__item-text {
  border-right: 1px solid #dbdbdb;
  border-bottom: 1px solid #dbdbdb;
  border-left: 1px solid #dbdbdb;
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .event__item-text {
    border-radius: 0 0 15px 15px;
    padding: 10px 10px 15px;
  }
}
@media only screen and (min-width: 768px) {
  .event__item-text {
    border-radius: 0 0 30px 30px;
    padding: 25px 25px 35px;
  }
}
.event__item-category {
  display: inline-block;
  color: #e90007;
  font-weight: 500;
  line-height: 1;
  border-radius: 99px;
}
@media only screen and (max-width: 767px) {
  .event__item-category {
    border: 1px solid #e90007;
    font-size: 0.6rem;
    margin: 0 0 7px;
    padding: 3px 7px;
  }
}
@media only screen and (min-width: 768px) {
  .event__item-category {
    border: 1px solid #e90007;
    font-size: 0.75rem;
    margin: 0 0 14px;
    padding: 4px 12px;
  }
}
.event__item-name {
  margin: 0;
  font-weight: 600;
}
@media only screen and (max-width: 767px) {
  .event__item-name {
    font-size: 0.85rem;
    line-height: 1.3rem;
  }
}
@media only screen and (min-width: 768px) {
  .event__item-name {
    font-size: 1.2rem;
    line-height: 1.63rem;
  }
}
.event__item-comment {
  padding: 0;
  letter-spacing: 0.05em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
@media only screen and (max-width: 767px) {
  .event__item-comment {
    font-size: 0.75rem;
    line-height: 1rem;
    margin: 4px 0 0;
  }
}
@media only screen and (min-width: 768px) {
  .event__item-comment {
    font-size: 0.95rem;
    line-height: 1.3rem;
    margin: 8px 0 0;
  }
}
.event__item-date {
  color: #666666;
}
@media only screen and (max-width: 767px) {
  .event__item-date {
    font-size: 0.8rem;
    margin: 7px 0 0;
  }
}
@media only screen and (min-width: 768px) {
  .event__item-date {
    margin: 15px 0 0;
  }
}
.event__item:has(a[href=""]) {
  pointer-events: none;
}
.event a {
  display: block;
}/*# sourceMappingURL=style.css.map */