#esuc-logo {
    position: absolute;
    width: 90px;
    height: 90px;
    left: 25px;
    top: 17px;
    z-index: 5;
    -webkit-animation: unspin 0.5s;
    -moz-animation: unspin 0.5s;
    animation: unspin 0.5s;
}

#esuc-logo:hover {
    -webkit-animation: spin 0.5s;
    -moz-animation: spin 0.5s;
    animation: spin 0.5s;
}

#nav-bar {
    float: right !important;
    font-family: Martel Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 30px;
    line-height: 55px;
    display: flex;
    flex-direction: row;
    width: 338px;
    height: 55px;
    position: relative;
    z-index: 5;
}

.header-link {
    display: inline-block;
    padding: 10px;
}

.hide-link:hover {
    color: #2E2E2E !important;
}

h1 {
    margin-top: 0.67em;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0em;
}

#landing-background {
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 1;
    background-image: url("../img/landing-background.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#landing-break {
    height: calc(100vh - min(150vw/9, 200px));
    background: linear-gradient(180deg, #8FCAE4 0%, #FFFFFF 100%);
    z-index: 0;
}

#landing-bricks {
    display: inline-block;
    width: calc(50vw - 400px);
    height: calc(min(150vw/9, 200px));
    background-size: cover;
    background-repeat: repeat-x;
    background-position: right top;
    background-image: url("../img/bricks.svg");
    z-index: 2;
}

#landing-sign {
    display: inline-block;
    vertical-align: top;
    width: calc(75vw);
    max-width: 900px;
    height: calc(min(150vw/9, 200px));
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("../img/sign.svg");
    z-index: 3;
}

#landing-ground {
    width: 100vw;
    height: 3em;
    margin: -1em;
    background: #7B7873;
}

#sign-title {
    margin-top: 5px;
    margin-left: 0.5em;
    font-family: Martel Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 4.5vw;
    letter-spacing: -0.015em;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: #323232;
}

#sign-date {
    margin-top: 5px;
    margin-left: 0.5em;
    font-family: Martel Sans;
    font-style: normal;
    font-weight: 100;
    font-size: 2.91666vw;
    letter-spacing: -0.015em;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: #323232;
    margin-top: -0.4em;
    margin-left: 0.8em;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    float: none;
    font-family: Open Sans;
    font-style: normal;
    word-wrap: normal;
}

#sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: 20px;
    height: auto;
    width: inherit;
    margin-top: 1rem;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 3;
    background-color: #FFFFFF;
}

h2 {
    margin: 0px;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #2E2E2E;
    font-size: 1.4em;
    border-bottom: 2px solid #8FCAE4;
    padding-bottom: 0.3em;
}

.sidebar li.active>a {
    color: #030333;
    font-weight: 500;
}

.sidebar a {
    text-decoration: none;
    display: block;
    padding: .125rem 0;
    color: rgb(170, 159, 159);
    transition: all 50ms ease-in-out;
}

.sidebar a:hover, .sidebar a:focus {
    color: #648bba;
}

div {
    position: relative;
}

section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 1.75rem;
    background: #f7fafc;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

section h1 {
    color: #2E2E2E;
    font-size: 2em;
    margin-bottom: 1rem;
    border-bottom: 3px solid #8FCAE4;
    padding-bottom: 0.5rem;
}

section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #484848;
}

section ul, section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, #8FCAE4 0%, #648bba 100%);
    margin: 2rem 0;
    border-radius: 1px;
}

#content-wrapper {
    display: grid;
    grid-template-columns: 15em 1fr;
    justify-content: center;
    align-content: center;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    min-width: 0;
}

ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

li.side-nav {
    margin-left: 1rem;
}

.event-name {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 1.2em;
    text-decoration-line: underline;
    color: #484848;
    margin: 0px;
}

.speaker-name {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5em;
    color: #484848;
    margin: 0px;
}

.speaker-desc {
    font-family: Open Sans;
    font-style: italic;
    font-weight: 300;
    font-size: 1.2em;
    color: #484848;
    margin: 0px;
    margin-top: -0.25em;
    margin-bottom: 0.3em;
}

#footer {
    width: 100vw;
    line-height: 70px;
    height: 70px;
    font-family: Open Sans;
    background-color: #2E2E2E;
    color: #8b8b8b;
    text-align: center;
}

.content-grid {
    max-width: 1000px;
    margin: 0 auto;
    float: none;
    font-family: Open Sans;
    font-style: normal;
    word-wrap: normal;
}

.card-grid {
    display: grid;
    max-width: 1200px;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    justify-items: center;
}

.card {
    background: #FFFFFF;
    position: relative;
    width: 450px;
    height: 150px;
    border: 1px solid #fafafa;
    box-sizing: border-box;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
    border-radius: 19px;
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: 120px;
    padding: 15px 15px;
    justify-items: center;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.25);
}

.card-img-wrapper {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
    padding: 12px;
}

