.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color */
    background-color: #FFFFFF; /* Explicitly set main background to white */
    padding-top: 10px; /* Small top padding for main content */
    max-width: 1390px; /* Boxed layout */
    margin: 0 auto; /* Center the main content */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #f0f8ff; /* Light background for hero section */
    border-radius: 8px;
    margin-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px; /* Space between image and text */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9; /* Adjusted for better content fit */
    object-fit: cover;
    border-radius: 8px;
}

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

.page-cockfighting__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem); /* Responsive font size */
    color: #26A9E0; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555555;
}

.page-cockfighting__cta-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color for CTA */
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    min-width: 180px; /* Ensure good button size */
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-cockfighting__cta-button:hover {
    background-color: #d46e06; /* Slightly darker on hover */
}

.page-cockfighting__intro-section,
.page-cockfighting__features-section,
.page-cockfighting__faq-section {
    padding: 40px 20px;
    margin-bottom: 40px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #EA7C07;
    border-radius: 2px;
}

.page-cockfighting__content-wrapper {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    align-items: flex-start;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-cockfighting__content-wrapper p {
    line-height: 1.7;
    font-size: 1rem;
    color: #444444;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4/3; /* Consistent aspect ratio */
}

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

.page-cockfighting__feature-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.03);
    text-align: center;
    border-top: 4px solid #26A9E0;
}

.page-cockfighting__feature-title {
    font-size: 1.3rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
}

.page-cockfighting__cta-bottom {
    text-align: center;
    margin-top: 20px;
}

.page-cockfighting__cta-bottom p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333333;
}

.page-cockfighting__cta-button--secondary {
    background-color: #26A9E0; /* Main color for secondary CTA */
}

.page-cockfighting__cta-button--secondary:hover {
    background-color: #1f8ec4; /* Slightly darker on hover */
}

.page-cockfighting__faq-item {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #26A9E0;
}

.page-cockfighting__faq-question {
    font-size: 1.1rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__faq-answer {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
}

.page-cockfighting__faq-answer a {
    color: #EA7C07; /* Link color */
    text-decoration: none;
    font-weight: bold;
}

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

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-cockfighting__content-wrapper {
        flex-direction: row; /* Side-by-side on desktop */
        align-items: center;
    }

    .page-cockfighting__content-wrapper p {
        flex: 1;
    }

    .page-cockfighting__content-image {
        flex: 0 0 40%; /* Image takes 40% width */
        max-width: 40%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__hero-section {
        padding: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .page-cockfighting__description {
        font-size: 1rem;
    }

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

    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__faq-section {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin-bottom: 25px;
    }

    .page-cockfighting__content-wrapper {
        flex-direction: column;
    }

    .page-cockfighting__content-image {
        max-width: 100%;
    }

    .page-cockfighting__features-list {
        grid-template-columns: 1fr; /* Single column on small mobile */
        gap: 20px;
    }

    .page-cockfighting__feature-item {
        padding: 20px;
    }

    .page-cockfighting__feature-title {
        font-size: 1.2rem;
    }

    .page-cockfighting__feature-item p {
        font-size: 0.9rem;
    }

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

    .page-cockfighting__faq-question {
        font-size: 1rem;
    }

    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
    }

    /* Ensure all images are responsive and don't overflow */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

/* Global image size constraint for content area images, not less than 200px */
.page-cockfighting img:not(.page-cockfighting__hero-image) {
    min-width: 200px;
    min-height: 200px;
}