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

.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as per rule */
    padding-bottom: 40px;
    background-color: #2F6BFF;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1390px; /* Aligns with content max-width */
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: auto; /* Centering for max-width */
    margin-right: auto; /* Centering for max-width */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative; 
    z-index: 1; 
}

.page-cockfighting__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 20px;
    /* No fixed font-size for H1 */
}

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

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-cockfighting__features-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-cockfighting__feature-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

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

.page-cockfighting__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
    padding: 0 15px;
}

.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: guide-step;
}

.page-cockfighting__guide-item {
    background-color: #F8F9FC;
    border-left: 5px solid #2F6BFF;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 70px;
}

.page-cockfighting__guide-item::before {
    counter-increment: guide-step;
    content: counter(guide-step);
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: #2F6BFF;
    color: #FFFFFF;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2em;
}

.page-cockfighting__guide-step-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #1F2D3D;
    margin-bottom: 10px;
}

.page-cockfighting__guide-step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
}

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

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

.page-cockfighting__faq-item {
    background-color: #F8F9FC;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #D6E2FF;
}

.page-cockfighting__faq-question {
    font-size: 1.2em;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 10px;
}

.page-cockfighting__faq-answer {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .page-cockfighting__feature-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 20px;
    }
    .page-cockfighting__hero-content {
        padding: 0 15px;
    }
    .page-cockfighting__main-title {
        font-size: 2em; /* Using em for relative sizing, still no fixed px */
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 24px;
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__feature-image {
        height: 200px; /* Ensure images are not smaller than 200px and responsive */
        max-width: 100%;
    }
    .page-cockfighting__feature-card {
        padding-bottom: 15px;
    }
    .page-cockfighting__guide-item {
        padding-left: 60px;
    }
    .page-cockfighting__guide-item::before {
        left: 15px;
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
    .page-cockfighting__guide-step-title {
        font-size: 1.2em;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
    }
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section {
        margin: 30px auto;
        padding: 15px;
    }

    /* Crucial mobile image overflow fix */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.7em;
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section {
        margin: 20px auto;
        padding: 10px;
    }
    .page-cockfighting__hero-image-wrapper {
        border-radius: 0;
    }
}