/* Outer Container */
.lab-event-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  box-sizing: border-box;
}

/* calendar */
.lab-event-date-box {
    flex-shrink: 0;
}

/* Outer calendar shape */
.lab-event-date-icon {
    width: 70px;
    border: 2px solid #15d790;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    font-family: sans-serif;
    color: #333;
    background: #fff;
}

/* Top strip */
.date-icon-top {
    background: #15d790;
    color: white;
    padding: 2px 0;
    font-weight: bold;
    font-size: 0.75rem;
    line-height: 1.1;
}

/* Big day number */
.date-icon-day {
    font-size: 0.95rem;
    font-weight: bold;
    padding: 3px 0;
    line-height: 1.1;
}

/* Small month below */
.date-icon-month-text {
    font-size: 0.75rem;
    color: #666;
    padding: 2px 0 3px 0;
    line-height: 1.1;
}

/* Card Content */
.lab-event-card {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  flex: 1;
  transition: 0.2s ease;
}

.lab-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.lab-event-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.lab-event-title {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.lab-event-excerpt {
  font-size: 1rem;
  color: #333;
}

.lab-event-list {
  display: flex; 
  flex-direction: column; 
  gap: 1.5rem; 
  border: #15d790;

}


/* Mobile — stack vertically */
@media (max-width: 600px) {
  .lab-event-item {
    flex-direction: column;
    text-align: center;
  }

  .lab-event-date {
    margin-bottom: 0.5rem;
  }
}

