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

.page-resources-shbet-link-security-guide {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-light); /* Default light background */
    line-height: 1.6;
}

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

/* Header offset for desktop */
.page-resources-shbet-link-security-guide__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-resources-shbet-link-security-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

.page-resources-shbet-link-security-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 8px;
}

.page-resources-shbet-link-security-guide__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-resources-shbet-link-security-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-resources-shbet-link-security-guide__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-shbet-link-security-guide__btn-primary,
.page-resources-shbet-link-security-guide__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-shbet-link-security-guide__btn-primary {
    background-color: var(--button-login-color); /* Using login color for primary action */
    color: var(--text-light);
    border: 2px solid var(--button-login-color);
}

.page-resources-shbet-link-security-guide__btn-primary:hover {
    background-color: #d16b00; /* Darker version of #EA7C07 */
    border-color: #d16b00;
}

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

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

.page-resources-shbet-link-security-guide__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    padding-top: 40px;
}

.page-resources-shbet-link-security-guide__content-area,
.page-resources-shbet-link-security-guide__conclusion-section {
    padding: 60px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-resources-shbet-link-security-guide__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #444; /* Slightly darker for better readability on light background */
}

.page-resources-shbet-link-security-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-resources-shbet-link-security-guide__cta-section,
.page-resources-shbet-link-security-guide__cta-final {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

/* Video Section */
.page-resources-shbet-link-security-guide__video-section {
    background-color: #1a1a1a;
    padding: 60px 0;
    text-align: center;
}

.page-resources-shbet-link-security-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-resources-shbet-link-security-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    max-width: 100%; /* Ensure video is responsive */
    display: block;
}

.page-resources-shbet-link-security-guide__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}


/* FAQ Section */
.page-resources-shbet-link-security-guide__faq-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.page-resources-shbet-link-security-guide__faq-list {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.page-resources-shbet-link-security-guide__faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.page-resources-shbet-link-security-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.page-resources-shbet-link-security-guide__faq-question:hover {
    color: #1e87b7; /* Darker version of #26A9E0 */
}

.page-resources-shbet-link-security-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.page-resources-shbet-link-security-guide__faq-item.active .page-resources-shbet-link-security-guide__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-resources-shbet-link-security-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

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

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

@media (max-width: 768px) {
    .page-resources-shbet-link-security-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-shbet-link-security-guide__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-shbet-link-security-guide__hero-content {
        padding: 20px;
    }
    .page-resources-shbet-link-security-guide__hero-title {
        font-size: 2em;
    }
    .page-resources-shbet-link-security-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-shbet-link-security-guide__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-shbet-link-security-guide__btn-primary,
    .page-resources-shbet-link-security-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-shbet-link-security-guide__section-title {
        font-size: 1.8em;
        padding-top: 20px;
    }
    .page-resources-shbet-link-security-guide__content-area,
    .page-resources-shbet-link-security-guide__faq-section,
    .page-resources-shbet-link-security-guide__video-section,
    .page-resources-shbet-link-security-guide__conclusion-section {
        padding: 30px 0;
    }
    .page-resources-shbet-link-security-guide__container {
        padding: 0 15px; /* Add padding to prevent content from touching edges */
    }

    /* Mobile image responsiveness */
    .page-resources-shbet-link-security-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-shbet-link-security-guide__video-section,
    .page-resources-shbet-link-security-guide__video-container,
    .page-resources-shbet-link-security-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-shbet-link-security-guide video,
    .page-resources-shbet-link-security-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-shbet-link-security-guide__cta-buttons,
    .page-resources-shbet-link-security-guide__button-group,
    .page-resources-shbet-link-security-guide__btn-container,
    .page-resources-shbet-link-security-guide__cta-section,
    .page-resources-shbet-link-security-guide__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically */
    }
    .page-resources-shbet-link-security-guide__faq-question {
        font-size: 1.1em;
    }
    .page-resources-shbet-link-security-guide__faq-answer {
        padding: 0 10px;
    }
    .page-resources-shbet-link-security-guide__faq-item.active .page-resources-shbet-link-security-guide__faq-answer {
        padding: 10px !important;
    }
}