:root {
  --emsev-blue: #1867a7;
  --emsev-deep-blue: #0d4f83;
  --emsev-red: #d62828;
  --emsev-ink: #333;
  --emsev-border: #d7d7d7;
  --cassiopeia-color-primary: #1867a7;
  --cassiopeia-color-link: #145f9a;
  --cassiopeia-color-hover: #c32222;
}

html {
  background: #ececec;
}

body.site {
  min-height: 100vh;
  background: #ececec;
  color: var(--emsev-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

body.site > .container-header,
body.site > .site-grid,
body.site > .container-footer {
  width: min(940px, calc(100% - 30px));
  margin-right: auto;
  margin-left: auto;
}

.container-header {
  z-index: 10;
  display: block;
  padding: 0;
  background: #fff;
  background-image: none;
  border-right: 1px solid #d1d1d1;
  border-left: 1px solid #d1d1d1;
  box-shadow: 0 1px 5px rgb(0 0 0 / 14%);
}

.container-header .container-below-top {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

.emsev-heritage {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.emsev-banner {
  display: block;
  padding: 8px 12px 0;
  text-align: center;
}

.emsev-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 138px;
  object-fit: contain;
}

.emsev-tagline {
  margin: 3px 15px 9px;
  color: #e21c21;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.emsev-slider,
.emsev-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  background: #1d2b36;
}

.emsev-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: emsev-slideshow 42s infinite;
}

.emsev-slide::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  content: "";
  background: linear-gradient(to top, rgb(0 0 0 / 28%), transparent);
  pointer-events: none;
}

.emsev-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emsev-slide:nth-child(1) { animation-delay: 0s; }
.emsev-slide:nth-child(2) { animation-delay: 7s; }
.emsev-slide:nth-child(3) { animation-delay: 14s; }
.emsev-slide:nth-child(4) { animation-delay: 21s; }
.emsev-slide:nth-child(5) { animation-delay: 28s; }
.emsev-slide:nth-child(6) { animation-delay: 35s; }

@keyframes emsev-slideshow {
  0%, 14% { opacity: 1; transform: scale(1); }
  16.66%, 100% { opacity: 0; transform: scale(1.025); }
}

.emsev-quicklinks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 14px 24px 12px;
  background: #fff;
  border-bottom: 1px solid var(--emsev-border);
}

.container-header .emsev-quicklink {
  display: flex;
  min-width: 0;
  color: #1b1b1b !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.emsev-quicklink:hover,
.emsev-quicklink:focus-visible {
  color: var(--emsev-blue) !important;
  text-decoration: none;
}

.emsev-icon {
  display: grid;
  width: 68px;
  height: 68px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 50%;
  transition: transform .2s ease, box-shadow .2s ease;
  place-items: center;
}

.emsev-quicklink:hover .emsev-icon,
.emsev-quicklink:focus-visible .emsev-icon {
  box-shadow: 0 4px 12px rgb(0 0 0 / 16%);
  transform: translateY(-2px);
}

.emsev-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.5;
}

