:root {
  font-size: 62.5%;
}

.backend a {
  pointer-events: none !important;
}

.block-events {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  max-width: 1360px;
  margin: 40px auto;
}
.block-events__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  background: #FFFFFF;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  min-height: 144px;
}
@media (max-width: 781px) {
  .block-events__card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.block-events__date {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 128px;
          flex: 0 0 128px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 24px 16px;
  background: var(--date-bg, #FF5959);
  color: #FFFFFF;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
@media (max-width: 781px) {
  .block-events__date {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 12px;
    padding: 16px;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
  }
}
.block-events__day {
  font-size: 36px;
  line-height: 1;
}
.block-events__month {
  font-size: 18px;
  line-height: 1;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 781px) {
  .block-events__month {
    margin-top: 0;
  }
}
.block-events__body {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  padding: 24px;
}
.block-events__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: #1C1C1C;
}
.block-events__description {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: #4a5565;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 781px) {
  .block-events__description {
    -webkit-line-clamp: 3;
  }
}
.block-events__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 4px;
}
.block-events__meta-item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #6a7282;
}
.block-events__meta-item svg {
  width: 16px;
  height: 16px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: block;
}
.block-events__cta {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 170px;
          flex: 0 0 170px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 24px;
  border-left: 1px solid #e5e7eb;
}
@media (max-width: 781px) {
  .block-events__cta {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    border-left: 0;
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
  }
}
.block-events__button {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #4F1D46;
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}
.block-events__button:hover {
  opacity: 0.92;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 6px 16px rgba(79, 29, 70, 0.2);
          box-shadow: 0 6px 16px rgba(79, 29, 70, 0.2);
}