﻿<!--calendar CSS Radka-->
* {
  box-sizing: border-box;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;

}

.event-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  min-height: 245px;
  padding: 30px 20px;
  background: #fff;
  border: 1px solid #9a9a9a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12); }

.event-date {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 58px;
  background: #23aaa5;
  color: #163c3b;
  font-size: 20px;
  font-weight: 700;
}

.event-content {
  min-width: 0;
}

.event-month {
  margin-bottom: 8px;
  color: #444;
  font-size: 13px;
}

.event-card h3 {
  margin: 0 0 5px;
  color: #333;
  font-size:16px;
  line-height: 1.0;
}

.event-time span {

	    background-color: #f3f3f3 !important;
    padding: 3px 10px;
    border-radius: 0.3em;
    font-size: 12px;
}


.event-card a {
  color: #303030;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  text-decoration: none;
}

.event-card a:hover,
.event-card a:focus {
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    min-height: auto;
    padding: 28px 24px;
  }

  .event-date {
    width: 48px;
    height: 54px;
  }
}