.quicklink-visa .emsev-icon { color: #2196f3; }
.quicklink-venue .emsev-icon { color: #ff5252; }
.quicklink-arrival .emsev-icon { color: #70ad2d; }
.quicklink-arrival .emsev-icon svg { fill: currentColor; stroke: none; }
.quicklink-registration .emsev-icon { color: #e2a900; }
.quicklink-payment .emsev-icon { color: #673ab7; }

.visa-wordmark {
  color: #1674bb;
  font-family: Arial Black, Arial, sans-serif;
  font-size: 18px;
  font-style: italic;
  letter-spacing: -1px;
}

.container-header .container-nav {
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 0 12px;
  background: linear-gradient(#f9f9f9, #ececec);
  border-bottom: 1px solid #cfcfcf;
  box-shadow: inset 0 1px #fff;
  justify-content: center;
}

.container-header .navbar-toggler {
  color: var(--emsev-deep-blue);
  border-color: #aaa;
}

.container-header .metismenu > li > a,
.container-header .metismenu > li > button {
  color: #3c3c3c;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px #fff;
}

.container-header .metismenu > li.active > a,
.container-header .metismenu > li > a:hover,
.container-header .metismenu > li > button:hover {
  color: #d32027;
}

.site-grid {
  display: grid;
  grid-template-areas: none !important;
  grid-template-columns: minmax(0, 760px) !important;
  gap: 24px;
  padding: 22px 18px 36px;
  background: #fff;
  border-right: 1px solid #d1d1d1;
  border-left: 1px solid #d1d1d1;
  box-shadow: 0 2px 5px rgb(0 0 0 / 14%);
  justify-content: center;
}

.has-sidebar-right .site-grid {
  grid-template-columns: minmax(0, 1fr) 250px !important;
  justify-content: stretch;
}

.site-grid > .container-component {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.site-grid > .container-sidebar-right {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.com-content-article.item-page > h1,
.com-content-article.item-page > h2,
.page-header h1,
.page-header h2 {
  color: #343434;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.25;
}

.container-component main a:not(.btn) {
  color: #1467a4;
}

.container-component main img {
  max-width: 100%;
  height: auto;
}

.container-main-top .card {
  margin: 0 0 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.container-main-top .card-body {
  padding: 0;
}

.emsev-venue-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.emsev-venue-card {
  display: flex;
  overflow: hidden;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  box-shadow: 0 2px 7px rgb(0 0 0 / 12%);
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.emsev-venue-card:hover,
.emsev-venue-card:focus-visible {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgb(0 0 0 / 19%);
  transform: translateY(-2px);
}

.emsev-venue-card img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.emsev-venue-card span {
  display: grid;
  min-height: 54px;
  padding: 9px 7px;
  place-items: center;
}

.venue-card-reach span { background: #657fc4; }
.venue-card-stay span { background: #58b864; }
.venue-card-social span { background: #c9324a; }

.emsev-gallery-tabs {
  display: flex;
  margin: 0 0 24px;
  border-bottom: 1px solid #cfd5da;
  gap: 4px;
}

.emsev-gallery-tabs a {
  display: inline-block;
  margin-bottom: -1px;
  padding: 9px 16px;
  color: #295f8b;
  font-weight: 700;
  text-decoration: none;
  background: #f4f5f6;
  border: 1px solid #cfd5da;
  border-radius: 4px 4px 0 0;
}

.emsev-gallery-tabs a.is-active {
  color: #c5262d;
  background: #fff;
  border-bottom-color: #fff;
}

.emsev-video-library section {
  margin: 0 0 34px;
}

.emsev-video-library h2 {
  margin: 0 0 12px;
  color: #333;
  font-size: 22px;
  font-weight: 500;
}

.emsev-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.emsev-video-card {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  color: #fff !important;
  text-decoration: none;
  background: #111;
  border-radius: 4px;
  box-shadow: 0 2px 7px rgb(0 0 0 / 15%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.emsev-video-card:hover,
.emsev-video-card:focus-visible {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgb(0 0 0 / 23%);
  transform: translateY(-2px);
}

.emsev-video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.emsev-video-card strong {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px 12px 9px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(transparent, rgb(0 0 0 / 86%));
}

.emsev-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 38px;
  background: rgb(206 30 30 / 94%);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 35%);
  transform: translate(-50%, -50%);
  place-items: center;
}

.emsev-video-play::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  content: "";
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #fff;
}

.container-sidebar-right .card {
  margin: 0 0 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}

.container-sidebar-right .card-body {
  padding: 0;
}

.emsev-calendar h2,
.emsev-side-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.emsev-calendar h2 {
  padding: 12px 8px;
  background: var(--emsev-blue);
}

.emsev-calendar table {
  width: calc(100% - 16px);
  margin: 8px;
  border-collapse: separate;
  border-spacing: 2px;
  table-layout: fixed;
  font-size: 12px;
  text-align: center;
}

.emsev-calendar th {
  padding: 4px 1px;
  color: #777;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.emsev-calendar td {
  height: 29px;
  padding: 3px 1px;
  background: #f3f3f3;
  border-radius: 50%;
}

.emsev-calendar td:empty {
  background: transparent;
}

.emsev-calendar td.event-day {
  color: #fff;
  font-weight: 700;
  background: #dd3131;
}

.emsev-calendar-note {
  margin: 8px 12px 12px;
  color: #555;
  font-size: 12px;
  text-align: center;
}

.emsev-calendar-note span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 3px;
  background: #dd3131;
  border-radius: 50%;
}

.emsev-side-panel {
  padding: 16px;
  text-align: center;
}

.emsev-side-panel h2 {
  color: #333;
  font-size: 19px;
}

.emsev-side-kicker {
  margin: 0 0 5px;
  color: #d12828;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.emsev-side-panel p {
  margin: 10px 0 14px;
  font-size: 13px;
}

.emsev-side-button {
  display: inline-block;
  padding: 7px 13px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  background: var(--emsev-blue);
  border-radius: 2px;
}

.emsev-side-button:hover,
.emsev-side-button:focus-visible {
  background: var(--emsev-deep-blue);
}

.emsev-poster-panel a {
  display: block;
  color: #c82020;
  font-weight: 700;
  text-decoration: none;
}

.emsev-poster-panel img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 210px;
  margin: 12px auto 8px;
  object-fit: contain;
}

.emsev-download-intro {
  max-width: 680px;
  margin: 0 0 28px;
  color: #555;
  font-size: 15px;
}

.emsev-download-group + .emsev-download-group {
  margin-top: 34px;
}

.emsev-download-group h2 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  color: var(--emsev-deep-blue);
  font-size: 22px;
  border-bottom: 2px solid #e4e8ef;
}

.emsev-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.emsev-download-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 4px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 7%);
}

.emsev-file-type {
  display: grid;
  place-items: center;
  width: 56px;
  height: 68px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  background: #d83535;
  border-radius: 4px;
}

.emsev-file-type.is-word {
  background: #2f64b4;
}

.emsev-download-card h3 {
  margin: 2px 0 5px;
  color: #2d2d2d;
  font-size: 18px;
}

.emsev-download-card p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.emsev-download-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.emsev-download-actions a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--emsev-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--emsev-blue);
  border-radius: 3px;
}

.emsev-download-actions a:hover,
.emsev-download-actions a:focus-visible {
  color: #fff;
  background: var(--emsev-deep-blue);
  border-color: var(--emsev-deep-blue);
}

.emsev-download-actions a.is-primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: var(--emsev-blue);
}

.container-footer {
  margin-bottom: 25px;
  background: var(--emsev-deep-blue);
  background-image: none;
  border-right: 1px solid var(--emsev-deep-blue);
  border-left: 1px solid var(--emsev-deep-blue);
}

@media (max-width: 900px) {
  .emsev-quicklinks {
    padding-right: 12px;
    padding-left: 12px;
  }

  .emsev-icon {
    width: 58px;
    height: 58px;
  }

  .emsev-icon svg {
    width: 33px;
    height: 33px;
  }

  .has-sidebar-right .site-grid {
    grid-template-columns: minmax(0, 1fr) 225px !important;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  body.site > .container-header,
  body.site > .site-grid,
  body.site > .container-footer {
    width: 100%;
  }

  .emsev-banner {
    padding: 6px 6px 0;
  }

  .emsev-tagline {
    font-size: 14px;
  }

  .emsev-quicklinks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 12px 6px;
    padding: 12px 8px;
  }

  .container-header .emsev-quicklink {
    font-size: 11px;
  }

  .emsev-venue-cards,
  .emsev-video-grid,
  .emsev-download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .emsev-venue-cards {
    gap: 12px;
  }

  .site-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 18px 14px 28px;
    justify-content: stretch;
  }

  .site-grid > .container-component {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .site-grid > .container-sidebar-right {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .container-header .container-nav {
    padding: 0 10px;
    justify-content: flex-start;
  }

  .container-sidebar-right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
  }

  .container-sidebar-right .card {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emsev-slide {
    animation: none;
  }

  .emsev-slide:first-child {
    opacity: 1;
  }

  .emsev-quicklink,
  .emsev-icon {
    scroll-behavior: auto;
    transition: none;
  }
}

