.boxed, .news-slide, .news-item, .content-box {
  background: #000;
  color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 0 10px #FF0000;
  border: 1px solid #FF0000;
  padding: 15px;
  margin: 10px;
  box-sizing: border-box;
}

.news-slider-wrapper {
  overflow: hidden;
  margin-top: 5px;
}

.news-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100vw;
}

.news-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background: #888;
  border-radius: 50%;
  margin: 5px;
  cursor: pointer;
}

.slider-dot.active {
  background: #FF0000;
}

.news-list {
  display: flex;
  flex-direction: column;
  margin: 10px;
}

.news-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.news-thumb {
  width: 80px;
  height: 60px;
  background: #000000;
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-info h2 {
  margin: 0;
}

/* ปุ่มอ่านต่อ */
.read-more-button {
  display: inline-block;
  background-color: #FF0000;
  color: #fff;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.read-more-button:hover {
  background-color: #CC0000;
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.5);
  transform: translateY(-2px);
}
/* End ปุ่มอ่านต่อ */
.news-label {
  display: inline-block;
  width: 200px;
  text-align: center;
  padding: 6px 14px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to bottom, #ff4d4d, #8b0000);
  border-radius: 5px;
  border: 2px solid transparent;
  box-shadow:
    0 0 6px #ffd700,
    0 0 12px rgba(255, 215, 0, 0.6),
    inset 0 0 3px #ffd700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

