/* style/resources-online-casino-beginner-guide.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey */
    --accent-color: #DC3545; /* Red for emphasis */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light: #f1f3f5;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-online-casino-beginner-guide {
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherits from body, but explicitly set for contrast logic */
    padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

.page-resources-online-casino-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-online-casino-beginner-guide__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #2b2b2b, #0a0a0a);
    color: var(--text-light);
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    padding-bottom: 80px;
}

.page-resources-online-casino-beginner-guide__main-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-online-casino-beginner-guide__main-title .highlight {
    color: var(--primary-color);
}

.page-resources-online-casino-beginner-guide__subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #cccccc;
}

.page-resources-online-casino-beginner-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-resources-online-casino-beginner-guide__cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-online-casino-beginner-guide__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-online-casino-beginner-guide__cta-button--secondary:hover {
    background: #000000;
    color: var(--primary-color);
    border-color: #e6c200;
}

.page-resources-online-casino-beginner-guide__section {
    padding: 60px 0;
    margin-bottom: 20px; /* Add margin between sections */
    border-radius: 10px;
    overflow: hidden;
}

.page-resources-online-casino-beginner-guide__dark-bg {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-resources-online-casino-beginner-guide__light-bg {
    background-color: var(--card-bg);
    color: var(--text-dark);
}

.page-resources-online-casino-beginner-guide__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-resources-online-casino-beginner-guide__dark-bg .page-resources-online-casino-beginner-guide__section-title {
    color: var(--primary-color);
}

.page-resources-online-casino-beginner-guide__content-block {
    line-height: 1.7;
    font-size: 1.1em;
}

.page-resources-online-casino-beginner-guide__content-block p {
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-online-casino-beginner-guide__content-block strong {
    color: inherit;
}

.page-resources-online-casino-beginner-guide__content-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-online-casino-beginner-guide__content-block a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-resources-online-casino-beginner-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-casino-beginner-guide__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-online-casino-beginner-guide__list li {
    margin-bottom: 10px;
    color: inherit;
}

.page-resources-online-casino-beginner-guide__ordered-list {
    list-style-type: decimal;
    margin-left: 25px;
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-online-casino-beginner-guide__ordered-list li {
    margin-bottom: 10px;
    color: inherit;
}

.page-resources-online-casino-beginner-guide__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-online-casino-beginner-guide__faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-online-casino-beginner-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-online-casino-beginner-guide__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: #f9f9f9;
    color: var(--text-dark);
}

.page-resources-online-casino-beginner-guide__faq-item.active .page-resources-online-casino-beginner-guide__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid var(--border-color);
}

.page-resources-online-casino-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg);
    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-online-casino-beginner-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-online-casino-beginner-guide__faq-question:active {
    background: #eeeeee;
}

.page-resources-online-casino-beginner-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: inherit;
}

.page-resources-online-casino-beginner-guide__faq-toggle {
    font-size: 1.8em;
    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;
    border-radius: 50%;
    background-color: #f0f0f0;
}

.page-resources-online-casino-beginner-guide__faq-item.active .page-resources-online-casino-beginner-guide__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
    background-color: var(--secondary-color);
}

.page-resources-online-casino-beginner-guide__faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

.page-resources-online-casino-beginner-guide__final-cta {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-online-casino-beginner-guide__final-cta .page-resources-online-casino-beginner-guide__section-title {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-resources-online-casino-beginner-guide__final-cta p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-resources-online-casino-beginner-guide__final-cta .page-resources-online-casino-beginner-guide__cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
}

.page-resources-online-casino-beginner-guide__final-cta .page-resources-online-casino-beginner-guide__cta-button:hover {
    background: #000000;
    color: var(--primary-color);
}

/* All images responsive base styles */
.page-resources-online-casino-beginner-guide img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-resources-online-casino-beginner-guide {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        font-size: 15px;
        line-height: 1.6;
    }

    .page-resources-online-casino-beginner-guide__container {
        padding: 0 15px;
    }

    .page-resources-online-casino-beginner-guide__hero-banner {
        padding: 60px 15px;
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 60px;
    }

    .page-resources-online-casino-beginner-guide__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-resources-online-casino-beginner-guide__subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .page-resources-online-casino-beginner-guide__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-online-casino-beginner-guide__section {
        padding: 30px 0;
    }

    .page-resources-online-casino-beginner-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-online-casino-beginner-guide__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-resources-online-casino-beginner-guide__content-block {
        font-size: 1em;
    }

    .page-resources-online-casino-beginner-guide__list,
    .page-resources-online-casino-beginner-guide__ordered-list {
        margin-left: 20px;
    }

    .page-resources-online-casino-beginner-guide__image {
        margin: 20px auto;
    }

    .page-resources-online-casino-beginner-guide__faq-section {
        padding: 30px 0;
    }

    .page-resources-online-casino-beginner-guide__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-resources-online-casino-beginner-guide__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-resources-online-casino-beginner-guide__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 1.5em;
    }

    .page-resources-online-casino-beginner-guide__faq-answer {
        padding: 0 15px;
    }

    .page-resources-online-casino-beginner-guide__faq-item.active .page-resources-online-casino-beginner-guide__faq-answer {
        padding: 15px !important;
    }

    .page-resources-online-casino-beginner-guide__final-cta {
        padding: 40px 15px;
        margin-top: 20px;
    }

    .page-resources-online-casino-beginner-guide__final-cta .page-resources-online-casino-beginner-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-online-casino-beginner-guide__final-cta p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Mobile image responsive override */
    .page-resources-online-casino-beginner-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-resources-online-casino-beginner-guide__section,
    .page-resources-online-casino-beginner-guide__container,
    .page-resources-online-casino-beginner-casino-beginner-guide__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}