.page-blog-choosing-safe-betting-platform {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #F5F7FA; /* Page background color */
}

.page-blog-choosing-safe-betting-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-blog-choosing-safe-betting-platform__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background-color: #F5F7FA; /* Ensure a background for content */
}

.page-blog-choosing-safe-betting-platform__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-blog-choosing-safe-betting-platform__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Ensure image doesn't stretch too much */
}

.page-blog-choosing-safe-betting-platform__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog-choosing-safe-betting-platform__hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: #E53935;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-blog-choosing-safe-betting-platform__hero-description {
    font-size: 1.15rem;
    color: #333333;
    margin-bottom: 30px;
}

.page-blog-choosing-safe-betting-platform__hero-cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-choosing-safe-betting-platform__hero-cta-button:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

/* General Section Styles */
.page-blog-choosing-safe-betting-platform__introduction-section,
.page-blog-choosing-safe-betting-platform__factors-section,
.page-blog-choosing-safe-betting-platform__tips-section,
.page-blog-choosing-safe-betting-platform__faq-section,
.page-blog-choosing-safe-betting-platform__conclusion-section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-choosing-safe-betting-platform__dark-section {
    background: #E53935;
    color: #ffffff;
    padding: 60px 0;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-choosing-safe-betting-platform__dark-section .page-blog-choosing-safe-betting-platform__section-title,
.page-blog-choosing-safe-betting-platform__dark-section .page-blog-choosing-safe-betting-platform__text-block {
    color: #ffffff;
}

.page-blog-choosing-safe-betting-platform__section-title {
    font-size: 2.2rem;
    color: #E53935;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-blog-choosing-safe-betting-platform__dark-section .page-blog-choosing-safe-betting-platform__section-title {
    color: #ffffff;
}

.page-blog-choosing-safe-betting-platform__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Factors Section */
.page-blog-choosing-safe-betting-platform__factor-item {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FFFFFF;
}

.page-blog-choosing-safe-betting-platform__factor-title {
    font-size: 1.8rem;
    color: #E53935;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-choosing-safe-betting-platform__factor-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Why t888 Section */
.page-blog-choosing-safe-betting-platform__why-t888-section {
    text-align: center;
}

.page-blog-choosing-safe-betting-platform__why-t888-section .page-blog-choosing-safe-betting-platform__cta-button {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #ffffff;
}

.page-blog-choosing-safe-betting-platform__why-t888-section .page-blog-choosing-safe-betting-platform__cta-button:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Tips Section */
.page-blog-choosing-safe-betting-platform__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-blog-choosing-safe-betting-platform__tips-item {
    background-color: #F5F7FA;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-left: 5px solid #E53935;
    border-radius: 5px;
    font-size: 1.05rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.page-blog-choosing-safe-betting-platform__faq-list {
    margin-top: 30px;
}

.page-blog-choosing-safe-betting-platform__faq-item {
    margin-bottom: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FFFFFF;
}

.page-blog-choosing-safe-betting-platform__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #F5F7FA;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-blog-choosing-safe-betting-platform__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-choosing-safe-betting-platform__faq-question:hover {
    background-color: #eceff1;
}

.page-blog-choosing-safe-betting-platform__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #E53935;
    line-height: 1;
    margin-left: 10px;
}

.page-blog-choosing-safe-betting-platform__faq-item[open] .page-blog-choosing-safe-betting-platform__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-blog-choosing-safe-betting-platform__faq-answer {
    padding: 15px 20px;
    font-size: 1rem;
    color: #555555;
    border-top: 1px solid #E0E0E0;
}

.page-blog-choosing-safe-betting-platform__faq-answer p {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-blog-choosing-safe-betting-platform__conclusion-section {
    text-align: center;
}

/* Universal Button Styles for mobile responsiveness */
.page-blog-choosing-safe-betting-platform__cta-button,
.page-blog-choosing-safe-betting-platform__btn-primary,
.page-blog-choosing-safe-betting-platform__btn-secondary,
.page-blog-choosing-safe-betting-platform a[class*="button"],
.page-blog-choosing-safe-betting-platform a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    /* Add default padding for larger screens */
    padding: 15px 30px; 
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-choosing-safe-betting-platform__hero-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }

    .page-blog-choosing-safe-betting-platform__section-title {
        font-size: 2rem;
    }

    .page-blog-choosing-safe-betting-platform__factor-title {
        font-size: 1.6rem;
    }
}


@media (max-width: 768px) {
    .page-blog-choosing-safe-betting-platform {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO 主图区域 */
    .page-blog-choosing-safe-betting-platform__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

    .page-blog-choosing-safe-betting-platform__hero-image-wrapper {
        max-height: 300px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-blog-choosing-safe-betting-platform__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-choosing-safe-betting-platform__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-blog-choosing-safe-betting-platform__hero-description {
        font-size: 1rem;
    }

    .page-blog-choosing-safe-betting-platform__hero-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* 其他内容模块 - 通用图片与容器 */
    .page-blog-choosing-safe-betting-platform__container {
        padding: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-choosing-safe-betting-platform__introduction-section,
    .page-blog-choosing-safe-betting-platform__factors-section,
    .page-blog-choosing-safe-betting-platform__tips-section,
    .page-blog-choosing-safe-betting-platform__faq-section,
    .page-blog-choosing-safe-betting-platform__conclusion-section,
    .page-blog-choosing-safe-betting-platform__dark-section {
        padding: 30px 0;
        margin-bottom: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-blog-choosing-safe-betting-platform__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .page-blog-choosing-safe-betting-platform__factor-item {
        padding: 15px;
        margin-bottom: 25px;
    }

    .page-blog-choosing-safe-betting-platform__factor-title {
        font-size: 1.4rem;
    }

    /* 通用图片与容器 */
    .page-blog-choosing-safe-betting-platform img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* 按钮与按钮容器 */
    .page-blog-choosing-safe-betting-platform__cta-button,
    .page-blog-choosing-safe-betting-platform__btn-primary,
    .page-blog-choosing-safe-betting-platform__btn-secondary,
    .page-blog-choosing-safe-betting-platform a[class*="button"],
    .page-blog-choosing-safe-betting-platform a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 按钮容器移动端适配 */
    .page-blog-choosing-safe-betting-platform__cta-buttons, /* If there were multiple buttons in a container */
    .page-blog-choosing-safe-betting-platform__button-group,
    .page-blog-choosing-safe-betting-platform__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-wrap: wrap !important;
        gap: 10px; /* Ensure spacing if multiple buttons wrap */
        display: flex; /* Ensure flex context for wrap/direction */
        flex-direction: column; /* Stack buttons vertically on mobile */
        align-items: center; /* Center stacked buttons */
    }

    /* FAQ specific mobile styles */
    .page-blog-choosing-safe-betting-platform__faq-question {
        font-size: 1.05rem;
        padding: 15px;
    }

    .page-blog-choosing-safe-betting-platform__faq-answer {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
}