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

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --login-color: #EA7C07;
    --bg-light: #ffffff;
    --bg-dark-section: #26A9E0;
}

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

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

/* Hero Section */
.page-resources-online-betting-safety-guide__hero {
    position: relative;
    width: 100%;
    min-height: 500px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    overflow: hidden;
}

.page-resources-online-betting-safety-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-online-betting-safety-guide__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-resources-online-betting-safety-guide__hero-content {
    max-width: 800px;
    z-index: 3;
    padding: 20px;
}

.page-resources-online-betting-safety-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-online-betting-safety-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

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

/* Video Section */
.page-resources-online-betting-safety-guide__video-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.page-resources-online-betting-safety-guide__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* Max width for video */
    margin: 30px auto 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-safety-guide__video-link-container {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.page-resources-online-betting-safety-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-resources-online-betting-safety-guide__video-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    box-sizing: border-box;
    color: var(--text-light);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.page-resources-online-betting-safety-guide__btn-play {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.page-resources-online-betting-safety-guide__btn-play:hover {
    background-color: darken(var(--primary-color), 10%); /* This won't work in plain CSS, use a fixed color */
    background-color: #1a8ecb;
}

/* Content Sections */
.page-resources-online-betting-safety-guide__content-section {
    padding: 80px 0;
}

.page-resources-online-betting-safety-guide__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-online-betting-safety-guide__dark-bg {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

.page-resources-online-betting-safety-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: inherit;
}

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

.page-resources-online-betting-safety-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-online-betting-safety-guide__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-safety-guide__feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-resources-online-betting-safety-guide__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--text-light);
    position: relative;
    padding-left: 40px;
}

.page-resources-online-betting-safety-guide__feature-item::before {
    content: '✅';
    position: absolute;
    left: 10px;
    top: 18px;
}

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

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

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

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

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

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

/* FAQ Section */
.page-resources-online-betting-safety-guide__faq-section {
    padding: 80px 0;
    background-color: var(--bg-dark-section);
    color: var(--text-light);
    text-align: center;
}

.page-resources-online-betting-safety-guide__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-resources-online-betting-safety-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-light);
}

.page-resources-online-betting-safety-guide__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-online-betting-safety-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-resources-online-betting-safety-guide__faq-question::-webkit-details-marker {
    display: none;
}

.page-resources-online-betting-safety-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-resources-online-betting-safety-guide__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-light);
}

/* Conclusion Section */
.page-resources-online-betting-safety-guide__conclusion {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-online-betting-safety-guide__hero-title {
        font-size: 2.8em;
    }
    .page-resources-online-betting-safety-guide__section-title {
        font-size: 2em;
    }
}

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

    .page-resources-online-betting-safety-guide__hero {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-online-betting-safety-guide__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-resources-online-betting-safety-guide__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-online-betting-safety-guide__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-online-betting-safety-guide__btn-primary,
    .page-resources-online-betting-safety-guide__btn-secondary,
    .page-resources-online-betting-safety-guide a[class*="button"],
    .page-resources-online-betting-safety-guide a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-resources-online-betting-safety-guide__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-resources-online-betting-safety-guide__video-section {
        padding: 40px 0;
    }

    .page-resources-online-betting-safety-guide__video-wrapper,
    .page-resources-online-betting-safety-guide__video-link-container,
    .page-resources-online-betting-safety-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-resources-online-betting-safety-guide__video-section .page-resources-online-betting-safety-guide__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-online-betting-safety-guide__content-section {
        padding: 40px 0;
    }

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

    .page-resources-online-betting-safety-guide__paragraph,
    .page-resources-online-betting-safety-guide__feature-item,
    .page-resources-online-betting-safety-guide__faq-answer {
        font-size: 1em;
    }

    .page-resources-online-betting-safety-guide__content-image {
        margin: 20px auto;
        max-width: 100% !important;
        height: auto !important;
    }

    .page-resources-online-betting-safety-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-online-betting-safety-guide__section,
    .page-resources-online-betting-safety-guide__card,
    .page-resources-online-betting-safety-guide__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-online-betting-safety-guide__faq-section {
        padding: 40px 0;
    }

    .page-resources-online-betting-safety-guide__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-resources-online-betting-safety-guide__faq-answer {
        padding: 0 15px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-online-betting-safety-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-online-betting-safety-guide__hero-description {
        font-size: 0.9em;
    }
    .page-resources-online-betting-safety-guide__btn-primary,
    .page-resources-online-betting-safety-guide__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-online-betting-safety-guide__section-title {
        font-size: 1.6em;
    }
}