/* style/resources-how-to-use-s5com-safely.css */

/* Base styles for the page content, ensuring header offset */
.page-resources-how-to-use-s5com-safely {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #FFFFFF; /* Page background color */
    color: #333333; /* Dark text color for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-resources-how-to-use-s5com-safely__hero-section {
    position: relative;
    text-align: center;
    padding: 80px 20px; /* Adjusted padding, header offset is handled by main container */
    overflow: hidden; /* Ensure image doesn't overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #000000; /* Dark background for the hero section */
    color: #FFFFFF; /* Light text for dark hero background */
}

.page-resources-how-to-use-s5com-safely__hero-container {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure text is above image */
    position: relative;
    padding: 20px;
}

.page-resources-how-to-use-s5com-safely__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-resources-how-to-use-s5com-safely__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    opacity: 0.2; /* Subtle background effect */
    filter: none; /* No color filters */
    border-radius: 0; /* No border radius */
}

.page-resources-how-to-use-s5com-safely__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-how-to-use-s5com-safely__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-use-s5com-safely__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000; /* Dark text for the button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-how-to-use-s5com-safely__hero-button:hover {
    background-color: #FFD700; /* Lighter gold on hover */
    transform: translateY(-2px);
}

/* Content Area */
.page-resources-how-to-use-s5com-safely__content-area {
    max-width: 800px; /* Content width controlled for readability */
    margin: 40px auto;
    padding: 0 20px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.page-resources-how-to-use-s5com-safely__intro-paragraph {
    font-size: 1.15em;
    margin-bottom: 40px;
    text-align: justify;
    color: #333333;
    padding: 20px 0;
}

.page-resources-how-to-use-s5com-safely__section-title {
    font-size: 2.2em;
    color: #000000;
    margin-top: 60px;
    margin-bottom: 25px;
    border-bottom: 3px solid #FCBC45; /* Highlight with auxiliary color */
    padding-bottom: 10px;
    font-weight: bold;
}

.page-resources-how-to-use-s5com-safely__section-paragraph {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
    color: #444444;
}

.page-resources-how-to-use-s5com-safely__sub-section-title {
    font-size: 1.6em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-resources-how-to-use-s5com-safely__text-block {
    font-size: 1em;
    margin-bottom: 25px;
    text-align: justify;
    color: #555555;
}

.page-resources-how-to-use-s5com-safely__image-container {
    margin: 40px 0;
    text-align: center;
}

.page-resources-how-to-use-s5com-safely__image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    filter: none; /* No color filters */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-resources-how-to-use-s5com-safely__cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto 50px auto;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-how-to-use-s5com-safely__cta-button:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
}

.page-resources-how-to-use-s5com-safely__cta-final {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: #000000; /* Dark background for final CTA */
    color: #FFFFFF;
    border-radius: 10px;
}

.page-resources-how-to-use-s5com-safely__cta-text {
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-resources-how-to-use-s5com-safely__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-resources-how-to-use-s5com-safely__back-link-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

.page-resources-how-to-use-s5com-safely__back-link {
    display: inline-block;
    color: #000000; /* Main color for internal link */
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #000000;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-how-to-use-s5com-safely__back-link:hover {
    background-color: #000000;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-how-to-use-s5com-safely__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }

    .page-resources-how-to-use-s5com-safely__hero-title {
        font-size: 2.2em;
    }

    .page-resources-how-to-use-s5com-safely__hero-description {
        font-size: 1em;
    }

    .page-resources-how-to-use-s5com-safely__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-how-to-use-s5com-safely__content-area {
        margin: 20px auto;
        padding: 0 15px;
    }

    .page-resources-how-to-use-s5com-safely__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-resources-how-to-use-s5com-safely__sub-section-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-resources-how-to-use-s5com-safely__intro-paragraph,
    .page-resources-how-to-use-s5com-safely__section-paragraph,
    .page-resources-how-to-use-s5com-safely__text-block {
        font-size: 0.95em;
    }

    .page-resources-how-to-use-s5com-safely__image-container img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size is maintained */
        min-height: 200px; /* Ensure min size is maintained */
        filter: none; /* No color filters */
    }

    .page-resources-how-to-use-s5com-safely__cta-text {
        font-size: 1.2em;
    }

    .page-resources-how-to-use-s5com-safely__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* Ensure no horizontal overflow */
    .page-resources-how-to-use-s5com-safely {
        max-width: 100%;
        overflow-x: hidden;
    }
}