.page-resources-online-gambling-tips {
  color: #333333;
  padding-top: var(--header-offset, 120px);
}

.page-resources-online-gambling-tips__hero-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-resources-online-gambling-tips__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-resources-online-gambling-tips__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-online-gambling-tips__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-resources-online-gambling-tips__hero-button {
  display: inline-block;
  background-color: #28a745;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-online-gambling-tips__hero-button:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.page-resources-online-gambling-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-online-gambling-tips__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-resources-online-gambling-tips__content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-online-gambling-tips__article-heading {
  font-size: 2em;
  color: #007bff;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
}

.page-resources-online-gambling-tips__article-subheading {
  font-size: 1.5em;
  color: #0056b3;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-gambling-tips__article-paragraph {
  margin-bottom: 1.5em;
  text-align: justify;
}

.page-resources-online-gambling-tips__text-link {
  color: #007bff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-online-gambling-tips__text-link:hover {
  color: #0056b3;
}

.page-resources-online-gambling-tips__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 30px;
}

.page-resources-online-gambling-tips__button--primary {
  background-color: #007bff;
  color: #ffffff;
}

.page-resources-online-gambling-tips__button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

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

.page-resources-online-gambling-tips__resource-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources-online-gambling-tips__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-resources-online-gambling-tips__resource-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-resources-online-gambling-tips__card-title {
  font-size: 1.3em;
  color: #007bff;
  padding: 15px 20px 5px;
  margin: 0;
}

.page-resources-online-gambling-tips__card-title a {
  text-decoration: none;
  color: inherit;
}

.page-resources-online-gambling-tips__card-title a:hover {
  text-decoration: underline;
}

.page-resources-online-gambling-tips__card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-resources-online-gambling-tips__back-link-container {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-online-gambling-tips__back-link {
  font-size: 1.1em;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-gambling-tips__back-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-online-gambling-tips__hero-title {
    font-size: 2.2em;
  }

  .page-resources-online-gambling-tips__hero-description {
    font-size: 1em;
  }

  .page-resources-online-gambling-tips__article-heading {
    font-size: 1.8em;
  }

  .page-resources-online-gambling-tips__article-subheading {
    font-size: 1.3em;
  }

  .page-resources-online-gambling-tips__content-area {
    padding: 20px 15px;
    font-size: 1em;
  }

  .page-resources-online-gambling-tips__related-resources {
    grid-template-columns: 1fr;
  }

  .page-resources-online-gambling-tips__hero-section {
    padding: 60px 15px;
  }

  .page-resources-online-gambling-tips img {
    max-width: 100%;
    height: auto;
  }

  .page-resources-online-gambling-tips__resource-card img {
    
  }
}