/* style/resources-online-gambling-safety-guide.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f8f8f8;
  --card-bg: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);
  --shadow-color: rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-safety-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Should match body background from shared.css */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

/* Text colors for specific elements */
.page-resources-online-gambling-safety-guide h1,
.page-resources-online-gambling-safety-guide h2,
.page-resources-online-gambling-safety-guide h3,
.page-resources-online-gambling-safety-guide h4 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-resources-online-gambling-safety-guide strong.text-primary,
.page-resources-online-gambling-safety-guide span.text-primary {
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-guide__hero-section {
  background: var(--bg-dark);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-online-gambling-safety-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-resources-online-gambling-safety-guide__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

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

.page-resources-online-gambling-safety-guide__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-color);
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-online-gambling-safety-guide__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark); /* Ensure contrast on primary color */
  border: 2px solid var(--primary-color);
}

.page-resources-online-gambling-safety-guide__btn-primary:hover {
  background: #E6C200; /* A slightly darker gold */
  box-shadow: 0 6px 16px var(--shadow-color);
  transform: translateY(-2px);
}

.page-resources-online-gambling-safety-guide__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-online-gambling-safety-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  box-shadow: 0 6px 16px var(--shadow-color);
  transform: translateY(-2px);
}

.page-resources-online-gambling-safety-guide__section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
}

.page-resources-online-gambling-safety-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--text-light);
}

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

.page-resources-online-gambling-safety-guide__content-area p {
  margin-bottom: 15px;
  color: #e0e0e0; /* Slightly lighter for paragraphs */
}

.page-resources-online-gambling-safety-guide__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #e0e0e0;
}

.page-resources-online-gambling-safety-guide__list li {
  margin-bottom: 10px;
}

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

.page-resources-online-gambling-safety-guide__card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-online-gambling-safety-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.page-resources-online-gambling-safety-guide__card-image {
  width: 100%; /* Ensure image fills card width */
  max-width: 300px; /* Max width for images in cards */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-online-gambling-safety-guide__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-guide__card p {
  font-size: 0.95em;
  color: #cccccc;
}

.page-resources-online-gambling-safety-guide__brand-promo {
  background: linear-gradient(135deg, var(--secondary-color), var(--bg-dark));
  border-top: 5px solid var(--primary-color);
  text-align: center;
}

.page-resources-online-gambling-safety-guide__brand-promo .page-resources-online-gambling-safety-guide__section-title {
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-guide__brand-promo p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-online-gambling-safety-guide__hero-subtitle {
    font-size: 1.1em;
  }
  .page-resources-online-gambling-safety-guide__section-title {
    font-size: 2em;
  }
  .page-resources-online-gambling-safety-guide__sub-title {
    font-size: 1.6em;
  }
  .page-resources-online-gambling-safety-guide__card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-resources-online-gambling-safety-guide {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-online-gambling-safety-guide__hero-section {
    padding: 60px 15px;
  }
  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-online-gambling-safety-guide__hero-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-resources-online-gambling-safety-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-resources-online-gambling-safety-guide__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-online-gambling-safety-guide__section {
    padding: 40px 15px;
  }
  .page-resources-online-gambling-safety-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-online-gambling-safety-guide__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-resources-online-gambling-safety-guide__grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-online-gambling-safety-guide__card {
    padding: 20px;
  }
  .page-resources-online-gambling-safety-guide__card-image {
    max-width: 250px;
  }
  .page-resources-online-gambling-safety-guide__card-title {
    font-size: 1.2em;
  }
  .page-resources-online-gambling-safety-guide__list {
    padding-left: 15px;
  }
  .page-resources-online-gambling-safety-guide__container {
    padding: 0;
  }
  .page-resources-online-gambling-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-online-gambling-safety-guide__section,
  .page-resources-online-gambling-safety-guide__card,
  .page-resources-online-gambling-safety-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}