/* style/resources-cockfighting-live-guide.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

.page-resources-cockfighting-live-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Assuming default white body background */
}

.page-resources-cockfighting-live-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header offset for main content or hero section */
.page-resources-cockfighting-live-guide__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-resources-cockfighting-live-guide__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-cockfighting-live-guide__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-resources-cockfighting-live-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-resources-cockfighting-live-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-resources-cockfighting-live-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

.page-resources-cockfighting-live-guide__btn-primary,
.page-resources-cockfighting-live-guide__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-resources-cockfighting-live-guide__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources-cockfighting-live-guide__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

.page-resources-cockfighting-live-guide__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Brand color */
    border: 2px solid #26A9E0;
    margin-left: 15px;
}

.page-resources-cockfighting-live-guide__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1e87b7;
    border-color: #1e87b7;
}

.page-resources-cockfighting-live-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-cockfighting-live-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #26A9E0; /* Brand color for titles */
}

.page-resources-cockfighting-live-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Video Section */
.page-resources-cockfighting-live-guide__video-section {
    background-color: #f5f5f5;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for video section */
}

.page-resources-cockfighting-live-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px; /* Limit video width */
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-resources-cockfighting-live-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* cursor: pointer; Handled by JS overlay */
}

.page-resources-cockfighting-live-guide__video-cta {
    margin-top: 30px;
}


/* Feature Grid */
.page-resources-cockfighting-live-guide__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-resources-cockfighting-live-guide__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources-cockfighting-live-guide__feature-item:hover {
    transform: translateY(-5px);
}

.page-resources-cockfighting-live-guide__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-cockfighting-live-guide__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-resources-cockfighting-live-guide__feature-description {
    font-size: 1em;
    color: #555555;
    flex-grow: 1; /* Make descriptions fill available space */
}

/* Platform Grid */
.page-resources-cockfighting-live-guide__top-platforms-section {
    background-color: #26A9E0; /* Dark background */
    color: #ffffff;
}

.page-resources-cockfighting-live-guide__top-platforms-section .page-resources-cockfighting-live-guide__section-title {
    color: #ffffff;
}

.page-resources-cockfighting-live-guide__top-platforms-section .page-resources-cockfighting-live-guide__text-block {
    color: #f0f0f0;
}

.page-resources-cockfighting-live-guide__platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-resources-cockfighting-live-guide__platform-card {
    background-color: #ffffff; /* Light background for cards */
    color: #333333;
    padding: 30px;
    border: 1px solid #e0e0e0; /* Add border for contrast */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.page-resources-cockfighting-live-guide__platform-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-cockfighting-live-guide__platform-name {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-resources-cockfighting-live-guide__platform-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-cockfighting-live-guide__platform-features li {
    margin-bottom: 10px;
    font-size: 1em;
    color: #555555;
}

.page-resources-cockfighting-live-guide__platform-card .page-resources-cockfighting-live-guide__btn-secondary {
    margin-left: 0; /* Override margin for card buttons */
    align-self: flex-start; /* Align button to start */
}

/* Tips Section */
.page-resources-cockfighting-live-guide__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-resources-cockfighting-live-guide__tip-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0; /* Add border for contrast */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.page-resources-cockfighting-live-guide__tip-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-resources-cockfighting-live-guide__tip-description {
    font-size: 1em;
    color: #555555;
    flex-grow: 1;
}

/* FAQ Section */
.page-resources-cockfighting-live-guide__faq-section {
    background-color: #f9f9f9;
}

.page-resources-cockfighting-live-guide__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-resources-cockfighting-live-guide__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-resources-cockfighting-live-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #fefefe;
    transition: background-color 0.3s ease;
}

.page-resources-cockfighting-live-guide__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-cockfighting-live-guide__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1.2em; /* Ensure h3 inside is responsive */
}

.page-resources-cockfighting-live-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-resources-cockfighting-live-guide__faq-item.active .page-resources-cockfighting-live-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-cockfighting-live-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    text-align: left;
}

.page-resources-cockfighting-live-guide__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    font-size: 1em;
}

.page-resources-cockfighting-live-guide__faq-item.active .page-resources-cockfighting-live-guide__faq-answer {
    max-height: 1000px !important; /* Important for JS functionality */
    padding: 15px 25px;
}

/* Conclusion Section */
.page-resources-cockfighting-live-guide__conclusion-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-resources-cockfighting-live-guide__conclusion-section .page-resources-cockfighting-live-guide__section-title {
    color: #ffffff;
}

.page-resources-cockfighting-live-guide__conclusion-section .page-resources-cockfighting-live-guide__text-block {
    color: #f0f0f0;
}

.page-resources-cockfighting-live-guide__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-cockfighting-live-guide__hero-title {
        font-size: 2.5em;
    }
    .page-resources-cockfighting-live-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-cockfighting-live-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        flex-direction: column;
        text-align: center;
    }

    .page-resources-cockfighting-live-guide__hero-content {
        padding: 15px;
    }

    .page-resources-cockfighting-live-guide__hero-title {
        font-size: 2em;
    }

    .page-resources-cockfighting-live-guide__hero-description {
        font-size: 1em;
    }

    .page-resources-cockfighting-live-guide__section {
        padding: 40px 0;
    }

    .page-resources-cockfighting-live-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-cockfighting-live-guide__text-block {
        font-size: 1em;
        padding: 0 15px;
    }

    /* Images and Videos Responsive */
    .page-resources-cockfighting-live-guide img,
    .page-resources-cockfighting-live-guide video,
    .page-resources-cockfighting-live-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-cockfighting-live-guide__hero-image-wrapper,
    .page-resources-cockfighting-live-guide__video-wrapper,
    .page-resources-cockfighting-live-guide__feature-item,
    .page-resources-cockfighting-live-guide__platform-card,
    .page-resources-cockfighting-live-guide__tip-item,
    .page-resources-cockfighting-live-guide__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }

    .page-resources-cockfighting-live-guide__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section also has header offset */
    }

    /* Buttons responsive */
    .page-resources-cockfighting-live-guide__cta-button,
    .page-resources-cockfighting-live-guide__btn-primary,
    .page-resources-cockfighting-live-guide__btn-secondary,
    .page-resources-cockfighting-live-guide a[class*="button"],
    .page-resources-cockfighting-live-guide a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Remove left margin for stacking */
        margin-bottom: 10px; /* Add some space between stacked buttons */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-cockfighting-live-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-cockfighting-live-guide__feature-grid,
    .page-resources-cockfighting-live-guide__platform-grid,
    .page-resources-cockfighting-live-guide__tips-grid {
        grid-template-columns: 1fr; /* Single column layout */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-cockfighting-live-guide__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-cockfighting-live-guide__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-cockfighting-live-guide__faq-question h3 {
        font-size: 1.1em;
    }

    .page-resources-cockfighting-live-guide__faq-answer {
        padding: 0 20px;
    }

    .page-resources-cockfighting-live-guide__faq-item.active .page-resources-cockfighting-live-guide__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure content area images are not too small */
.page-resources-cockfighting-live-guide__feature-image,
.page-resources-cockfighting-live-guide__platform-image {
    min-width: 200px;
    min-height: 200px;
}

/* Image color filter restriction check - ensuring no filter properties are used */
.page-resources-cockfighting-live-guide img {
    filter: none !important; /* Explicitly prevent any filter effects */
}