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

.page-login__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-login__hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
    border-radius: 10px;
}

.page-login__hero-content {
    color: #ffffff;
    max-width: 800px;
}

.page-login__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold primary color */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-login__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
}

.page-login__button--primary {
    background-color: #FFD700; /* Gold primary color */
    color: #8B0000; /* Dark red secondary color for contrast */
    border: 2px solid #FFD700;
}

.page-login__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-login__button--secondary {
    background-color: #8B0000; /* Dark red secondary color */
    color: #FFD700; /* Gold primary color for contrast */
    border: 2px solid #8B0000;
}

.page-login__button--secondary:hover {
    background-color: #7a0000;
    transform: translateY(-2px);
}

.page-login__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-login__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold primary color */
    text-align: center;
    margin-bottom: 40px;
    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: #8B0000; /* Dark red accent */
    border-radius: 2px;
}

.page-login__section-content {
    font-size: 1.1em;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-login__section-content p {
    margin-bottom: 1.5em;
}

.page-login__ordered-list,
.page-login__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-login__ordered-list li,
.page-login__unordered-list li {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-login__ordered-list strong {
    color: #FFD700;
}

.page-login__link {
    color: #FFD700; /* Gold link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-login__image {
    display: block;
    border-radius: 10px;
    margin-bottom: 30px;
    object-fit: cover;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
}

.page-login__image--center {
    margin-left: auto;
    margin-right: auto;
}

.page-login__faq {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ section */
    border-radius: 10px;
    margin-bottom: 40px;
}

.page-login__faq-list {
    margin-top: 30px;
}

.page-login__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-login__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700; /* Gold for questions */
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    user-select: none;
}

.page-login__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-login__faq-question::marker {
    display: none; /* Hide default marker for details/summary */
}

.page-login__faq-question::-webkit-details-marker {
    display: none;
}

.page-login__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #8B0000; /* Dark red plus sign */
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-login__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-login__cta-section {
    background: linear-gradient(90deg, #8B0000, #b90000); /* Dark red gradient */
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
    border-radius: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold primary color */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-login__cta-description {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    min-width: 250px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-login__hero-title {
        font-size: 2.8em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__cta-title {
        font-size: 2.2em;
    }
    .page-login__hero-container {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 400px;
    }
    .page-login__hero-title {
        font-size: 2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__button {
        width: 100%;
        max-width: 300px; /* Constrain width for smaller buttons */
    }
    .page-login__section {
        padding: 40px 15px;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__section-content {
        font-size: 0.95em;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-login__faq-answer {
        padding: 0 20px 18px 20px;
    }
    .page-login__cta-title {
        font-size: 1.8em;
    }
    .page-login__cta-description {
        font-size: 1em;
    }
    .page-login__button--large {
        width: 100%;
        max-width: 300px;
    }
    /* Ensure images in content area are responsive and not smaller than 200px */
    .page-login img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min size for content images */
        min-height: 200px; /* Enforce min size for content images */
    }
}

@media (max-width: 480px) {
    .page-login__hero-section {
        min-height: 350px;
    }
    .page-login__hero-title {
        font-size: 1.6em;
    }
    .page-login__hero-description {
        font-size: 0.9em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__cta-title {
        font-size: 1.6em;
    }
}