/* style/resources-safe-betting-platform-selection.css */

/* Base Styles */
.page-resources-safe-betting-platform-selection {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: var(--background-color, #FFFFFF);
}

.page-resources-safe-betting-platform-selection__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-safe-betting-platform-selection__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-safe-betting-platform-selection__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-resources-safe-betting-platform-selection__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-safe-betting-platform-selection__highlight {
    font-weight: bold;
    color: #017439;
}

/* Buttons */
.page-resources-safe-betting-platform-selection__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-resources-safe-betting-platform-selection__cta-buttons--center {
    justify-content: center;
}

.page-resources-safe-betting-platform-selection__btn-primary,
.page-resources-safe-betting-platform-selection__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-safe-betting-platform-selection__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-resources-safe-betting-platform-selection__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

.page-resources-safe-betting-platform-selection__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-resources-safe-betting-platform-selection__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

/* Hero Section */
.page-resources-safe-betting-platform-selection__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}

.page-resources-safe-betting-platform-selection__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-resources-safe-betting-platform-selection__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-safe-betting-platform-selection__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #ffffff;
}

.page-resources-safe-betting-platform-selection__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
    z-index: 1;
    filter: none; /* Ensure no color filters */
}

/* Content Sections */
.page-resources-safe-betting-platform-selection__content-section,
.page-resources-safe-betting-platform-selection__criteria-section,
.page-resources-safe-betting-platform-selection__expert-advice-section,
.page-resources-safe-betting-platform-selection__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-resources-safe-betting-platform-selection__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-resources-safe-betting-platform-selection__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Grid for Criteria Section */
.page-resources-safe-betting-platform-selection__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-safe-betting-platform-selection__card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    min-height: 200px; /* Ensure cards have minimum height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #333333;
}

.page-resources-safe-betting-platform-selection__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-safe-betting-platform-selection__card-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

.page-resources-safe-betting-platform-selection__card-image {
    width: 100%;
    height: auto;
    max-height: 300px; /* Limit height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no color filters */
}

.page-resources-safe-betting-platform-selection__card-text {
    font-size: 1em;
    color: #555555;
}

/* About lu88 Section */
.page-resources-safe-betting-platform-selection__about-lu88-section {
    padding: 80px 0;
}

.page-resources-safe-betting-platform-selection__features-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-safe-betting-platform-selection__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #ffffff;
}

.page-resources-safe-betting-platform-selection__feature-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-resources-safe-betting-platform-selection__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Expert Advice Section */
.page-resources-safe-betting-platform-selection__advice-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-safe-betting-platform-selection__advice-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
}

.page-resources-safe-betting-platform-selection__advice-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
}

.page-resources-safe-betting-platform-selection__advice-description {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-resources-safe-betting-platform-selection__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-resources-safe-betting-platform-selection__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.page-resources-safe-betting-platform-selection__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #017439;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-resources-safe-betting-platform-selection__faq-question:hover {
    background-color: #e5e5e5;
}

.page-resources-safe-betting-platform-selection__faq-title {
    margin: 0;
    font-size: 1.1em;
    color: #017439;
}

.page-resources-safe-betting-platform-selection__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-safe-betting-platform-selection__faq-item.active .page-resources-safe-betting-platform-selection__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-safe-betting-platform-selection__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #555555;
    background-color: #ffffff;
}

.page-resources-safe-betting-platform-selection__faq-item.active .page-resources-safe-betting-platform-selection__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px !important;
}

.page-resources-safe-betting-platform-selection__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Conclusion Section */
.page-resources-safe-betting-platform-selection__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-safe-betting-platform-selection__hero-title {
        font-size: 3em;
    }
    .page-resources-safe-betting-platform-selection__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-safe-betting-platform-selection__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-safe-betting-platform-selection__hero-content {
        margin-bottom: 30px;
    }

    .page-resources-safe-betting-platform-selection__hero-title {
        font-size: 2.5em;
    }

    .page-resources-safe-betting-platform-selection__hero-description {
        font-size: 1.1em;
    }

    .page-resources-safe-betting-platform-selection__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .page-resources-safe-betting-platform-selection__section-title {
        font-size: 1.8em;
    }

    .page-resources-safe-betting-platform-selection__text-block {
        font-size: 1em;
    }
}