.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
    line-height: 1.6;
}

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

/* Hero Section (Main Title/Intro for internal page) */
.page-cockfighting__hero-section {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%); /* Red White gradient */
    color: #FFFFFF;
    padding: 40px 0;
    text-align: center;
}

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

.page-cockfighting__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Adjusted for H1 on category page, still using clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-cockfighting__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-cockfighting__cta-button,
.page-cockfighting__secondary-cta,
.page-cockfighting__main-cta {
    display: inline-block;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-cockfighting__cta-button:hover,
.page-cockfighting__secondary-cta:hover,
.page-cockfighting__main-cta:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%); /* Inverted gradient on hover */
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: #E53935; /* Main color */
}

/* Text Content */
.page-cockfighting__text-content {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: justify; /* Allow justify on desktop */
}

/* Features Section */
.page-cockfighting__features-section {
    padding: 50px 0;
    background-color: #FFFFFF; /* Card BG */
}

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

.page-cockfighting__feature-card {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 20px;
}

.page-cockfighting__feature-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2; /* For 600x400 images */
    object-fit: cover;
    object-position: center;
    margin-bottom: 15px;
    filter: none; /* Ensure no filter */
}

.page-cockfighting__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #E53935; /* Main color */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-cockfighting__feature-description {
    font-size: 0.95rem;
    color: #333333; /* Text Main */
    padding: 0 15px;
}

/* How-to-Play Section */
.page-cockfighting__how-to-play-section {
    padding: 50px 0;
    background-color: #F5F7FA; /* Background */
}

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

.page-cockfighting__step-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #E0E0E0; /* Border */
}

.page-cockfighting__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #FF5A4F; /* Auxiliary color */
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-cockfighting__step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #E53935; /* Main color */
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    font-size: 0.9rem;
    color: #333333; /* Text Main */
}

/* Safety Section */
.page-cockfighting__safety-section {
    padding: 50px 0;
    background-color: #FFFFFF; /* Card BG */
}

.page-cockfighting__safety-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-cockfighting__safety-item {
    font-size: 1rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #333333; /* Text Main */
}

.page-cockfighting__safety-item::before {
    content: '✅'; /* Checkmark emoji */
    position: absolute;
    left: 0;
    color: #E53935; /* Main color */
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .page-cockfighting__subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
    .page-cockfighting__text-content {
        text-align: left; /* Change to left align for smaller screens */
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__step-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 549px) {
    .page-cockfighting__hero-section {
        padding: 30px 0;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }
    .page-cockfighting__cta-button,
    .page-cockfighting__secondary-cta,
    .page-cockfighting__main-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-cockfighting__container {
        padding: 15px 10px;
    }
    .page-cockfighting__section-title {
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-cockfighting__text-content {
        font-size: 0.95rem;
    }
    .page-cockfighting__feature-title {
        font-size: 1.1rem;
    }
    .page-cockfighting__step-title {
        font-size: 1.1rem;
    }
    .page-cockfighting__safety-item {
        font-size: 0.95rem;
    }
}

/* Ensure images in content sections are responsive and not too small */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block; /* Important for preventing overflow */
}
/* This specific rule ensures content images are not shrunk below 200px by CSS */
.page-cockfighting__features-grid img,
.page-cockfighting__feature-image {
    min-width: 200px; /* Enforce minimum size for content images if grid allows */
    min-height: 200px;
}
/* Override any potential smaller image styles for mobile */
@media (max-width: 768px) {
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__text-content,
    .page-cockfighting__feature-description,
    .page-cockfighting__step-description,
    .page-cockfighting__safety-item {
        text-align: left; /* Ensure text alignment is left for readability on small screens */
    }
}