/* style/cockfighting.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-dark: #08160F;
    --bg-card: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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);
    background-color: var(--bg-dark); /* Body background is dark, so content text should be light */
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
    overflow: hidden;
    color: var(--text-main);
    background-color: var(--bg-dark);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Ensure image wrapper can scale */
    margin-bottom: 40px; /* Space between image and text */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Ensure content is in normal flow */
    z-index: 1; /* Keep content above any potential background elements */
}

.page-cockfighting__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-main);
    max-width: 100%; /* Prevent title from overflowing */
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

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

.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;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main);
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-main);
    line-height: 1.3;
}

.page-cockfighting__subsection-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--glow-color);
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.page-cockfighting__light-bg {
    background-color: var(--bg-dark); /* Using dark background with light text for entire page for consistency */
    color: var(--text-main);
}

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

.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 40px auto;
    object-fit: cover;
    min-width: 200px; /* Minimum image width */
    min-height: 200px; /* Minimum image height */
}

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

.page-cockfighting__list-item {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: var(--text-secondary);
}

.page-cockfighting__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow-color);
}

.page-cockfighting__list-item-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-main);
}

.page-cockfighting__numbered-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-bottom: 30px;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
    padding-left: 45px;
    margin-bottom: 25px;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter) ".";
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    position: absolute;
    left: 0;
    top: 0;
}

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

.page-cockfighting__card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

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

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

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

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

.page-cockfighting__faq-item {
    background-color: var(--bg-card);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

.page-cockfighting__text-link {
    color: var(--glow-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: var(--gold-color);
}

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

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

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

    .page-cockfighting__hero-section {
        padding: 10px 15px 40px 15px;
    }

    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-cockfighting__hero-content {
        padding: 0 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

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

    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 20px;
    }

    .page-cockfighting__subsection-title {
        font-size: 1.3rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__card-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .page-cockfighting__cards-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-cockfighting__card {
        padding: 25px;
    }

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

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

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

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Allow smaller images on mobile if needed, but still responsive */
        min-height: unset !important;
    }

    /* Mobile container responsiveness */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section {
        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;
    }
}

/* Ensure no filter properties are used for images */
.page-cockfighting img {
    filter: none; /* Explicitly ensure no filters are applied */
}