.page-cockfighting {
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as per instruction */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
}

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 8px;
}

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

.page-cockfighting__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure button is large enough */
    text-align: center;
}

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

.page-cockfighting__about-section,
.page-cockfighting__features-section,
.page-cockfighting__cta-section {
    padding: 60px 0;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
}

.page-cockfighting__content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-cockfighting__text-content {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-cockfighting__text-content p {
    margin-bottom: 1em;
    color: #000000;
}

.page-cockfighting__image-overview {
    flex: 1;
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure min size */
}

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

.page-cockfighting__feature-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    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;
}

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

.page-cockfighting__feature-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
    color: #000000;
    line-height: 1.6;
}

.page-cockfighting__image-features {
    width: 100%;
    height: auto;
    max-width: 1000px;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure min size */
}

.page-cockfighting__cta-section {
    background-color: #2F6BFF;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 0;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1300px;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button--secondary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.page-cockfighting__cta-button--secondary:hover {
    background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cockfighting__main-title {
        font-size: 2em;
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }

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

    .page-cockfighting__text-content,
    .page-cockfighting__image-overview {
        flex: none;
        width: 100%;
    }

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

    .page-cockfighting__cta-section {
        padding: 60px 20px;
    }

    .page-cockfighting__hero-image,
    .page-cockfighting__image-overview,
    .page-cockfighting__image-features {
        max-width: 100%;
        height: auto;
        width: 100%; /* Ensure content area images fill width */
        min-width: 200px; /* Maintain minimum size */
    }

    /* Enforce mobile image size constraint */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Ensure content area images are not smaller than 200px */
    .page-cockfighting__image-overview,
    .page-cockfighting__image-features {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__cta-button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
}