/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scrolling if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
  }
  
  .modal-content {
    position: relative;
    margin: auto;
    padding: 0px;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    background-color: #000000;
    border-radius: 10px;
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001; /* Ensure the close button is above other elements */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-close::before,
  .modal-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: black;
  }
  
  .modal-close::before {
    transform: rotate(45deg);
  }
  
  .modal-close::after {
    transform: rotate(-45deg);
  }
  
  .modal-close:hover,
  .modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal img,
  .modal video,
  .modal iframe {
    max-width: 100%;
    max-height: 80vh;
  }
  
  #storyDate {
    margin-top: 10px;
    color: #666;
  }