:root {
    /* Custom Colors */
    --page-cockfighting-bg-primary: #08160F;
    --page-cockfighting-card-bg: #11271B;
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-cockfighting-border-color: #2E7A4E;
    --page-cockfighting-glow-color: #57E38D;
    --page-cockfighting-gold-color: #F2C14E;
    --page-cockfighting-divider-color: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-cockfighting-bg-primary); /* Dark background */
    color: var(--page-cockfighting-text-main); /* Light text for contrast */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
    background-color: var(--page-cockfighting-bg-primary);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    color: var(--page-cockfighting-gold-color); /* Use gold for H1 for prominence */
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
    /* No fixed font-size for H1, relying on responsive design and relative units */
}

.page-cockfighting__description {
    font-size: 1.1em;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
    min-width: 180px; /* Ensure buttons are not too small */
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: var(--page-cockfighting-text-main);
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--page-cockfighting-glow-color);
    border: 2px solid var(--page-cockfighting-glow-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-glow-color);
    color: var(--page-cockfighting-bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

/* General Section Styling */
.page-cockfighting__section {
    padding: 60px 20px;
    background-color: var(--page-cockfighting-bg-primary);
    border-bottom: 1px solid var(--page-cockfighting-divider-color);
}

.page-cockfighting__container {
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Inner padding for content */
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--page-cockfighting-gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-cockfighting-glow-color);
    border-radius: 2px;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: var(--page-cockfighting-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid var(--page-cockfighting-glow-color);
    padding-left: 15px;
}

.page-cockfighting p {
    margin-bottom: 15px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting strong {
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__list,
.page-cockfighting__ordered-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-cockfighting__list li,
.page-cockfighting__ordered-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list li::before {
    content: '✅'; /* Checkmark for unordered list */
    position: absolute;
    left: 0;
    color: var(--page-cockfighting-glow-color);
}

.page-cockfighting__ordered-list li::before {
    content: counter(list-item) '.';
    counter-increment: list-item;
    position: absolute;
    left: 0;
    color: var(--page-cockfighting-glow-color);
    font-weight: bold;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    max-width: 100%; /* Ensure responsiveness for content images */
}

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

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--page-cockfighting-text-main);
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.1); /* Slight hover effect */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--page-cockfighting-glow-color);
    margin-left: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−'; /* Change to minus when open for details tag */
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    color: var(--page-cockfighting-text-secondary);
    font-size: 0.95em;
    /* For JS fallback, we control max-height. For details tag, the default behavior is handled by browser. */
}

/* Hide default details marker */
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-cockfighting__faq-item summary {
    list-style: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding: 10px 15px 40px;
    }

    .page-cockfighting__main-title {
        font-size: 1.8em; /* Adjusted for mobile */
        margin-bottom: 15px;
    }

    .page-cockfighting__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%; /* Ensure container does not overflow */
        padding: 0 15px; /* Add padding to container */
        box-sizing: border-box;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-cockfighting__container {
        padding: 0; /* Remove inner padding as section has it */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
    }

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

    /* Video responsiveness (if any) */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* Small top padding */
    }

    /* Ensure all containers with images/videos/buttons adapt */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}