/* style/resources-how-to-choose-a-trusted-bookmaker.css */
:root {
    --primary-color: #FF4500;
    --secondary-color: #1E90FF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
}

.page-resources-how-to-choose-a-trusted-bookmaker {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default for dark body background */
    background-color: var(--dark-bg-1);
}

.page-resources-how-to-choose-a-trusted-bookmaker__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-how-to-choose-a-trusted-bookmaker__hero-content-area {
    padding-top: 180px; /* Adjust for fixed header */
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.page-resources-how-to-choose-a-trusted-bookmaker__main-title {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-how-to-choose-a-trusted-bookmaker__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-how-to-choose-a-trusted-bookmaker__hero-image-content {
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-a-trusted-bookmaker__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-how-to-choose-a-trusted-bookmaker__cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-a-trusted-bookmaker__content-section {
    padding: 60px 0;
}

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

.page-resources-how-to-choose-a-trusted-bookmaker__dark-bg .page-resources-how-to-choose-a-trusted-bookmaker__section-title,
.page-resources-how-to-choose-a-trusted-bookmaker__dark-bg p,
.page-resources-how-to-choose-a-trusted-bookmaker__dark-bg li,
.page-resources-how-to-choose-a-trusted-bookmaker__dark-bg h3 {
    color: var(--text-light);
}

.page-resources-how-to-choose-a-trusted-bookmaker__text-block {
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: 30px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.page-resources-how-to-choose-a-trusted-bookmaker__text-block h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.page-resources-how-to-choose-a-trusted-bookmaker__text-block p {
    font-size: 16px;
    margin-bottom: 10px;
}

.page-resources-how-to-choose-a-trusted-bookmaker__text-block .page-resources-how-to-choose-a-trusted-bookmaker__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.page-resources-how-to-choose-a-trusted-bookmaker__highlight-keyword {
    color: var(--primary-color);
    font-weight: bold;
}

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

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

.page-resources-how-to-choose-a-trusted-bookmaker__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-a-trusted-bookmaker__feature-icon {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources-how-to-choose-a-trusted-bookmaker__feature-card p {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.page-resources-how-to-choose-a-trusted-bookmaker__list {
    list-style: disc inside;
    text-align: left;
    margin-top: 15px;
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-dark);
}

.page-resources-how-to-choose-a-trusted-bookmaker__list li {
    margin-bottom: 8px;
    font-size: 15px;
}

.page-resources-how-to-choose-a-trusted-bookmaker__button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.page-resources-how-to-choose-a-trusted-bookmaker__button--primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid transparent;
}

.page-resources-how-to-choose-a-trusted-bookmaker__button--primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-resources-how-to-choose-a-trusted-bookmaker__button--secondary {
    background: var(--text-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-choose-a-trusted-bookmaker__button--secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-resources-how-to-choose-a-trusted-bookmaker__cta-section {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.page-resources-how-to-choose-a-trusted-bookmaker__cta-section p {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-light);
}

/* FAQ Section */
.page-resources-how-to-choose-a-trusted-bookmaker__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-resources-how-to-choose-a-trusted-bookmaker__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-resources-how-to-choose-a-trusted-bookmaker__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 20px;
    opacity: 0;
}

.page-resources-how-to-choose-a-trusted-bookmaker__faq-item.active .page-resources-how-to-choose-a-trusted-bookmaker__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: var(--bg-light);
    border-radius: 0 0 8px 8px;
    color: var(--text-dark);
}

.page-resources-how-to-choose-a-trusted-bookmaker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    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;
    color: var(--text-dark);
}

.page-resources-how-to-choose-a-trusted-bookmaker__faq-question:hover {
    background: var(--bg-light);
    border-color: #d0d0d0;
}

.page-resources-how-to-choose-a-trusted-bookmaker__faq-question:active {
    background: #eeeeee;
}

.page-resources-how-to-choose-a-trusted-bookmaker__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-resources-how-to-choose-a-trusted-bookmaker__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-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-a-trusted-bookmaker__faq-item.active .page-resources-how-to-choose-a-trusted-bookmaker__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-choose-a-trusted-bookmaker__main-title {
        font-size: 38px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__intro-text {
        font-size: 17px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__section-title {
        font-size: 28px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__feature-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-a-trusted-bookmaker__hero-content-area {
        padding-top: 160px !important; /* Mobile fixed header adjustment */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__main-title {
        font-size: 30px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__intro-text {
        font-size: 15px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__content-section {
        padding: 40px 0;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__text-block {
        padding: 20px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__feature-card {
        padding: 25px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__feature-icon {
        width: 120px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__feature-title {
        font-size: 20px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__feature-card p,
    .page-resources-how-to-choose-a-trusted-bookmaker__list li {
        font-size: 14px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__cta-section {
        padding: 30px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__cta-section p {
        font-size: 18px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__faq-list {
        margin: 30px auto;
        padding: 0 15px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__faq-question {
        padding: 15px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__faq-question h3 {
        font-size: 15px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .page-resources-how-to-choose-a-trusted-bookmaker__faq-item.active .page-resources-how-to-choose-a-trusted-bookmaker__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images are responsive and do not overflow */
    .page-resources-how-to-choose-a-trusted-bookmaker img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-resources-how-to-choose-a-trusted-bookmaker__section,
    .page-resources-how-to-choose-a-trusted-bookmaker__card,
    .page-resources-how-to-choose-a-trusted-bookmaker__container,
    .page-resources-how-to-choose-a-trusted-bookmaker__feature-card,
    .page-resources-how-to-choose-a-trusted-bookmaker__text-block,
    .page-resources-how-to-choose-a-trusted-bookmaker__cta-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}