.page-cockfighting {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --page-bg: #F4F7FB;
    --text-main: #1F2D3D;
    --text-dark: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    background-color: var(--page-bg);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    background-color: var(--primary-color);
    color: var(--card-bg);
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5; /* 1920x600 */
    object-fit: cover;
    object-position: center;
    filter: none; /* Ensure no filter is applied */
}

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

.page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--card-bg); /* White text on blue background */
}

.page-cockfighting__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--card-bg);
}

.page-cockfighting__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--card-bg);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 15px;
}

.page-cockfighting__section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-cockfighting__content-wrapper p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-main);
    text-align: justify;
}

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

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

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

.page-cockfighting__feature-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    aspect-ratio: 4/3; /* For 800x600 images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter */
}

.page-cockfighting__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    font-size: 0.95rem;
    color: var(--text-main);
    text-align: justify;
}

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

.page-cockfighting__secondary-cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--card-bg);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__secondary-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__guide-list li {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.page-cockfighting__guide-list li:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__guide-step-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-cockfighting__guide-list p {
    font-size: 0.95rem;
    color: var(--text-main);
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-cockfighting__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-cockfighting__faq-answer {
    font-size: 0.95rem;
    color: var(--text-main);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-cockfighting__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    margin-top: 10px;
}

.page-cockfighting__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cockfighting__hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

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

    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .page-cockfighting__content-wrapper p,
    .page-cockfighting__feature-description,
    .page-cockfighting__guide-list p,
    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
    }

    .page-cockfighting__feature-card img {
        max-width: 100%;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section {
        margin-bottom: 40px;
        padding: 0 12px;
    }

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

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

@media (max-width: 549px) {
    .page-cockfighting__content-wrapper p {
        text-align: left;
    }
}