.page-cockfighting {
    background-color: #FFFFFF;
    color: #333333;
    font-family: Arial, sans-serif;
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #017439;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-cockfighting__hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__hero-content {
    max-width: 960px;
    padding: 0 20px 40px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-cockfighting__description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.page-cockfighting__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 120px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-cockfighting__btn--primary {
    background-color: #C30808;
    color: #FFFF00;
}

.page-cockfighting__btn--primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn--secondary:hover {
    background-color: #005a2d;
    transform: translateY(-2px);
}

.page-cockfighting__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__faq-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-cockfighting__content-wrapper p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
}

.page-cockfighting__content-wrapper img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-cockfighting__type-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
}

.page-cockfighting__type-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-cockfighting__type-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555555;
    padding: 0 15px;
}

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

.page-cockfighting__step-item {
    background-color: #e8f5e9; /* Lighter green background */
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__step-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444444;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-cockfighting__promotions-section {
    background-color: #017439;
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
}

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

.page-cockfighting__promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.page-cockfighting__promo-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
}

.page-cockfighting__promo-content img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__why-choose-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    margin-top: 40px;
}

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

.page-cockfighting__feature-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-cockfighting__feature-heading {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

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

.page-cockfighting__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: #f9f9f9;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

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

.page-cockfighting__faq-question {
    font-size: 1.15em;
    color: #017439;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    background-color: #e8f5e9;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #d4edda;
}

.page-cockfighting__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.is-open .page-cockfighting__faq-question::after {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item.is-open .page-cockfighting__faq-answer {
    max-height: 200px; /* Adjust based on expected content */
    padding: 15px 25px 25px;
}

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

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

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

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

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

    .page-cockfighting__hero-image-wrapper img,
    .page-cockfighting__content-wrapper img,
    .page-cockfighting__type-card img,
    .page-cockfighting__promo-content img {
        max-width: 100%;
        height: auto;
    }

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

@media (max-width: 768px) {
    .page-cockfighting__hero-image-wrapper img,
    .page-cockfighting__content-wrapper img,
    .page-cockfighting__type-card img,
    .page-cockfighting__promo-content img {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 549px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

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

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

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

/* Ensure all content area images are at least 200px in width/height */
.page-cockfighting img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}