.card-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.event-card {
  width: 30%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.event-card h3 a { color:#000; }

.redm a::after {
    content: "";
    position: absolute;
    background-image: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--%3E%3Cpath fill='%2300a686' d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E);
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    left: 90px;
    bottom: 5px;
}

.event-card .category a { color:#000;}

.event-card:hover {
  transform: translateY(-5px);
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.date-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #00B383;
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

.card-content {
  padding: 20px;
}

.category {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.datetime {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.event-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.description {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.read-more {
  text-decoration: none;
  color: #00B383;
  font-weight: bold;
  font-size: 14px;
}

.moodle-course-wrapper .search-form-wrapper .moodle-course-search input {
    width: 30% !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    border: 1px solid #d5e5df !important;
    background: #f6fbf9 !important;
    font-size: 15px !important;
    appearance: none !important;
}

.moodle-course-wrapper .search-form-wrapper .moodle-course-search button {
    background: #00a686 !important;
    padding: 12px 20px !important;
    border-radius: 3px !important;
    color: #fff !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease-in-out !important;
    margin-left: 23px  !important;
    font-weight: 500 !important;
    border-color: #00a686 !important;
    font-size: 13px !important;
    border-radius: 10px !important;
}

.search-form-wrapper {
    margin-bottom: 20px;
}

span.label-learningmode,
span.label-keywords {
    font-weight: bold;
}

.media-library-item__attributes {
   max-height: fit-content !important;
}

@media only screen and (max-width: 767px) {
  .event-card {
    width: 100%;
  }
}