body {
    margin: 0;
    font-family: 'Clarendon', serif;
    background-color: white;
    color: black;
  }
  
  .container {
    display: flex;
    height: 100vh;
    overflow: hidden;
  }
  
  .sidebar {
    width: 15rem;
    padding: 1.5rem;
    flex: 0 0 15rem;
    box-sizing: border-box;
    /* border-right: 1px solid #ccc; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    height: 100vh;
    background-color: white;
    font-size: 1.2rem;
  }
  
  .nav-title {
    margin-bottom: 2rem;
  }

  .nav-title a {
    text-decoration: none;
    color: black;
  }

  .nav-title a.inactive {
    color: rgba(0, 0, 0, 0.55);
  }
  
  .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
  }
  
  .nav-links li {
    margin: 8px 0;
  }

  /* Add spacing before the Info link */
  /* .nav-links li:last-child {
    margin-top: 6rem;
  } */
  
  .nav-links a {
    text-decoration: none;
    color: black;
  }
  
  .nav-links a.active {
    color: black;
  }

  .nav-links a.inactive {
    color: rgba(0, 0, 0, 0.55);
  }
  
  footer {
    font-size: 0.8em;
  }
  
  .content {
    flex: 1;
    padding: 2rem;
    box-sizing: border-box;
    overflow-y: auto;
    margin-left: 15rem;
  }
  
  .scrollable {
    overflow-y: scroll;
    /* scrollbar-width: none; Firefox */
  }

  .scrollable::-webkit-scrollbar {
    /* display: none; Safari and Chrome */
  }
  
  .content img {
    max-width: 100%;
    display: block;
    margin: 0 auto 0;
  }

  /* Image container and description styling */
  .image-container {
    max-width: 80%;
    margin: 0 auto 0;
  }
  .image-container img {
    width: 100%;
    display: block;
  }
  .image-container .image-description {
    text-align: right;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .image-container .image-description p {
    margin: 0 0 -0.25rem;
  }
  .image-container .image-description p:last-child {
    margin-bottom: 4rem;
  }
  .image-description.no-margin p:last-child {
    margin-bottom: 0;
  }

  .content-text {
    max-width: 80%;
    margin: 0 auto;
  }

  .content-text h1 {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
  }

  .content-text p {
    margin-top: 0;
    font-size: 0.875rem;
  }

  .content-description {
    max-width: 80%;
    margin: 0 auto;
  }

  .content-description p {
    margin-top: 0;
    font-size: 1.1rem;
  }

/* Hide mobile header and work list on larger screens */
.mobile-header,
.mobile-works {
  display: none;
}

.info-section {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-section .info-title {
  margin-bottom: 0.25rem;
  text-decoration: underline;
}

.info-section p {
  margin: 0.25rem 0;
}

.info-section p:last-child {
  margin-bottom: 2.5rem;
}

.info-section p.extra-margin {
  margin-bottom: 8rem;
}

.image-container iframe {
  width: 100%;
  height: 75vh;
}

/* Slick carousel customization */
.slick-carousel {
  max-width: 100%;
  position: relative;
}

.slick-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slick-prev, .slick-next {
  width: 300px; /* keep narrow, just for click area */
  height: auto; /* full height */
  padding: 0;
  border: none; /* remove any borders */
  background: none; /* fully transparent */
  font-size: 12rem; /* very tall arrow */
  font-weight: 100;
  color: rgba(0,0,0,0.6); /* semi-transparent */
  line-height: 1;
  box-sizing: border-box;
  z-index: 10;
  opacity: 0.5;
  transition: opacity .2s ease, transform .2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0.5rem;
}
.slick-next { 
  justify-content: flex-end;
  padding-right: 0.5rem;
}

.slick-prev:hover, .slick-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.02);
}
.slick-prev { left: 0; }
.slick-next { right: 0; }

.slick-dots li button:before {
  color: rgba(0,0,0,0.4);
}
.slick-dots li.slick-active button:before {
  color: rgba(0,0,0,0.9);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ccc;
    flex-direction: row;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  .content {
    margin-left: 0;
    width: 100%;
    padding: 10px;
  }
  .scrollable {
    max-height: none;
  }
  .slick-prev, .slick-next {
    width: 50px;
    font-size: 2rem;
  }
  .image-container .image-description p {
    font-size: 0.9rem;
  }
  .image-container iframe {
  height: 30vh;
  }
  .image-container {
    max-width: 100%;
  }
}

/* Mobile header for small screens */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    padding: 1rem 1.2rem;
    box-sizing: border-box;
    z-index: 1000;
  }
  .mobile-header a {
    text-decoration: none;
    color: black;
    font-weight: lighter;
    font-size: 1.1rem;
  }

  .mobile-header a.active {
    color: black;
  }

  .mobile-header a.inactive {
    color: rgba(0, 0, 0, 0.55);
  }
  
  .info-section .info-header {
    font-size: 1rem;
  }

  .info-section {
    font-size: 0.9rem;
  }

  .info-section p:last-child {
    margin-bottom: 1rem;
  }

  .content {
    margin-top: 3rem; /* clear header + vertical list */
  }

  .content-description p {
    font-size: 0.875rem;
  }

  .mobile-works {
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 4rem;
    left: 0;
    background-color: white;
    box-sizing: border-box;
    z-index: 999;
  }
  .mobile-works li {
    margin: 0.2rem 0;
  }
  .mobile-works li a {
    text-decoration: none;
    color: black;
    font-weight: lighter;
    font-size: 1.1rem;
    display: block;
    padding: 0.1rem 1.2rem;
  }
  .mobile-works li:last-child a {
    margin-top: 4rem;
  }
}