/* Base Styles */
body {
    font-family: 'JetBrains Mono', monospace;
    background: white;
    color: black;
    margin: 0;
    padding: 0;
  }
  
  .site-title {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    color: black;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
  
    padding: 1rem 2rem;
    border-bottom: 6px solid blue;
    display: flex;
    justify-content: space-between;
    align-items: center;
  
    width: 100vw;                          /* full viewport width */
    position: relative;
    left: 50%;
    transform: translateX(-50%);          /* center-align full-bleed bar */
    box-sizing: border-box;
  }

  .site-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #ddd;
  }

  a {
    color: black;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }
  
  .contact-button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid black;
    color: black;
    background-color: white;
    text-decoration: none;
  }
  
  .contact-button:hover {
    background-color: black;
    color: white;
  }
  
  main {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    padding-top: 6rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .subtext {
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
  }
  
      .fat-red-line {
      border: none;
      height: 12px;
      background-color: blue;
      width: 100vw; /* stretch across full viewport width */
      position: relative;
      left: 50%;
      margin-left: -50vw; /* center-align trick to fully span */
      margin-top: 4rem;
      margin-bottom: 4rem;
  }
  
  .site-footer {
    background-color: white;
    height: 200px;
    width: 100%;
  }
  
  /* Focus Group Layout */
  .focus-wrapper {
    display: flex;
    margin-top: 2rem;
    gap: 3rem;
  }
  
  /* Fixed, non-collapsing question list */
  .question-list {
    flex: 0 0 300px; /* Fixed width of 300px, doesn't shrink */
    border-right: 2px solid black;
    padding-right: 1rem;
    max-height: 80vh;
    overflow-y: scroll;         /* always show vertical scrollbar */
    scrollbar-gutter: stable;   /* avoid layout shift when scrollbar appears */
  }
  
  .question-tile {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    transition: background 0.2s ease;
  }
  
  .question-tile:hover {
    background-color: #eee;
  }
  
  .question-tile.active-cell {
    background-color: blue;
    color: white;
  }
  
  /* Response Display Area */
  .response-display {
    flex-grow: 1;
    padding: 1rem;
    border-left: 2px solid black;
    min-height: 400px; /* Ensure a base height */
  }
  
  /* Static Faith Ratio Selector Row */
  #faith-options {
    display: flex;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .faith-box {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    cursor: pointer;
    border: 1px solid #ddd;
    border-right: none;
    transition: background 0.2s ease;
  }
  
  .faith-box:not(:last-child) {
    border-right: 1px solid #ddd;
  }
  
  .faith-box:hover {
    background-color: #eee;
  }
  
  .faith-box.active-cell {
    background-color: blue;
    color: white;
  }
  
  /* Response Text Area */
  .response-box {
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  
  /* Hide the old slider if still present */
  #slider {
    display: none;
  }
  
  /* Active styling for any active elements */
  .active-cell {
    background-color: blue;
    color: white;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .focus-wrapper {
      flex-direction: column;
    }
  
    .question-list {
      flex: 0 0 auto;
      width: 100%;
      border-right: none;
      border-bottom: 2px solid black;
      padding-right: 0;
      padding-bottom: 1rem;
    }
  
    .response-display {
      border-left: none;
      padding: 1rem 0;
    }
  
  
  .site-footer a {
    color: black;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
  }
  
  .site-footer a:hover {
    text-decoration: underline;
  }
}