/* style/blog-j88vip-com-latest-news.css */

/* General styles for the page content */
.page-blog-j88vip-com-latest-news {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

/* Hero Section */
.page-blog-j88vip-com-latest-news__hero-section {
  display: flex;
  flex-direction: column; /* Default vertical stack for content then image */
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px; /* Small top padding, more bottom padding */
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog-j88vip-com-latest-news__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-blog-j88vip-com-latest-news__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog-j88vip-com-latest-news__hero-content {
  width: 100%;
  max-width: 800px;
}

.page-blog-j88vip-com-latest-news__main-title {
  font-size: 40px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-j88vip-com-latest-news__description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

.page-blog-j88vip-com-latest-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-j88vip-com-latest-news__btn-primary,
.page-blog-j88vip-com-latest-news__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 180px;
}

.page-blog-j88vip-com-latest-news__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-blog-j88vip-com-latest-news__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-blog-j88vip-com-latest-news__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-blog-j88vip-com-latest-news__btn-secondary:hover {
  background: #F0F5FF;
  color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* News Grid Section */
.page-blog-j88vip-com-latest-news__news-grid-section {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.page-blog-j88vip-com-latest-news__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-j88vip-com-latest-news__news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-j88vip-com-latest-news__news-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-blog-j88vip-com-latest-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-blog-j88vip-com-latest-news__news-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  overflow: hidden;
}

.page-blog-j88vip-com-latest-news__news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-j88vip-com-latest-news__news-content {
  padding: 20px;
}

.page-blog-j88vip-com-latest-news__news-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog-j88vip-com-latest-news__news-title a {
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-j88vip-com-latest-news__news-title a:hover {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-blog-j88vip-com-latest-news__news-meta {
  font-size: 14px;
  color: #667eea; /* A slightly lighter shade for meta info, derived from #2F6BFF */
  margin-bottom: 15px;
}

.page-blog-j88vip-com-latest-news__news-excerpt {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
}

.page-blog-j88vip-com-latest-news__read-more {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-j88vip-com-latest-news__read-more:hover {
  color: #000000; /* Custom Color_1776249996415 */
  text-decoration: underline;
}

.page-blog-j88vip-com-latest-news__view-all {
  text-align: center;
  margin-top: 20px;
}

.page-blog-j88vip-com-latest-news__view-all .page-blog-j88vip-com-latest-news__btn-primary {
  min-width: 220px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-j88vip-com-latest-news__main-title {
    font-size: 36px;
  }
  .page-blog-j88vip-com-latest-news__description {
    font-size: 17px;
  }
  .page-blog-j88vip-com-latest-news__news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-blog-j88vip-com-latest-news__news-image-wrapper {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-blog-j88vip-com-latest-news {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section */
  .page-blog-j88vip-com-latest-news__hero-section {
    padding: 10px 15px 30px; /* Small top padding, more bottom padding */
    flex-direction: column; /* Ensure vertical stack */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-j88vip-com-latest-news__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-blog-j88vip-com-latest-news__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-j88vip-com-latest-news__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-blog-j88vip-com-latest-news__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-blog-j88vip-com-latest-news__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
  .page-blog-j88vip-com-latest-news__btn-primary,
  .page-blog-j88vip-com-latest-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
    min-width: unset;
  }

  /* News Grid Section */
  .page-blog-j88vip-com-latest-news__news-grid-section {
    margin: 30px auto 40px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-j88vip-com-latest-news__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-blog-j88vip-com-latest-news__news-grid {
    grid-template-columns: 1fr; /* Single column for news cards */
    gap: 20px;
    margin-bottom: 30px;
  }
  .page-blog-j88vip-com-latest-news__news-image-wrapper {
    height: 180px; /* Adjust height for mobile */
  }
  .page-blog-j88vip-com-latest-news__news-title {
    font-size: 18px;
  }
  .page-blog-j88vip-com-latest-news__news-meta,
  .page-blog-j88vip-com-latest-news__news-excerpt,
  .page-blog-j88vip-com-latest-news__read-more {
    font-size: 15px;
  }
  /* Universal image responsive rule for content area */
  .page-blog-j88vip-com-latest-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-j88vip-com-latest-news__view-all .page-blog-j88vip-com-latest-news__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    min-width: unset;
  }
}