.page-resources-latest-platform-activities {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Shared body background is often white */
}

.page-resources-latest-platform-activities__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-latest-platform-activities__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-resources-latest-platform-activities__section-title {
  font-size: 36px;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-latest-platform-activities__section-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-resources-latest-platform-activities__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF);
  color: #ffffff; /* Text color for dark/gradient background */
}

.page-resources-latest-platform-activities__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-latest-platform-activities__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-latest-platform-activities__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-latest-platform-activities__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-latest-platform-activities__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-platform-activities__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-resources-latest-platform-activities__cta-button,
.page-resources-latest-platform-activities__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0; /* Primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-platform-activities__cta-button:hover,
.page-resources-latest-platform-activities__btn-primary:hover {
  background: #1e87c0; /* Slightly darker primary */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-platform-activities__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: #ffffff;
  color: #26A9E0; /* Primary color for text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-platform-activities__btn-secondary:hover {
  background: #f0f8ff;
  color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-platform-activities__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-resources-latest-platform-activities__button-group--center {
    text-align: center;
}

/* Section Backgrounds */
.page-resources-latest-platform-activities__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-latest-platform-activities__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-latest-platform-activities__dark-bg .page-resources-latest-platform-activities__section-title {
  color: #ffffff;
}

.page-resources-latest-platform-activities__dark-bg .page-resources-latest-platform-activities__section-description {
  color: #f0f0f0;
}

.page-resources-latest-platform-activities__dark-bg a {
    color: #ffffff;
    text-decoration: underline;
}

.page-resources-latest-platform-activities__light-bg a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Promotions Section */
.page-resources-latest-platform-activities__promotions-section {
  background-color: #f0f8ff; /* Light blue background for this section */
  color: #333333;
}

.page-resources-latest-platform-activities__promotions-section .page-resources-latest-platform-activities__section-title {
  color: #26A9E0;
}

.page-resources-latest-platform-activities__promotions-section .page-resources-latest-platform-activities__section-description {
  color: #555555;
}

.page-resources-latest-platform-activities__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-latest-platform-activities__promotion-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-latest-platform-activities__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-latest-platform-activities__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-latest-platform-activities__card-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-resources-latest-platform-activities__card-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-latest-platform-activities__card-button {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Push button to the bottom */
}

/* Game Events Section */
.page-resources-latest-platform-activities__game-events-section {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-latest-platform-activities__game-event-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-latest-platform-activities__game-event-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
}

.page-resources-latest-platform-activities__event-image {
  width: 50%;
  height: auto;
  object-fit: cover;
}

.page-resources-latest-platform-activities__event-content {
  width: 50%;
  padding: 30px;
}

.page-resources-latest-platform-activities__event-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-resources-latest-platform-activities__event-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

.page-resources-latest-platform-activities__event-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 16px;
  margin-top: 15px;
}

/* Platform Updates Section */
.page-resources-latest-platform-activities__platform-updates-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-latest-platform-activities__platform-updates-section .page-resources-latest-platform-activities__section-title,
.page-resources-latest-platform-activities__platform-updates-section .page-resources-latest-platform-activities__section-description {
  color: #ffffff;
}

.page-resources-latest-platform-activities__update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-latest-platform-activities__update-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-resources-latest-platform-activities__update-item:hover {
  transform: translateY(-5px);
}

.page-resources-latest-platform-activities__update-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}