/* style/user-community-expert-qa.css */
.page-user-community-expert-qa {
    font-family: 'Arial', sans-serif;
    color: #f5e6ce; /* Light text on dark background */
    background-color: #0A1931;
    line-height: 1.6;
}

.page-user-community-expert-qa__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-user-community-expert-qa__hero {
    background: linear-gradient(135deg, #0A1931 0%, #2a3a5a 100%); /* Dark blue gradient */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-user-community-expert-qa__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:i9bet141,abstract_geometric_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-user-community-expert-qa__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-user-community-expert-qa__hero-subtitle {
    font-size: 1.3em;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 1;
}

.page-user-community-expert-qa__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A1931;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.page-user-community-expert-qa__cta-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-3px);
}

.page-user-community-expert-qa__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-user-community-expert-qa__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-user-community-expert-qa__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-user-community-expert-qa__section:last-of-type {
    border-bottom: none;
}

.page-user-community-expert-qa__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-user-community-expert-qa__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-user-community-expert-qa__sub-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 20px;
    border-left: 4px solid #FFD700;
    padding-left: 15px;
}

.page-user-community-expert-qa__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-user-community-expert-qa__text-block ul,
.page-user-community-expert-qa__text-block ol {
    margin-left: 25px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-user-community-expert-qa__text-block li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-user-community-expert-qa__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-user-community-expert-qa__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl; /* Reverse order visually */
}

.page-user-community-expert-qa__content-grid--reverse > .page-user-community-expert-qa__text-block {
    direction: ltr;
}

.page-user-community-expert-qa__content-grid--reverse > .page-user-community-expert-qa__image-wrapper {
    direction: ltr;
}

.page-user-community-expert-qa__image-wrapper {
    text-align: center;
}

.page-user-community-expert-qa__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-user-community-expert-qa__image--small {
    max-width: 70%;
    margin-top: 20px;
}

.page-user-community-expert-qa__faq-item {
    background-color: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.page-user-community-expert-qa__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-user-community-expert-qa__faq-answer {
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-user-community-expert-qa__text-center {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-user-community-expert-qa__hero-title {
        font-size: 2.8em;
    }

    .page-user-community-expert-qa__hero-subtitle {
        font-size: 1.1em;
    }

    .page-user-community-expert-qa__section-title {
        font-size: 2em;
    }

    .page-user-community-expert-qa__sub-title {
        font-size: 1.5em;
    }

    .page-user-community-expert-qa__content-grid,
    .page-user-community-expert-qa__content-grid--reverse {
        grid-template-columns: 1fr;
        direction: ltr; /* Reset direction for smaller screens */
    }

    .page-user-community-expert-qa__content-grid--reverse > .page-user-community-expert-qa__text-block {
        order: 1; /* Text first */
    }

    .page-user-community-expert-qa__content-grid--reverse > .page-user-community-expert-qa__image-wrapper {
        order: 2; /* Image second */
    }

    .page-user-community-expert-qa__image--small {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-user-community-expert-qa__hero {
        padding: 80px 0;
    }

    .page-user-community-expert-qa__hero-title {
        font-size: 2.2em;
    }

    .page-user-community-expert-qa__hero-subtitle {
        font-size: 1em;
    }

    .page-user-community-expert-qa__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-user-community-expert-qa__section {
        padding: 40px 0;
    }

    .page-user-community-expert-qa__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-user-community-expert-qa__sub-title {
        font-size: 1.3em;
    }

    .page-user-community-expert-qa__text-block p,
    .page-user-community-expert-qa__text-block li,
    .page-user-community-expert-qa__faq-answer {
        font-size: 0.95em;
    }

    .page-user-community-expert-qa__faq-question {
        font-size: 1.2em;
    }

    .page-user-community-expert-qa__faq-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-user-community-expert-qa__hero {
        padding: 60px 0;
    }

    .page-user-community-expert-qa__hero-title {
        font-size: 1.8em;
    }

    .page-user-community-expert-qa__hero-subtitle {
        font-size: 0.9em;
    }

    .page-user-community-expert-qa__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-user-community-expert-qa__section {
        padding: 30px 0;
    }

    .page-user-community-expert-qa__section-title {
        font-size: 1.5em;
        margin-bottom: 25px;
    }

    .page-user-community-expert-qa__sub-title {
        font-size: 1.2em;
    }

    .page-user-community-expert-qa__text-block p,
    .page-user-community-expert-qa__text-block li,
    .page-user-community-expert-qa__faq-answer {
        font-size: 0.9em;
    }

    .page-user-community-expert-qa__faq-question {
        font-size: 1.1em;
    }

    .page-user-community-expert-qa__faq-item {
        padding: 15px;
    }
}