/* style/news-game-updates.css */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-news-game-updates {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-news-game-updates__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-news-game-updates__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-news-game-updates__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-news-game-updates__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.page-news-game-updates__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.page-news-game-updates__intro-text {
  font-size: 1.15rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.page-news-game-updates__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-news-game-updates__btn-primary,
.page-news-game-updates__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  min-width: 180px;
}

.page-news-game-updates__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main-color);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 255, 100, 0.2);
}

.page-news-game-updates__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 100, 0.3);
  opacity: 0.9;
}

.page-news-game-updates__btn-secondary {
  background: transparent;
  color: var(--text-secondary-color);
  border: 2px solid var(--border-color);
}

.page-news-game-updates__btn-secondary:hover {
  background: var(--border-color);
  color: var(--text-main-color);
  transform: translateY(-3px);
}

.page-news-game-updates__btn-large {
  padding: 18px 36px;
  font-size: 1.15rem;
  min-width: 220px;
}

.page-news-game-updates__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 25px;
  margin-top: 50px;
  line-height: 1.3;
}

.page-news-game-updates__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-news-game-updates__latest-updates-section,
.page-news-game-updates__featured-updates-section,
.page-news-game-updates__promotions-section,
.page-news-game-updates__cta-section {
  padding: 60px 0;
}

.page-news-game-updates__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-news-game-updates__update-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.page-news-game-updates__update-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-news-game-updates__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news-game-updates__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news-game-updates__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-news-game-updates__card-title a {
  color: var(--text-main-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-game-updates__card-title a:hover {
  color: var(--gold-color);
}

.page-news-game-updates__card-meta {
  font-size: 0.9rem;
  color: var(--text-secondary-color);
  margin-bottom: 15px;
}

.page-news-game-updates__card-excerpt {
  font-size: 1rem;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news-game-updates__card-link {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-news-game-updates__card-link:hover {
  text-decoration: underline;
}

.page-news-game-updates__view-all-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.page-news-game-updates__feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.page-news-game-updates__feature-item:last-child {
  margin-bottom: 0;
}

.page-news-game-updates__feature-item--reverse {
  flex-direction: row-reverse;
}

.page-news-game-updates__feature-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-news-game-updates__feature-content {
  width: 50%;
}

.page-news-game-updates__feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-main-color);
  margin-bottom: 15px;
}

.page-news-game-updates__feature-text {
  font-size: 1rem;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

.page-news-game-updates__feature-link {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news-game-updates__feature-link:hover {
  text-decoration: underline;
}

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

.page-news-game-updates__promo-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-news-game-updates__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main-color);
  margin-bottom: 15px;
}

.page-news-game-updates__promo-text {
  font-size: 1rem;
  color: var(--text-secondary-color);
  margin-bottom: 25px;
}

.page-news-game-updates__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--deep-green-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news-game-updates__feature-item {
    flex-direction: column;
    text-align: center;
  }

  .page-news-game-updates__feature-item--reverse {
    flex-direction: column;
  }

  .page-news-game-updates__feature-image,
  .page-news-game-updates__feature-content {
    width: 100%;
  }

  .page-news-game-updates__feature-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-news-game-updates__hero-content {
    padding: 30px 15px;
  }

  .page-news-game-updates__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-news-game-updates__intro-text {
    font-size: 1rem;
  }

  .page-news-game-updates__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-news-game-updates__btn-primary,
  .page-news-game-updates__btn-secondary,
  .page-news-game-updates a[class*="button"],
  .page-news-game-updates a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    min-width: unset;
  }

  .page-news-game-updates__cta-buttons,
  .page-news-game-updates__button-group,
  .page-news-game-updates__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-news-game-updates__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-top: 30px;
  }

  .page-news-game-updates__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-news-game-updates__latest-updates-section,
  .page-news-game-updates__featured-updates-section,
  .page-news-game-updates__promotions-section,
  .page-news-game-updates__cta-section {
    padding: 40px 0;
  }

  .page-news-game-updates__container {
    padding: 0 15px;
  }

  .page-news-game-updates__card-image {
    height: 180px;
  }

  .page-news-game-updates__card-title {
    font-size: 1.2rem;
  }

  .page-news-game-updates__feature-item {
    padding: 20px;
  }

  .page-news-game-updates__feature-image {
    margin-bottom: 20px;
  }

  .page-news-game-updates__feature-title {
    font-size: 1.5rem;
  }

  .page-news-game-updates__promo-card {
    padding: 25px;
  }

  .page-news-game-updates__promo-title {
    font-size: 1.3rem;
  }

  /* Ensure all content images are responsive */
  .page-news-game-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news-game-updates__section,
  .page-news-game-updates__card,
  .page-news-game-updates__container,
  .page-news-game-updates__hero-section,
  .page-news-game-updates__latest-updates-section,
  .page-news-game-updates__featured-updates-section,
  .page-news-game-updates__promotions-section,
  .page-news-game-updates__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-news-game-updates__hero-section {
    padding-bottom: 40px;
  }

  .page-news-game-updates__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .page-news-game-updates__intro-text {
    font-size: 0.9rem;
  }

  .page-news-game-updates__btn-primary,
  .page-news-game-updates__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .page-news-game-updates__btn-large {
    padding: 14px 25px;
    font-size: 1rem;
  }

  .page-news-game-updates__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .page-news-game-updates__section-description {
    font-size: 0.85rem;
  }

  .page-news-game-updates__card-title {
    font-size: 1.1rem;
  }

  .page-news-game-updates__feature-title {
    font-size: 1.3rem;
  }

  .page-news-game-updates__promo-title {
    font-size: 1.2rem;
  }
}