/* style/resources-beet88-login-faq.css */

/* Base styles for the page content */
.page-resources-beet88-login-faq {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    background-color: #f8f8f8; /* Slightly off-white background for main content area */
}

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

/* Hero Section */
.page-resources-beet88-login-faq__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); /* Fixed header offset */
    background: linear-gradient(135deg, #26A9E0, #34BBE0); /* Gradient with primary color */
    color: #ffffff;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-resources-beet88-login-faq__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-resources-beet88-login-faq__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 0; /* Image behind content if content overlays */
}

.page-resources-beet88-login-faq__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-beet88-login-faq__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2); /* Semi-transparent overlay for text readability */
    border-radius: 12px;
    margin-top: -80px; /* Overlap with image for visual appeal */
}

.page-resources-beet88-login-faq__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

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

.page-resources-beet88-login-faq__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-beet88-login-faq__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
}

.page-resources-beet88-login-faq__btn-primary {
    background: #EA7C07; /* Custom color for login button */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources-beet88-login-faq__btn-primary:hover {
    background: #d66f06;
    border-color: #d66f06;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-resources-beet88-login-faq__btn-secondary {
    background: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #FFFFFF;
}

.page-resources-beet88-login-faq__btn-secondary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* General Section Styling */
.page-resources-beet88-login-faq__intro-section,
.page-resources-beet88-login-faq__tips-section,
.page-resources-beet88-login-faq__cta-section {
    padding: 80px 0;
}

.page-resources-beet88-login-faq__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-resources-beet88-login-faq__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-resources-beet88-login-faq__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: #26A9E0;
}

.page-resources-beet88-login-faq__section-title--white {
    color: #ffffff;
}

/* Content Area Paragraphs and Lists */
.page-resources-beet88-login-faq__intro-section p,
.page-resources-beet88-login-faq__faq-answer p,
.page-resources-beet88-login-faq__tips-section p,
.page-resources-beet88-login-faq__cta-section p {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #555555;
}

.page-resources-beet88-login-faq__intro-section p {
    color: #333333; /* Ensure strong contrast on light background */
}

.page-resources-beet88-login-faq__faq-answer ol,
.page-resources-beet88-login-faq__faq-answer ul {
    margin-left: 25px;
    margin-bottom: 1em;
    color: #555555;
}

.page-resources-beet88-login-faq__faq-answer li {
    margin-bottom: 0.5em;
    color: #555555;
}

.page-resources-beet88-login-faq__description--white {
    color: #f0f0f0;
}

/* Image styling within content */
.page-resources-beet88-login-faq__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-resources-beet88-login-faq__image-inline {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* FAQ Section */
.page-resources-beet88-login-faq__faq-section {
    padding-bottom: 80px;
}

.page-resources-beet88-login-faq__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ item styles */
.page-resources-beet88-login-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

/* FAQ default state - answer hidden */
.page-resources-beet88-login-faq__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.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: #555555;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-resources-beet88-login-faq__faq-item.active .page-resources-beet88-login-faq__faq-answer {
    max-height: 2000px !important; /* 🚨 Use!important, value sufficiently large */
    padding: 20px 25px !important; /* 🚨 Use!important */
    opacity: 1;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 10px 10px;
}

/* Question style */
.page-resources-beet88-login-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-beet88-login-faq__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-beet88-login-faq__faq-question:active {
    background: #eeeeee;
}

/* Question title style */
.page-resources-beet88-login-faq__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    color: #26A9E0; /* Primary color for questions */
    pointer-events: none; /* Prevent h3 from blocking click events */
}

/* Toggle icon */
.page-resources-beet88-login-faq__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none; /* Prevent icon from blocking click events */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f0f0f0;
}

.page-resources-beet88-login-faq__faq-item.active .page-resources-beet88-login-faq__faq-toggle {
    color: #26A9E0;
    transform: rotate(180deg); /* Rotate for minus sign */
    background-color: #e0e0e0;
}

.page-resources-beet88-login-faq__btn-link {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-size: 0.95em;
}

.page-resources-beet88-login-faq__btn-link:hover {
    background-color: #1e87bb;
}

/* Tips Section */
.page-resources-beet88-login-faq__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-resources-beet88-login-faq__tip-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-beet88-login-faq__tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-beet88-login-faq__tip-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: contain;
}

.page-resources-beet88-login-faq__tip-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-beet88-login-faq__tip-card p {
    color: #555555;
    font-size: 1em;
}

/* Call to Action Section */
.page-resources-beet88-login-faq__cta-content {
    text-align: center;
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-beet88-login-faq__main-title {
        font-size: 2.8em;
    }
    .page-resources-beet88-login-faq__section-title {
        font-size: 2.2em;
    }
}

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

    .page-resources-beet88-login-faq__hero-image img {
        border-radius: 8px;
    }

    .page-resources-beet88-login-faq__hero-content {
        margin-top: -60px; /* Adjust overlap */
        padding: 15px;
   }}