body {
  font-family: "Kanit", serif;
}

a {
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.navbar {
  background-color: #212623;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-brand img {
  height: 35px;
}
.navbar-brand h2 {
  color: #fff;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 15px;
}

.nav-link:hover {
  text-decoration: underline;
}

.search-icon {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.navbar-toggler {
  border: none;
  color: #fff;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown-menu {
  position: absolute;
  top: 9.5%;
  left: 0;
  width: 100%;
  background-color: #22713c;
  display: none;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  padding-top: 20px;
  border: 0px;
  border-radius: 0%;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.dropdown-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu .nav-link {
  font-size: 18px;
  padding: 10px;
}

.hero-section {
  background-color: #0a8935;
  padding-top: 40px;
  padding-bottom: 50px;
}

.hero-artical-list {
  background: transparent;
  border: 0;
}

.card-img-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  border-radius: 0%;
}

.card {
  overflow: hidden;
  position: relative;
}

.card .card-title {
  text-decoration: none;
}

.card img {
  transition: transform 0.3s ease-in-out;
}

.main-article {
  height: 695px;
  object-fit: cover;
}

.sub-article {
  height: 340px;
  object-fit: cover;
}

.card:hover img {
  transform: scale(1.03);
}

.card-title {
  transition: text-decoration 0.3s ease-in-out;
  font-weight: 600;
}

.card:hover .card-title {
  text-decoration: underline;
}

.card-title:hover .card-text:hover {
  position: relative;
  top: 10%;
}

.hero-ad-img {
  height: 237px;
  width: 100%;
  object-fit: cover;
  text-align: center;
}

.latest-news {
  padding: 50px 0;
}

.section-title {
  font-size: 70px;
  font-weight: 900;
  margin-bottom: 30px;
  text-transform: none;
  margin-right: 20px;
}

/* Main News Styling */
.main-news {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.main-news img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.main-news:hover img {
  transform: scale(1.05);
}

.news-content {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 0px;
  width: 100%;
}

.category {
  font-size: 14px;
  color: #f39c12;
  text-transform: uppercase;
  font-weight: 600;
}

.news-title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  display: block;
  margin-top: 5px;
  transition: color 0.3s ease-in-out;
}

.news-title:hover {
  color: #000005;
  text-decoration: underline;
}

.news-description {
  font-size: 15px;
  margin-top: 5px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  transition: background 0.3s ease-in-out;
  border: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #00000050;
}

.news-item:hover {
  background: #f8f9fa;
}

.news-item img {
  width: 190px;
  height: 100px;
  object-fit: cover;
  border-radius: 0px;
}

.news-info {
  flex: 1;
}

.news-time {
  font-size: 12px;
  color: #777;
  display: block;
  margin-top: 5px;
}

.theme-btn {
  border: 1px solid #088b06;
  height: 50px;
  width: fit-content;
  font-size: 16px;
  text-align: start;
  border-radius: 50px;
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  margin-bottom: 0%;
}

.theme-btn:hover {
  text-decoration: none;
  border: 1px solid #088b06;
}

.most-popular {
  background: #443be6;
  padding: 20px;
}

.storylines {
  background: #1a1a1a;
  padding: 20px 0px;
}

.horizontal-scroll-section {
  padding: 20px;
  overflow: hidden;
  margin-left: 100px;
}

.scroll-container {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: transparent transparent; /* Hide scrollbar */
}

.scroll-container::-webkit-scrollbar {
  height: 6px; /* Small scrollbar */
}

.scroll-container::-webkit-scrollbar-thumb {
  background: transparent; /* Hide scrollbar thumb */
}

.article {
  min-width: 320px; /* Ensures a proper width for horizontal scrolling */
  max-width: 320px;
  flex-shrink: 0;
}

.newsletters {
  padding: 50px 0px;
}