body {
  font-family: 'Prompt', sans-serif;
  background-color: #fdfdfd;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
}

h2, h3 {
  color: #800000;
}

.topic, .reply {
  background: #fff;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}
/* ===== Header Style ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b0b0b;
  color: white;
  padding: 10px 30px;
  border-bottom: 2px solid #555;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 60px;
  height: 60px;
}

.site-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
}

/* เมนูหลัก */
.main-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.main-menu a:hover {
  color: gold;
}

/* ปุ่มขนมชั้น (มือถือ) */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  user-select: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-menu {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background-color: #111;
    border-top: 2px solid #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;

    /* แอนิเมชัน slide down */
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
  }

  .main-menu ul {
    flex-direction: column;
    padding: 15px 0;
    gap: 15px;
  }

  .main-menu.show {
    max-height: 250px;
    opacity: 1;
  }
}
