* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, 'Noto Sans Thai', sans-serif;
}

.new-body {
  min-height: calc(100vh - 50px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-container {
  max-width: 1100px;
  width: 100%;
  padding: 20px 40px;
}

.new-container .new-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* ให้รองรับ Responsive */
  gap: 20px;
}

.new-content .new-details {
  flex: 1; /* ทำให้ทุกคอลัมน์มีขนาดเท่ากัน */
  min-width: 220px; /* ป้องกันการบีบเล็กเกินไป */
  text-align: center;
  padding: 20px;
  border-radius: 0.5rem;
  background: #f3f4f6; /* สีพื้นหลังอ่อน */
}

.new-content .new-details i {
  font-size: 30px;
  color: #006464;
  margin-bottom: 10px;
}

.new-content .new-details .new-topic {
  font-size: 18px;
  font-weight: 600;
  color: #006464;
}

.new-content .new-details .new-text-one,
.new-content .new-details .new-text-two {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

/* ปรับแต่งปุ่ม Line OA */
.new-content .new-details a {
  display: inline-block;
  color: white;
  background-color: #06C755;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.new-content .new-details a:hover {
  background-color: #04a045;
}

/* Responsive สำหรับหน้าจอเล็ก */
@media (max-width: 768px) {
  .new-container .new-content {
    flex-wrap: wrap;
  }

  .new-content .new-details {
    flex: 1 1 calc(50% - 20px); /* ทำให้แสดง 2 คอลัมน์ต่อแถว */
  }
}

/* Responsive สำหรับหน้าจอมือถือ */
@media (max-width: 480px) {
  .new-content .new-details {
    flex: 1 1 100%; /* แสดงเป็นคอลัมน์เดียวเมื่อหน้าจอแคบมาก */
  }
}

.new-map-container {
  width: 100%;
  height: 300px;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  display: block; /* บังคับให้แสดงเป็นบล็อกแยกออกจากคอนเทนต์ด้านบน */
}
