.page-resources-security-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is #000000 from shared.css */
}

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

/* Hero Section */
.page-resources-security-guide__hero-section {
    position: relative;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000; /* Dark background for hero */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure hero clears fixed header */
}

.page-resources-security-guide__hero-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.page-resources-security-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
    line-height: 1.2;
}

.page-resources-security-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-security-guide__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-security-guide__btn-primary,
.page-resources-security-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* For button text wrapping */
    word-wrap: break-word; /* For button text wrapping */
}

.page-resources-security-guide__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-security-guide__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-resources-security-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-security-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-resources-security-guide__hero-image-wrapper {
    margin-top: 40px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-resources-security-guide__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* General Sections */
.page-resources-security-guide__introduction-section,
.page-resources-security-guide__data-protection-section,
.page-resources-security-guide__responsible-gaming-section,
.page-resources-security-guide__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for content sections */
    color: #ffffff;
}

.page-resources-security-guide__key-features-section,
.page-resources-security-guide__fair-play-section,
.page-resources-security-guide__customer-support-section,
.page-resources-security-guide__conclusion-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Darker background for contrast */
    color: #ffffff;
}

.page-resources-security-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for section titles */
}

.page-resources-security-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Features Grid */
.page-resources-security-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-security-guide__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

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

.page-resources-security-guide__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-resources-security-guide__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Video Section */
.page-resources-security-guide__video-wrapper {
    margin: 40px auto;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-security-guide__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-resources-security-guide__video-caption {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    color: #ccc;
}

/* FAQ Section */
.page-resources-security-guide__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources-security-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-resources-security-guide__faq-question:hover {
    background-color: #1e87c0;
}

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

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

.page-resources-security-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.02); /* Lighter background for answer */
    color: #f0f0f0;
}

.page-resources-security-guide__faq-item.active .page-resources-security-guide__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 20px 25px;
}

.page-resources-security-guide__faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

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

@media (max-width: 768px) {
    .page-resources-security-guide__hero-section {
        padding: 40px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-security-guide__hero-title {
        font-size: 2.5em;
    }

    .page-resources-security-guide__hero-description {
        font-size: 1em;
    }

    .page-resources-security-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .page-resources-security-guide__btn-primary,
    .page-resources-security-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-security-guide__introduction-section,
    .page-resources-security-guide__key-features-section,
    .page-resources-security-guide__data-protection-section,
    .page-resources-security-guide__fair-play-section,
    .page-resources-security-guide__responsible-gaming-section,
    .page-resources-security-guide__customer-support-section,
    .page-resources-security-guide__faq-section,
    .page-resources-security-guide__conclusion-section {
        padding: 60px 0;
    }

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

    .page-resources-security-guide__features-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-resources-security-guide__feature-card {
        padding: 20px;
    }

    .page-resources-security-guide__video-wrapper {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-security-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-security-guide__faq-list {
        padding: 0 15px;
    }

    .page-resources-security-guide__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-security-guide__faq-answer {
        padding: 0 20px;
    }

    .page-resources-security-guide__faq-item.active .page-resources-security-guide__faq-answer {
        padding: 15px 20px;
    }

    /* General containers for mobile to prevent overflow */
    .page-resources-security-guide__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no filter on images */
.page-resources-security-guide img {
    filter: none;
}