/* style/resources-how-to-choose-top-bookmakers.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0a0a0a; /* Body background from shared.css */
    --card-background: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-top-bookmakers {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Main text color for dark body background */
    background-color: var(--background-dark);
    line-height: 1.6;
}

/* --- General Layout & Spacing --- */
.page-resources-how-to-choose-top-bookmakers__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-how-to-choose-top-bookmakers__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-resources-how-to-choose-top-bookmakers__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Section Specific Styles --- */
.page-resources-how-to-choose-top-bookmakers__intro-section {
    padding: 120px 0 60px; /* Desktop padding-top for fixed header */
    background: linear-gradient(135deg, var(--primary-color), #001a4d); /* Darker shade of primary */
    color: var(--text-light);
}

.page-resources-how-to-choose-top-bookmakers__main-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-resources-how-to-choose-top-bookmakers__intro-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-choose-top-bookmakers__criteria-section {
    padding: 60px 0;
    background-color: var(--background-dark); /* Ensure this section's background matches body */
}

.page-resources-how-to-choose-top-bookmakers__criteria-section .page-resources-how-to-choose-top-bookmakers__section-title,
.page-resources-how-to-choose-top-bookmakers__criteria-section .page-resources-how-to-choose-top-bookmakers__section-description {
    color: var(--text-light);
}

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

.page-resources-how-to-choose-top-bookmakers__card {
    background: var(--card-background);
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-resources-how-to-choose-top-bookmakers__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.page-resources-how-to-choose-top-bookmakers__card-image {
    width: 100%;
    max-width: 300px; /* Adjust as needed for card images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-resources-how-to-choose-top-bookmakers__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.page-resources-how-to-choose-top-bookmakers__benefits-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.page-resources-how-to-choose-top-bookmakers__benefits-section .page-resources-how-to-choose-top-bookmakers__section-title,
.page-resources-how-to-choose-top-bookmakers__benefits-section .page-resources-how-to-choose-top-bookmakers__section-description {
    color: var(--secondary-color);
}

.page-resources-how-to-choose-top-bookmakers__benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-how-to-choose-top-bookmakers__benefit-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-top-bookmakers__benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-resources-how-to-choose-top-bookmakers__benefit-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-resources-how-to-choose-top-bookmakers__benefit-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-resources-how-to-choose-top-bookmakers__benefit-text {
    font-size: 16px;
    color: var(--text-light);
}

.page-resources-how-to-choose-top-bookmakers__mistakes-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-resources-how-to-choose-top-bookmakers__mistakes-section .page-resources-how-to-choose-top-bookmakers__section-title,
.page-resources-how-to-choose-top-bookmakers__mistakes-section .page-resources-how-to-choose-top-bookmakers__section-description {
    color: var(--text-light);
}

.page-resources-how-to-choose-top-bookmakers__mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-how-to-choose-top-bookmakers__mistake-card {
    background: var(--card-background);
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-choose-top-bookmakers__mistake-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.page-resources-how-to-choose-top-bookmakers__mistake-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.page-resources-how-to-choose-top-bookmakers__guide-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.page-resources-how-to-choose-top-bookmakers__guide-section .page-resources-how-to-choose-top-bookmakers__section-title,
.page-resources-how-to-choose-top-bookmakers__guide-section .page-resources-how-to-choose-top-bookmakers__section-description {
    color: var(--secondary-color);
}

.page-resources-how-to-choose-top-bookmakers__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-resources-how-to-choose-top-bookmakers__step-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-top-bookmakers__step-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-resources-how-to-choose-top-bookmakers__step-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-how-to-choose-top-bookmakers__step-text {
    font-size: 16px;
    color: var(--text-light);
}

.page-resources-how-to-choose-top-bookmakers__inline-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-how-to-choose-top-bookmakers__inline-link:hover {
    color: #ffd700;
}

.page-resources-how-to-choose-top-bookmakers__faq-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-resources-how-to-choose-top-bookmakers__faq-section .page-resources-how-to-choose-top-bookmakers__section-title {
    color: var(--text-light);
}

.page-resources-how-to-choose-top-bookmakers__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-resources-how-to-choose-top-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;
    color: var(--text-dark);
}

.page-resources-how-to-choose-top-bookmakers__faq-item.active .page-resources-how-to-choose-top-bookmakers__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-resources-how-to-choose-top-bookmakers__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-background);
    border: 1px solid var(--border-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-dark);
}

.page-resources-how-to-choose-top-bookmakers__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-how-to-choose-top-bookmakers__faq-question:active {
    background: #eeeeee;
}

.page-resources-how-to-choose-top-bookmakers__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-resources-how-to-choose-top-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-resources-how-to-choose-top-bookmakers__faq-item.active .page-resources-how-to-choose-top-bookmakers__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

.page-resources-how-to-choose-top-bookmakers__conclusion-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #001a4d);
    color: var(--text-light);
    text-align: center;
}

.page-resources-how-to-choose-top-bookmakers__conclusion-section .page-resources-how-to-choose-top-bookmakers__section-title {
    color: var(--secondary-color);
}

.page-resources-how-to-choose-top-bookmakers__conclusion-text {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CTA Button Styles --- */
.page-resources-how-to-choose-top-bookmakers__cta-button {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.page-resources-how-to-choose-top-bookmakers__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
}

.page-resources-how-to-choose-top-bookmakers__btn-primary:hover {
    background: #ffc107;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-top-bookmakers__btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-choose-top-bookmakers__btn-secondary:hover {
    background: #001a4d;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- Color Contrast Fixes (if needed) --- */
.page-resources-how-to-choose-top-bookmakers__dark-bg {
    color: var(--text-light); /* Deep background with light text */
}

.page-resources-how-to-choose-top-bookmakers__light-bg {
    color: var(--text-dark); /* Light background with dark text */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-resources-how-to-choose-top-bookmakers__main-title {
        font-size: 40px;
    }
    .page-resources-how-to-choose-top-bookmakers__section-title {
        font-size: 32px;
    }
    .page-resources-how-to-choose-top-bookmakers__intro-text,
    .page-resources-how-to-choose-top-bookmakers__section-description {
        font-size: 17px;
    }
    .page-resources-how-to-choose-top-bookmakers__card-title,
    .page-resources-how-to-choose-top-bookmakers__benefit-title,
    .page-resources-how-to-choose-top-bookmakers__mistake-title,
    .page-resources-how-to-choose-top-bookmakers__step-title {
        font-size: 20px;
    }
    .page-resources-how-to-choose-top-bookmakers__card-text,
    .page-resources-how-to-choose-top-bookmakers__benefit-text,
    .page-resources-how-to-choose-top-bookmakers__mistake-text,
    .page-resources-how-to-choose-top-bookmakers__step-text,
    .page-resources-how-to-choose-top-bookmakers__conclusion-text {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-top-bookmakers__intro-section {
        padding-top: 100px !important; /* Mobile padding-top for fixed header */
        padding-bottom: 40px;
    }
    .page-resources-how-to-choose-top-bookmakers__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-how-to-choose-top-bookmakers__main-title {
        font-size: 32px;
    }
    .page-resources-how-to-choose-top-bookmakers__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-resources-how-to-choose-top-bookmakers__section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }
    .page-resources-how-to-choose-top-bookmakers__grid,
    .page-resources-how-to-choose-top-bookmakers__benefit-list,
    .page-resources-how-to-choose-top-bookmakers__mistakes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-how-to-choose-top-bookmakers__card,
    .page-resources-how-to-choose-top-bookmakers__benefit-item,
    .page-resources-how-to-choose-top-bookmakers__mistake-card,
    .page-resources-how-to-choose-top-bookmakers__step-item {
        padding: 20px;
    }
    .page-resources-how-to-choose-top-bookmakers__card-image {
        max-width: 250px;
    }
    .page-resources-how-to-choose-top-bookmakers__card-title,
    .page-resources-how-to-choose-top-bookmakers__benefit-title,
    .page-resources-how-to-choose-top-bookmakers__mistake-title,
    .page-resources-how-to-choose-top-bookmakers__step-title {
        font-size: 18px;
    }
    .page-resources-how-to-choose-top-bookmakers__card-text,
    .page-resources-how-to-choose-top-bookmakers__benefit-text,
    .page-resources-how-to-choose-top-bookmakers__mistake-text,
    .page-resources-how-to-choose-top-bookmakers__step-text,
    .page-resources-how-to-choose-top-bookmakers__conclusion-text {
        font-size: 14px;
    }
    .page-resources-how-to-choose-top-bookmakers__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-resources-how-to-choose-top-bookmakers__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-how-to-choose-top-bookmakers__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-resources-how-to-choose-top-bookmakers__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-resources-how-to-choose-top-bookmakers__faq-answer {
        padding: 0 15px;
    }
    .page-resources-how-to-choose-top-bookmakers__faq-item.active .page-resources-how-to-choose-top-bookmakers__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image responsive adaptation */
    .page-resources-how-to-choose-top-bookmakers img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-resources-how-to-choose-top-bookmakers__intro-section,
    .page-resources-how-to-choose-top-bookmakers__criteria-section,
    .page-resources-how-to-choose-top-bookmakers__benefits-section,
    .page-resources-how-to-choose-top-bookmakers__mistakes-section,
    .page-resources-how-to-choose-top-bookmakers__guide-section,
    .page-resources-how-to-choose-top-bookmakers__faq-section,
    .page-resources-how-to-choose-top-bookmakers__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}