/* style/resources-online-gambling-beginner-guide.css */

/* Base styles for the page content */
.page-resources-online-gambling-beginner-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

/* Ensure padding-top for fixed header offset */
.page-resources-online-gambling-beginner-guide__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
}

.page-resources-online-gambling-beginner-guide__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-online-gambling-beginner-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-online-gambling-beginner-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-online-gambling-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-online-gambling-beginner-guide__center-content {
  text-align: center;
}

.page-resources-online-gambling-beginner-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  /* position: relative; already set above */
  /* overflow: hidden; already set above */
}

.page-resources-online-gambling-beginner-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-resources-online-gambling-beginner-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-resources-online-gambling-beginner-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-resources-online-gambling-beginner-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

.page-resources-online-gambling-beginner-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
  color: inherit;
}

.page-resources-online-gambling-beginner-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Buttons */
.page-resources-online-gambling-beginner-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-resources-online-gambling-beginner-guide__btn-primary,
.page-resources-online-gambling-beginner-guide__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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-gambling-beginner-guide__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-online-gambling-beginner-guide__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-online-gambling-beginner-guide__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-online-gambling-beginner-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
  border-color: #005a2d;
}

.page-resources-online-gambling-beginner-guide__register-btn {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-online-gambling-beginner-guide__register-btn:hover {
  background-color: #a00606;
  border-color: #a00606;
}


/* Card styles */
.page-resources-online-gambling-beginner-guide__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-gambling-beginner-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}