header {
  color: black
}

footer {
  width: 100%;
  box-sizing: border-box;
  font-style: normal !important;
  text-align: right !important;
  opacity: 1.0 !important;
  font-weight: normal !important;
}

.landscape_container {
  left: 10em;
  right: 10em;
  width: auto;
  max-width: 50em;
  pointer-events: none;
  height: 10.5em;
  background-size: 100%;
  background-repeat: no-repeat;
  position: fixed;
  bottom: 0;
  background-position: top;
  z-index: 20;
}

.landscape_nav {
  pointer-events: auto;
  position: absolute;
  bottom: 1em;
  right: 1em;
  z-index: 20;
  text-align: left;
}

.thumbnail {
    /* width: 200px;
    height: 200px; */
    object-fit: cover;
}

main p {
  padding: 0;
  margin-bottom: 1em;
}

.citation {
  list-style-type: none;
  padding: 0;
  margin-bottom: 1em;
}

.citation .title {
  font-weight: bold; /* Bolds the title */
}

.citation .bibtex {
  display: none;
}

/* .citation .authors::after {
  content: ".";
} */

.tags {
  color: #999;
  white-space: nowrap;
  overflow-x: auto;
  text-overflow: ellipsis;
  display: block;
  margin: 0;
}

.work h2 {
  margin: 0;
}

.date {
  color: #999;
}

.tagline {
  color: #999;
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.15em;
}

a {
	color: #6495ED !important;
	text-decoration: none !important;
}

a:hover {
	color: #6495ED !important;
}

a:visited {
	color: #6495ED !important;
}

a:focus,
a:active,
a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

main {
  max-width: 50em;
  padding-bottom: 150px;
}

body {
  margin-left: 10em;
  margin-right: 10em;
  box-sizing: border-box;
}

.twocolumn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  gap: 2em;
  justify-content: start;
}

.work {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.work_img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
}

.work_img_square {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
}

.work .title a {
  color: inherit !important;
  text-decoration: none !important;
}

.work .title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 0;
  line-height: 1.2em;
  min-height: 1.2em;
  max-height: 1.2em;
}

.image-row {
  display: flex;
  gap: 1em;
  align-items: center;
  flex-wrap: wrap;
}
.image-row img {
  object-fit: cover;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

@media only screen and (max-width: 767px) {
    body {
      margin-left: 1em;
      margin-right: 1em;
    }
    .landscape_container {
      left: 1em;
      right: 1em;
      height: 7em;
    }
    .landscape_nav {
      right: 1em;
      bottom: 0.6em;
    }
  }

.image-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.image-row a {
  flex: 1 1 0;
  display: block;
}

.image-row img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (prefers-color-scheme: dark) {
  header {
    color: inherit;
  }

  .landscape_container {
    filter: invert(1);
  }

  .landscape_nav {
    filter: invert(1);
  }
}