:root {
    --rainbow: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
  }
  body {
    font-family: Georgia, serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
    position: relative;
  }
  header {
    background: var(--rainbow);
    color: white;
    padding: 2rem;
    text-align: center;
  }
  header h1 {
    font-size: 2.5rem;
    margin: 0;
  }
  header p {
    font-size: 1.1rem;
  }
  header img {
    max-width: 100px;
    margin-bottom: 1rem;
    border-radius: 50%;
    border: 3px solid white;
  }
  nav {
    background-color: #333;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  nav a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
  }
  nav a:hover {
    text-decoration: underline;
  }
  main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  .post-card {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 8px solid #e91e63;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .post-card:hover {
    background: #fdf6f9;
  }
  .post-title {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    color: #333;
  }
  .post-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
  }
  .post-description {
    font-size: 1rem;
    color: #555;
  }
  footer {
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    padding: 2rem 1rem;
    border-top: 3px solid #e91e63;
    margin-top: 2rem;
  }
  .about {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  .about h2 {
    margin-top: 0;
  }
  .about img {
    max-width: 100%;
    margin-top: 1rem;
    border-radius: 8px;
  }
  .voices {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  .voice {
    font-style: italic;
    margin-bottom: 1rem;
  }
  .exit-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: crimson;
    color: white;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
  }
  .exit-button:hover {
    background: darkred;
  }
  @media (max-width: 600px) {
    header h1 {
      font-size: 2rem;
    }
    header p {
      font-size: 1rem;
    }
    .post-title {
      font-size: 1.4rem;
    }
    .post-description {
      font-size: 0.95rem;
    }
    nav a {
      display: block;
      margin: 0.5rem 0;
    }
  }
  /* Highlight search style */
  .highlight {
    background-color: yellow;
    font-weight: bold;
  }
  #search-container {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  #search-container input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  #search-container button {
    padding: 0.5rem 1rem;
    background: #6200ea;
    color: white;
    border: none;
    border-radius: 5px;
    margin-left: 0.5rem;
    cursor: pointer;
  }
  /* Comment section styling */
  .comment-section h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  .comment-section textarea {
    width: 100%;
    border-radius: 6px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    margin-bottom: 0.5rem;
  }
  .comment-btn {
    background: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
  }
  .comments-list p {
    background: #f0f0f0;
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 0.5rem;
  }