/* style/betting-site-comparison.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-betting-site-comparison {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-light);
}

/* Ensure content is not hidden by fixed header */
.page-betting-site-comparison__hero-placeholder {
    padding-top: 120px; /* Desktop: Adjust based on header height */
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding-bottom: 60px;
}

.page-betting-site-comparison__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-betting-site-comparison__description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-betting-site-comparison__keyword {
    font-weight: bold;
    color: var(--text-light);
}

.page-betting-site-comparison__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-betting-site-comparison__cta-button:hover {
    background: #218838; /* Darker secondary color */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-betting-site-comparison__cta-button--large {
    font-size: 1.3em;
    padding: 20px 40px;
}

.page-betting-site-comparison__center-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-betting-site-comparison__section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-betting-site-comparison__section-title {
    font-size: 2.5em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-betting-site-comparison__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: #555555;
}

.page-betting-site-comparison__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-betting-site-comparison__card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-betting-site-comparison__card p {
    margin-bottom: 15px;
}

.page-betting-site-comparison__card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-betting-site-comparison__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 25px;
}

.page-betting-site-comparison__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-betting-site-comparison__icon {
    max-width: 80px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.page-betting-site-comparison__criteria-card h3 {
    color: var(--text-dark);
}

.page-betting-site-comparison__game-type-card {
    text-align: center;
}

.page-betting-site-comparison__game-type-card h3 {
    color: var(--text-dark);
    font-size: 1.4em;
}

.page-betting-site-comparison__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-betting-site-comparison__link-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-betting-site-comparison__link-button:hover {
    background: #0056b3; /* Darker primary color */
}

.page-betting-site-comparison__article-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-betting-site-comparison__article-card h3 a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* FAQ Section */
.page-betting-site-comparison__faq-section {
    background-color: #f1f3f5;
    padding: 60px 0;
}

.page-betting-site-comparison__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-betting-site-comparison__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-betting-site-comparison__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-betting-site-comparison__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-betting-site-comparison__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
    pointer-events: none;
}

.page-betting-site-comparison__faq-toggle {
    font-size: 2em;
    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: 30px;
    height: 30px;
}

.page-betting-site-comparison__faq-item.active .page-betting-site-comparison__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

.page-betting-site-comparison__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 25px;
    opacity: 0;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    color: #555555;
}

.page-betting-site-comparison__faq-item.active .page-betting-site-comparison__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px !important;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-betting-site-comparison__main-title {
        font-size: 2.5em;
    }
    .page-betting-site-comparison__section-title {
        font-size: 2em;
    }
    .page-betting-site-comparison__grid {
        grid-template-columns: 1fr;
    }
    .page-betting-site-comparison__card {
        padding: 25px;
    }
    .page-betting-site-comparison__hero-placeholder {
        padding-top: 100px; /* Tablet: Adjust for smaller header */
        padding-bottom: 40px;
    }
    .page-betting-site-comparison__faq-question h3 {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-betting-site-comparison__hero-placeholder {
        padding-top: 100px !important; /* Mobile: Adjust for mobile header */
        padding-bottom: 30px;
    }
    .page-betting-site-comparison__main-title {
        font-size: 2em;
    }
    .page-betting-site-comparison__description {
        font-size: 1em;
    }
    .page-betting-site-comparison__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-betting-site-comparison__cta-button--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    .page-betting-site-comparison__section {
        padding: 40px 0;
    }
    .page-betting-site-comparison__section-title {
        font-size: 1.8em;
    }
    .page-betting-site-comparison__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-betting-site-comparison__container {
        padding: 0 15px;
    }
    .page-betting-site-comparison__card {
        padding: 20px;
    }
    .page-betting-site-comparison__card h3 {
        font-size: 1.2em;
    }
    .page-betting-site-comparison img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-betting-site-comparison__section,
    .page-betting-site-comparison__card,
    .page-betting-site-comparison__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-betting-site-comparison__faq-question {
        padding: 15px 20px;
    }
    .page-betting-site-comparison__faq-question h3 {
        font-size: 0.95em;
    }
    .page-betting-site-comparison__faq-toggle {
        font-size: 1.8em;
        width: 25px;
        height: 25px;
    }
    .page-betting-site-comparison__faq-answer {
        padding: 0 20px;
    }
    .page-betting-site-comparison__faq-item.active .page-betting-site-comparison__faq-answer {
        padding: 15px 20px !important;
    }
}