.card-img {
    max-height: 100%;
    max-width: 100%;
}

.card-text {
    padding-left: 20px;
    max-height: 100%;
    max-width: 100%;
    width: 100%;
}

.card-text>b {
    font-weight: bold;
    font-size: 20px;
    line-height: 145.9%;
    color: #000000;
    margin: 5px 0px;
}

.card-text>em {
    font-weight: normal;
    font-size: 15px;
    line-height: 145.9%;
    color: #7C7C7C;
}

.card-text>p {
    font-weight: normal;
    font-size: 12px;
    line-height: 138.9%;
    color: #686868;
}

.center {
    display: flex;
    align-items: center;
    width: 100%;
}

#search {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    height: 3rem;
    width: 100%;
    font-size: 1rem;
    margin: 0 0 20px 0;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: all 0.3s;
}

#video-embed {
    border-radius: 15px;
    overflow: hidden;
    margin: 15px 0px 30px;
}

@media screen and (min-width: 1200px) {
    #sign-title {
        font-size: 55px;
    }
    #sign-date {
        font-size: 35px;
    }
}

#mobile-header {
    display: none;
    font-size: 3em;
}

@media screen and (max-width: 900px) {
    #sidebar-wrapper {
        display: none;
    }
    #main-body {
        grid-column: 1 / -1;
    }
    #nav-bar {
        display: none;
    }
    #landing-background {
        display: none;
    }
    #landing-break {
        display: none;
    }
    #landing-sign {
        display: none;
    }
    #landing-ground {
        display: none;
    }
    #mobile-header {
        display: block;
    }
    .content {
        max-width: 100%;
        padding: 0 0.75rem;
        box-sizing: border-box;
    }
    #content-wrapper {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        min-width: 0;
    }
    #main-body,
    .expo,
    .expo-map-scroll {
        min-width: 0;
        max-width: 100%;
    }
    section {
        padding: 1.15rem 1rem;
    }
    #mobile-header {
        font-size: 2rem;
        line-height: 1.15;
        margin: 0 0.25rem 0.5rem;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    .card {
        display: flex;
        flex-direction: column;
        width: 200px;
        height: 400px;
    }
}


@-moz-keyframes unspin {
    100% {
        -moz-transform: rotate(-360deg);
    }
}

@-webkit-keyframes unspin {
    100% {
        -webkit-transform: rotate(-360deg);
    }
}

