.page-999ok-win-news {
  color: #333333; /* Dark text for light background */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-999ok-win-news__hero-section {
  background: linear-gradient(135deg, #017439, #4d9e74); /* Green gradient */
  padding: 100px 20px;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-999ok-win-news__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-999ok-win-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color for title highlight */
  font-weight: bold;
}

.page-999ok-win-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-999ok-win-news__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFFF00;
}

.page-999ok-win-news__btn-primary:hover {
  background-color: #e02020;
  transform: translateY(-3px);
}

.page-999ok-win-news__content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-999ok-win-news__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-999ok-win-news__section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

.page-999ok-win-news__latest-news-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-999ok-win-news__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-999ok-win-news__news-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-999ok-win-news__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-999ok-win-news__news-card-thumbnail {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-999ok-win-news__news-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-999ok-win-news__news-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-999ok-win-news__news-card-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-999ok-win-news__news-card-title a:hover {
  color: #C30808;
}

.page-999ok-win-news__news-card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-999ok-win-news__btn-secondary {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-999ok-win-news__btn-secondary:hover {
  background-color: #005a2d;
}

.page-999ok-win-news__categories-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-999ok-win-news__category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-999ok-win-news__category-item {
  background-color: #f0fdf4; /* Lighter green tint */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-999ok-win-news__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-999ok-win-news__category-icon {
  width: 100%; /* Make icon responsive */
  max-width: 250px; /* Limit max size */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-999ok-win-news__category-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
}

.page-999ok-win-news__category-description {
  font-size: 0.95em;
  color: #666666;
}

.page-999ok-win-news__cta-section {
  background: linear-gradient(90deg, #017439, #005a2d);
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-999ok-win-news__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-999ok-win-news__about-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-999ok-win-news__about-content p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 20px;
  text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-999ok-win-news__hero-title {
    font-size: 2.8em;
  }
  .page-999ok-win-news__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-999ok-win-news__hero-section {
    padding: 80px 20px;
  }
  .page-999ok-win-news__hero-title {
    font-size: 2.2em;
  }
  .page-999ok-win-news__hero-description {
    font-size: 1.1em;
  }
  .page-999ok-win-news__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-999ok-win-news__section-title {
    font-size: 1.8em;
  }
  .page-999ok-win-news__news-card-thumbnail {
    height: 200px; /* Adjust for smaller screens */
  }
  .page-999ok-win-news__news-card-title {
    font-size: 1.4em;
  }
  .page-999ok-win-news__news-card-description {
    font-size: 0.9em;
  }
  .page-999ok-win-news__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-999ok-win-news__category-list {
    grid-template-columns: 1fr;
  }
  .page-999ok-win-news__category-icon {
    max-width: 200px;
  }
  .page-999ok-win-news__category-title {
    font-size: 1.5em;
  }
  .page-999ok-win-news__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-999ok-win-news__hero-section {
    padding: 60px 15px;
  }
  .page-999ok-win-news__hero-title {
    font-size: 1.8em;
  }
  .page-999ok-win-news__hero-description {
    font-size: 0.95em;
  }
  .page-999ok-win-news__btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-999ok-win-news__section-title {
    font-size: 1.5em;
  }
  .page-999ok-win-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-999ok-win-news__news-card-thumbnail {
    height: 180px;
  }
  .page-999ok-win-news__news-card-title {
    font-size: 1.2em;
  }
  .page-999ok-win-news__category-item {
    padding: 20px;
  }
}