/* style/resources-understanding-online-casino-licenses.css */

:root {
  --primary-color: #B80F0A;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #000000;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources-understanding-online-casino-licenses {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Main content text color on dark body background */
  background-color: var(--background-dark); /* Inherited from body, but good to reinforce */
}

.page-resources-understanding-online-casino-licenses__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-understanding-online-casino-licenses__hero-content-area {
  padding-top: 120px; /* Desktop: Space for fixed header */
  padding-bottom: 40px;
  background-color: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

.page-resources-understanding-online-casino-licenses__main-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources-understanding-online-casino-licenses__intro-paragraph {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-understanding-online-casino-licenses__header-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-resources-understanding-online-casino-licenses__section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-understanding-online-casino-licenses__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: var(--text-light);
}

.page-resources-understanding-online-casino-licenses__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-light);
}

.page-resources-understanding-online-casino-licenses__section-title--light {
  color: var(--text-light);
}

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

.page-resources-understanding-online-casino-licenses__card {
  background: var(--card-background);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources-understanding-online-casino-licenses__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-understanding-online-casino-licenses__card-image {
  max-width: 250px; /* Increased size, min 200px */
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
  object-fit: cover;
}

.page-resources-understanding-online-casino-licenses__benefit-list,
.page-resources-understanding-online-casino-licenses__checklist,
.page-resources-understanding-online-casino-licenses__impact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-understanding-online-casino-licenses__benefit-item,
.page-resources-understanding-online-casino-licenses__checklist-item,
.page-resources-understanding-online-casino-licenses__impact-item {
  background: var(--card-background);
  color: var(--text-dark);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-resources-understanding-online-casino-licenses__benefit-title,
.page-resources-understanding-online-casino-licenses__checklist-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-resources-understanding-online-casino-licenses__checklist-item p {
  margin-bottom: 0;
  color: var(--text-dark);
}

.page-resources-understanding-online-casino-licenses__impact-item p {
  margin-bottom: 0;
  color: var(--text-dark);
}

.page-resources-understanding-online-casino-licenses__content-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  object-fit: cover;
}

.page-resources-understanding-online-casino-licenses__call-to-action {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  color: var(--text-light);
}

.page-resources-understanding-online-casino-licenses__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  margin: 10px;
  transition: all 0.3s ease;
}

.page-resources-understanding-online-casino-licenses__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(184, 15, 10, 0.4);
}

.page-resources-understanding-online-casino-licenses__btn-primary:hover {
  background: #a00d08;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(184, 15, 10, 0.6);
}

.page-resources-understanding-online-casino-licenses__cta-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-understanding-online-casino-licenses__cta-link:hover {
  color: #e6c200;
}

/* FAQ Section */
.page-resources-understanding-online-casino-licenses__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #1a1a1a;
  color: var(--text-light);
}

.page-resources-understanding-online-casino-licenses__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-understanding-online-casino-licenses__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-understanding-online-casino-licenses__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-dark);
}

.page-resources-understanding-online-casino-licenses__faq-item.active .page-resources-understanding-online-casino-licenses__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-background);
  border-radius: 0 0 5px 5px;
}

.page-resources-understanding-online-casino-licenses__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-resources-understanding-online-casino-licenses__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-understanding-online-casino-licenses__faq-question:active {
  background: #eeeeee;
}

.page-resources-understanding-online-casino-licenses__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-resources-understanding-online-casino-licenses__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-understanding-online-casino-licenses__faq-item.active .page-resources-understanding-online-casino-licenses__faq-toggle {
  color: var(--primary-color);
}

.page-resources-understanding-online-casino-licenses__keyword {
  color: var(--secondary-color);
}

/* General text color for sections with dark background */
.page-resources-understanding-online-casino-licenses__section p,
.page-resources-understanding-online-casino-licenses__section li {
  color: var(--text-light);
}

