/* style/hi88-news.css */
.page-hi88-news {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #0A192F;
  line-height: 1.6;
}

.page-hi88-news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-hi88-news-hero {
  background: linear-gradient(135deg, #0A192F 0%, #1a2a43 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hi88-news-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,dark,subtle]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-hi88-news-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.page-hi88-news-subtitle {
  font-size: 1.3em;
  color: #B0B0B0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-hi88-news-highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-hi88-news-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-hi88-news-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-hi88-news-button--primary {
  background-color: #FFD700;
  color: #0A192F;
}

.page-hi88-news-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-hi88-news-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-hi88-news-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-hi88-news-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-hi88-news-section:last-of-type {
  border-bottom: none;
}

.page-hi88-news-section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-hi88-news-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-hi88-news-sub-title {
  font-size: 2em;
  color: #E0E0E0;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-hi88-news-text {
  font-size: 1.1em;
  color: #B0B0B0;
  margin-bottom: 20px;
}

.page-hi88-news-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-hi88-news-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-hi88-news-list li {
  background-color: #1A2A43;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.05em;
  color: #E0E0E0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-hi88-news-list li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-hi88-news-detail-list .page-hi88-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-hi88-news-item {
  background-color: #1A2A43;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hi88-news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-hi88-news-item-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-hi88-news-item-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-hi88-news-item-title a:hover {
  text-decoration: underline;
}

.page-hi88-news-item-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 20px;
}

.page-hi88-news-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FFD700;
  color: #0A192F;
  border: none;
}

.page-hi88-news-button--small:hover {
  background-color: #e6c200;
}

.page-hi88-news-call-to-action {
  background: linear-gradient(90deg, #0A192F, #1A2A43);
  text-align: center;
  padding: 80px 0;
}

.page-hi88-news-cta-content {
  max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-hi88-news-title {
    font-size: 2.5em;
  }

  .page-hi88-news-subtitle {
    font-size: 1.1em;
  }

  .page-hi88-news-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-hi88-news-button {
    width: 80%;
    margin: 0 auto;
  }

  .page-hi88-news-section-title {
    font-size: 2em;
  }

  .page-hi88-news-sub-title {
    font-size: 1.6em;
  }

  .page-hi88-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-hi88-news-title {
    font-size: 2em;
  }

  .page-hi88-news-subtitle {
    font-size: 1em;
  }

  .page-hi88-news-button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-hi88-news-section-title {
    font-size: 1.8em;
  }

  .page-hi88-news-sub-title {
    font-size: 1.4em;
  }

  .page-hi88-news-item-title {
    font-size: 1.3em;
  }
}