/* style/resources-betting-guide.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #0d0d0d; /* Assuming shared.css defines --dark-bg1 as a dark color */
    --login-button-color: #EA7C07;
}

.page-resources-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Default text color for dark body background */
    background-color: var(--dark-bg1); /* Inherited from shared.css */
}

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

.page-resources-betting-guide__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: var(--light-text-color);
    text-align: center;
    padding: 100px 20px;
    background-color: var(--primary-color);
    padding-top: var(--header-offset, 120px);
}

.page-resources-betting-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-resources-betting-guide__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-resources-betting-guide__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-resources-betting-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-resources-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-resources-betting-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.page-resources-betting-guide__introduction,
.page-resources-betting-guide__deposit-withdraw,
.page-resources-betting-guide__responsible-betting,
.page-resources-betting-guide__faq {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--dark-text-color);
}

.page-resources-betting-guide__getting-started,
.page-resources-betting-guide__game-types,
.page-resources-betting-guide__promotions,
.page-resources-betting-guide__cta-section {
    padding: 80px 0;
    background-color: var(--dark-bg1);
    color: var(--light-text-color);
}

.page-resources-betting-guide__section-title {
    color: var(--dark-text-color);
}

.page-resources-betting-guide__dark-bg .page-resources-betting-guide__section-title {
    color: var(--light-text-color);
}

.page-resources-betting-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

.page-resources-betting-guide__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-resources-betting-guide__btn-primary,
.page-resources-betting-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-resources-betting-guide__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-betting-guide__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-resources-betting-guide__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-betting-guide__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-betting-guide__dark-bg .page-resources-betting-guide__btn-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-resources-betting-guide__dark-bg .page-resources-betting-guide__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-betting-guide__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-resources-betting-guide__steps-grid,
.page-resources-betting-guide__grid-2-cols,
.page-resources-betting-guide__games-grid,
.page-resources-betting-guide__promotions-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.page-resources-betting-guide__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources-betting-guide__grid-2-cols {
    grid-template-columns: 1fr 1fr;
}

.page-resources-betting-guide__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-resources-betting-guide__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources-betting-guide__card {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.page-resources-betting-guide__dark-bg .page-resources-betting-guide__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-betting-guide__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-betting-guide__dark-bg .page-resources-betting-guide__card-title {
    color: var(--secondary-color);
}

.page-resources-betting-guide__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-resources-betting-guide__card-title a:hover {
    text-decoration: underline;
}

.page-resources-betting-guide__card-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    min-width: 200px; /* Ensure min display size */
    min-height: 200px; /* Ensure min display size */
}

.page-resources-betting-guide__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 40px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px; /* Ensure min display size */
    min-height: 200px; /* Ensure min display size */
}

.page-resources-betting-guide__list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 20px;
}

.page-resources-betting-guide__list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    font-size: 1.05em;
}

.page-resources-betting-guide__list-icon {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.page-resources-betting-guide__dark-bg .page-resources-betting-guide__list-icon {
    color: var(--secondary-color);
}

.page-resources-betting-guide__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-resources-betting-guide__tips-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
}

.page-resources-betting-guide__tips-list li {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
}

.page-resources-betting-guide__tips-list li span:first-child {
    font-size: 1.5em;
    margin-right: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.page-resources-betting-guide__faq-list {
    max-width: 800px;
    margin: 40px auto;
}

.page-resources-betting-guide__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

.page-resources-betting-guide__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.page-resources-betting-guide__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-resources-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-resources-betting-guide__faq-qtext {
    flex-grow: 1;
}

.page-resources-betting-guide__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-resources-betting-guide__faq-item[open] .page-resources-betting-guide__faq-toggle {
    content: '−';
}

.page-resources-betting-guide__faq-answer {
    padding: 20px 25px;
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border-top: 1px solid #e0e0e0;
}

.page-resources-betting-guide__faq-answer p {
    margin-bottom: 0;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-betting-guide__main-title {
        font-size: 3em;
    }

    .page-resources-betting-guide__section-title {
        font-size: 2em;
    }

    .page-resources-betting-guide__hero-section {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-resources-betting-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-betting-guide__hero-section {
        padding: 80px 15px;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-betting-guide__main-title {
        font-size: 2.2em;
    }

    .page-resources-betting-guide__description {
        font-size: 1em;
    }

    .page-resources-betting-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-betting-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-betting-guide__btn-primary,
    .page-resources-betting-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
        margin-left: auto; /* Center individual buttons in column layout */
        margin-right: auto;
    }

    .page-resources-betting-guide__steps-grid,
    .page-resources-betting-guide__grid-2-cols,
    .page-resources-betting-guide__games-grid,
    .page-resources-betting-guide__promotions-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .page-resources-betting-guide__card {
        padding: 20px;
    }

    .page-resources-betting-guide__introduction,
    .page-resources-betting-guide__getting-started,
    .page-resources-betting-guide__deposit-withdraw,
    .page-resources-betting-guide__game-types,
    .page-resources-betting-guide__responsible-betting,
    .page-resources-betting-guide__promotions,
    .page-resources-betting-guide__faq,
    .page-resources-betting-guide__cta-section {
        padding: 50px 0;
    }

    .page-resources-betting-guide__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-betting-guide__content-image {
        margin: 30px auto;
    }

    .page-resources-betting-guide__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-resources-betting-guide__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-betting-guide__main-title {
        font-size: 1.8em;
    }

    .page-resources-betting-guide__section-title {
        font-size: 1.5em;
    }

    .page-resources-betting-guide__hero-section {
        min-height: 350px;
    }
}