/* Ensure text on light background (cards) is dark */
.page-resources-understanding-online-casino-licenses__card p {
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-understanding-online-casino-licenses__main-title {
    font-size: 32px;
  }

  .page-resources-understanding-online-casino-licenses__intro-paragraph {
    font-size: 16px;
  }

  .page-resources-understanding-online-casino-licenses__section-title {
    font-size: 28px;
  }

  .page-resources-understanding-online-casino-licenses__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-resources-understanding-online-casino-licenses__card {
    padding: 25px;
  }

  .page-resources-understanding-online-casino-licenses__card-title {
    font-size: 20px;
  }

  .page-resources-understanding-online-casino-licenses__card-image {
    max-width: 200px;
  }

  .page-resources-understanding-online-casino-licenses__benefit-item,
  .page-resources-understanding-online-casino-licenses__checklist-item,
  .page-resources-understanding-online-casino-licenses__impact-item {
    padding: 20px;
  }

  .page-resources-understanding-online-casino-licenses__benefit-title,
  .page-resources-understanding-online-casino-licenses__checklist-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-resources-understanding-online-casino-licenses__hero-content-area {
    padding-top: 100px !important; /* Mobile: Space for fixed header */
    padding-bottom: 30px;
  }

  .page-resources-understanding-online-casino-licenses__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-resources-understanding-online-casino-licenses__intro-paragraph {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-resources-understanding-online-casino-licenses__header-image {
    margin-top: 15px;
  }

  .page-resources-understanding-online-casino-licenses__section {
    padding: 40px 0;
  }

  .page-resources-understanding-online-casino-licenses__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-resources-understanding-online-casino-licenses__card-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .page-resources-understanding-online-casino-licenses__card {
    padding: 20px;
  }

  .page-resources-understanding-online-casino-licenses__card-title {
    font-size: 18px;
  }

  .page-resources-understanding-online-casino-licenses__card-image {
    max-width: 180px;
  }

  .page-resources-understanding-online-casino-licenses__benefit-item,
  .page-resources-understanding-online-casino-licenses__checklist-item,
  .page-resources-understanding-online-casino-licenses__impact-item {
    padding: 15px;
  }

  .page-resources-understanding-online-casino-licenses__benefit-title,
  .page-resources-understanding-online-casino-licenses__checklist-title {
    font-size: 16px;
  }

  .page-resources-understanding-online-casino-licenses__content-image {
    margin: 20px auto;
  }

  .page-resources-understanding-online-casino-licenses__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-understanding-online-casino-licenses__faq-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-resources-understanding-online-casino-licenses__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-understanding-online-casino-licenses__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-understanding-online-casino-licenses__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-understanding-online-casino-licenses__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-understanding-online-casino-licenses__faq-item.active .page-resources-understanding-online-casino-licenses__faq-answer {
    padding: 15px !important;
  }

  /* Image responsive fix for all images and their containers */
  .page-resources-understanding-online-casino-licenses img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-understanding-online-casino-licenses__section,
  .page-resources-understanding-online-casino-licenses__card,
  .page-resources-understanding-online-casino-licenses__container,
  .page-resources-understanding-online-casino-licenses__card-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure all paragraph text within sections (not cards) is light */
.page-resources-understanding-online-casino-licenses__section p {
  color: var(--text-light);
}

/* Ensure all list item text within sections (not cards) is light */
.page-resources-understanding-online-casino-licenses__section li p,
.page-resources-understanding-online-casino-licenses__section li strong {
  color: var(--text-light);
}

/* Specific adjustment for list items on light background */
.page-resources-understanding-online-casino-licenses__benefit-item p,
.page-resources-understanding-online-casino-licenses__checklist-item p,
.page-resources-understanding-online-casino-licenses__impact-item p {
  color: var(--text-dark);
}

/* Keyword highlighting */
.page-resources-understanding-online-casino-licenses__keyword {
  color: var(--secondary-color);
}