#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;
}

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: 320px;
    }
    .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>");
}
