.page-resources-safe-betting-tips {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Hero Section */
.page-resources-safe-betting-tips__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background: linear-gradient(135deg, #26A9E0, #0a0a0a); /* Blend brand color with dark background */
}

.page-resources-safe-betting-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Make background image subtle */
  min-width: 200px;
  min-height: 200px;
}

.page-resources-safe-betting-tips__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-safe-betting-tips__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-safe-betting-tips__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styling */
.page-resources-safe-betting-tips__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-safe-betting-tips__content-area {
  background-color: #1a1a1a; /* Lighter dark background for content */
  color: #ffffff;
}

.page-resources-safe-betting-tips__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-resources-safe-betting-tips__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-safe-betting-tips__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-safe-betting-tips__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-safe-betting-tips__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-safe-betting-tips__paragraph a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-safe-betting-tips__paragraph a:hover {
  text-decoration: underline;
}

.page-resources-safe-betting-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Grid Layouts */
.page-resources-safe-betting-tips__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cards */
.page-resources-safe-betting-tips__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: #ffffff;
}

.page-resources-safe-betting-tips__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-safe-betting-tips__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure it behaves as a block element */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-safe-betting-tips__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Content with Image Wrapper */
.page-resources-safe-betting-tips__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-resources-safe-betting-tips__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-resources-safe-betting-tips__content-image {
  flex: 0 0 45%;
  max-width: 45%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-safe-betting-tips__text-block {
  flex: 1;
}