.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D); /* Fallback to default if not defined */
    background-color: var(--background-color, #F4F7FB); /* General page background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    background-color: var(--background-color, #F4F7FB);
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    text-align: center;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 1200px; /* Constrain image to container width */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000); /* Black for H1 */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-cockfighting__description {
    font-size: 1.1em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* General Sections */
.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
}

.page-cockfighting__text {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-main, #1F2D3D);
}

.page-cockfighting__image-content {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-cockfighting__features-section {
    background-color: var(--card-bg, #FFFFFF); /* Card BG for this section */
    padding: 60px 0;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__feature-item {
    background-color: var(--background-color, #F4F7FB); /* Lighter background for feature cards */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-color, #2F6BFF); /* Primary color for feature titles */
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    font-size: 0.95em;
    color: var(--text-main, #1F2D3D);
}

.page-cockfighting__feature-description a {
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: 500;
}
}

.page-cockfighting__feature-description a:hover {
    text-decoration: underline;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
    counter-reset: guide-step;
}

.page-cockfighting__guide-item {
    position: relative;
    padding: 20px 20px 20px 60px;
    text-align: left;
    margin-bottom: 20px;
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-cockfighting__guide-item::before {
    counter-increment: guide-step;
    content: "0" counter(guide-step);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
}

.page-cockfighting__guide-title {
    font-size: 1.25em;
    font-weight: 600;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 8px;
}

.page-cockfighting__guide-description {
    font-size: 0.95em;
    color: var(--text-main, #1F2D3D);
}

.page-cockfighting__guide-description a {
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: 500;
}

.page-cockfighting__guide-description a:hover {
    text-decoration: underline;
}

.page-cockfighting__cta-button--bottom {
    margin-top: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--background-color, #F4F7FB);
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-cockfighting__faq-question {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-cockfighting__faq-answer {
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
    line-height: 1.7;
}

.page-cockfighting__faq-answer a {
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: 500;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-cockfighting__hero-image {
        max-width: 100%;
    }
    .page-cockfighting__container {
        padding: 15px;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6em, 4.5vw, 2.2em);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 8px; /* Ensure small padding for mobile */
        padding-bottom: 20px;
    }
    .page-cockfighting__hero-image,
    .page-cockfighting__image-content {
        max-width: 100%;
        height: auto; /* Crucial for mobile overflow prevention */
        width: 100%; /* Ensure images fill container */
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4em, 5.5vw, 2em);
    }
    .page-cockfighting__feature-list {
        grid-template-columns: 1fr; /* Stack features on mobile */
    }
    .page-cockfighting__guide-item {
        padding-left: 50px;
    }
    .page-cockfighting__guide-item::before {
        left: 10px;
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
}

/* Enforce min-width for all images in content area, not covered by shared.css */
.page-cockfighting img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Maintain aspect ratio and fill space */
}