/* style/resources-uw99-secure-login-strategies.css */

/* --- Base Styles --- */
.page-resources-uw99-secure-login-strategies {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f9fa; /* Light background for the page content */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-uw99-secure-login-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-uw99-secure-login-strategies__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary brand color for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-resources-uw99-secure-login-strategies__sub-title {
    font-size: 1.8em;
    color: #007bff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-uw99-secure-login-strategies p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-uw99-secure-login-strategies a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-uw99-secure-login-strategies a:hover {
    color: #28a745;
    text-decoration: underline;
}

.page-resources-uw99-secure-login-strategies__highlight {
    font-weight: bold;
    color: #007bff; /* Use primary color for highlights */
}

/* --- Hero Section --- */
.page-resources-uw99-secure-login-strategies__hero-section {
    background: linear-gradient(135deg, #007bff, #28a745); /* Brand colors gradient */
    padding: 60px 0;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-resources-uw99-secure-login-strategies__hero-section .page-resources-uw99-secure-login-strategies__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-resources-uw99-secure-login-strategies__hero-content {
    max-width: 800px;
}

.page-resources-uw99-secure-login-strategies__hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff; /* Ensure white text on dark gradient */
}

.page-resources-uw99-secure-login-strategies__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #ffffff; /* Ensure white text on dark gradient */
}

.page-resources-uw99-secure-login-strategies__hero-image {
    width: 100%;
    max-width: 900px; /* Max width for hero image */
}

.page-resources-uw99-secure-login-strategies__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* --- CTA Buttons Group --- */
.page-resources-uw99-secure-login-strategies__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-uw99-secure-login-strategies__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box; /* Ensure padding/border are included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-uw99-secure-login-strategies__cta-button--primary {
    background-color: #ffffff;
    color: #007bff;
    border: 2px solid #ffffff;
}

.page-resources-uw99-secure-login-strategies__cta-button--primary:hover {
    background-color: #e0e0e0;
    color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-uw99-secure-login-strategies__cta-button--secondary {
    background-color: #28a745;
    color: #ffffff;
    border: 2px solid #28a745;
}

.page-resources-uw99-secure-login-strategies__cta-button--secondary:hover {
    background-color: #218838;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-uw99-secure-login-strategies__cta-group--bottom {
    margin-top: 50px;
    margin-bottom: 20px;
}

/* --- Content Sections --- */
.page-resources-uw99-secure-login-strategies__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* Default light background for content sections */
    border-bottom: 1px solid #e0e0e0;
}

.page-resources-uw99-secure-login-strategies__content-section:last-of-type {
    border-bottom: none;
}

.page-resources-uw99-secure-login-strategies__introduction p {
    text-align: justify;
}

/* --- Grid Layout for Threats Section --- */
.page-resources-uw99-secure-login-strategies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-uw99-secure-login-strategies__card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px; /* Minimum height for cards */
}

.page-resources-uw99-secure-login-strategies__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-uw99-secure-login-strategies__card img {
    width: 100%;
    height: 200px; /* Fixed height for card images for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure block display for image */
    max-width: 100%; /* Ensure responsiveness */
}

.page-resources-uw99-secure-login-strategies__card-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-resources-uw99-secure-login-strategies__card p {
    font-size: 1em;
    color: #555555;
}

/* --- Feature List --- */
.page-resources-uw99-secure-login-strategies__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-uw99-secure-login-strategies__feature-item {
    background-color: #f0f8ff; /* Light blue background for features */
    border-left: 5px solid #007bff;
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-uw99-secure-login-strategies__feature-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-resources-uw99-secure-login-strategies__feature-item p {
    font-size: 1em;
    color: #444444;
}

/* --- Image Centered --- */
.page-resources-uw99-secure-login-strategies__image--centered {
    display: block;
    margin: 40px auto;
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
}

/* --- Lists --- */
.page-resources-uw99-secure-login-strategies__ordered-list,
.page-resources-uw99-secure-login-strategies__unordered-list {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-resources-uw99-secure-login-strategies__ordered-list li,
.page-resources-uw99-secure-login-strategies__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333333;
}

.page-resources-uw99-secure-login-strategies__unordered-list li::before {
    content: "•";
    color: #28a745; /* Auxiliary color for list bullets */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* --- FAQ Section --- */
.page-resources-uw99-secure-login-strategies__faq {
    background-color: #f0f0f0; /* Slightly darker background for FAQ */
    padding-bottom: 80px;
}

.page-resources-uw99-secure-login-strategies__faq-list {
    margin-top: 40px;
}

.page-resources-uw99-secure-login-strategies__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ default state - answer hidden */
.page-resources-uw99-secure-login-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

/* FAQ expanded state - 🚨 Use !important and sufficiently large max-height */
.page-resources-uw99-secure-login-strategies__faq-item.active .page-resources-uw99-secure-login-strategies__faq-answer {
    max-height: 2000px !important; /* 🚨 Use !important to ensure priority, value large enough to contain any content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

/* Question style */
.page-resources-uw99-secure-login-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-uw99-secure-login-strategies__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-uw99-secure-login-strategies__faq-question:active {
    background: #eeeeee;
}

/* Question title style */
.page-resources-uw99-secure-login-strategies__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em; /* Adjusted font size for better readability */
    font-weight: 600;
    line-height: 1.5;
    color: #333333;
    pointer-events: none; /* Prevent h3 tag from blocking click events */
}

/* Toggle icon */
.page-resources-uw99-secure-login-strategies__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click events */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-uw99-secure-login-strategies__faq-item.active .page-resources-uw99-secure-login-strategies__faq-toggle {
    color: #333;
    transform: rotate(45deg); /* Rotate for 'x' effect, or keep as '-' */
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
    .page-resources-uw99-secure-login-strategies {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-uw99-secure-login-strategies__container {
        padding: 0 15px;
    }

    .page-resources-uw99-secure-login-strategies__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-resources-uw99-secure-login-strategies__sub-title {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Hero Section Mobile */
    .page-resources-uw99-secure-login-strategies__hero-section {
        padding: 40px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }
}