.page-cockfighting {
    padding-top: 10px; /* Small top padding as per rule, body handles --header-offset */
    background-color: var(--background-color, #F4F7FB); /* Using custom color */
    color: var(--text-main-color, #1F2D3D); /* Using custom color */
    font-family: Arial, sans-serif;
}

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

.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Using primary/secondary for hero background */
    color: #FFFFFF;
    border-radius: 15px; /* Added for softer look */
    overflow: hidden; /* Ensure image fits rounded corners */
    margin-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image to container width if needed */
    margin-bottom: 20px; /* Space between image and text */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px; /* Match section border-radius */
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-cockfighting__hero-content {
    padding: 0 20px;
    max-width: 800px;
}

.page-cockfighting__hero-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size, rely on clamp for responsiveness if needed, otherwise use relative */
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cockfighting__button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button color */
    color: #FFFFFF;
    border: none;
    min-width: 200px; /* Ensure buttons are not too small */
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__button--secondary {
    background: #FFFFFF;
    color: var(--primary-color, #2F6BFF);
    border: 1px solid var(--primary-color, #2F6BFF);
}

.page-cockfighting__button--secondary:hover {
    background: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main-color, #1F2D3D);
    padding-top: 20px; /* Small top padding for sections */
}

.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__seo-content {
    padding: 40px 0;
    margin-bottom: 20px;
}

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

.page-cockfighting__feature-card {
    background-color: var(--card-bg-color, #FFFFFF); /* Custom card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 350px; /* Ensure cards have enough space for images */
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-icon {
    width: 100%;
    max-width: 400px; /* Example size, ensuring it's not too small */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main-color, #1F2D3D);
}

.page-cockfighting__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main-color, #1F2D3D);
}

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

.page-cockfighting__step-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-top: 60px; /* Make space for step number */
    min-height: 220px;
}

.page-cockfighting__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__button--large {
    padding: 16px 32px;
    font-size: 1.1em;
}

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

.page-cockfighting__sub-title {
    font-size: 2em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-main-color, #1F2D3D);
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-cockfighting__list-item {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-main-color, #1F2D3D);
}

.page-cockfighting__list-item::before {
    content: '✅'; /* Using an emoji for list style */
    position: absolute;
    left: 0;
    color: var(--primary-color, #2F6BFF);
}

.page-cockfighting__text-link {
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: 600;
}

.page-cockfighting__text-link:hover {
    text-decoration: underline;
    color: var(--secondary-color, #6FA3FF);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        padding-top: 0; /* body padding-top handles it */
    }
    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__button {
        width: 100%;
        max-width: 300px; /* Constrain buttons on mobile */
        margin: 0 auto;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__step-card {
        padding: 25px;
        min-height: auto;
    }
    .page-cockfighting__feature-icon {
        max-width: 100%;
        min-width: 200px; /* Ensure mobile images are not too small */
        min-height: 200px;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__card-description {
        font-size: 0.95em;
    }
    /* Ensure content images are responsive and don't overflow */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5em;
    }
    .page-cockfighting__hero-content {
        padding: 0 15px;
    }
}