    body {
      background-color: #dcdade;
      margin: 4%;
    }

    a,
    a:hover,
    a:visited,
    a:active {
      color: #0000EE;
      text-decoration: none;
    }

    .container {
      display: flex;
      align-items: flex-start;
      gap: 60px;
      max-width: 1400px;
    }

body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent,
        #cbcbcb
    );

    pointer-events: none;
}

.nav {
  position: fixed;
  left: 80%;
  top: 10%;
  font-size: large;
}

@media (max-width: 900px) {

  body {
    margin: 5%;
  }

  .container {
    flex-direction: column;
    gap: 40px;
  }

  .nav {
    position: static;
    margin-bottom: 40px;
  }

  nav {
    width: 100%;
  }
}

    nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    nav li {
      margin-bottom: 12px;
    }

    .content {
      flex: 1;
      max-width: 80%;
    }

    video {
      width: 70%;
      height: auto;
      display: block;
    }

    .subtext {
      font-size: 12px;
      padding-top: 12px;
    }

    .text{
      font-size: x-large;
    }

    @media (max-width: 900px) {

          .text{
      font-size: large;
    }

      body {
        margin: 5%;
      }

      .container {
        flex-direction: column;
        gap: 40px;
      }

      nav {
        width: 100%;
      }
    }

.active {
  font-weight: bold;
}

a.active {
  font-weight: bold;
}

/* IMG TEXT LAYOUT */

.entry-layout-img{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* IMAGE LOOSE */

.styled-image img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-img-description {
    max-width: 480px;
}

.entry-img-description h2 {
    margin: 0 0 22px;
}

.entry-img-description .p-text {
    font-size: 21px;
}

/* IMAGE GALLERY */

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.image-gallery img {
    width: calc(33.333% - 7px);
    height: 180px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.image-gallery img:hover {
    opacity: 0.7;
}

/* Lightbox */

#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

#lightbox-image {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
}

#lightbox .previous,
#lightbox .next,
#lightbox .close {
    position: absolute;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 40px;
}

#lightbox .previous {
    left: 30px;
}

#lightbox .next {
    right: 30px;
}

#lightbox .close {
    top: 20px;
    right: 30px;
}

/* footer */

#footer-text{
    color: dimgray;
    display: flex;
    justify-content: flex-end;
    opacity: 0.3;
}

#footer-text:hover{
    opacity: 1;
}

/* divided */

.divider-1{
  margin-bottom: 40px;
  padding-bottom: 40px;
  border: none;
}

/* expandable text */

.expandable-title { 
    font-weight: bold;
    color: #000;
    cursor: pointer;
   /* display: flex; 
    align-items: center;
    justify-content: space-between; */
    padding: 10px;
    background-color: #c3c3c3;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.expandable-title:hover {
    background-color: #1a55fd10;
}

.expandable-title.expanded .arrow {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: auto;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
    padding: 0 10px;
    background-color: #c3c3c3;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3); 
    opacity: 0;
    display: block; /* Always block, visibility controlled via height/opacity */
}

.expandable-content.expanded {
    max-height: 1000px; /* Set to a larger value, or use 500px for smaller content */
    padding: 10px;
    opacity: 1;
}

/* Mobile Adjustment */

@media (max-width: 768px) {
    .expandable-content.expanded {
        max-height: 800px; /* Adjust max-height for mobile */
    }
}

#exp-text {
    font-size: 14px;
    color: #bfd6cb;
}

/* world of p */

.p-intro{
  font-size: 32px;
}

.p-text{
  font-size: 24px;
}

/* world of separations */

.archive-section{
  margin-top: 4%;
  margin-bottom: 4%;
}

/* ******** ENTRIES *********** */
