/* style/top-10-reputable-bookmakers.css */

/* Variables for consistency */
:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --dark-background: #0a0a0a;
  --light-text: #ffffff;
  --dark-text: #333333;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --light-grey-bg: #f1f3f5;
}

/* Overall page styling for top-10-reputable-bookmakers */
.page-top-10-reputable-bookmakers {
  background-color: var(--dark-background); /* Body background is dark */
  color: var(--light-text); /* Default text color for direct children of main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Container for main content sections */
.page-top-10-reputable-bookmakers__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* General section styling */
.page-top-10-reputable-bookmakers__intro-section,
.page-top-10-reputable-bookmakers__games-services-section,
.page-top-10-reputable-bookmakers__promotions-section,
.page-top-10-reputable-bookmakers__faq-section,
.page-top-10-reputable-bookmakers__blog-section {
  padding: 60px 0;
  background-color: var(--dark-background); /* Default section background */
  color: var(--light-text); /* Default section text color */
}

/* Specific section background overrides for better contrast */
.page-top-10-reputable-bookmakers__intro-section {
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

.page-top-10-reputable-bookmakers__section-title,
.page-top-10-reputable-bookmakers__main-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--light-text); /* Titles on dark background */
}

.page-top-10-reputable-bookmakers__main-title {
  font-size: 42px;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-top-10-reputable-bookmakers p {
  font-size: 17px;
  margin-bottom: 15px;
  color: var(--light-text); /* Paragraphs on dark background */
}

.page-top-10-reputable-bookmakers__feature-list,
.page-top-10-reputable-bookmakers__game-type-grid,
.page-top-10-reputable-bookmakers__promo-grid,
.page-top-10-reputable-bookmakers__blog-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

/* Feature List (Module 2) */
.page-top-10-reputable-bookmakers__feature-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 40px;
}

.page-top-10-reputable-bookmakers__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark background */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--light-text);
}

.page-top-10-reputable-bookmakers__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-top-10-reputable-bookmakers__feature-icon {
  width: 100%; /* Max width 100% is handled globally for images */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  max-width: 400px; /* Example max-width for feature icons */
  object-fit: cover;
}

.page-top-10-reputable-bookmakers__feature-item h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--light-text);
}

/* Game Type Grid (Module 3) */
.page-top-10-reputable-bookmakers__games-services-section {
  background-color: var(--light-grey-bg); /* Lighter background for this section */
  color: var(--dark-text); /* Dark text on light background */
}
.page-top-10-reputable-bookmakers__games-services-section .page-top-10-reputable-bookmakers__section-title {
    color: var(--dark-text); /* Title on light background */
}
.page-top-10-reputable-bookmakers__games-services-section p {
    color: var(--dark-text); /* Paragraphs on light background */
}

.page-top-10-reputable-bookmakers__game-type-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-top-10-reputable-bookmakers__game-type-card,
.page-top-10-reputable-bookmakers__promo-card,
.page-top-10-reputable-bookmakers__blog-card {
  background-color: var(--card-background);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--dark-text); /* Text on white card background */
}

.page-top-10-reputable-bookmakers__game-type-card:hover,
.page-top-10-reputable-bookmakers__promo-card:hover,
.page-top-10-reputable-bookmakers__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-top-10-reputable-bookmakers__game-type-image,
.page-top-10-reputable-bookmakers__promo-image,
.page-top-10-reputable-bookmakers__blog-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  max-width: 400px; /* Example max-width for feature icons */
  object-fit: cover;
}

.page-top-10-reputable-bookmakers__game-type-card h3,
.page-top-10-reputable-bookmakers__promo-card h3,
.page-top-10-reputable-bookmakers__blog-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.page-top-10-reputable-bookmakers__game-type-card p,
.page-top-10-reputable-bookmakers__promo-card p,
.page-top-10-reputable-bookmakers__blog-card p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--dark-text);
}

.page-top-10-reputable-bookmakers__blog-link {
  color: var(--dark-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-top-10-reputable-bookmakers__blog-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Promotions Section (Module 4) */
.page-top-10-reputable-bookmakers__promotions-section {
    background-color: var(--dark-background);
    color: var(--light-text);
}
.page-top-10-reputable-bookmakers__promotions-section .page-top-10-reputable-bookmakers__section-title {
    color: var(--light-text);
}
.page-top-10-reputable-bookmakers__promotions-section p {
    color: var(--light-text);
}

.page-top-10-reputable-bookmakers__promo-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Blog Section (Module 5) */
.page-top-10-reputable-bookmakers__blog-section {
    background-color: var(--light-grey-bg);
    color: var(--dark-text);
}
.page-top-10-reputable-bookmakers__blog-section .page-top-10-reputable-bookmakers__section-title {
    color: var(--dark-text);
}
.page-top-10-reputable-bookmakers__blog-section p {
    color: var(--dark-text);
}

.page-top-10-reputable-bookmakers__blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-top-10-reputable-bookmakers__blog-date {
  font-size: 14px;
  color: #777;
  margin-top: 10px;
  display: block;
}

.page-top-10-reputable-bookmakers__view-all-button {
    text-align: center;
    margin-top: 50px;
}

/* Buttons */
.page-top-10-reputable-bookmakers__btn-primary,
.page-top-10-reputable-bookmakers__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 15px; /* Added margin-top for spacing */
  width: fit-content; /* Adjust width to content */
}

.page-top-10-reputable-bookmakers__btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: 2px solid var(--primary-color);
}

.page-top-10-reputable-bookmakers__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-top-10-reputable-bookmakers__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-top-10-reputable-bookmakers__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section Styling */
.page-top-10-reputable-bookmakers__faq-section {
  background-color: var(--light-grey-bg); /* Lighter background for this section */
  color: var(--dark-text); /* Dark text on light background */
}
.page-top-10-reputable-bookmakers__faq-section .page-top-10-reputable-bookmakers__section-title {
    color: var(--dark-text); /* Title on light background */
}

.page-top-10-reputable-bookmakers__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-top-10-reputable-bookmakers__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-top-10-reputable-bookmakers__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-top-10-reputable-bookmakers__faq-item.active .page-top-10-reputable-bookmakers__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--dark-text);
}

.page-top-10-reputable-bookmakers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--dark-text);
}

.page-top-10-reputable-bookmakers__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-top-10-reputable-bookmakers__faq-question:active {
  background: #eeeeee;
}

.page-top-10-reputable-bookmakers__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: inherit; /* Inherit color from parent for contrast */
}

.page-top-10-reputable-bookmakers__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-top-10-reputable-bookmakers__faq-item.active .page-top-10-reputable-bookmakers__faq-toggle {
  color: #333;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-top-10-reputable-bookmakers__main-title {
    font-size: 36px;
  }
  .page-top-10-reputable-bookmakers__section-title {
    font-size: 30px;
  }
  .page-top-10-reputable-bookmakers__game-type-grid,
  .page-top-10-reputable-bookmakers__promo-grid,
  .page-top-10-reputable-bookmakers__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}