@charset "UTF-8";
/* Simple Events CSS */
body.page-id-29 .page_posttitle {
  margin: 0;
  border-bottom: 2px solid #ddd;
}

.simple-events-list {
  margin: 2vw 0;
}
.simple-events-list .past-events-heading {
  border-bottom: 2px solid #ddd;
  margin-top: 2vw;
}
.simple-events-list .no-events-message {
  font-style: italic;
  text-align: center;
  padding: 2vw;
}

.simple-event-item {
  margin-bottom: 0;
  padding: 2vw 0;
  background: #fff;
  position: relative;
  display: flex;
  gap: 2vw;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
}
.simple-event-item:last-child {
  border-bottom: none;
}
.simple-event-item:first-child {
  padding-top: 0;
}
.simple-event-item .event-column-1 {
  flex: 0 0 150px;
  text-align: center;
  padding-right: 1em;
}
.simple-event-item .event-column-2 {
  flex: 1;
  padding: 0 1em;
}
.simple-event-item .event-column-3 {
  flex: 0 0 200px;
  text-align: center;
}
.simple-event-item .event-links.button {
  margin-bottom: 1vw;
  text-align: right;
}
.simple-event-item .event-links.button a {
  display: inline-block;
  padding: 0.3em 0.8em;
  margin-bottom: 0.5em;
  background: #0073aa;
  color: white;
  text-decoration: none;
  font-size: 0.9em;
  text-align: center;
  width: 130px;
}
.simple-event-item .event-links.button a:hover {
  background: #005a87;
  color: white;
}
.simple-event-item .event-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #aaa;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.simple-event-item .event-image img:hover {
  opacity: 0.8;
}
.simple-event-item .event-title {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: bold;
  font-size: 1.4em;
}
.simple-event-item .event-description {
  margin-bottom: 0.8em;
  line-height: 1.6;
  color: #444;
  color: color-mix(in srgb, currentColor 80%, white);
}
.simple-event-item .event-location {
  margin-bottom: 0.5em;
  font-size: 0.95em;
  font-style: italic;
  color: #555;
  color: color-mix(in srgb, currentColor 75%, white);
}
.simple-event-item .event-location:before {
  content: "📍 ";
}
.simple-event-item .event-info {
  margin-bottom: 1em;
  line-height: 1.6;
  color: #444;
  color: color-mix(in srgb, currentColor 80%, white);
}
.simple-event-item .event-date {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.simple-event-item .event-time {
  font-size: 1em;
  color: #666;
  color: color-mix(in srgb, currentColor 80%, white);
  margin-bottom: 0.3em;
}
.simple-event-item .event-day {
  font-size: 0.9em;
  color: #888;
  color: color-mix(in srgb, currentColor 80%, white);
  font-style: italic;
}
.simple-event-item.past-event {
  opacity: 0.5;
}
.simple-event-item.past-event .event-title {
  color: #666;
  color: color-mix(in srgb, currentColor 60%, white);
  font-size: 1.2em;
}
.simple-event-item.past-event .event-datetime,
.simple-event-item.past-event .event-location,
.simple-event-item.past-event .event-info {
  color: #666;
  color: color-mix(in srgb, currentColor 60%, white);
}
.simple-event-item.past-event .event-links.button a {
  background: #999;
}
.simple-event-item.past-event .event-links.button a:hover {
  background: #777;
}
.simple-event-item.past-event .event-image img {
  max-width: 150px;
  opacity: 0.8;
}

#eventImageModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  padding: 1vh 1vw;
  box-sizing: border-box;
}
#eventImageModal .event-image-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #555;
  max-width: 98vw;
  max-height: 98vh;
  overflow: hidden;
}
#eventImageModal .event-image-modal-content img#eventModalImage {
  max-width: 98vw;
  max-height: 98vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
#eventImageModal .event-image-modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}
#eventImageModal .event-image-modal-close:hover {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .simple-event-item {
    flex-direction: column;
    gap: 1.5em;
    margin-bottom: 6vw;
    padding: 4vw 0;
  }
  .simple-event-item .event-column-1 {
    flex: none;
    text-align: left;
    padding-right: 0;
  }
  .simple-event-item .event-column-2 {
    flex: none;
    padding: 0;
  }
  .simple-event-item .event-column-3 {
    flex: none;
    text-align: left;
  }
  .simple-event-item .event-date {
    margin-bottom: 0;
    font-size: 1.6em;
  }
  .simple-event-item .event-time {
    margin-bottom: 0;
  }
  .simple-event-item .event-description {
    margin-bottom: 0;
  }
  .simple-event-item .event-links.button {
    text-align: left;
  }
}
@media print {
  .simple-event-item {
    border: 1px solid #000;
    box-shadow: none;
    page-break-inside: avoid;
    margin-bottom: 1em;
  }
  .simple-event-item .event-links a {
    color: #000;
    text-decoration: underline;
    background: none;
    padding: 0;
  }
  .simple-event-item .event-image {
    float: none;
    margin: 0;
  }
}
/* Admin styles */
.simple-events-admin .form-table th {
  width: 150px;
}
.simple-events-admin .form-table input[type=text],
.simple-events-admin .form-table input[type=datetime-local],
.simple-events-admin .form-table textarea {
  width: 100%;
  max-width: none;
}
.simple-events-admin .form-table input#event_date {
  max-width: 150px;
}
/*# sourceMappingURL=d_events.css.map */
