.page-resources-2024-popular-card-game-strategies {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--auxiliary-color, #FFFFFF);
}

.page-resources-2024-popular-card-game-strategies__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 space for fixed header */
  background: linear-gradient(135deg, #017439, #005f2e);
  color: #ffffff;
  overflow: hidden;
}

.page-resources-2024-popular-card-game-strategies__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-resources-2024-popular-card-game-strategies__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 0;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-2024-popular-card-game-strategies__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-resources-2024-popular-card-game-strategies__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-2024-popular-card-game-strategies__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color applied to main title for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.page-resources-2024-popular-card-game-strategies__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-resources-2024-popular-card-game-strategies__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-2024-popular-card-game-strategies__btn-register {
  background: #C30808; /* Custom color for Register button */
  color: #FFFF00; /* Custom font color for Register button */
  border: 2px solid #FFFF00;
}

.page-resources-2024-popular-card-game-strategies__btn-register:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-2024-popular-card-game-strategies__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-2024-popular-card-game-strategies__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-2024-popular-card-game-strategies__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #017439;
  font-weight: 700;
}

.page-resources-2024-popular-card-game-strategies__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-resources-2024-popular-card-game-strategies__highlight {
  color: #017439;
  font-weight: bold;
}

.page-resources-2024-popular-card-game-strategies__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-2024-popular-card-game-strategies__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-2024-popular-card-game-strategies__game-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-resources-2024-popular-card-game-strategies__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-2024-popular-card-game-strategies__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: 600;
}