/* Base styles for the page */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background: #F4F7FB; /* Background */
    padding-bottom: 40px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    margin-bottom: 40px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
    aspect-ratio: 16/9;
}

.page-cockfighting__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem); /* Dynamic font size for H1 */
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__description {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    max-width: 900px;
    margin: 0 auto 30px;
}

.page-cockfighting__description .highlight {
    font-weight: bold;
    color: #2F6BFF; /* Main Color */
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main Color */
    border: 2px solid #2F6BFF; /* Main Color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__btn-secondary:hover {
    background: #F4F7FB; /* Background */
    transform: translateY(-2px);
}

/* General Section Styles */
.page-cockfighting__section {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 20px;
    background: #ffffff; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__dark-section {
    background: #2F6BFF; /* Main Color */
    color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__text-block,
.page-cockfighting__dark-section .page-cockfighting__sub-title,
.page-cockfighting__dark-section .page-cockfighting__list li {
    color: #ffffff;
}

.page-cockfighting__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%); /* Main and Aux Color */
    border-radius: 2px;
}

.page-cockfighting__sub-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting__text-block b {
    color: #2F6BFF; /* Main Color */
}

.page-cockfighting__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting__list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-cockfighting__list li b {
    color: #2F6BFF; /* Main Color */
}

/* FAQ Section Styles */
.page-cockfighting__faq-section {
    margin-bottom: 60px;
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #D6E2FF; /* Border Color */
    overflow: hidden;
    background: #fff; /* Card BG */
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #1F2D3D; /* Text Main */
    background: #ffffff; /* Card BG */
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: #F4F7FB; /* Background */
}
.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #1F2D3D; /* Text Main */
}
.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF; /* Main Color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    background: #F4F7FB; /* Background */
    border-radius: 0 0 5px 5px;
    color: #1F2D3D; /* Text Main */
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin: 0;
    padding-top: 10px;
    color: #1F2D3D; /* Text Main */
}

/* Footer CTA buttons */
.page-cockfighting__cta-buttons--bottom {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }

    .page-cockfighting__description {
        font-size: 1rem;
    }

    .page-cockfighting__section {
        margin-bottom: 30px;
        padding: 15px;
    }

    .page-cockfighting__section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .page-cockfighting__sub-title {
        font-size: 1.4rem;
    }

    .page-cockfighting__text-block,
    .page-cockfighting__list li {
        font-size: 1rem;
    }

    .page-cockfighting__cta-buttons {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-cockfighting__hero-section {
        padding-top: 10px; /* Small top padding, not var(--header-offset) */
        margin-bottom: 30px;
    }
    .page-cockfighting__hero-image img {
        object-fit: contain !important; /* Must be contain */
        aspect-ratio: unset !important; /* Must be unset */
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__hero-content {
        padding: 20px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust clamp for smaller screens */
        text-align: center;
    }
    .page-cockfighting__description {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 1rem;
    }

    /* 通用图片与容器 */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-cockfighting__section,
    .page-cockfighting__content-wrapper,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
        text-align: center;
    }
    .page-cockfighting__section-title::after {
        width: 60px;
    }
    .page-cockfighting__sub-title {
        font-size: 1.3rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__list li {
        font-size: 0.95rem;
    }
    .page-cockfighting__list {
        margin-left: 20px;
    }
}