/* style/resources-f88-platform-review.css */

/* Base styles for the page content */
.page-resources-f88-platform-review {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #FFFFFF; /* Explicitly setting for clarity */
}

/* Hero Section */
.page-resources-f88-platform-review__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, #017439, #FFFFFF); /* Brand color gradient */
    color: #FFFFFF; /* White text on dark gradient */
}

.page-resources-f88-platform-review__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-f88-platform-review__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for H1 as per brand colors (yellow for login/register font) */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-f88-platform-review__lead-paragraph {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    color: #FFFFFF; /* White text on dark gradient */
}

.page-resources-f88-platform-review__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.page-resources-f88-platform-review__cta-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    width: 100%; /* Ensure container takes full width for responsive wrapping */
}

.page-resources-f88-platform-review__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Prevent buttons from shrinking too much */
}

.page-resources-f88-platform-review__btn-register {
    background: #C30808; /* Custom color for register */
    color: #FFFF00; /* Custom color for register/login font */
    border: 2px solid #FFFF00;
}

.page-resources-f88-platform-review__btn-register:hover {
    background: #e02020;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-f88-platform-review__btn-login {
    background: #C30808; /* Custom color for login */
    color: #FFFF00; /* Custom color for register/login font */
    border: 2px solid #FFFF00;
}

.page-resources-f88-platform-review__btn-login:hover {
    background: #e02020;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-resources-f88-platform-review__content-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

.page-resources-f88-platform-review__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-resources-f88-platform-review__section-title {
    font-size: 36px;
    color: #017439; /* Primary brand color */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-f88-platform-review__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #C30808; /* Using red for accent */
    border-radius: 2px;
}

.page-resources-f88-platform-review__sub-title {
    font-size: 24px;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-resources-f88-platform-review__text-block {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.page-resources-f88-platform-review__highlight {
    font-weight: bold;
    color: #017439;
}

.page-resources-f88-platform-review__content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Links within content */
.page-resources-f88-platform-review a {
    color: #017439;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-f88-platform-review a:hover {
    color: #C30808; /* Red for hover */
}

/* FAQ Section */
.page-resources-f88-platform-review__faq-container {
    margin-top: 40px;
}

.page-resources-f88-platform-review__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-f88-platform-review__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-f88-platform-review__faq-item.active .page-resources-f88-platform-review__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-resources-f88-platform-review__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-f88-platform-review__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-f88-platform-review__faq-question:active {
    background: #eeeeee;
}

.page-resources-f88-platform-review__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #333333;
}

.page-resources-f88-platform-review__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-f88-platform-review__faq-item.active .page-resources-f88-platform-review__faq-toggle {
    color: #C30808; /* Red when active */
    transform: rotate(45deg); /* Plus to X effect */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-f88-platform-review__main-title {
        font-size: 40px;
    }
    .page-resources-f88-platform-review__lead-paragraph {
        font-size: 18px;
    }
    .page-resources-f88-platform-review__section-title {
        font-size: 30px;
    }
    .page-resources-f88-platform-review__sub-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-resources-f88-platform-review__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-f88-platform-review__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-resources-f88-platform-review__lead-paragraph {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-resources-f88-platform-review__cta-group {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-f88-platform-review__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-f88-platform-review__content-section {
        padding: 40px 15px;
    }

    .page-resources-f88-platform-review__container {
        padding: 0; /* Remove padding from container, section already has it */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-f88-platform-review__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .page-resources-f88-platform-review__sub-title {
        font-size: 20px;
        margin-top: 30px;
    }

    .page-resources-f88-platform-review__text-block {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Images responsiveness */
    .page-resources-f88-platform-review img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce minimum size on mobile too */
        min-height: 200px !important; /* Enforce minimum size on mobile too */
    }
    .page-resources-f88-platform-review__hero-image {
        border-radius: 4px;
    }

    /* FAQ Mobile */
    .page-resources-f88-platform-review__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-resources-f88-platform-review__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-resources-f88-platform-review__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-resources-f88-platform-review__faq-answer {
        padding: 0 15px;
    }
    
    .page-resources-f88-platform-review__faq-item.active .page-resources-f88-platform-review__faq-answer {
        padding: 15px !important;
    }
}

/* Contrast fix classes (if needed, though design should avoid it) */
.page-resources-f88-platform-review__contrast-fix {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e0e0e0 !important;
}

.page-resources-f88-platform-review__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}