.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text color for light body background */
    background-color: #f5f5f5; /* Light background for the main content area */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Brand primary color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.page-cockfighting__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Brand secondary color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Primary brand color underline */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333333;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: #FFD700;
    color: #8B0000; /* Dark red text for primary button */
    border: 2px solid #FFD700;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
}

/* Image and Text Block */
.page-cockfighting__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-cockfighting__content-image {
    width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
}

.page-cockfighting__text-content {
    flex: 1;
    min-width: 300px;
}

/* Card Grid */
.page-cockfighting__card-grid,
.page-cockfighting__advantages-grid,
.page-cockfighting__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card,
.page-cockfighting__advantage-item,
.page-cockfighting__tip-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text for light card background */
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
}

.page-cockfighting__advantage-icon {
    width: 200px; /* Ensure display size is at least 200px */
    height: 200px;
    margin: 0 auto 20px auto; /* Center the icon */
    object-fit: contain;
    display: block; /* Ensure block level for margin auto */
}

.page-cockfighting__card-title,
.page-cockfighting__advantage-title,
.page-cockfighting__tip-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-cockfighting__card-description,
.page-cockfighting__advantage-description,
.page-cockfighting__tip-description {
    font-size: 1em;
    color: #555555;
}

/* Lists */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-left: 20px;
}

.page-cockfighting__list--ordered {
    list-style: decimal;
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
    font-size: 1.1em;
    color: #333333;
}

.page-cockfighting__list:not(.page-cockfighting__list--ordered) .page-cockfighting__list-item::before {
    content: '•';
    color: #FFD700;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Video Section */
.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100%) */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #000; /* Fallback for video */
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #8B0000; /* Dark red background for FAQ */
    color: #ffffff;
    padding: 60px 20px;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #FFD700; /* Golden title on dark red background */
}

.page-cockfighting__faq-section .page-cockfighting__paragraph {
    color: #f0f0f0;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

/* CTA Section Bottom */
.page-cockfighting__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f5f5f5;
    color: #333333;
}

.page-cockfighting__cta-container {
    max-width: 900px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Dark and Light Background Classes for Contrast */
.page-cockfighting__dark-bg {
    background-color: #8B0000;
    color: #ffffff;
}
.page-cockfighting__dark-bg .page-cockfighting__paragraph {
    color: #f0f0f0;
}
.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: #FFD700;
}
.page-cockfighting__dark-bg .page-cockfighting__sub-title {
    color: #FFD700;
}

.page-cockfighting__light-bg {
    background-color: #f5f5f5;
    color: #333333;
}
.page-cockfighting__light-bg .page-cockfighting__paragraph {
    color: #333333;
}
.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: #8B0000;
}
.page-cockfighting__light-bg .page-cockfighting__sub-title {
    color: #8B0000;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.6em;
    }
    .page-cockfighting__image-text-block {
        flex-direction: column;
    }
    .page-cockfighting__content-image {
        width: 100%;
        max-width: 600px; /* Constrain image width for readability */
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-cockfighting__container {
        padding: 30px 15px;
    }

    .page-cockfighting__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }

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

    /* Images responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min-width for all content images */
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__image-text-block,
    .page-cockfighting__card-grid,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__tips-grid,
    .page-cockfighting__faq-list,
    .page-cockfighting__cta-container,
    .page-cockfighting__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scrolling */
    }

    /* Video responsiveness */
    .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-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
    }
    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Button responsiveness */
    .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; /* Full width buttons */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px; /* Adjust padding for mobile */
        font-size: 1em;
    }
    .page-cockfighting__hero-cta,
    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-cockfighting__card-grid,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
    .page-cockfighting__advantage-icon {
        width: 200px !important; /* Ensure min-width for mobile icons */
        height: 200px !important;
        min-width: 200px !important;
    }
    .page-cockfighting__content-image {
        min-width: 200px !important;
    }
}