/* style/resources-responsible-gaming.css */
.page-resources-responsible-gaming {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-resources-responsible-gaming-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-responsible-gaming-section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-resources-responsible-gaming h1,
.page-resources-responsible-gaming h2,
.page-resources-responsible-gaming h3 {
  color: #1A237E; /* Primary color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-responsible-gaming h1 {
  font-size: 2.8em;
  margin-top: 0;
  color: #FFD700; /* Secondary color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-responsible-gaming h2 {
  font-size: 2.2em;
  border-bottom: 2px solid #FFD700; /* Secondary color */
  padding-bottom: 10px;
  display: inline-block;
  margin-bottom: 40px;
}

.page-resources-responsible-gaming h3 {
  font-size: 1.8em;
  color: #1A237E; /* Primary color */
}

.page-resources-responsible-gaming p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444;
}

.page-resources-responsible-gaming ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  display: inline-block; /* Center the list */
}

.page-resources-responsible-gaming ul li {
  background: #ffffff;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700; /* Secondary color accent */
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1em;
  color: #333;
}

.page-resources-responsible-gaming-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #1A237E; /* Primary color background */
  color: #ffffff;
}

.page-resources-responsible-gaming-hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust based on desired visual impact */
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-resources-responsible-gaming-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.page-resources-responsible-gaming-hero-content p {
  color: #e0e0e0;
  font-size: 1.2em;
}

.page-resources-responsible-gaming-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Secondary color */
  color: #1A237E; /* Text color for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-responsible-gaming-cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-responsible-gaming-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-responsible-gaming-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-responsible-gaming-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming-card h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #1A237E; /* Primary color */
}

.page-resources-responsible-gaming-card p {
  font-size: 1em;
  color: #555;
  flex-grow: 1;
}

.page-resources-responsible-gaming-card ul {
  list-style: disc;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: left;
  display: block;
}

.page-resources-responsible-gaming-card ul li {
  background: none;
  border-left: none;
  box-shadow: none;
  padding: 5px 0;
  margin-bottom: 5px;
  font-size: 0.95em;
  color: #666;
}

.page-resources-responsible-gaming-link-button {
  display: inline-block;
  padding: 10px 20px;
  background: #1A237E; /* Primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-resources-responsible-gaming-link-button:hover {
  background: #0d125e;
}

.page-resources-responsible-gaming-small-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-responsible-gaming-small-card:hover {
  transform: translateY(-5px);
}

.page-resources-responsible-gaming-small-card-image {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px; /* Max width for smaller cards */
  height: 180px; /* Fixed height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-resources-responsible-gaming-small-card h4 {
  font-size: 1.3em;
  color: #1A237E; /* Primary color */
  margin-bottom: 10px;
}

.page-resources-responsible-gaming-small-card p {
  font-size: 0.95em;
  color: #666;
}

/* FAQ Styles */
.page-resources-responsible-gaming-faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1A237E; /* Primary color */
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #0d125e;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #ffffff; /* Text color for contrast */
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700; /* Secondary color */
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: #333;
  text-align: left;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 25px;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer p {
  margin-bottom: 0;
}

.page-resources-responsible-gaming-contact ul {
  list-style: disc;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  padding-left: 20px;
}

.page-resources-responsible-gaming-contact ul li {
  background: none;
  border: none;
  box-shadow: none;
  padding: 8px 0;
  margin-bottom: 0;
  font-size: 1.1em;
  color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-responsible-gaming h1 {
    font-size: 2.4em;
  }
  .page-resources-responsible-gaming h2 {
    font-size: 1.8em;
  }
  .page-resources-responsible-gaming h3 {
    font-size: 1.4em;
  }
  .page-resources-responsible-gaming-hero {
    padding: 60px 15px;
  }
  .page-resources-responsible-gaming-cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-resources-responsible-gaming-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-responsible-gaming-card {
    padding: 25px;
  }
  .page-resources-responsible-gaming-small-card-image {
    max-width: 200px;
    height: 150px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources-responsible-gaming-section {
    padding: 40px 0;
  }
  .page-resources-responsible-gaming h1 {
    font-size: 2em;
  }
  .page-resources-responsible-gaming h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-resources-responsible-gaming h3 {
    font-size: 1.3em;
  }
  .page-resources-responsible-gaming p {
    font-size: 1em;
  }
  .page-resources-responsible-gaming ul li {
    padding: 12px 15px;
    font-size: 0.95em;
  }
  .page-resources-responsible-gaming-hero {
    padding: 40px 10px;
  }
  .page-resources-responsible-gaming-hero-content p {
    font-size: 1em;
  }
  .page-resources-responsible-gaming-cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-resources-responsible-gaming-card {
    padding: 20px;
  }
  .page-resources-responsible-gaming-card-image {
    height: 180px;
  }
  .page-resources-responsible-gaming-small-card {
    padding: 20px;
  }
  .page-resources-responsible-gaming-small-card-image {
    max-width: 180px;
    height: 120px;
  }
}