/* style/faq.css */
.page-faq {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-faq__container--hero {
    text-align: center;
}

.page-faq__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    background-color: #26A9E0; /* Primary brand color for hero */
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    box-sizing: border-box;
}

.page-faq__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
}

.page-faq__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-faq__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-faq__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-faq__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-faq__intro-text {
    background-color: #ffffff;
    color: #333333; /* Light background, dark text */
    padding: 60px 0;
    text-align: center;
}

.page-faq__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #26A9E0;
    font-weight: bold;
}

.page-faq__paragraph {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #333333;
}

.page-faq__image-full {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__content-area {
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
    padding: 60px 0;
}

.page-faq__faq-list {
    margin-top: 40px;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: #26A9E0; /* Primary brand color for question */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none; /* For details/summary */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-faq__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    content: '−';
}

.page-faq__faq-answer {
    background-color: #ffffff; /* Light background for answer text */
    color: #333333; /* Dark text for readability */
    padding: 20px 25px;
    font-size: 1.05em;
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
    color: #333333;
}

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__link-inline {
    color: #26A9E0; /* Brand color for inline links */
    text-decoration: underline;
}

.page-faq__link-inline:hover {
    color: #EA7C07; /* Login color on hover */
}

.page-faq__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-section {
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-faq__cta-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 2.8em;
    }
    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-faq {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-faq__hero-section {
        padding: 60px 15px;
        min-height: 300px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-faq__main-title {
        font-size: 2.2em;
    }
    .page-faq__description {
        font-size: 1em;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-faq__intro-text,
    .page-faq__content-area,
    .page-faq__cta-section {
        padding: 40px 0;
    }
    .page-faq__container {
        padding: 0 15px;
    }
    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-faq__paragraph,
    .page-faq__cta-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-faq__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__image-full,
    .page-faq__image-content {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__video-section {
        padding-top: var(--header-offset, 120px) !important; /* With shared.css */
    }
    .page-faq__video,
    .page-faq video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 1.8em;
    }
    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: 1.5em;
    }
    .page-faq__faq-question {
        font-size: 1em;
    }
}