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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --bg-color-dark: #1a1a2e;
    --bg-color-light: #f5f5f5;
    --btn-register-color: #C30808;
    --btn-login-color: #C30808;
    --btn-font-color: #FFFF00;
}

.page-resources-online-betting-guide {
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-resources-online-betting-guide__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: calc(var(--header-offset, 120px) + 80px); /* Ensure content below header */
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-resources-online-betting-guide__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-online-betting-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-online-betting-guide__btn-primary,
.page-resources-online-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;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-online-betting-guide__btn-primary {
    background-color: var(--btn-register-color); /* Custom color for register/primary action */
    color: var(--btn-font-color); /* Custom font color */
    border: 2px solid var(--btn-register-color);
}

.page-resources-online-betting-guide__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
}

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

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

.page-resources-online-betting-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-online-betting-guide__introduction,
.page-resources-online-betting-guide__transactions,
.page-resources-online-betting-guide__tips-strategy,
.page-resources-online-betting-guide__conclusion {
    background-color: var(--bg-color-light);
    color: var(--text-color-light-bg);
    padding: 60px 0;
}

.page-resources-online-betting-guide__games,
.page-resources-online-betting-guide__getting-started,
.page-resources-online-betting-guide__faq-section {
    background-color: var(--bg-color-dark);
    color: var(--text-color-dark-bg);
    padding: 60px 0;
}

.page-resources-online-betting-guide__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-resources-online-betting-guide__text-block h3 {
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-online-betting-guide__introduction .page-resources-online-betting-guide__text-block h3 {
    color: var(--primary-color);
}

.page-resources-online-betting-guide__image-wrapper {
    text-align: center;
}

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

.page-resources-online-betting-guide__process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-betting-guide__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color-dark-bg);
}

.page-resources-online-betting-guide__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-online-betting-guide__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-resources-online-betting-guide__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

.page-resources-online-betting-guide__content-area ol,
.page-resources-online-betting-guide__content-area ul {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-resources-online-betting-guide__content-area li {
    margin-bottom: 10px;
}

.page-resources-online-betting-guide__subtitle {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-online-betting-guide__transactions .page-resources-online-betting-guide__subtitle,
.page-resources-online-betting-guide__tips-strategy .page-resources-online-betting-guide__subtitle {
    color: var(--primary-color);
}

.page-resources-online-betting-guide__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-betting-guide__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-color-dark-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-resources-online-betting-guide__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-resources-online-betting-guide__card-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.page-resources-online-betting-guide__card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-online-betting-guide__section-intro {
    text-align: center;
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-resources-online-betting-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-resources-online-betting-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-online-betting-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-online-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-color-dark-bg);
}

.page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-resources-online-betting-guide__faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-online-betting-guide__hero-title {
        font-size: 2.5em;
    }
    .page-resources-online-betting-guide__section-title {
        font-size: 2em;
    }
    .page-resources-online-betting-guide__content-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-online-betting-guide__image-wrapper {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources-online-betting-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-online-betting-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure content below header on mobile */
        padding: 60px 15px;
    }
    .page-resources-online-betting-guide__hero-title {
        font-size: 2em;
    }
    .page-resources-online-betting-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-online-betting-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-resources-online-betting-guide__btn-primary,
    .page-resources-online-betting-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-online-betting-guide__container {
        padding: 15px;
    }
    .page-resources-online-betting-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-online-betting-guide__subtitle {
        font-size: 1.5em;
    }
    .page-resources-online-betting-guide__process-steps,
    .page-resources-online-betting-guide__game-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-online-betting-guide__step-card,
    .page-resources-online-betting-guide__card {
        padding: 20px;
    }
    .page-resources-online-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-online-betting-guide__section,
    .page-resources-online-betting-guide__card,
    .page-resources-online-betting-guide__container,
    .page-resources-online-betting-guide__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
     .page-resources-online-betting-guide__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-online-betting-guide__faq-answer {
        padding: 0 20px;
    }
    .page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-online-betting-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-online-betting-guide__section-title {
        font-size: 1.6em;
    }
    .page-resources-online-betting-guide__subtitle {
        font-size: 1.3em;
    }
}