/* 
Example class for article lists. In this case, our outer div would have a class
of 'summary-list'. Inner styles would be applied to the titles and summary fields.
*/
.summary-list .lr-list-title {
	font-weight: bold;
	display: block;
}
.summary-list .lr-list-summary {
	font-weight: normal;
	font-size: 0.8em;
}
.cal-key {
	text-align: center !important;
}
.color-key {
            list-style: none;
            padding: 0;
        }

        .color-key li {
            display: inline-block;
            margin-right: 10px;
			margin-bottom: 10px;
            width: 18%;
			padding: 20px;
			color: #fff;
			font-weight: 900;
        }

        .item1 {
            background-color: #01A4E5; /* Prof */
        }

        .item2 {
            background-color: #3BB44B; /* parent */
        }

		.item3 {
            background-color: #FAC90D; /* child */
		}

.hidden-element {
      display: none;
    }


/* Mobile view – stack items */
@media (max-width: 768px) {
    .color-key {
        flex-direction: column;
        align-items: flex-start;
    }

    .color-key li {
        width: 100%; /* ensures full width if you want them stacked neatly */
        margin-bottom: 5px;
    }
    .color-key li:last-child {
        margin-bottom: 25px;
    }
}

.calendar-filters {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:.75rem 0 1rem;
  justify-content:center;   /* ✅ this centres the buttons */
}

.calendar-filters .filter-btn {
  display:inline-block;
  padding:.5rem .75rem;
  border-radius:.5rem;
  text-decoration:none;
  border:1px solid #ddd;
}

.calendar-filters .filter-btn.active {
  outline:2px solid rgba(0,0,0,.2);
}

/* If your theme only styles .color-key li.itemX, mirror those onto the filter links */
.calendar-filters .filter-btn.item1 {color: #fff;} /* copy bg/text colour from your key’s .item1 */
.calendar-filters .filter-btn.item2 {color: #fff;}
.calendar-filters .filter-btn.item3 {color: #fff;}


