/* style/resources-how-to-choose-best-online-casino.css */

:root {
  --primary-color: #1A2A44;
  --secondary-color: #FFCC00;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light-gray: #f1f3f5;
  --border-color: #e0e0e0;
  --dark-bg-1: #0d0d0d; /* Assuming this is a dark background from shared.css */
}

.page-resources-how-to-choose-best-online-casino {
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from body */
}

.page-resources-how-to-choose-best-online-casino__hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #0d1a2e);
  padding: 180px 20px 80px; /* Desktop padding-top to clear fixed header */
  text-align: center;
  color: var(--text-light);
}

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

.page-resources-how-to-choose-best-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-best-online-casino__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-resources-how-to-choose-best-online-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-resources-how-to-choose-best-online-casino__cta-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-best-online-casino__section {
  padding: 60px 0;
  background-color: var(--dark-bg-1);
  color: var(--text-light);
}

.page-resources-how-to-choose-best-online-casino__section:nth-of-type(even) {
  background-color: #12223a;
}

.page-resources-how-to-choose-best-online-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-how-to-choose-best-online-casino__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-how-to-choose-best-online-casino__introduction-section p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-how-to-choose-best-online-casino__introduction-section p strong {
  color: var(--secondary-color);
}

.page-resources-how-to-choose-best-online-casino__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-how-to-choose-best-online-casino__card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-how-to-choose-best-online-casino__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-how-to-choose-best-online-casino__card-image {
  max-width: 250px; /* Increased size, min 200px */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-resources-how-to-choose-best-online-casino__card-text {
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  flex-grow: 1;
}

.page-resources-how-to-choose-best-online-casino__card-text strong {
  color: var(--secondary-color);
}

.page-resources-how-to-choose-best-online-casino__responsible-gambling-section .page-resources-how-to-choose-best-online-casino__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-resources-how-to-choose-best-online-casino__responsible-gambling-section .page-resources-how-to-choose-best-online-casino__list-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.6;
  border-left: 5px solid var(--secondary-color);
}

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

.page-resources-how-to-choose-best-online-casino__responsible-gambling-section p {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
}

.page-resources-how-to-choose-best-online-casino__button-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-resources-how-to-choose-best-online-casino__faq-section {
  padding: 60px 0;
  background-color: #12223a;
}

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

.page-resources-how-to-choose-best-online-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-how-to-choose-best-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;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
}

.page-resources-how-to-choose-best-online-casino__faq-item.active .page-resources-how-to-choose-best-online-casino__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-resources-how-to-choose-best-online-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-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-light);
}

.page-resources-how-to-choose-best-online-casino__faq-question:hover {
  background: #2a3e5d;
}

.page-resources-how-to-choose-best-online-casino__faq-question:active {
  background: #3a4e6d;
}

.page-resources-how-to-choose-best-online-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color);
}

.page-resources-how-to-choose-best-online-casino__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

.page-resources-how-to-choose-best-online-casino__faq-item.active .page-resources-how-to-choose-best-online-casino__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Change + to X visually */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-best-online-casino__main-title {
    font-size: 40px;
  }
  .page-resources-how-to-choose-best-online-casino__subtitle {
    font-size: 18px;
  }
  .page-resources-how-to-choose-best-online-casino__section-title {
    font-size: 30px;
  }
  .page-resources-how-to-choose-best-online-casino__card-title {
    font-size: 22px;
  }
  .page-resources-how-to-choose-best-online-casino__card-text {
    font-size: 15px;
  }
  .page-resources-how-to-choose-best-online-casino__introduction-section p,
  .page-resources-how-to-choose-best-online-casino__responsible-gambling-section p,
  .page-resources-how-to-choose-best-online-casino__responsible-gambling-section .page-resources-how-to-choose-best-online-casino__list-item {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-best-online-casino__hero-banner {
    padding: 160px 15px 60px !important; /* Mobile padding-top to clear fixed header */
  }
  .page-resources-how-to-choose-best-online-casino__main-title {
    font-size: 32px;
  }
  .page-resources-how-to-choose-best-online-casino__subtitle {
    font-size: 16px;
  }
  .page-resources-how-to-choose-best-online-casino__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-resources-how-to-choose-best-online-casino__section {
    padding: 40px 0;
  }
  .page-resources-how-to-choose-best-online-casino__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-resources-how-to-choose-best-online-casino__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-how-to-choose-best-online-casino__card-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-how-to-choose-best-online-casino__card {
    padding: 25px;
  }
  .page-resources-how-to-choose-best-online-casino__card-image {
    max-width: 200px; /* Ensure min 200px */
  }
  .page-resources-how-to-choose-best-online-casino__card-title {
    font-size: 20px;
  }
  .page-resources-how-to-choose-best-online-casino__card-text {
    font-size: 14px;
  }
  .page-resources-how-to-choose-best-online-casino__introduction-section p,
  .page-resources-how-to-choose-best-online-casino__responsible-gambling-section p,
  .page-resources-how-to-choose-best-online-casino__responsible-gambling-section .page-resources-how-to-choose-best-online-casino__list-item {
    font-size: 15px;
  }
  .page-resources-how-to-choose-best-online-casino__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-resources-how-to-choose-best-online-casino__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-resources-how-to-choose-best-online-casino__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-resources-how-to-choose-best-online-casino__faq-answer {
    padding: 0 15px;
  }
  .page-resources-how-to-choose-best-online-casino__faq-item.active .page-resources-how-to-choose-best-online-casino__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image specific rules */
  .page-resources-how-to-choose-best-online-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-how-to-choose-best-online-casino__section,
  .page-resources-how-to-choose-best-online-casino__card,
  .page-resources-how-to-choose-best-online-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}