﻿  .brand_area {
      background-color: #f8f9fa;
      padding: 60px 0 80px;
    }
    .single_brand {
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      padding: 20px;
      text-align: center;
    }
    .single_brand:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    .single_brand_thumb img {
      max-height: 70px;
      object-fit: contain;
    }
    .owl-carousel .owl-item {
      padding: 10px;
    }

    .news-tag {
  display: inline-block;
  background-color: #fff;
  color: #ea2d8e;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
  margin-left: 6px;
  border: 1px solid #ea2d8e;
  vertical-align: middle;
  animation: pulseGlow 2s infinite ease-in-out;
}

.news-tag i {
  margin-right: 3px;
}

/* แอนิเมชัน glow เบาๆ */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 3px rgba(234, 45, 142, 0.3);
  }
  50% {
    box-shadow: 0 0 9px rgba(234, 45, 142, 0.9);
  }
  100% {
    box-shadow: 0 0 3px rgba(234, 45, 142, 0.3);
  }
}

.single_blog:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

.single_blog_thumb img {
  transition: transform 0.3s ease;
}

  .sub-item a {
        padding-left: 20px;
        display: block;
        transition: all 0.3s ease;
        border-radius: 4px;
        color: #333;
        text-decoration: none;
        position: relative;
    }

    .sub-item i {
        margin-right: 6px;
        color: #999;
        transition: color 0.3s ease;
    }

    .sub-item a:hover {
        background-color: #333; /* สีพื้นหลังเข้ม เพื่อให้สีขาวตัดกัน */
        color: #fff;
        transform: translateX(5px);
    }

    .sub-item a:hover i {
        color: #fff; /* เปลี่ยนไอคอนเป็นสีขาว */
    }