:root {
    --primary-color: #007BFF;
    --secondary-color: #28A745;
    --accent-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-light: #f1f3f5;
    --card-bg: #ffffff;
    --border-light: #e0e0e0;
}

/* Base styles for the page content to ensure contrast with body background */
.page-bookmaker-reviews-popular-platforms {
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light); /* Light background for main content area */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
    padding-top: 120px; /* Desktop: Adjust for fixed header */
}

.page-bookmaker-reviews-popular-platforms__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-bookmaker-reviews-popular-platforms__intro-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

.page-bookmaker-reviews-popular-platforms__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-bookmaker-reviews-popular-platforms__description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.page-bookmaker-reviews-popular-platforms__description a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-bookmaker-reviews-popular-platforms__description a:hover {
    color: #ffd700;
}

.page-bookmaker-reviews-popular-platforms__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-bookmaker-reviews-popular-platforms__platform-overview,
.page-bookmaker-reviews-popular-platforms__game-types,
.page-bookmaker-reviews-popular-platforms__promotions,
.page-bookmaker-reviews-popular-platforms__latest-blog,
.page-bookmaker-reviews-popular-platforms__faq-section {
    padding: 40px 0;
    margin-bottom: 20px;
}

.page-bookmaker-reviews-popular-platforms__content-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.page-bookmaker-reviews-popular-platforms__content-card h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-bookmaker-reviews-popular-platforms__content-card p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-bookmaker-reviews-popular-platforms__content-card p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews-popular-platforms__content-card p a:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews-popular-platforms__content-card ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-bookmaker-reviews-popular-platforms__content-card li {
    font-size: 1.1em;
    margin-bottom: 8px;
}

.page-bookmaker-reviews-popular-platforms__image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    display: block;
}

/* Latest Blog Section */
.page-bookmaker-reviews-popular-platforms__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-bookmaker-reviews-popular-platforms__blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bookmaker-reviews-popular-platforms__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-bookmaker-reviews-popular-platforms__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-bookmaker-reviews-popular-platforms__blog-content {
    padding: 25px;
}

.page-bookmaker-reviews-popular-platforms__blog-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-bookmaker-reviews-popular-platforms__blog-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-bookmaker-reviews-popular-platforms__blog-title a:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews-popular-platforms__blog-summary {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.page-bookmaker-reviews-popular-platforms__blog-date {
    font-size: 0.9em;
    color: #888888;
}

/* FAQ Section */
.page-bookmaker-reviews-popular-platforms__faq-list {
    margin-top: 30px;
}

.page-bookmaker-reviews-popular-platforms__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-bookmaker-reviews-popular-platforms__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-bookmaker-reviews-popular-platforms__faq-item.active .page-bookmaker-reviews-popular-platforms__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-bookmaker-reviews-popular-platforms__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;
}

.page-bookmaker-reviews-popular-platforms__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-bookmaker-reviews-popular-platforms__faq-question:active {
  background: #eeeeee;
}

.page-bookmaker-reviews-popular-platforms__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-bookmaker-reviews-popular-platforms__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-bookmaker-reviews-popular-platforms__faq-item.active .page-bookmaker-reviews-popular-platforms__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X or - */
}

.page-bookmaker-reviews-popular-platforms__faq-answer p {
    margin-bottom: 0;
}

.page-bookmaker-reviews-popular-platforms__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews-popular-platforms__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-bookmaker-reviews-popular-platforms__main-title {
        font-size: 2.5em;
    }

    .page-bookmaker-reviews-popular-platforms__section-title {
        font-size: 2em;
    }

    .page-bookmaker-reviews-popular-platforms__content-card {
        padding: 30px;
    }

    .page-bookmaker-reviews-popular-platforms__content-card h3 {
        font-size: 1.5em;
    }

    .page-bookmaker-reviews-popular-platforms__blog-title {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-bookmaker-reviews-popular-platforms {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-bookmaker-reviews-popular-platforms__container {
        padding: 0 15px;
    }

    .page-bookmaker-reviews-popular-platforms__intro-section {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .page-bookmaker-reviews-popular-platforms__main-title {
        font-size: 2em;
    }

    .page-bookmaker-reviews-popular-platforms__description {
        font-size: 1em;
    }

    .page-bookmaker-reviews-popular-platforms__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-bookmaker-reviews-popular-platforms__platform-overview,
    .page-bookmaker-reviews-popular-platforms__game-types,
    .page-bookmaker-reviews-popular-platforms__promotions,
    .page-bookmaker-reviews-popular-platforms__latest-blog,
    .page-bookmaker-reviews-popular-platforms__faq-section {
        padding: 30px 0;
    }

    .page-bookmaker-reviews-popular-platforms__content-card {
        padding: 25px;
        margin-bottom: 30px;
    }

    .page-bookmaker-reviews-popular-platforms__content-card h3 {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-bookmaker-reviews-popular-platforms__content-card p,
    .page-bookmaker-reviews-popular-platforms__content-card li {
        font-size: 0.95em;
    }

    .page-bookmaker-reviews-popular-platforms__image {
        max-height: 250px;
        margin-bottom: 20px;
    }

    .page-bookmaker-reviews-popular-platforms__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-bookmaker-reviews-popular-platforms__blog-image {
        height: 180px;
    }

    .page-bookmaker-reviews-popular-platforms__blog-content {
        padding: 20px;
    }

    .page-bookmaker-reviews-popular-platforms__blog-title {
        font-size: 1.1em;
    }

    .page-bookmaker-reviews-popular-platforms__blog-summary {
        font-size: 0.9em;
    }

    .page-bookmaker-reviews-popular-platforms__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-bookmaker-reviews-popular-platforms__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-bookmaker-reviews-popular-platforms__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-bookmaker-reviews-popular-platforms__faq-answer {
        padding: 0 15px;
    }

    .page-bookmaker-reviews-popular-platforms__faq-item.active .page-bookmaker-reviews-popular-platforms__faq-answer {
        padding: 15px !important;
    }
    
    .page-bookmaker-reviews-popular-platforms img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
      
    .page-bookmaker-reviews-popular-platforms__section,
    .page-bookmaker-reviews-popular-platforms__card,
    .page-bookmaker-reviews-popular-platforms__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}