.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color for dark background */
    background-color: var(--background-color, #08160F); /* Page background from palette */
}

/* 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;
    text-align: center;
    padding: 10px 0 60px; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 700px; /* Limit height for hero image */
}

.page-cockfighting__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any potential overlay */
    background-color: transparent; /* No background on content block, for separation */
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    color: var(--gold, #F2C14E); /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-cockfighting__hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to mobile */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

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

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

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--text-main, #F2FFF6);
    border: 2px solid var(--border, #2E7A4E);
}

.page-cockfighting__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 122, 78, 0.4);
}

/* General Section Styles */
.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, 4vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    color: var(--gold, #F2C14E); /* Gold color for section titles */
}

.page-cockfighting__text-block {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__highlight-text {
    color: var(--gold, #F2C14E);
    font-weight: bold;
}

.page-cockfighting__text-link {
    color: var(--glow, #57E38D);
    text-decoration: none;
    font-weight: bold;
}

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

/* Section Specific Styles */
.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__features-section,
.page-cockfighting__faq-section {
    background-color: var(--card-bg, #11271B); /* Light background for these sections */
    color: var(--text-main, #F2FFF6);
    padding-bottom: 60px;
}

.page-cockfighting__types-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section {
    background-color: var(--deep-green, #0A4B2C); /* Darker background for these sections */
    color: var(--text-main, #F2FFF6);
    padding-bottom: 60px;
}

.page-cockfighting__image-wrapper {
    margin: 40px auto;
    text-align: center;
}

.page-cockfighting__image-wrapper--left {
    float: left;
    margin-right: 30px;
    max-width: 400px;
    width: 100%;
}

.page-cockfighting__image-wrapper--right {
    float: right;
    margin-left: 30px;
    max-width: 400px;
    width: 100%;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 1.05rem;
}

.page-cockfighting__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glow, #57E38D);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.page-cockfighting__ordered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item {
    padding-left: 0;
    margin-bottom: 15px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 1.05rem;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item::before {
    content: none;
}

.page-cockfighting__list--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding-top: 20px;
}

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

.page-cockfighting__faq-item {
    background-color: var(--deep-green, #0A4B2C); /* Darker background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main, #F2FFF6);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--gold, #F2C14E); /* Gold for FAQ questions */
    background-color: var(--divider, #1E3A2A); /* Slightly lighter background for question bar */
    border-bottom: 1px solid var(--border, #2E7A4E);
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.3);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--glow, #57E38D);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Clear floats for image wrappers */
.page-cockfighting__container::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting__hero-image {
        max-height: 500px;
    }
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-cockfighting__image-wrapper--left,
    .page-cockfighting__image-wrapper--right {
        float: none;
        margin: 20px auto;
        max-width: 100%;
    }
    .page-cockfighting__content-image {
        max-width: 100%;
    }
    .page-cockfighting__list--grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-image {
        max-height: 400px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to buttons container */
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px; /* Adjust padding for smaller screens */
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 25px;
        padding-top: 30px;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__faq-answer {
        font-size: 0.95rem;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

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

@media (max-width: 480px) {
    .page-cockfighting__hero-image {
        max-height: 300px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }
    .page-cockfighting__hero-description {
        font-size: 0.9rem;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
    .page-cockfighting__faq-question {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.3rem;
    }
}