/* the-signers.css */

/* Background container with adjustable opacity */
body.signers-page {
    position: relative;
    z-index: 0;
    /* fallback background color */
    background-color: #fff;
  }
  
  body.signers-page::before {
    content: "";
    position: fixed;  /* fixed to stay in place on scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/Stars and Stripes.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.5;  /* adjust opacity here (0 to 1) */
    z-index: -1;  /* behind all content */
    pointer-events: none; /* so it doesn’t block clicks */
  }

  
  .signers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 150px)); /* fixed column width */
    justify-content: center;  /* center all cards in the grid */
    gap: 15px;
    padding: 20px;
  }
  
  .signers-card {
    text-align: center;
    cursor: pointer;
  }
  
  .signers-card img {
    width: 100% !important;;      
    height: auto;     
    max-width: 150px; 
    margin: 0 auto;   
    border-radius: 8px;
    display: block;
  }


  div.signers-card p {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
  }
  
  
  
  /* Mobile adjustments */
  @media (max-width: 480px) {
    .signers-grid {
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* tighter fit */
      gap: 10px;
    }
  
    .signers-card {
      max-width: 140px;
    }
  }
  


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background: white;
    padding: 20px 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
  }
  
  #signerName {
    margin-top: 0;
    font-size: 1.8rem;
  }
  
  .signer-photo {
    max-width: 100%;
    margin: 15px 0;
    border-radius: 6px;
  }
  
  #signerDescription {
    white-space: normal;
    text-align: left;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
  }

  #signerDescription p,
  #signerDescription ul,
  #signerDescription li {
    margin-top: 1rem;
    margin-bottom: 1rem; /* adjust as you like */
    padding-left: 0;       /* reset padding for ul/li */
  }

#signerDescription ul {
  padding-left: 1.2rem;  /* add back indentation for lists */
}

#signerDescription li {
  margin-bottom: 0.25rem; /* space between list items */
}

  
  .video-container iframe {
    width: 100%;
    height: 315px;
    border-radius: 10px;
  }
  
  @media (max-width: 480px) {
    .modal-content {
      padding: 15px 20px;
    }
    #signerName {
      font-size: 1.5rem;
    }
  }
  
  .attribution {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1em;
    font-style: italic;
    text-align: right;
  }
  .attribution a {
    color: #666;
    text-decoration: underline;
  }
  .attribution a:hover {
    color: #444;
  }
