.page-resources-how-to-choose-best-online-gambling-game {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  line-height: 1.6;
  background-color: #1a1a1a; /* Ensure consistency with body background */
  padding-top: 0;
}

.page-resources-how-to-choose-best-online-gambling-game__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 60px 20px;
  background-color: #017439; /* Brand primary color for hero */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  overflow: hidden;
}

.page-resources-how-to-choose-best-online-gambling-game__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-how-to-choose-best-online-gambling-game__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-how-to-choose-best-online-gambling-game__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-best-online-gambling-game__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

.page-resources-how-to-choose-best-online-gambling-game__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Allowed for decorative effect, not color change */
}

.page-resources-how-to-choose-best-online-gambling-game__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-how-to-choose-best-online-gambling-game__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

.page-resources-how-to-choose-best-online-gambling-game__heading {
  font-size: 2.5em;
  color: #ffffff; /* Light color for dark backgrounds */
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-how-to-choose-best-online-gambling-game__paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-resources-how-to-choose-best-online-gambling-game__highlight {
  color: #FFFF00; /* Yellow for highlights, good contrast on dark */
  font-weight: bold;
}

.page-resources-how-to-choose-best-online-gambling-game__inline-link {
  color: #FFFF00; /* Yellow for inline links, good contrast on dark */
  text-decoration: underline;
}

.page-resources-how-to-choose-best-online-gambling-game__inline-link:hover {
  color: #FFFFFF;
}

.page-resources-how-to-choose-best-online-gambling-game__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-how-to-choose-best-online-gambling-game__btn-primary,
.page-resources-how-to-choose-best-online-gambling-game__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-resources-how-to-choose-best-online-gambling-game__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-resources-how-to-choose-best-online-gambling-game__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  color: #ffffff;
}

.page-resources-how-to-choose-best-online-gambling-game__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand primary color for text */
  border: 2px solid #017439;
}
.page-resources-how-to-choose-best-online-gambling-game__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Card styles */
.page-resources-how-to-choose-best-online-gambling-game__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-how-to-choose-best-online-gambling-game__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-online-gambling-game__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-how-to-choose-best-online-gambling-game__card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-resources-how-to-choose-best-online-gambling-game__card-link {
  color: #FFFF00;
  text-decoration: none;
}

.page-resources-how-to-choose-best-online-gambling-game__card-link:hover {
  text-decoration: underline;
}

.page-resources-how-to-choose-best-online-gambling-game__card-text {
  font-size: 1em;
  color: #cccccc;
}