/* style/resources-how-to-choose-a-reputable-casino.css */
:root {
    --primary-color: #B80F0A;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #000000;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-resources-how-to-choose-a-reputable-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from body, but explicitly set for clarity */
    padding-top: 120px; /* Desktop: Adjust for fixed header */
}

.page-resources-how-to-choose-a-reputable-casino__main-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 215, 0, 0.7)); /* Using brand colors */
    color: var(--text-light);
    padding-top: 60px; /* No fixed header padding needed here, it's already accounted for on .page-resources-how-to-choose-a-reputable-casino */
}

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

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

.page-resources-how-to-choose-a-reputable-casino__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-how-to-choose-a-reputable-casino__keyword {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-resources-how-to-choose-a-reputable-casino__main-image {
    width: 100%;
    height: auto;
    max-width: 900px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
    object-fit: cover;
}

.page-resources-how-to-choose-a-reputable-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-resources-how-to-choose-a-reputable-casino__cta-button:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-a-reputable-casino__section {
    padding: 60px 0;
}

.page-resources-how-to-choose-a-reputable-casino__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-how-to-choose-a-reputable-casino__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-how-to-choose-a-reputable-casino__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: inherit;
}

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

.page-resources-how-to-choose-a-reputable-casino__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-resources-how-to-choose-a-reputable-casino__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-how-to-choose-a-reputable-casino__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-a-reputable-casino__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-resources-how-to-choose-a-reputable-casino__card-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-how-to-choose-a-reputable-casino__card p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-resources-how-to-choose-a-reputable-casino__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-how-to-choose-a-reputable-casino__text-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-resources-how-to-choose-a-reputable-casino__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-resources-how-to-choose-a-reputable-casino__list li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-resources-how-to-choose-a-reputable-casino__list li p {
    margin: 0;
    color: var(--text-light);
}

.page-resources-how-to-choose-a-reputable-casino__list li strong {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.1em;
}

/* FAQ Styles */
.page-resources-how-to-choose-a-reputable-casino__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources-how-to-choose-a-reputable-casino__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 20px;
    opacity: 0;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 0 0 8px 8px;
}

.page-resources-how-to-choose-a-reputable-casino__faq-item.active .page-resources-how-to-choose-a-reputable-casino__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
}

.page-resources-how-to-choose-a-reputable-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    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-reputable-casino__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

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

.page-resources-how-to-choose-a-reputable-casino__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(--text-dark);
}

.page-resources-how-to-choose-a-reputable-casino__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-reputable-casino__faq-item.active .page-resources-how-to-choose-a-reputable-casino__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.page-resources-how-to-choose-a-reputable-casino__text-contrast-fix {
  color: var(--text-light) !important; /* Ensures text is light on dark backgrounds */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-choose-a-reputable-casino__main-title {
        font-size: 2.5em;
    }
    .page-resources-how-to-choose-a-reputable-casino__section-title {
        font-size: 2em;
    }
    .page-resources-how-to-choose-a-reputable-casino__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources-how-to-choose-a-reputable-casino__grid--two-columns {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-a-reputable-casino {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        font-size: 15px;
    }
    .page-resources-how-to-choose-a-reputable-casino__main-hero-section {
        padding: 40px 15px;
    }
    .page-resources-how-to-choose-a-reputable-casino__main-title {
        font-size: 2em;
    }
    .page-resources-how-to-choose-a-reputable-casino__intro-text {
        font-size: 1em;
    }
    .page-resources-how-to-choose-a-reputable-casino__section {
        padding: 40px 0;
    }
    .page-resources-how-to-choose-a-reputable-casino__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-how-to-choose-a-reputable-casino__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-how-to-choose-a-reputable-casino__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-how-to-choose-a-reputable-casino__grid--two-columns {
        grid-template-columns: 1fr;
    }
    .page-resources-how-to-choose-a-reputable-casino__card {
        padding: 20px;
    }
    .page-resources-how-to-choose-a-reputable-casino__card-title {
        font-size: 1.4em;
    }
    .page-resources-how-to-choose-a-reputable-casino__list li {
        padding: 15px;
    }
    .page-resources-how-to-choose-a-reputable-casino__faq-question {
        padding: 15px;
    }
    .page-resources-how-to-choose-a-reputable-casino__faq-question h3 {
        font-size: 1em;
    }
    .page-resources-how-to-choose-a-reputable-casino__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-resources-how-to-choose-a-reputable-casino__faq-answer {
        padding: 0 15px;
    }
    .page-resources-how-to-choose-a-reputable-casino__faq-item.active .page-resources-how-to-choose-a-reputable-casino__faq-answer {
        padding: 15px !important;
    }
    .page-resources-how-to-choose-a-reputable-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}