/* style/resources-cockfighting-strategies.css */

/* Base styles for the page content */
.page-resources-cockfighting-strategies {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-cockfighting-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-resources-cockfighting-strategies__hero-section,
.page-resources-cockfighting-strategies__introduction-section,
.page-resources-cockfighting-strategies__factors-section,
.page-resources-cockfighting-strategies__betting-strategies-section,
.page-resources-cockfighting-strategies__tips-section,
.page-resources-cockfighting-strategies__cta-section,
.page-resources-cockfighting-strategies__faq-section,
.page-resources-cockfighting-strategies__conclusion-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

/* Background colors based on body background */
.page-resources-cockfighting-strategies__dark-bg {
    background-color: #0a0a0a; /* Match body background */
    color: #ffffff;
}

.page-resources-cockfighting-strategies__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-resources-cockfighting-strategies__hero-section {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a minimum height */
    position: relative;
}

.page-resources-cockfighting-strategies__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-cockfighting-strategies__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-resources-cockfighting-strategies__hero-content {
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
    z-index: 3;
}

.page-resources-cockfighting-strategies__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-cockfighting-strategies__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-cockfighting-strategies__hero-cta-buttons,
.page-resources-cockfighting-strategies__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General button styles */
.page-resources-cockfighting-strategies__btn-primary,
.page-resources-cockfighting-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-resources-cockfighting-strategies__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-cockfighting-strategies__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-resources-cockfighting-strategies__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-cockfighting-strategies__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b7;
    border-color: #1e87b7;
}

/* Specific login/register button color as per requirements */
a[href*="plink_id"].page-resources-cockfighting-strategies__btn-primary {
    background-color: #EA7C07; /* Login color */
    border-color: #EA7C07;
}

a[href*="plink_id"].page-resources-cockfighting-strategies__btn-primary:hover {
    background-color: #c96806;
    border-color: #c96806;
}

/* General content styling */
.page-resources-cockfighting-strategies__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
    line-height: 1.3;
}

.page-resources-cockfighting-strategies__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
    line-height: 1.3;
}

.page-resources-cockfighting-strategies__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit;
}

.page-resources-cockfighting-strategies__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: inherit;
}

.page-resources-cockfighting-strategies__list-item {
    margin-bottom: 10px;
    color: inherit;
}

.page-resources-cockfighting-strategies__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-filter: none; /* Ensure no filter is applied */
    filter: none; /* Ensure no filter is applied */
}

.page-resources-cockfighting-strategies__content-image--center {
    margin-left: auto;
    margin-right: auto;
}

.page-resources-cockfighting-strategies__image-text-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.page-resources-cockfighting-strategies__image-text-block .page-resources-cockfighting-strategies__content-image {
    flex-shrink: 0;
    max-width: 40%;
    margin-top: 0;
    margin-bottom: 0;
}

.page-resources-cockfighting-strategies__image-text-block .page-resources-cockfighting-strategies__text-content {
    flex-grow: 1;
}

/* CTA Section specific */
.page-resources-cockfighting-strategies__cta-content {
    text-align: center;
}

/* FAQ Section */
.page-resources-cockfighting-strategies__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-resources-cockfighting-strategies__faq-item {
    background-color: #f8f8f8; /* Light background for FAQ items on light section */
    color: #333333; /* Dark text for light background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-cockfighting-strategies__faq-item.active {
    background-color: #e0f2f7; /* Slightly different background when active */
}

.page-resources-cockfighting-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    background-color: #f0f0f0; /* Slightly darker for question area */
    transition: background-color 0.3s ease;
}

.page-resources-cockfighting-strategies__faq-question:hover {
    background-color: #e6e6e6;
}

.page-resources-cockfighting-strategies__faq-title {
    margin: 0;
    color: #333333;
}

.page-resources-cockfighting-strategies__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-resources-cockfighting-strategies__faq-item.active .page-resources-cockfighting-strategies__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus visual effect */
}

.page-resources-cockfighting-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-cockfighting-strategies__faq-item.active .page-resources-cockfighting-strategies__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 15px 20px;
}

.page-resources-cockfighting-strategies__faq-answer .page-resources-cockfighting-strategies__text-block {
    margin-bottom: 0;
    color: #333333;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources-cockfighting-strategies__hero-title {
        font-size: 2.8em;
    }
    .page-resources-cockfighting-strategies__section-title {
        font-size: 2em;
    }
    .page-resources-cockfighting-strategies__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-resources-cockfighting-strategies {
        font-size: 16px;
        line-height: 1.6;
        max-width: 100%;
        overflow-x: hidden;
    }

    .page-resources-cockfighting-strategies__hero-section {
        min-height: 400px;
    }

    .page-resources-cockfighting-strategies__hero-title {
        font-size: 2em;
    }

    .page-resources-cockfighting-strategies__hero-description {
        font-size: 1em;
    }

    .page-resources-cockfighting-strategies__hero-cta-buttons,
    .page-resources-cockfighting-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-cockfighting-strategies__btn-primary,
    .page-resources-cockfighting-strategies__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-cockfighting-strategies__section-title {
        font-size: 1.8em;
    }

    .page-resources-cockfighting-strategies__sub-title {
        font-size: 1.3em;
    }

    .page-resources-cockfighting-strategies__image-text-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-resources-cockfighting-strategies__image-text-block .page-resources-cockfighting-strategies__content-image {
        max-width: 100%;
    }

    /* Images responsiveness */
    .page-resources-cockfighting-strategies img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure all image containers are responsive */
    .page-resources-cockfighting-strategies__section,
    .page-resources-cockfighting-strategies__card,
    .page-resources-cockfighting-strategies__container,
    .page-resources-cockfighting-strategies__image-text-block {
        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-resources-cockfighting-strategies__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-resources-cockfighting-strategies__faq-answer {
        padding: 0 15px;
    }
    .page-resources-cockfighting-strategies__faq-item.active .page-resources-cockfighting-strategies__faq-answer {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-cockfighting-strategies__hero-title {
        font-size: 1.8em;
    }
    .page-resources-cockfighting-strategies__section-title {
        font-size: 1.5em;
    }
}