.page-resources-cwin05-latest-updates {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #222; /* Matches shared.css body background */
}

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

/* Hero Section */
.page-resources-cwin05-latest-updates__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-color: #1A1A1A; /* Dark background for hero */
}

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

.page-resources-cwin05-latest-updates__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-cwin05-latest-updates__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-resources-cwin05-latest-updates__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.page-resources-cwin05-latest-updates__main-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-cwin05-latest-updates__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-resources-cwin05-latest-updates__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-cwin05-latest-updates__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-cwin05-latest-updates__btn-primary {
  background: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-resources-cwin05-latest-updates__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-cwin05-latest-updates__btn-secondary {
  background: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-cwin05-latest-updates__btn-secondary:hover {
  background: #0d0d0d;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-resources-cwin05-latest-updates__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-resources-cwin05-latest-updates__section:last-of-type {
  border-bottom: none;
}

.page-resources-cwin05-latest-updates__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-cwin05-latest-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-resources-cwin05-latest-updates__paragraph {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-cwin05-latest-updates__paragraph strong {
  color: #FFD700;
}

.page-resources-cwin05-latest-updates__inline-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-cwin05-latest-updates__inline-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Game Grid & Cards */
.page-resources-cwin05-latest-updates__game-grid,
.page-resources-cwin05-latest-updates__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-cwin05-latest-updates__game-card,
.page-resources-cwin05-latest-updates__article-card {
  background-color: #1A1A1A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
}

.page-resources-cwin05-latest-updates__game-card:hover,
.page-resources-cwin05-latest-updates__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-resources-cwin05-latest-updates__game-image,
.page-resources-cwin05-latest-updates__article-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-resources-cwin05-latest-updates__game-card .page-resources-cwin05-latest-updates__card-title,
.page-resources-cwin05-latest-updates__article-card .page-resources-cwin05-latest-updates__card-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

.page-resources-cwin05-latest-updates__game-card .page-resources-cwin05-latest-updates__card-title a,
.page-resources-cwin05-latest-updates__article-card .page-resources-cwin05-latest-updates__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-cwin05-latest-updates__game-card .page-resources-cwin05-latest-updates__card-title a:hover,
.page-resources-cwin05-latest-updates__article-card .page-resources-cwin05-latest-updates__card-title a:hover {
  color: #e6c200;
}

.page-resources-cwin05-latest-updates__card-description {
  font-size: 0.95em;
  color: #cccccc;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-resources-cwin05-latest-updates__btn-link,
.page-resources-cwin05-latest-updates__btn-read-more {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-cwin05-latest-updates__btn-link:hover,
.page-resources-cwin05-latest-updates__btn-read-more:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Promotions List */
.page-resources-cwin05-latest-updates__promo-list,
.page-resources-cwin05-latest-updates__event-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-cwin05-latest-updates__promo-item,
.page-resources-cwin05-latest-updates__event-item {
  background-color: #1A1A1A;
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-resources-cwin05-latest-updates__list-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-cwin05-latest-updates__list-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-cwin05-latest-updates__list-title a:hover {
  color: #e6c200;
}

.page-resources-cwin05-latest-updates__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Feature Grid */
.page-resources-cwin05-latest-updates__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-resources-cwin05-latest-updates__feature-item {
  background-color: #1A1A1A;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-resources-cwin05-latest-updates__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

/* FAQ Section */
.page-resources-cwin05-latest-updates__faq-list {
  margin-top: 40px;
}

.page-resources-cwin05-latest-updates__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-cwin05-latest-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1A1A1A;
  border: 1px solid #333;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #FFD700;
}

.page-resources-cwin05-latest-updates__faq-question:hover {
  background: #2a2a2a;
  border-color: #FFD700;
}

.page-resources-cwin05-latest-updates__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-resources-cwin05-latest-updates__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-cwin05-latest-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #2a2a2a;
  color: #cccccc;
  border-radius: 0 0 8px 8px;
}

.page-resources-cwin05-latest-updates__faq-item.active .page-resources-cwin05-latest-updates__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-resources-cwin05-latest-updates__faq-item.active .page-resources-cwin05-latest-updates__faq-toggle {
  color: #e6c200;
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-cwin05-latest-updates__main-title {
    font-size: 2.8em;
  }

  .page-resources-cwin05-latest-updates__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-cwin05-latest-updates__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-cwin05-latest-updates__main-title {
    font-size: 2em;
  }

  .page-resources-cwin05-latest-updates__intro-text {
    font-size: 1em;
  }

  .page-resources-cwin05-latest-updates__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-resources-cwin05-latest-updates__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-cwin05-latest-updates__section {
    padding: 40px 0;
  }

  .page-resources-cwin05-latest-updates__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-cwin05-latest-updates__paragraph {
    font-size: 1em;
  }

  .page-resources-cwin05-latest-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-cwin05-latest-updates__section,
  .page-resources-cwin05-latest-updates__container,
  .page-resources-cwin05-latest-updates__game-card,
  .page-resources-cwin05-latest-updates__article-card,
  .page-resources-cwin05-latest-updates__feature-item,
  .page-resources-cwin05-latest-updates__promo-item,
  .page-resources-cwin05-latest-updates__event-item,
  .page-resources-cwin05-latest-updates__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-cwin05-latest-updates__game-grid,
  .page-resources-cwin05-latest-updates__article-grid,
  .page-resources-cwin05-latest-updates__feature-grid {
    gap: 20px;
  }

  .page-resources-cwin05-latest-updates__game-image,
  .page-resources-cwin05-latest-updates__article-image {
    height: 180px;
  }

  .page-resources-cwin05-latest-updates__game-card .page-resources-cwin05-latest-updates__card-title,
  .page-resources-cwin05-latest-updates__article-card .page-resources-cwin05-latest-updates__card-title {
    font-size: 1.2em;
    margin: 15px 15px 8px 15px;
  }

  .page-resources-cwin05-latest-updates__card-description {
    font-size: 0.9em;
    margin: 0 15px 15px 15px;
  }

  .page-resources-cwin05-latest-updates__btn-link,
  .page-resources-cwin05-latest-updates__btn-read-more {
    margin: 0 15px 15px 15px;
    padding: 8px 15px;
  }

  .page-resources-cwin05-latest-updates__list-title {
    font-size: 1.4em;
  }

  .page-resources-cwin05-latest-updates__promo-item,
  .page-resources-cwin05-latest-updates__event-item {
    padding: 20px;
  }

  .page-resources-cwin05-latest-updates__faq-question {
    padding: 15px 20px;
  }

  .page-resources-cwin05-latest-updates__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-cwin05-latest-updates__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-resources-cwin05-latest-updates__faq-answer {
    padding: 0 20px;
  }

  .page-resources-cwin05-latest-updates__faq-item.active .page-resources-cwin05-latest-updates__faq-answer {
    padding: 15px 20px !important;
  }
}

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

  .page-resources-cwin05-latest-updates__section-title {
    font-size: 1.6em;
  }

  .page-resources-cwin05-latest-updates__game-grid,
  .page-resources-cwin05-latest-updates__article-grid,
  .page-resources-cwin05-latest-updates__feature-grid {
    grid-template-columns: 1fr;
  }
}