/* style/cockfighting.css */
/* Custom Colors */
:root {
    --page-cockfighting-primary-color: #11A84E;
    --page-cockfighting-secondary-color: #22C768;
    --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-cockfighting-card-bg: #11271B;
    --page-cockfighting-background: #08160F; /* This will be overridden by shared.css body background but used for consistency in specific elements */
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-border: #2E7A4E;
    --page-cockfighting-glow: #57E38D;
    --page-cockfighting-gold: #F2C14E;
    --page-cockfighting-divider: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring light text on dark background */
.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--page-cockfighting-text-main); /* Light text on dark body background */
    background-color: var(--page-cockfighting-background); /* This might be overridden by shared.css body background */
    line-height: 1.6;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Video on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--page-cockfighting-card-bg); /* Darker background for the hero section */
    overflow: hidden;
}

.page-cockfighting__video-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the video */
    margin-bottom: 30px; /* Space between video and text content */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer; /* Indicate it's clickable */
}

.page-cockfighting__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__description {
    font-size: 1.2em;
    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 */
}

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

.page-cockfighting__section:last-of-type {
    border-bottom: none;
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--page-cockfighting-gold);
    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-primary-color);
    border-radius: 2px;
}

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

/* Images */
.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    object-fit: cover; /* Ensures image covers area without distortion */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-cockfighting__list-item,
.page-cockfighting__ordered-list li {
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-main);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid var(--page-cockfighting-primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__ordered-list li {
    counter-increment: list-counter;
}

.page-cockfighting__ordered-list li::before {
    content: counter(list-counter) ". ";
    color: var(--page-cockfighting-gold);
    font-weight: bold;
    margin-right: 10px;
}

.page-cockfighting__sub-list {
    list-style-type: disc;
    padding-left: 30px;
    margin-top: 10px;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__sub-list li {
    background-color: transparent;
    border-left: none;
    padding: 5px 0;
    margin-bottom: 5px;
    box-shadow: none;
    color: var(--page-cockfighting-text-secondary);
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    box-sizing: border-box; /* Include padding in width calculation */
    max-width: 100%; /* Ensure button doesn't exceed container */
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* FAQ Section */
.page-cockfighting__faq {
    background-color: var(--page-cockfighting-deep-green); /* Slightly different background for FAQ */
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-cockfighting-text-main);
    background-color: var(--page-cockfighting-card-bg);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
    background-color: var(--page-cockfighting-divider);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
    color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    color: var(--page-cockfighting-text-secondary);
    font-size: 1em;
}

.page-cockfighting__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
    color: var(--page-cockfighting-text-secondary); /* Ensure paragraph text color */
}

/* Conclusion Section */
.page-cockfighting__conclusion .page-cockfighting__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

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

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

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
    }

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

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }

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

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

    .page-cockfighting__section-title {
        font-size: clamp(1.5em, 5vw, 2.2em);
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block,
    .page-cockfighting__list-item {
        font-size: 0.95em;
    }

    /* Mobile image adaptation */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset;
        min-height: unset;
    }

    /* Mobile video adaptation */
    .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;
    }

    /* General container padding for mobile */
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }
}