.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light subtle background for main content sections */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: #f8f9fa;
    text-align: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px; /* Ensure minimum size */
}

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 0 20px;
    margin-top: 20px; /* Added margin for separation */
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive H1 font size */
    color: #26A9E0; /* Brand color for main title */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-cockfighting__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a8cc4;
    border-color: #1a8cc4;
}

/* General Section Styling */
.page-cockfighting__section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Default light background for sections */
}

.page-cockfighting__section:nth-child(even) {
    background-color: #f8f9fa; /* Alternate background for visual separation */
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-cockfighting__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #333333;
    text-align: justify;
}

.page-cockfighting__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-cockfighting__text-block a:hover {
    color: #1a8cc4;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* Feature Cards / Grid */
.page-cockfighting__feature-cards,
.page-cockfighting__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-cockfighting__card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-title {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__card-text {
    font-size: 1rem;
    color: #555555;
}

/* Guide List */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__guide-item {
    background-color: #FFFFFF;
    border-left: 5px solid #26A9E0;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__guide-step-title {
    font-size: 1.3rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__guide-item p {
    font-size: 1rem;
    color: #555555;
}

/* Promotions List */
.page-cockfighting__promo-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    font-size: 1.05rem;
    color: #333333;
}

.page-cockfighting__promo-item {
    margin-bottom: 10px;
}

.page-cockfighting__promo-item strong {
    color: #26A9E0;
}

/* Features List */
.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__feature-item {
    background-color: #FFFFFF;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.page-cockfighting__feature-title {
    font-size: 1.3rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__feature-item p {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 15px;
}

.page-cockfighting__btn-download {
    margin-top: 15px;
    display: inline-block; /* Ensure button styling */
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 30px;
}

.page-cockfighting__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    background-color: #f0f8ff; /* Light blue background for summary */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question:hover {
    background-color: #e6f2ff;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    max-height: 0; /* Hidden by default for JS fallback */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 15px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer { /* For JS fallback */
    max-height: 500px !important;
    padding-top: 15px;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 10px 0 40px 0;
    }

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

    .page-cockfighting__hero-description {
        font-size: 1rem;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting 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: 12px 20px !important;
        font-size: 0.95rem !important;
    }

    .page-cockfighting__section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block,
    .page-cockfighting__card-text,
    .page-cockfighting__guide-item p,
    .page-cockfighting__promo-list,
    .page-cockfighting__feature-item p,
    .page-cockfighting__faq-answer {
        font-size: 0.95rem;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min image size on mobile */
        min-height: 200px !important; /* Ensure min image size on mobile */
    }

    .page-cockfighting__feature-cards,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card {
        padding: 20px;
    }

    .page-cockfighting__card-title,
    .page-cockfighting__guide-step-title,
    .page-cockfighting__feature-title {
        font-size: 1.2rem;
    }

    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    /* Ensure all containing elements for images/videos/buttons are responsive */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__feature-cards,
    .page-cockfighting__tips-grid,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
}