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

/* --- General Page Styles --- */
.page-resources-online-gambling-guide {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Default background */
  line-height: 1.6;
}

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

.page-resources-online-gambling-guide__section {
  padding: 60px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
}

.page-resources-online-gambling-guide__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-resources-online-gambling-guide__section-title {
  font-size: 36px;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-online-gambling-guide__sub-title {
  font-size: 24px;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-resources-online-gambling-guide__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-online-gambling-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-online-gambling-guide__numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-online-gambling-guide__list-item {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-resources-online-gambling-guide__image-content {
  width: 100%;
  height: auto;
  max-width: 800px; /* Default max-width for content images */
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-resources-online-gambling-guide__image-content--large {
  max-width: 1000px; /* Specific max-width for larger content images */
}

/* --- CTA Buttons --- */
.page-resources-online-gambling-guide__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  align-items: center;
}

.page-resources-online-gambling-guide__cta-buttons--center {
  justify-content: center;
}

.page-resources-online-gambling-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for mobile responsiveness */
}

/* Custom colors for Register/Login buttons, ensuring contrast */
.page-resources-online-gambling-guide__btn-register,
.page-resources-online-gambling-guide__btn-login {
  background-color: #C30808; /* Custom Register/Login button color */
  color: #FFFFFF; /* Forced white text for contrast */
  border: 2px solid #C30808;
}

.page-resources-online-gambling-guide__btn-register:hover,
.page-resources-online-gambling-guide__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-resources-online-gambling-guide__btn-primary {
  background-color: #017439; /* Primary brand color */
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-resources-online-gambling-guide__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

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

.page-resources-online-gambling-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* --- Hero Section --- */
.page-resources-online-gambling-guide__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 content is below fixed header */
  background-color: #017439; /* Primary brand color for hero background */
  color: #ffffff;
  overflow: hidden; /* Prevent image overflow */
}

.page-resources-online-gambling-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-resources-online-gambling-guide__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-resources-online-gambling-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-online-gambling-guide__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-guide__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* --- Game Types Grid --- */
.page-resources-online-gambling-guide__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-gambling-guide__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-online-gambling-guide__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-online-gambling-guide__game-card-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-online-gambling-guide__game-card-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-online-gambling-guide__game-card-link {
  display: inline-block;
  padding: 10px 25px;
  background-color: #017439;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-resources-online-gambling-guide__game-card-link:hover {
  background-color: #005a2e;
}