:root {
    --page-cockfighting-primary: #2F6BFF;
    --page-cockfighting-secondary: #6FA3FF;
    --page-cockfighting-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --page-cockfighting-card-bg: #FFFFFF;
    --page-cockfighting-background: #F4F7FB;
    --page-cockfighting-text-main: #1F2D3D;
    --page-cockfighting-text-dark: #000000; /* Custom Color_1776249996415 */
    --page-cockfighting-border: #D6E2FF;
    --page-cockfighting-glow: #A5C4FF;
    --page-cockfighting-accent-yellow: #d6d604; /* From 3WIN visual */
    --page-cockfighting-dark-bg: #2d0000; /* From 3WIN visual */
    --page-cockfighting-dark-bg-light: #0a0909; /* From 3WIN visual */
    --header-offset: 0px; /* This will be set by shared.css body padding-top */
}

.page-cockfighting {
    background-color: var(--page-cockfighting-background);
    color: var(--page-cockfighting-text-main);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    background-color: var(--page-cockfighting-dark-bg-light);
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-cockfighting-accent-yellow);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-cockfighting__intro-text {
    font-size: 1.25rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-cockfighting-button-gradient);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--page-cockfighting-glow);
}

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

/* Section Titles */
.page-cockfighting__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    color: var(--page-cockfighting-text-dark);
    margin-top: 60px;
    margin-bottom: 40px;
    line-height: 1.3;
}

/* Overview Section */
.page-cockfighting__overview-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-card-bg); /* White background for contrast */
}

.page-cockfighting__paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__grid-item {
    background-color: var(--page-cockfighting-background);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-image {
    width: 100%;
    max-width: 400px; /* Ensure content images are not too small */
    height: auto;
    min-height: 200px; /* Minimum height constraint */
    min-width: 200px; /* Minimum width constraint */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__feature-title {
    font-size: 1.5rem;
    color: var(--page-cockfighting-text-dark);
    margin-bottom: 15px;
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__secondary-cta {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 12px 25px;
    background-color: var(--page-cockfighting-primary);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-cockfighting__secondary-cta:hover {
    background-color: var(--page-cockfighting-secondary);
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__step-item {
    background-color: var(--page-cockfighting-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-top: 60px;
}

.page-cockfighting__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--page-cockfighting-button-gradient);
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: var(--page-cockfighting-text-dark);
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--page-cockfighting-text-main);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__faq-question {
    font-size: 1.25rem;
    color: var(--page-cockfighting-text-dark);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-cockfighting__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--page-cockfighting-primary);
}

.page-cockfighting__faq-question.active::after {
    content: '-';
}

.page-cockfighting__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--page-cockfighting-text-main);
    display: none;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 15px;
    }

    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }

    .page-cockfighting__hero-image {
        max-height: 400px;
    }

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

    .page-cockfighting__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-cockfighting__image-text-grid {
        grid-template-columns: 1fr;
    }
    
    /* Enforce max-width: 100% for all images in content area */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure content images are not too small */
        min-height: 200px;
    }

    .page-cockfighting__step-list {
        grid-template-columns: 1fr;
    }
}