:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
}

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

.page-cockfighting__hero-section {
    background-color: var(--background-color);
    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 {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    color: var(--text-black);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

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

.page-cockfighting__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__btn--primary {
    background: var(--button-gradient);
    color: #FFFFFF;
    border: none;
}

.page-cockfighting__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.page-cockfighting__btn--secondary {
    background-color: var(--secondary-color);
    color: #FFFFFF;
    border: 2px solid var(--secondary-color);
}

.page-cockfighting__btn--secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--text-black);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: 700;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: var(--text-black);
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-cockfighting__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: #FFFFFF;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.page-cockfighting__faq-list {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-cockfighting__faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.page-cockfighting__faq-item:last-child {
    border-bottom: none;
}

.page-cockfighting__faq-question {
    font-size: 1.2em;
    color: var(--text-black);
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-cockfighting__faq-answer {
    font-size: 1em;
    color: var(--text-main-color);
    line-height: 1.6;
    padding-left: 10px;
    margin-top: 10px;
}

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

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

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn {
        width: 100%;
        max-width: 280px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.6em, 5vw, 2.2em);
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__step-card {
        padding: 25px;
    }

    .page-cockfighting__feature-image {
        min-width: 200px;
        min-height: 150px;
        max-width: 100%; /* Ensure images don't overflow */
        height: auto; /* Ensure aspect ratio is maintained */
    }

    .page-cockfighting__faq-list {
        padding: 20px;
    }

    .page-cockfighting__faq-item {
        padding: 15px 0;
    }

    /* Ensure all content area images are responsive and not overflowing */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }
}

/* Global image size enforcement for content area, as per rules */
.page-cockfighting img:not(.shared-logo, .shared-icon) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .page-cockfighting img:not(.shared-logo, .shared-icon) {
        max-width: 100%;
        height: auto;
        /* min-width/height can be unset if max-width:100% is sufficient, but ensure it doesn't drop below 200px in practice */
        min-width: 200px; /* Re-apply min-width for mobile, if content allows, otherwise rely on max-width:100% and design */
        min- /* Adjusted min-height for mobile to be less restrictive than desktop but still not tiny */
    }
}