.page-cockfighting {
    color: #F2FFF6; /* Text Main */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background color for hero section */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-cockfighting__hero-content {
    position: relative; /* Ensure content is above any background effects */
    z-index: 2; /* Ensure text is above darkened image */
    max-width: 800px;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-cockfighting__subtitle {
    font-size: 1.2em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure button container takes full width for wrapping */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small,
.page-cockfighting__btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: 100%; /* Ensure buttons don't overflow */
    min-width: 150px; /* Minimum width for buttons */
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary:hover {
    background: #2AD16F;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-small {
    padding: 8px 18px;
    font-size: 0.95em;
    min-width: 120px;
}

.page-cockfighting__btn-large {
    padding: 15px 30px;
    font-size: 1.2em;
    min-width: 200px;
}

/* Sections */
.page-cockfighting__section {
    padding: 50px 0;
    background-color: #08160F; /* Default section background */
}

.page-cockfighting__section:nth-of-type(even) {
    background-color: #0A4B2C; /* Deep Green for alternating sections */
}

.page-cockfighting__dark-section {
    background-color: #11271B; /* Card BG for dark sections */
    color: #F2FFF6;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #F2FFF6; /* Text Main */
    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: linear-gradient(90deg, #2AD16F, #13994A);
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__text-block strong {
    color: #F2FFF6; /* Highlight strong text */
}

.page-cockfighting__text-block a {
    color: #2AD16F;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__text-block a:hover {
    text-decoration: underline;
}

.page-cockfighting__text-block--note {
    font-style: italic;
    font-size: 0.95em;
    text-align: center;
    margin-top: 30px;
}

/* Images in content */
.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-cockfighting__image--center {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.page-cockfighting__image--right {
    margin-left: auto;
    max-width: 600px;
}

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

.page-cockfighting__feature-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__list-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 8px;
}

.page-cockfighting__list-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* Guide List (Ordered List) */
.page-cockfighting__guide-list {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__guide-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    padding-left: 70px; /* Space for counter */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-item::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 35px;
    height: 35px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-cockfighting__guide-title {
    font-size: 1.4em;
    color: #F2FFF6; /* Text Main */
    margin-top: 0;
    margin-bottom: 5px;
}

.page-cockfighting__guide-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 180px;
}

.page-cockfighting__card-title {
    font-size: 1.3em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-cockfighting__card-description {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1; /* Allow description to take available space */
    margin-bottom: 20px;
}

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

.page-cockfighting__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter hover on border color */
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F; /* Main green */
}

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__faq-answer strong {
    color: #F2FFF6;
}

.page-cockfighting__faq-answer a {
    color: #2AD16F;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-cockfighting__cta-container {
    text-align: center;
    padding: 40px 20px;
}

.page-cockfighting__cta-container .page-cockfighting__section-title {
    margin-bottom: 20px;
}

.page-cockfighting__cta-container .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__container {
        padding: 15px;
    }
    .page-cockfighting__hero-section {
        padding: 40px 15px;
    }
}

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

    .page-cockfighting__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-cockfighting__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-cockfighting__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .page-cockfighting__btn-large {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px;
        font-size: 1em;
        min-width: unset; /* Remove min-width for full flexibility */
        text-align: center;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
    }

    /* Images responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        min-width: 200px !important; /* Enforce min-width */
        min-height: 200px !important; /* Enforce min-height */
    }

    .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;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Video specific for mobile (if any, though none currently in HTML) */
    .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;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__promotion-cards {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .page-cockfighting__feature-item,
    .page-cockfighting__card,
    .page-cockfighting__guide-item,
    .page-cockfighting__list-item,
    .page-cockfighting__faq-item {
        margin-bottom: 15px;
        padding: 20px;
    }

    .page-cockfighting__guide-item {
        padding-left: 60px; /* Adjust padding for smaller counter */
    }

    .page-cockfighting__guide-item::before {
        left: 15px;
        top: 18px;
        width: 30px;
        height: 30px;
        font-size: 1.1em;
    }

    .page-cockfighting__card-image {
        height: auto; /* Allow image height to adjust */
    }
}