/* style/resources-cockfighting-88-beginner-guide.css */

/* Base styles for the page content */
.page-resources-cockfighting-88-beginner-guide {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Inherit from body or shared, ensuring text contrast */
}

/* Hero Section */
.page-resources-cockfighting-88-beginner-guide__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-resources-cockfighting-88-beginner-guide__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;
}

.page-resources-cockfighting-88-beginner-guide__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-resources-cockfighting-88-beginner-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-cockfighting-88-beginner-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* CTA Buttons */
.page-resources-cockfighting-88-beginner-guide__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-cockfighting-88-beginner-guide__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-cockfighting-88-beginner-guide__btn-primary:hover {
    background-color: #1e87c2;
    transform: translateY(-3px);
}

.page-resources-cockfighting-88-beginner-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-cockfighting-88-beginner-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-3px);
}

.page-resources-cockfighting-88-beginner-guide__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
}


/* Content Area */
.page-resources-cockfighting-88-beginner-guide__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content blocks on dark body */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-cockfighting-88-beginner-guide__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color */
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-cockfighting-88-beginner-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-resources-cockfighting-88-beginner-guide__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-cockfighting-88-beginner-guide__text-block p {
    margin-bottom: 15px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

.page-resources-cockfighting-88-beginner-guide__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-cockfighting-88-beginner-guide__list li {
    margin-bottom: 10px;
}

.page-resources-cockfighting-88-beginner-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-resources-cockfighting-88-beginner-guide__faq-list {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-cockfighting-88-beginner-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.page-resources-cockfighting-88-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-cockfighting-88-beginner-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-cockfighting-88-beginner-guide__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.page-resources-cockfighting-88-beginner-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-resources-cockfighting-88-beginner-guide__faq-item.active .page-resources-cockfighting-88-beginner-guide__faq-toggle {
    transform: rotate(45deg); /* Change to 'x' or rotate for 'minus' */
}

.page-resources-cockfighting-88-beginner-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

/* Crucial for FAQ expand */
.page-resources-cockfighting-88-beginner-guide__faq-item.active .page-resources-cockfighting-88-beginner-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px !important; /* Expanded padding */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-cockfighting-88-beginner-guide__hero-title {
        font-size: 3em;
    }
    .page-resources-cockfighting-88-beginner-guide__hero-description {
        font-size: 1.1em;
    }
    .page-resources-cockfighting-88-beginner-guide__section-title {
        font-size: 2.2em;
    }
    .page-resources-cockfighting-88-beginner-guide__sub-title {
        font-size: 1.6em;
    }
}

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

    /* Fixed header offset for video section or first content container */
    .page-resources-cockfighting-88-beginner-guide__hero-section {
        height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile hero */
    }

    .page-resources-cockfighting-88-beginner-guide__hero-title {
        font-size: 2em;
    }

    .page-resources-cockfighting-88-beginner-guide__hero-description {
        font-size: 1em;
    }

    .page-resources-cockfighting-88-beginner-guide__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        width: calc(100% - 30px) !important; /* Ensure buttons take full width minus padding */
        margin: 10px 15px !important; /* Adjust margins for full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-cockfighting-88-beginner-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
        padding: 0 15px; /* Add padding to button container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-cockfighting-88-beginner-guide__content-area {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-cockfighting-88-beginner-guide__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-resources-cockfighting-88-beginner-guide__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Mobile image responsiveness */
    .page-resources-cockfighting-88-beginner-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px; /* Maintain minimum size */
        min-height: 200px; /* Maintain minimum size */
    }

    /* All containers containing images must also be responsive */
    .page-resources-cockfighting-88-beginner-guide__section,
    .page-resources-cockfighting-88-beginner-guide__card,
    .page-resources-cockfighting-88-beginner-guide__container,
    .page-resources-cockfighting-88-beginner-guide__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Specific mobile video responsiveness (if any, though none explicitly in HTML yet) */
    .page-resources-cockfighting-88-beginner-guide video,
    .page-resources-cockfighting-88-beginner-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-cockfighting-88-beginner-guide__video-section,
    .page-resources-cockfighting-88-beginner-guide__video-container,
    .page-resources-cockfighting-88-beginner-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-resources-cockfighting-88-beginner-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-cockfighting-88-beginner-guide__hero-description {
        font-size: 0.9em;
    }
}

/* Ensure no filter is used on images */
.page-resources-cockfighting-88-beginner-guide img {
    filter: none; /* Explicitly ensure no filter is applied */
}

/* Color contrast enforcement (for example, if a card has a lighter background) */
.page-resources-cockfighting-88-beginner-guide__card {
    background: rgba(255, 255, 255, 0.1); /* Example: light background on dark body */
    color: #ffffff; /* Light text for contrast */
}