
/* =========================================
   OWF SPECIAL EVENT
   INTEGRATED MIDNIGHT GREEN THEME
========================================= */

.owf-event {
  --event-green: #7DE8B4;
  --event-light: #D9FFEC;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: 22px;
  box-sizing: border-box;

  color: #F0F6FF;
  font-family: inherit;

  background:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(35,105,75,.10),
      transparent 65%
    ),
    linear-gradient(
      135deg,
      rgba(7,17,30,.42),
      rgba(5,15,25,.42)
    );

  border: 1px solid rgba(125,232,180,.26);
  border-radius: 13px;

  box-shadow:
    inset 0 1px 0 rgba(200,255,225,.035),
    0 4px 20px rgba(0,0,0,.12);
}

.owf-event *,
.owf-event *::before,
.owf-event *::after {
  box-sizing: border-box;
}

/* Soft ambient lighting */

.owf-event::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(125,232,180,.06),
      transparent 50%
    );
}

/* Header */

.owf-event-heading {
  margin-bottom: 9px;
}

.owf-event-eyebrow {
  color: #91DDB5;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1px;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Title */

.owf-event .owf-event-title {
  margin: 0 0 13px;
  padding: 0;

  color: #F0F6FF;
  font-size: clamp(21px,2.5vw,27px);
  font-weight: 750;
  line-height: 1.3;

  text-shadow:
    0 0 8px rgba(125,232,180,.07);
}

/* Time and location */

.owf-event-schedule {
  margin-bottom: 17px;
}

.owf-event-time {
  display: block;
  margin-bottom: 4px;

  color: #DFEBF8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.owf-event .owf-event-location {
  display: inline-block;

  color: #9EDCBE !important;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.65;
  text-decoration: none !important;

  transition: color .2s ease;
}

.owf-event .owf-event-location:hover {
  color: #D9FFEC !important;
  text-decoration: underline !important;
}

/* Descriptions */

.owf-event .owf-event-description p {
  margin: 0 0 13px;
  padding: 0;

  color: #E8EFF8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.owf-event .owf-event-description em {
  color: #FFFFFF;
}

/* Event link divider */

.owf-event-footer {
  margin-top: 15px;
  padding-top: 12px;

  border-top:
    1px solid rgba(125,232,180,.15);
}

/* Event Details button */

.owf-event .owf-event-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-height: 40px;
  padding: 9px 14px;

  color: #D9FFEC !important;
  background: rgba(22,57,47,.35);

  border: 1px solid rgba(125,232,180,.32);
  border-radius: 7px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none !important;

  transition:
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.owf-event .owf-event-link:hover {
  color: #FFFFFF !important;
  background: rgba(34,75,59,.45);
  border-color: rgba(125,232,180,.55);

  box-shadow:
    0 0 12px rgba(125,232,180,.10);
}

.owf-event a:focus-visible {
  outline: 2px solid #7DE8B4;
  outline-offset: 3px;
}

/* Mobile */

@media (max-width: 550px) {
  .owf-event {
    padding: 16px;
  }

  .owf-event .owf-event-title {
    font-size: 22px;
  }

  .owf-event .owf-event-description p {
    font-size: 13.5px;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .owf-event a {
    transition: none;
  }
}

.owf-events-slot[hidden] { display: none !important; }
.owf-events-slot:not([hidden]) { display: grid; gap: 16px; margin: 0; padding: 0; }
.owf-event { margin: 0; text-align: left; }
.owf-event .owf-event-description { color: #E8EFF8; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.owf-event .owf-event-description > :last-child { margin-bottom: 0; }
.owf-event .owf-event-description a { color: #9EDCBE; text-decoration: underline; }
.owf-event .owf-event-description ul,
.owf-event .owf-event-description ol { padding-left: 22px; }
.owf-event .owf-event-description img { max-width: 100%; height: auto; }
.owf-event .owf-event-footer { display: flex; flex-wrap: wrap; gap: 9px; }
.owf-event .owf-event-title,
.owf-event .owf-event-location,
.owf-event .owf-event-link { overflow-wrap: anywhere; }

