/* Single Event */
#single-event-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  background-color: #000D42;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

#single-event-header.has-banner-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#single-event-header .single-event-header-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 13, 66, 0.88) 0%,
    rgba(0, 13, 66, 0.72) 42%,
    rgba(0, 13, 66, 0.35) 100%
  );
}

#single-event-header.has-banner-image .single-event-header-overlay {
  display: block;
}

#single-event-header .single-event-header-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
  padding: 140px 6% 72px 11.52%;
}

.single-event-back {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #EFF2F7;
  text-decoration: none;
  margin-bottom: 20px;
}

.single-event-back:hover {
  color: #00B4EF;
}

.single-event-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 20px;
}

.single-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.single-event-meta-item {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #000D42;
  background: rgba(239, 242, 247, 0.92);
  border-radius: 6px;
  padding: 8px 10px;
}

.single-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.single-event-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  text-decoration: none;
  border-radius: 6px;
  padding: 16px 28px;
}

.single-event-btn.primary {
  color: #ffffff;
  background: #0072BB;
}

.single-event-btn.primary:hover {
  background: #00B4EF;
  color: #ffffff;
}

.single-event-btn.secondary {
  color: #ffffff;
  background: transparent;
  border: 2px solid #EFF2F7;
}

.single-event-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

#single-event-content {
  padding: 56px 11.52% 80px;
  background: #ffffff;
}

.single-event-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  width: 100%;
}

.single-event-main {
  min-width: 0;
}

.single-event-body {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #000D42;
}

.single-event-body p {
  margin: 0 0 1.1em;
}

.single-event-body h2,
.single-event-body h3,
.single-event-body h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: #000D42;
  margin: 1.4em 0 0.6em;
}

.single-event-body ul,
.single-event-body ol {
  margin: 0 0 1.1em 1.25em;
}

.single-event-body a {
  color: #0072BB;
}

.single-event-body img {
  max-width: 100%;
  height: auto;
}

.single-event-body .alignleft {
  float: left;
  margin: 0.5em 1em 0.5em 0;
}

.single-event-body .alignright {
  float: right;
  margin: 0.5em 0 0.5em 1em;
}

.single-event-body .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.single-event-empty {
  color: #004184;
}

/* Sidebar - matches News sidebar language */
.single-event-sidebar {
  position: sticky;
  top: 110px;
}

.single-event-sidebar-panel {
  background: #F4F8FB;
  border: 1px solid #CBDFEB;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.single-event-sidebar-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: #000D42;
  margin: 0 0 8px;
}

.single-event-sidebar-intro {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #4A5568;
  margin: 0 0 20px;
}

.single-event-sidebar-label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000D42;
  margin: 0 0 8px;
}

.single-event-sidebar-input,
.single-event-sidebar-select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #CBDFEB;
  border-radius: 8px;
  background: #fff;
  color: #000D42;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.3;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.single-event-sidebar-submit {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #0072BB;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 16px;
  cursor: pointer;
}

.single-event-sidebar-submit:hover {
  background: #005f9b;
}

.single-event-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-event-sidebar-list li + li {
  margin-top: 14px;
}

.single-event-sidebar-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  text-decoration: none;
  align-items: center;
}

.single-event-sidebar-thumb {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-color: #0072BB;
  background-size: cover;
  background-position: center;
}

.single-event-sidebar-date {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0072BB;
  margin-bottom: 4px;
}

.single-event-sidebar-item-title {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #000D42;
}

.single-event-sidebar-all-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-event-sidebar-all-list li {
  border-bottom: 1px solid #CBDFEB;
}

.single-event-sidebar-all-list li:last-child {
  border-bottom: 0;
}

.single-event-sidebar-all-list a {
  display: block;
  padding: 10px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #000D42;
  text-decoration: none;
}

.single-event-sidebar-all-list a:hover {
  color: #0072BB;
}

.single-event-sidebar-all-link {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0072BB;
  text-decoration: none;
}

.single-event-sidebar-all-link:hover {
  color: #005f9b;
}

@media screen and (max-width: 1100px) {
  .single-event-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .single-event-sidebar {
    position: static;
    order: 2;
  }
}

@media screen and (max-width: 991px) {
  #single-event-header {
    min-height: 360px;
  }

  #single-event-header .single-event-header-inner {
    width: 100%;
    max-width: none;
    padding: 120px 8% 48px;
  }

  #single-event-header .single-event-header-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 13, 66, 0.55) 0%,
      rgba(0, 13, 66, 0.85) 100%
    );
  }

  #single-event-content {
    padding: 40px 8% 64px;
  }
}