/* style/resources-uk88-faq.css */
.page-resources-uk88-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark grey for main text on light background */
    background-color: #f8f9fa;
}

.page-resources-uk88-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-resources-uk88-faq-hero {
    position: relative;
    background-color: #007BFF; /* Primary blue as fallback and for overlay */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-resources-uk88-faq-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
}

.page-resources-uk88-faq-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7);
}

.page-resources-uk88-faq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-uk88-faq-hero h1 {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-uk88-faq-hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-resources-uk88-faq-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Buttons */
.page-resources-uk88-faq-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-resources-uk88-faq-btn-primary {
    background-color: #FFD700; /* Auxiliary gold */
    color: #0056b3; /* Darker blue for contrast on gold */
    border: 2px solid #FFD700;
}

.page-resources-uk88-faq-btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #003d80;
}

.page-resources-uk88-faq-btn-secondary {
    background-color: transparent;
    color: #FFFFFF; /* White text on hero, blue on light background */
    border: 2px solid #FFFFFF; /* White border on hero */
}

.page-resources-uk88-faq-hero .page-resources-uk88-faq-btn-secondary {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.page-resources-uk88-faq-hero .page-resources-uk88-faq-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Accordion Section */
.page-resources-uk88-faq-accordion-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-resources-uk88-faq-accordion-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #007BFF; /* Primary blue */
    margin-bottom: 20px;
}

.page-resources-uk88-faq-intro-text {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-resources-uk88-faq-accordion {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-resources-uk88-faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.page-resources-uk88-faq-item:last-child {
    border-bottom: none;
}

.page-resources-uk88-faq-question {
    background-color: #f0f8ff; /* Light blue background for questions */
    padding: 20px 25px;
    font-size: 1.25em;
    color: #007BFF; /* Primary blue */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    margin: 0; /* Reset margin for h3 */
}

.page-resources-uk88-faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: #007BFF;
    transition: transform 0.3s ease;
}

.page-resources-uk88-faq-item.active .page-resources-uk88-faq-question {
    background-color: #e6f2ff;
}

.page-resources-uk88-faq-item.active .page-resources-uk88-faq-question::after {
    content: '-';
    transform: rotate(0deg);
}

.page-resources-uk88-faq-answer {
    background-color: #FFFFFF;
    padding: 0 25px;
    font-size: 1.05em;
    color: #333333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-resources-uk88-faq-item.active .page-resources-uk88-faq-answer {
    max-height: 1000px; /* Adjust as needed for content height */
    padding: 20px 25px;
}

.page-resources-uk88-faq-answer p {
    margin-bottom: 15px;
}

.page-resources-uk88-faq-answer ul,
.page-resources-uk88-faq-answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-resources-uk88-faq-answer li {
    margin-bottom: 8px;
}

.page-resources-uk88-faq-answer a {
    color: #007BFF;
    text-decoration: underline;
}

.page-resources-uk88-faq-answer a:hover {
    color: #0056b3;
}

.page-resources-uk88-faq-answer img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-uk88-faq-answer .page-resources-uk88-faq-btn {
    margin-top: 15px;
}

/* CTA Section */
.page-resources-uk88-faq-cta-section {
    background-color: #007BFF; /* Primary blue */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-resources-uk88-faq-cta-content h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-resources-uk88-faq-cta-content p {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #E0E0E0;
}

.page-resources-uk88-faq-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-uk88-faq-cta-buttons .page-resources-uk88-faq-btn-primary {
    background-color: #FFD700;
    color: #0056b3;
    border-color: #FFD700;
}

.page-resources-uk88-faq-cta-buttons .page-resources-uk88-faq-btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #003d80;
}

.page-resources-uk88-faq-cta-buttons .page-resources-uk88-faq-btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-resources-uk88-faq-cta-buttons .page-resources-uk88-faq-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-uk88-faq-hero h1 {
        font-size: 2.5em;
    }

    .page-resources-uk88-faq-hero p {
        font-size: 1em;
    }

    .page-resources-uk88-faq-hero-buttons,
    .page-resources-uk88-faq-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-uk88-faq-btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-resources-uk88-faq-accordion-section h2,
    .page-resources-uk88-faq-cta-content h2 {
        font-size: 2em;
    }

    .page-resources-uk88-faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-uk88-faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-uk88-faq-hero h1 {
        font-size: 2em;
    }

    .page-resources-uk88-faq-hero p {
        font-size: 0.9em;
    }

    .page-resources-uk88-faq-accordion-section h2,
    .page-resources-uk88-faq-cta-content h2 {
        font-size: 1.8em;
    }

    .page-resources-uk88-faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-resources-uk88-faq-answer {
        font-size: 0.95em;
        padding: 12px 15px;
    }
}