/* style/cockfighting.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-color); /* Body background is handled by shared, but sections use this */
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 40px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-cockfighting__main-title {
    color: var(--gold-color);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 100%; /* Ensures H1 doesn't overflow */
}

.page-cockfighting__description {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--primary-color);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__section {
    padding: 60px 20px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--divider-color);
    box-sizing: border-box;
}

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

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

.page-cockfighting__heading {
    color: var(--gold-color);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-cockfighting__heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--button-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-cockfighting__sub-heading {
    color: var(--text-main);
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-cockfighting__list-item {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.8;
}

.page-cockfighting__list-item strong {
    color: var(--text-main);
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__faq-question:hover {
    background-color: var(--primary-color);
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question::marker {
    display: none;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: var(--gold-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

.page-cockfighting__faq-answer {
    padding: 20px;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    font-size: 1.0em;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.5em;
    }
    .page-cockfighting__heading {
        font-size: 2em;
    }
    .page-cockfighting__sub-heading {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-content {
        margin-top: 30px;
        padding: 20px;
    }
    .page-cockfighting__main-title {
        font-size: 2em;
    }
    .page-cockfighting__description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .page-cockfighting__section,
    .page-cockfighting__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__heading {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__sub-heading {
        font-size: 1.3em;
        margin-top: 30px;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__faq-answer p {
        font-size: 0.95em;
    }

    /* 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__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__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__heading {
        font-size: 1.5em;
    }
    .page-cockfighting__sub-heading {
        font-size: 1.2em;
    }
    .page-cockfighting__description {
        font-size: 0.9em;
    }
    .page-cockfighting__faq-question {
        font-size: 1em;
    }
}