/* style/resources-how-to-choose-reliable-online-casino.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-1: #0d0d0d; /* Assuming shared.css defines --dark-bg-1 as a dark color */
  --bg-light-1: #f8f9fa;
  --border-light: #e0e0e0;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-resources-how-to-choose-reliable-online-casino {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: transparent; /* Body background from shared.css */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-resources-how-to-choose-reliable-online-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-how-to-choose-reliable-online-casino__section {
  padding: 60px 0;
}

.page-resources-how-to-choose-reliable-online-casino__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-how-to-choose-reliable-online-casino__light-bg {
  background-color: var(--bg-light-1);
  color: var(--text-dark);
}

/* HERO Banner */
.page-resources-how-to-choose-reliable-online-casino__hero-banner {
  text-align: center;
  padding-top: 60px; /* Additional padding for hero content */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-how-to-choose-reliable-online-casino__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-resources-how-to-choose-reliable-online-casino__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-reliable-online-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-resources-how-to-choose-reliable-online-casino__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.page-resources-how-to-choose-reliable-online-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-how-to-choose-reliable-online-casino__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Feature Grid */
.page-resources-how-to-choose-reliable-online-casino__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-choose-reliable-online-casino__feature-card {
  background: #ffffff;
  border-radius: 8px;
  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;
  color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-online-casino__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-reliable-online-casino__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.page-resources-how-to-choose-reliable-online-casino__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-online-casino__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* List Styles */
.page-resources-how-to-choose-reliable-online-casino__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-reliable-online-casino__list-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  color: var(--text-light);
}

.page-resources-how-to-choose-reliable-online-casino__list-item::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.page-resources-how-to-choose-reliable-online-casino__list-item strong {
  color: var(--secondary-color);
}

.page-resources-how-to-choose-reliable-online-casino__link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-how-to-choose-reliable-online-casino__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Promotion Grid */
.page-resources-how-to-choose-reliable-online-casino__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-resources-how-to-choose-reliable-online-casino__promo-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-online-casino__promo-card .page-resources-how-to-choose-reliable-online-casino__card-title {
  color: var(--primary-color);
  font-size: 20px;
}

.page-resources-how-to-choose-reliable-online-casino__promo-card .page-resources-how-to-choose-reliable-online-casino__card-text {
  font-size: 15px;
}

/* Related Articles */
.page-resources-how-to-choose-reliable-online-casino__related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-choose-reliable-online-casino__article-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-online-casino__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-reliable-online-casino__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-resources-how-to-choose-reliable-online-casino__article-card .page-resources-how-to-choose-reliable-online-casino__card-title {
  padding: 20px 20px 10px 20px;
  font-size: 20px;
  color: var(--primary-color);
  text-align: left;
}

.page-resources-how-to-choose-reliable-online-casino__article-card .page-resources-how-to-choose-reliable-online-casino__card-text {
  padding: 0 20px 20px 20px;
  font-size: 15px;
  text-align: left;
}

.page-resources-how-to-choose-reliable-online-casino__article-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-how-to-choose-reliable-online-casino__article-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* FAQ Section */
.page-resources-how-to-choose-reliable-online-casino__faq-section {
  padding: 60px 0;
}

.page-resources-how-to-choose-reliable-online-casino__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-resources-how-to-choose-reliable-online-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-how-to-choose-reliable-online-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-how-to-choose-reliable-online-casino__faq-item.active .page-resources-how-to-choose-reliable-online-casino__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-resources-how-to-choose-reliable-online-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-resources-how-to-choose-reliable-online-casino__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-resources-how-to-choose-reliable-online-casino__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-resources-how-to-choose-reliable-online-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: inherit;
}

.page-resources-how-to-choose-reliable-online-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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-how-to-choose-reliable-online-casino__faq-item.active .page-resources-how-to-choose-reliable-online-casino__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

.page-resources-how-to-choose-reliable-online-casino__faq-answer p {
  color: var(--text-light);
  font-size: 15px;
}

/* Call to action at the end */
.page-resources-how-to-choose-reliable-online-casino__call-to-action {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-resources-how-to-choose-reliable-online-casino__call-to-action .page-resources-how-to-choose-reliable-online-casino__section-title {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-how-to-choose-reliable-online-casino__main-title {
    font-size: 40px;
  }

  .page-resources-how-to-choose-reliable-online-casino__section-title {
    font-size: 30px;
  }

  .page-resources-how-to-choose-reliable-online-casino__feature-grid,
  .page-resources-how-to-choose-reliable-online-casino__promo-grid,
  .page-resources-how-to-choose-reliable-online-casino__related-articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-reliable-online-casino {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-resources-how-to-choose-reliable-online-casino__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-how-to-choose-reliable-online-casino__hero-banner,
  .page-resources-how-to-choose-reliable-online-casino__section,
  .page-resources-how-to-choose-reliable-online-casino__call-to-action {
    padding: 40px 0;
  }

  .page-resources-how-to-choose-reliable-online-casino__main-title {
    font-size: 32px;
  }

  .page-resources-how-to-choose-reliable-online-casino__intro-text,
  .page-resources-how-to-choose-reliable-online-casino__section-description {
    font-size: 16px;
  }

  .page-resources-how-to-choose-reliable-online-casino__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-how-to-choose-reliable-online-casino__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .page-resources-how-to-choose-reliable-online-casino__feature-card,
  .page-resources-how-to-choose-reliable-online-casino__promo-card,
  .page-resources-how-to-choose-reliable-online-casino__article-card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .page-resources-how-to-choose-reliable-online-casino__feature-icon {
    width: 80px;
  }

  .page-resources-how-to-choose-reliable-online-casino__card-title {
    font-size: 18px;
  }

  .page-resources-how-to-choose-reliable-online-casino__card-text {
    font-size: 14px;
  }

  .page-resources-how-to-choose-reliable-online-casino__list-item {
    font-size: 15px;
    padding: 15px 20px;
  }

  .page-resources-how-to-choose-reliable-online-casino__article-image {
    height: 180px;
  }

  .page-resources-how-to-choose-reliable-online-casino__article-card .page-resources-how-to-choose-reliable-online-casino__card-title {
    font-size: 18px;
  }

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

  /* Ensure all images are responsive and do not cause horizontal scroll */
  .page-resources-how-to-choose-reliable-online-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-how-to-choose-reliable-online-casino__feature-grid,
  .page-resources-how-to-choose-reliable-online-casino__promo-grid,
  .page-resources-how-to-choose-reliable-online-casino__related-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-choose-reliable-online-casino__main-title {
    font-size: 28px;
  }

  .page-resources-how-to-choose-reliable-online-casino__section-title {
    font-size: 22px;
  }

  .page-resources-how-to-choose-reliable-online-casino__cta-button {
    padding: 10px 20px;
    font-size: 15px;
  }
}