/* style/resources-sx666-security-strategy.css */

/* Base Styles for the Page Content */
.page-resources-sx666-security-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

/* Section Styles */
.page-resources-sx666-security-strategy__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-sx666-security-strategy__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for titles */
    margin-bottom: 30px;
    font-weight: bold;
}

.page-resources-sx666-security-strategy__description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Color Contrast Classes */
.page-resources-sx666-security-strategy__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
}

.page-resources-sx666-security-strategy__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
}

.page-resources-sx666-security-strategy__dark-bg .page-resources-sx666-security-strategy__section-title,
.page-resources-sx666-security-strategy__dark-bg .page-resources-sx666-security-strategy__main-title {
    color: #ffffff; /* White titles on dark background */
}

/* Hero Section */
.page-resources-sx666-security-strategy__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.page-resources-sx666-security-strategy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-resources-sx666-security-strategy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-resources-sx666-security-strategy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-sx666-security-strategy__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-resources-sx666-security-strategy__intro-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

/* Content Blocks with Image */
.page-resources-sx666-security-strategy__content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.page-resources-sx666-security-strategy__content-block:nth-of-type(even) {
    flex-direction: row-reverse; /* Alternate image/text layout */
}

.page-resources-sx666-security-strategy__content-block p {
    flex: 1;
    min-width: 300px;
    font-size: 1.05em;
}

.page-resources-sx666-security-strategy__image {
    flex: 1;
    min-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%; /* Ensure image fills its flex container */
    height: auto;
    object-fit: cover;
}

/* Call to Action Buttons */
.page-resources-sx666-security-strategy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-sx666-security-strategy__btn-primary,
.page-resources-sx666-security-strategy__btn-secondary,
.page-resources-sx666-security-strategy__btn-download {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    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;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding/border are included in width */
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-sx666-security-strategy__btn-primary {
    background-color: #C30808; /* Custom color for register */
    color: #FFFF00; /* Custom font color for register */
    border: 2px solid #C30808;
}

.page-resources-sx666-security-strategy__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
}

.page-resources-sx666-security-strategy__btn-secondary {
    background-color: #017439; /* Brand primary for secondary action */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-resources-sx666-security-strategy__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-resources-sx666-security-strategy__btn-download {
    background-color: #3498db; /* A distinct color for download, ensuring contrast */
    color: #ffffff;
    border: 2px solid #3498db;
}

.page-resources-sx666-security-strategy__btn-download:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* FAQ Section */
.page-resources-sx666-security-strategy__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-resources-sx666-security-strategy__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-sx666-security-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-resources-sx666-security-strategy__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-sx666-security-strategy__faq-question h3 {
    margin: 0;
    font-size: 1em; /* Adjust to fit within the question div */
    color: inherit;
}

.page-resources-sx666-security-strategy__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #017439;
}

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

.page-resources-sx666-security-strategy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #555555;
    text-align: left;
}

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

.page-resources-sx666-security-strategy__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-sx666-security-strategy__main-title {
        font-size: 3em;
    }
    .page-resources-sx666-security-strategy__intro-description {
        font-size: 1.2em;
    }
    .page-resources-sx666-security-strategy__section-title {
        font-size: 2em;
    }
    .page-resources-sx666-security-strategy__content-block {
        flex-direction: column;
        text-align: center;
    }
    .page-resources-sx666-security-strategy__content-block:nth-of-type(even) {
        flex-direction: column;
    }
    .page-resources-sx666-security-strategy__image {
        min-width: unset; /* Remove min-width for smaller screens */
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources-sx666-security-strategy__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-sx666-security-strategy__main-title {
        font-size: 2.2em;
    }
    .page-resources-sx666-security-strategy__intro-description {
        font-size: 1em;
    }
}