.page-login {
    color: #333333; /* Default dark text for light body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-login__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-login__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-login__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff; /* Light text on dark background */
    max-width: 900px;
    padding: 20px;
}

.page-login__main-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #FFD700; /* Gold accent for main title */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__intro-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-login__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A0A0A; /* Dark text on gold button */
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-login__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-login__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* White background for content area */
}

.page-login__section-wrapper {
    margin-bottom: 60px;
    padding: 30px;
    border-radius: 8px;
    background-color: #f9f9f9; /* Light grey background for sections */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-login__section-wrapper:last-child {
    margin-bottom: 0;
}

.page-login__section-title {
    font-size: 2.5rem;
    color: #0A0A0A; /* Main dark color for section titles */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-login__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-login__text-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    line-height: 1.7;
    font-size: 1.1rem;
}

.page-login__text-block p, .page-login__text-block ul, .page-login__text-block ol {
    flex: 1;
    min-width: 300px;
    color: #333333;
}

.page-login__image-content {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    object-fit: cover;
}

.page-login__image-content--right {
    order: 2;
    flex: 0 0 400px; /* Fixed width for right-aligned image */
}

.page-login__text-block p:first-of-type {
    margin-top: 0;
}

.page-login__ordered-list,
.page-login__unordered-list {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 20px;
    color: #333333;
}

.page-login__ordered-list li,
.page-login__unordered-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-login__ordered-list li strong {
    color: #0A0A0A;
}

.page-login__cta-button--inline {
    margin-top: 20px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-login__faq-list {
    margin-top: 30px;
}

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

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #FFD700; /* Gold for question background */
    color: #0A0A0A; /* Dark text on gold */
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: #e6c200;
}

.page-login__faq-question h3 {
    margin: 0;
    color: #0A0A0A; /* Ensure h3 color is dark */
}

.page-login__faq-icon {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-login__faq-question[aria-expanded="true"] .page-login__faq-icon {
    transform: rotate(45deg);
}

.page-login__faq-answer {
    padding: 0 20px;
    background-color: #fdfdfd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-login__faq-answer p {
    padding-bottom: 20px;
    margin-top: 0;
    color: #333333;
}

.page-login__faq-question[aria-expanded="true"] + .page-login__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 15px;
    padding-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 3rem;
    }

    .page-login__intro-description {
        font-size: 1.1rem;
    }

    .page-login__section-title {
        font-size: 2rem;
    }

    .page-login__text-block p, .page-login__text-block ul, .page-login__text-block ol {
        font-size: 1rem;
    }
    
    .page-login__image-content--right {
        flex: 0 0 100%;
        order: initial;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 400px;
    }

    .page-login__main-title {
        font-size: 2.2rem;
    }

    .page-login__intro-description {
        font-size: 1rem;
    }

    .page-login__cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .page-login__content-area {
        padding: 40px 15px;
    }

    .page-login__section-title {
        font-size: 1.8rem;
    }

    .page-login__text-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-login__text-block p, .page-login__text-block ul, .page-login__text-block ol {
        min-width: unset;
    }

    .page-login__image-content {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and do not overflow */
    }

    .page-login__image-content--right {
        order: initial; /* Reset order for mobile */
    }

    .page-login__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }

    .page-login__faq-icon {
        font-size: 1.5rem;
    }

    .page-login__faq-answer p {
        padding-bottom: 15px;
    }

    .page-login__section-wrapper {
        padding: 20px;
    }
}