:root {
    --main-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-cockfighting {
    color: var(--text-main); /* Default to light text for dark background */
    background-color: var(--bg); /* Deep green background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure image doesn't overflow */
    background-color: var(--card-bg); /* Darker background for hero content area */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no color filters */
}

.page-cockfighting__hero-content {
    max-width: 800px;
    z-index: 1; /* Ensure content is above any potential background elements */
    padding: 0 15px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--gold); /* Gold color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
}

.page-cockfighting__cta-buttons--center {
    margin-top: 40px;
}

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--gold);
    color: var(--bg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
    line-height: 1.3;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__text-block strong {
    color: var(--gold);
}

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
    background-color: var(--bg);
    color: var(--text-main);
}

.page-cockfighting__benefits-section,
.page-cockfighting__types-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg); /* Use a slightly lighter background for contrast */
    color: var(--text-main);
}

.page-cockfighting__dark-bg {
    background-color: var(--bg);
    color: var(--text-main);
}

.page-cockfighting__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

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

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-card {
    align-items: center;
    text-align: center;
}

.page-cockfighting__step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, var(--main-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: none; /* Ensure no color filters */
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no color filters */
}

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

.page-cockfighting__tip-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

.page-cockfighting__tip-title {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__tip-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-qtext {
    color: var(--gold); /* Gold for question text */
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    color: var(--gold);
    line-height: 1;
    margin-left: 15px;
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

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

    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .page-cockfighting__benefits-grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__type-cards,
    .page-cockfighting__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 400px;
    }

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

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

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-cockfighting__intro-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__types-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__text-block {
        font-size: 0.95rem;
    }

    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }

    .page-cockfighting__card-text {
        font-size: 0.9rem;
    }

    .page-cockfighting__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .page-cockfighting__card-image {
        height: 180px;
    }

    .page-cockfighting__tip-title {
        font-size: 1.2rem;
    }

    .page-cockfighting__tip-text {
        font-size: 0.9rem;
    }

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

    .page-cockfighting__faq-toggle {
        font-size: 1.5rem;
    }

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    /* Mobile image and video responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-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 */
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Small top padding for hero section */
    }
}