/* ==========================================================================
   Latest News and Upcoming Events
   ========================================================================== */

/* Section headings */
.block-views-blocklatest-news-block-block-1 > h2,
.block-views-blockevents-block-1 > h2 {
  font-family: 'League Gothic', Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: #000;
  margin-top: 0;
  margin-bottom: 32px;
}

/* ==========================================================================
   Latest News
   ========================================================================== */

/* Individual news item */
.view-latest-news-block .view-content .news.views-row {
  position: relative;
  margin-bottom: 20px;
}

/* Remove spacing on the last item */
.view-latest-news-block .view-content .news.views-row:last-child {
  margin-bottom: 0;
}

/* Divider between news items */
.view-latest-news-block .view-content .news.views-row:not(:last-child)::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 16px;
  background-color: #e5e5e5;
}

/* Latest News date */
.view-latest-news-block .views-field-field-news-date,
.view-latest-news-block .views-field-field-news-date .field-content {
  font-family: 'Milo', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
  margin-bottom: 6px;
}

/* Latest News title */
.view-latest-news-block .views-field-title {
  margin-bottom: 8px;
}

.view-latest-news-block .views-field-title a {
  font-family: 'Milo', Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #c8102e;
  text-decoration: underline;
}

/* Latest News teaser */
.view-latest-news-block .views-field-field-news-teaser,
.view-latest-news-block .views-field-field-news-teaser .field-content {
  font-family: 'Milo', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  margin-top: 0;
}

/* Space above the More News link */
.view-latest-news-block .view-footer {
  margin-top: 24px;
}

/* Latest News footer link */
.view-latest-news-block .view-footer a {
  font-family: 'Milo', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #c8102e;
  text-decoration: none;
}

/* Remove default paragraph spacing from the footer */
.view-latest-news-block .view-footer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* ==========================================================================
   Upcoming Events
   ========================================================================== */

/* Event card layout */
.events-styled-list .event-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

/* Remove extra spacing after the final event */
.events-styled-list .views-row:last-child .event-item {
  margin-bottom: 0;
}

/* Calendar date card */
.events-styled-list .event-date-box {
  width: 88px;
  min-width: 88px;
  padding: 0;
  margin-right: 0;
  overflow: hidden;
  text-align: center;
  background-color: #fff;
  border: 1px solid #999;
  border-radius: 0;
  box-shadow: 0 3px 5px rgb(0 0 0 / 18%);
  flex-shrink: 0;
}

/* Calendar month */
.events-styled-list .event-date-box .month {
  display: block;
  padding: 6px 4px;
  background-color: #c8102e;
  color: #fff;
  font-family: 'Milo', Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

/* Calendar day */
.events-styled-list .event-date-box .day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background-color: #fff;
  color: #000;
  font-family: 'Milo', Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

/* Event details */
.events-styled-list .event-details {
  min-width: 0;
}

/* Event title wrapper */
.events-styled-list .event-title {
  margin: 0 0 8px;
  line-height: 1.1;
}

/* Event title link */
.events-styled-list .event-title a {
  color: #c8102e !important;
  font-family: 'Milo', Arial, Helvetica, sans-serif;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: underline !important;
  text-transform: none;
}

/* Event title interaction */
.events-styled-list .event-title a:hover,
.events-styled-list .event-title a:focus {
  color: #960c22 !important;
  text-decoration: underline !important;
}

/* Event date and time */
.events-styled-list .event-meta,
.events-styled-list .event-time {
  display: inline;
  vertical-align: baseline;
  color: #000;
  font-family: 'Milo', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

/* Separator between date and time */
.events-styled-list .event-meta::after {
  content: " | ";
}

/* Space above the View All Events link */
.view-events .view-footer {
  margin-top: 28px;
}

/* Remove default paragraph spacing from the footer */
.view-events .view-footer p {
  margin-top: 0;
  margin-bottom: 0;
}
