/* style/index-yo88-latest-news.css */
.page-index-yo88-latest-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.page-index-yo88-latest-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-yo88-latest-news__hero-section {
  background-color: #0A2463; /* Main Brand Color */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-yo88-latest-news__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.9), rgba(224, 179, 79, 0.5)); /* Gradient with main and auxiliary colors */
  z-index: 0;
}

.page-index-yo88-latest-news__hero-section > .page-index-yo88-latest-news__container {
  position: relative;
  z-index: 1;
}

.page-index-yo88-latest-news__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E0B34F; /* Auxiliary Brand Color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-yo88-latest-news__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-yo88-latest-news__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-yo88-latest-news__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-index-yo88-latest-news__btn--primary {
  background-color: #E0B34F; /* Auxiliary Brand Color */
  color: #0A2463; /* Main Brand Color */
  border: 2px solid #E0B34F;
}

.page-index-yo88-latest-news__btn--primary:hover {
  background-color: #f5c86e;
  transform: translateY(-3px);
}

.page-index-yo88-latest-news__btn--secondary {
  background-color: transparent;
  color: #E0B34F; /* Auxiliary Brand Color */
  border: 2px solid #E0B34F;
}

.page-index-yo88-latest-news__btn--secondary:hover {
  background-color: rgba(224, 179, 79, 0.1);
  transform: translateY(-3px);
}

.page-index-yo88-latest-news__content-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.page-index-yo88-latest-news__section-title {
  font-size: 2em;
  color: #0A2463; /* Main Brand Color */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.page-index-yo88-latest-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E0B34F; /* Auxiliary Brand Color */
  border-radius: 2px;
}

.page-index-yo88-latest-news__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444;
  text-align: justify;
}

.page-index-yo88-latest-news__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-index-yo88-latest-news__news-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-yo88-latest-news__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-yo88-latest-news__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-yo88-latest-news__news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-yo88-latest-news__news-title {
  font-size: 1.4em;
  color: #0A2463; /* Main Brand Color */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-index-yo88-latest-news__news-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

.page-index-yo88-latest-news__news-excerpt {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-yo88-latest-news__read-more {
  color: #E0B34F; /* Auxiliary Brand Color */
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-index-yo88-latest-news__read-more:hover {
  color: #0A2463; /* Main Brand Color */
}

.page-index-yo88-latest-news__promo-list,
.page-index-yo88-latest-news__guide-list,
.page-index-yo88-latest-news__tip-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-index-yo88-latest-news__promo-list li,
.page-index-yo88-latest-news__guide-list li,
.page-index-yo88-latest-news__tip-list li {
  background-color: #ffffff;
  border-left: 5px solid #E0B34F; /* Auxiliary Brand Color */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #444;
}

.page-index-yo88-latest-news__promo-list li strong,
.page-index-yo88-latest-news__guide-list li strong,
.page-index-yo88-latest-news__tip-list li strong {
  color: #0A2463; /* Main Brand Color */
}

.page-index-yo88-latest-news__tip-list {
  counter-reset: item;
}

.page-index-yo88-latest-news__tip-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-left: none;
  padding-left: 0;
}

.page-index-yo88-latest-news__tip-list li::before {
  content: counter(item) ".";
  counter-increment: item;
  font-size: 1.5em;
  font-weight: bold;
  color: #E0B34F; /* Auxiliary Brand Color */
  min-width: 30px;
  text-align: right;
}

.page-index-yo88-latest-news__cta-promo,
.page-index-yo88-latest-news__cta-guide,
.page-index-yo88-latest-news__final-cta {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 40px;
  background-color: #0A2463; /* Main Brand Color */
  border-radius: 12px;
  color: #ffffff;
}

.page-index-yo88-latest-news__cta-promo .page-index-yo88-latest-news__btn,
.page-index-yo88-latest-news__cta-guide .page-index-yo88-latest-news__btn,
.page-index-yo88-latest-news__final-cta .page-index-yo88-latest-news__btn {
  margin-top: 20px;
}

.page-index-yo88-latest-news__final-cta .page-index-yo88-latest-news__section-title {
  color: #E0B34F; /* Auxiliary Brand Color */
}

.page-index-yo88-latest-news__final-cta .page-index-yo88-latest-news__text-block {
  color: #ffffff;
}

.page-index-yo88-latest-news__inline-link {
  color: #E0B34F; /* Auxiliary Brand Color */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-yo88-latest-news__inline-link:hover {
  color: #f5c86e;
}

.page-index-yo88-latest-news__news-card--full-width {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-yo88-latest-news__news-card--full-width .page-index-yo88-latest-news__news-image {
  width: 40%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
}

.page-index-yo88-latest-news__news-card--full-width .page-index-yo88-latest-news__news-content {
  width: 60%;
  padding: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-yo88-latest-news__main-title {
    font-size: 2.2em;
  }
  .page-index-yo88-latest-news__subtitle {
    font-size: 1.1em;
  }
  .page-index-yo88-latest-news__news-card--full-width {
    flex-direction: column;
  }
  .page-index-yo88-latest-news__news-card--full-width .page-index-yo88-latest-news__news-image {
    width: 100%;
    height: 250px;
    border-radius: 12px 12px 0 0;
  }
  .page-index-yo88-latest-news__news-card--full-width .page-index-yo88-latest-news__news-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-yo88-latest-news__main-title {
    font-size: 1.8em;
  }
  .page-index-yo88-latest-news__subtitle {
    font-size: 1em;
  }
  .page-index-yo88-latest-news__hero-section {
    padding: 60px 0;
  }
  .page-index-yo88-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-index-yo88-latest-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-index-yo88-latest-news__news-card--full-width .page-index-yo88-latest-news__news-image {
    height: 200px;
  }
  .page-index-yo88-latest-news__promo-list li,
  .page-index-yo88-latest-news__guide-list li,
  .page-index-yo88-latest-news__tip-list li {
    padding: 15px;
    font-size: 1em;
  }
  .page-index-yo88-latest-news__tip-list li::before {
    font-size: 1.2em;
    min-width: 25px;
  }
}

@media (max-width: 480px) {
  .page-index-yo88-latest-news__main-title {
    font-size: 1.5em;
  }
  .page-index-yo88-latest-news__subtitle {
    font-size: 0.9em;
  }
  .page-index-yo88-latest-news__cta-group {
    flex-direction: column;
  }
  .page-index-yo88-latest-news__btn {
    width: 100%;
  }
  .page-index-yo88-latest-news__section-title {
    font-size: 1.5em;
  }
  .page-index-yo88-latest-news__news-title {
    font-size: 1.2em;
  }
  .page-index-yo88-latest-news__news-content {
    padding: 20px;
  }
  .page-index-yo88-latest-news__cta-promo,
  .page-index-yo88-latest-news__cta-guide,
  .page-index-yo88-latest-news__final-cta {
    padding: 25px;
  }
}