/* style/responsible-gambling.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2463;
  --border-color: #e0e0e0;
  --accent-color: #28a745; /* Green for positive actions/highlights */
  --danger-color: #dc3545; /* Red for warnings/important */
}

.page-responsible-gambling {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

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

.page-responsible-gambling section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-responsible-gambling h1,
.page-responsible-gambling h2,
.page-responsible-gambling h3,
.page-responsible-gambling h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-responsible-gambling h1 {
  font-size: 3.2em;
  color: var(--text-light);
}

.page-responsible-gambling h2 {
  font-size: 2.5em;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-responsible-gambling h3 {
  font-size: 1.8em;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-responsible-gambling h4 {
  font-size: 1.4em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-responsible-gambling p {
  margin-bottom: 15px;
  font-size: 1.1em;
  text-align: left;
}

.page-responsible-gambling ul {
  list-style: disc inside;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-responsible-gambling ul li {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.page-responsible-gambling .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-responsible-gambling .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling .cta-button-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-color);
}

.page-responsible-gambling .cta-button-small:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.page-responsible-gambling .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1A3A7C 100%);
  color: var(--text-light);
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-responsible-gambling .hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-responsible-gambling .hero-content p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.2em;
  text-align: center;
}

.page-responsible-gambling .hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Tool Grid */
.page-responsible-gambling .tool-grid,
.page-responsible-gambling .support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-responsible-gambling .tool-item,
.page-responsible-gambling .support-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-responsible-gambling .tool-item img,
.page-responsible-gambling .support-item img {
  width: 200px; /* Minimum size requirement */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-responsible-gambling .tool-item h3,
.page-responsible-gambling .support-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-responsible-gambling .tool-item p,
.page-responsible-gambling .support-item p {
  font-size: 1.05em;
  color: var(--text-dark);
  text-align: center;
}

/* Tips List */
.page-responsible-gambling .tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-responsible-gambling .tip-item {
  background: #ffffff;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-responsible-gambling .tip-item img {
  width: 200px; /* Minimum size requirement */
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 4px;
  align-self: center; /* Center the image within the item */
}

.page-responsible-gambling .tip-item h4 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
  text-align: left;
}

.page-responsible-gambling .tip-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* FAQ Section */
.page-responsible-gambling .faq-list {
  margin-top: 40px;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: #fff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px;
  border-top: 1px solid var(--border-color);
}

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

/* Conclusion Section */
.page-responsible-gambling .section-conclusion {
  background: linear-gradient(135deg, #1A3A7C 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-responsible-gambling .section-conclusion h2 {
  color: var(--secondary-color);
}

.page-responsible-gambling .section-conclusion p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.15em;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gambling h1 {
    font-size: 2.8em;
  }
  .page-responsible-gambling h2 {
    font-size: 2em;
  }
  .page-responsible-gambling h3 {
    font-size: 1.6em;
  }
  .page-responsible-gambling .hero-section .container {
    flex-direction: column;
    gap: 30px;
  }
  .page-responsible-gambling .hero-content p {
    font-size: 1.1em;
  }
  .page-responsible-gambling .tool-grid,
  .page-responsible-gambling .support-grid,
  .page-responsible-gambling .tips-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling section {
    padding: 40px 0;
  }
  .page-responsible-gambling h1 {
    font-size: 2.2em;
  }
  .page-responsible-gambling h2 {
    font-size: 1.8em;
  }
  .page-responsible-gambling h3 {
    font-size: 1.4em;
  }
  .page-responsible-gambling p,
  .page-responsible-gambling ul li {
    font-size: 1em;
  }
  .page-responsible-gambling .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-responsible-gambling .cta-button-small {
    padding: 8px 20px;
    font-size: 0.85em;
  }
  .page-responsible-gambling .hero-section {
    padding: 60px 15px;
  }
  .page-responsible-gambling .hero-content p {
    font-size: 1em;
  }
  .faq-question {
    padding: 12px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling h1 {
    font-size: 1.8em;
  }
  .page-responsible-gambling h2 {
    font-size: 1.6em;
  }
  .page-responsible-gambling h3 {
    font-size: 1.2em;
  }
  .page-responsible-gambling .tool-grid,
  .page-responsible-gambling .support-grid,
  .page-responsible-gambling .tips-list {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling .tool-item,
  .page-responsible-gambling .support-item,
  .page-responsible-gambling .tip-item {
    padding: 20px;
  }
  .page-responsible-gambling .tool-item img,
  .page-responsible-gambling .support-item img,
  .page-responsible-gambling .tip-item img {
    width: 180px;
    height: 180px;
  }
  .page-responsible-gambling .tip-item h4 {
    font-size: 1.2em;
  }
  .page-responsible-gambling .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}