@keyframes unspin {
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Modern EWD Table Styling */
.tg {
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  width: 100%;
  background: #fafdff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(143,202,228,0.10);
  overflow: hidden;
}
.tg th {
  background: linear-gradient(90deg, #8FCAE4 0%, #648bba 100%);
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
  padding: 18px 12px;
  border: none;
  text-align: center;
}
.tg td {
  background: #fff;
  color: #2E2E2E;
  font-size: 1.08em;
  padding: 16px 12px;
  border: none;
  text-align: center;
  transition: background 0.2s;
}
.tg tr {
  border-bottom: 1.5px solid #e3f2fa;
}
.tg tr:last-child {
  border-bottom: none;
}
.tg tbody tr:hover {
  background: #e6f7fb;
}
.tg thead tr {
  border-bottom: 3px solid #8FCAE4;
}

/* Remove old gray backgrounds */
.tg .tg-an7l, .tg .tg-baqh, .tg .tg-5aua, .tg .tg-8o0v, .tg .tg-ao2g, .tg .tg-26lt {
  background: none !important;
}

.tg  {border-collapse:collapse;border-spacing:0;margin: 1rem 0;}
.tg td{border-color:#ddd;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
  overflow:hidden;padding:12px 8px;word-break:normal;background-color: #fff;}
.tg th{border-color:#ddd;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
  font-weight:bold;overflow:hidden;padding:12px 8px;word-break:normal;background-color: #8FCAE4;color: #2E2E2E;}
.tg .tg-baqh{text-align:center;vertical-align:top}
.tg .tg-an7l{background-color:#d0e0e3;text-align:center;vertical-align:top}
.tg .tg-5aua{background-color:#d9d2e9;font-style:italic;text-align:center;vertical-align:top}
.tg .tg-8o0v{background-color:#c9daf8;text-align:center;vertical-align:top}
.tg .tg-ao2g{border-color:#333333;text-align:center;vertical-align:top}
.tg .tg-26lt{background-color:#d9d2e9;text-align:center;vertical-align:top}
.t-yhp  {border-collapse:collapse;border-spacing:0;}
.t-yhp td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
  overflow:hidden;padding:10px 5px;word-break:normal;}
.t-yhp th{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
  font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}
.t-yhp .t-yhp-hv4g{background-color:#D0E0E3;font-weight:bold;text-align:center;vertical-align:top}
.t-yhp .t-yhp-amwm{font-weight:bold;text-align:center;vertical-align:top}
.t-yhp .t-yhp-0lax{text-align:left;vertical-align:top}
.tg .tg-hv4g{background-color:#D0E0E3;font-weight:bold;text-align:center;vertical-align:top}

.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin: 0.5rem 0 1.75rem;
}

.event-facts p {
  margin-bottom: 0;
}

section .event-fact-label {
  margin: 0;
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #648bba;
}

section .event-fact-value {
  margin: 0.15rem 0 0;
  font-size: 1.45em;
  font-weight: 700;
  color: #2E2E2E;
  line-height: 1.25;
}

section .event-fact-note {
  margin: 0.2rem 0 0;
  color: #484848;
  font-weight: 400;
}

.ewd-btn {
  display: inline-block;
  margin-top: 1.2em;
  padding: 0.85em 2.2em;
  background: #79acc2;
  color: #fff;
  font-weight: 700;
  font-size: 1.15em;
  border: none;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(143,202,228,0.15);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.ewd-btn:hover, .ewd-btn:focus {
  background: #648bba;
  box-shadow: 0 4px 16px rgba(143,202,228,0.22);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}

.ewd-date, .ewd-time {
  display: inline-block;
  background: #648bba;
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  border-radius: 2em;
  padding: 0.25em 1em 0.25em 0.9em;
  margin: 0 0.3em 0 0.3em;
  box-shadow: 0 1px 4px rgba(143,202,228,0.10);
  letter-spacing: 0.01em;
  vertical-align: middle;
  transition: background 0.2s;
}
.ewd-date:hover, .ewd-time:hover {
  background: rgb(33, 85, 148);
}

.directions-list {
  list-style: disc;
  padding-left: 2rem;
  margin: 1.5rem 0;
}

.directions-list li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: #484848;
}

.directions-list li::marker {
  color: #648bba;
  font-weight: bold;
}

.directions-list li strong {
  color: #2E2E2E;
  font-weight: 600;
}

.update-notice {
  margin: 0.5rem 0 1.5rem 0;
  text-align: left;
}

.update-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #e8f4fb;
  color: #2E2E2E;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid #cfe6f7;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.update-badge::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* map-pin icon */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238FCAE4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 6-9 13-9 13S3 16 3 10a9 9 0 1 1 18 0Z'/><circle cx='12' cy='10' r='3'/></svg>");
}

.expo {
  margin-top: 0.5rem;
}

.expo-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.expo-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfe6f7;
  border-radius: 10px;
  background: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  margin: 0 0 0.85rem;
  color: #2E2E2E;
}

.expo-search:focus {
  outline: 2px solid #648bba;
  outline-offset: 2px;
}

.expo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.expo-chip {
  appearance: none;
  border: 1px solid #cfe6f7;
  background: #fff;
  color: #2E2E2E;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.expo-chip.is-active {
  background: var(--chip-color, #648bba);
  border-color: transparent;
  color: #fff;
}

.expo-map-block {
  margin: 0 0 1rem;
}

.expo-subhead {
  margin: 0 0 0.35rem;
  font-size: 1.15em;
  border-bottom: none;
  padding-bottom: 0;
}

.expo-map-hint {
  margin: 0 0 0.7rem;
  color: #5a5a5a;
  font-size: 0.92rem;
}

.expo-map-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d7e6ee;
  border-radius: 12px;
  background: #fff;
  touch-action: pan-x pan-y;
}

.expo-map-photo {
  position: relative;
  display: block;
  width: 100%;
}

.expo-map-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.expo-table {
  position: absolute;
  left: 0;
  top: 0;
  width: 4.8%;
  height: 3.35%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 5px;
  background: var(--dot-color, #648bba);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(8px, 1.45vw, 12px);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.expo-table:hover,
.expo-table:focus {
  outline: none;
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 2;
}

.expo-table.is-active {
  background: #2E2E2E;
  box-shadow: 0 0 0 3px rgba(46, 46, 46, 0.28);
  z-index: 3;
}

.expo-table.is-dim {
  opacity: 0.18;
  pointer-events: none;
}

.expo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.expo-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.82rem;
  color: #484848;
}

.expo-legend-swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  display: inline-block;
}

.expo-dept-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.12em;
  margin-top: 1.1rem;
}

.expo-dept-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.expo-card-list {
  display: grid;
  gap: 0.55rem;
}

.expo-card {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  border: 1px solid #e3eef5;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: inherit;
  min-height: 56px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.expo-card:hover,
.expo-card:focus {
  border-color: #8FCAE4;
  box-shadow: 0 2px 8px rgba(143, 202, 228, 0.22);
}

.expo-card.is-active {
  border-color: #648bba;
  box-shadow: 0 0 0 2px rgba(100, 139, 186, 0.25);
}

.expo-card-table {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dept-color, #e8f4fb);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  min-height: 2.4rem;
  font-size: 0.92rem;
}

.expo-card-name {
  display: block;
  font-weight: 700;
  color: #2E2E2E;
  line-height: 1.3;
}

.expo-empty {
  color: #5a5a5a;
  font-style: italic;
}
