/* Base Styles for page-news */
.page-news {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-news__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-news__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-news__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF;
}

.page-news__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 80px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-news__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

.page-news__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__hero-content .page-news__cta-button {
  margin-top: 20px;
}

/* Latest News Section */
.page-news__latest-news {
  background: #F4F7FB; /* Background */
}

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

.page-news__news-card {
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.page-news__news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.page-news__news-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__news-card-title a {
  color: #1F2D3D; /* Text Main */
  text-decoration: none;
}

.page-news__news-card-title a:hover {
  color: #2F6BFF; /* Main color */
}

.page-news__news-card-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.page-news__news-card-excerpt {
  font-size: 16px;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
}

.page-news__read-more:hover {
  text-decoration: underline;
}

.page-news__view-all-button-container {
  text-align: center;
  margin-top: 40px;
}

/* Why Choose Section */
.page-news__why-choose {
  background: #F4F7FB; /* Background */
  padding: 80px 0;
}

.page-news__why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-news__why-choose-content p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #333333;
}

.page-news__why-choose-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-news__why-choose-list li {
  font-size: 17px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-news__why-choose-list li::before {
  content: '✔';
  color: #2F6BFF; /* Main color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-news__why-choose-image-wrapper {
  text-align: center;
}

.page-news__why-choose-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Types of News Section */
.page-news__types-of-news {
  background: #F4F7FB; /* Background */
}

.page-news__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-news__type-card {
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.page-news__type-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
}

.page-news__type-card p {
  font-size: 16px;
  color: #333333;
}

/* Responsible Gaming Section */
.page-news__responsible-gaming {
  background: #2F6BFF; /* Main color */
  color: #ffffff;
  padding: 80px 0;
}

.page-news__responsible-gaming .page-news__section-title {
  color: #ffffff;
}