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

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

.page-news-updates__hero-section {
  background: linear-gradient(135deg, #1A2E44, #3a5b84);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news-updates__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,gaming_pattern,dark_gradient]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 0;
}

.page-news-updates__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.page-news-updates__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  color: #e0e0e0;
}

.page-news-updates__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2E44;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-news-updates__content-section {
  padding: 60px 0;
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  margin-top: -50px; /* Overlap with hero section */
  position: relative;
  z-index: 2;
  border-radius: 10px;
}

.page-news-updates__section-title {
  font-size: 2.5em;
  color: #1A2E44;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-news-updates__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-news-updates__sub-section-title {
  font-size: 1.8em;
  color: #1A2E44;
  margin-top: 50px;
  margin-bottom: 25px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-news-updates__text-block {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

.page-news-updates__text-block .highlight {
  color: #1A2E44;
  font-weight: bold;
}

.page-news-updates__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-news-updates__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-news-updates__inline-link {
  color: #1A2E44;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-news-updates__inline-link:hover {
  color: #FFD700;
}

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

.page-news-updates__detail-item {
  background-color: #f0f4f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-updates__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-news-updates__detail-title {
  font-size: 1.5em;
  color: #1A2E44;
  margin-bottom: 15px;
  min-height: 60px; /* Ensure consistent height for titles */
}

.page-news-updates__detail-title a {
  color: #1A2E44;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-updates__detail-title a:hover {
  color: #FFD700;
}

.page-news-updates__detail-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
  min-height: 80px; /* Ensure consistent height for descriptions */
}

.page-news-updates__detail-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2E44;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news-updates__detail-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-news-updates__cta-button--bottom {
  margin-top: 60px;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Floating promotion button */
.page-news-updates__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.page-news-updates__floating-button {
  display: flex;
  align-items: center;
  background-color: #FFD700;
  color: #1A2E44;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news-updates__floating-button .icon {
  width: 24px;
  height: 24px;
  background: url('[GALLERY:icon:download,register,app]') no-repeat center center/contain;
  margin-right: 10px;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-news-updates__main-title {
    font-size: 2.8em;
  }

  .page-news-updates__subtitle {
    font-size: 1.2em;
  }

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

  .page-news-updates__sub-section-title {
    font-size: 1.6em;
  }

  .page-news-updates__detail-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news-updates__hero-section {
    padding: 80px 0;
  }

  .page-news-updates__main-title {
    font-size: 2.2em;
  }

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

  .page-news-updates__content-section {
    padding: 40px 0;
  }

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

  .page-news-updates__sub-section-title {
    font-size: 1.4em;
  }

  .page-news-updates__text-block {
    font-size: 1em;
  }

  .page-news-updates__detail-item {
    padding: 25px;
  }

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

  .page-news-updates__floating-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-news-updates__floating-button .icon {
    width: 20px;
    height: 20px;
  }
}

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

  .page-news-updates__subtitle {
    font-size: 0.9em;
  }

  .page-news-updates__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-news-updates__section-title {
    font-size: 1.5em;
  }

  .page-news-updates__sub-section-title {
    font-size: 1.2em;
  }

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

  .page-news-updates__floating-promo {
    bottom: 15px;
    right: 15px;
  }

  .page-news-updates__floating-button {
    padding: 8px 15px;
    font-size: 0.85em;
  }

  .page-news-updates__floating-button .icon {
    margin-right: 5px;
  }
}