.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--black-color); /* Inherit from shared.css */
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    font-size: 2.8em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__section-subtitle {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark sections for contrast */
.page-cockfighting__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast with main body */
    color: #ffffff;
    padding: 80px 0;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    box-sizing: border-box;
}

.page-cockfighting__hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    background-size: cover;
    filter: brightness(0.5); /* Darken video for text readability */
    object-fit: cover;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Even darker overlay for text */
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-cockfighting__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
    background-color: #1e87c0; /* Darker shade on hover */
    border-color: #1e87c0;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand color */
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Video click overlay */
.page-cockfighting__video-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4; /* Above video, below hero content */
    cursor: pointer;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 80px 0;
}

.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-cockfighting__image-wrapper {
    text-align: center;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it respects max-width */
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly different dark background */
}

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

.page-cockfighting__card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

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

.page-cockfighting__card-title {
    font-size: 1.8em;
    padding: 20px 20px 10px;
    color: #26A9E0; /* Brand color for titles */
}

.page-cockfighting__card-description {
    font-size: 1em;
    padding: 0 20px 20px;
    color: #f0f0f0;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 0;
}

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

.page-cockfighting__step-item {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 2em;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.page-cockfighting__step-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    color: #f0f0f0;
}

.page-cockfighting__cta-buttons--center {
    margin-top: 60px;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

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

.page-cockfighting__advantage-item {
    text-align: center;
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__advantage-icon {
    width: 100px; /* Display size, actual image will be larger */
    height: 100px;
    object-fit: contain; /* Ensure full icon is visible */
    margin-bottom: 20px;
    display: block; /* For max-width 100% to work */
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__advantage-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-cockfighting__advantage-description {
    color: #f0f0f0;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
}

.page-cockfighting__promo-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.page-cockfighting__promo-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

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

.page-cockfighting__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promo-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-cockfighting__promo-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-cockfighting__faq-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    transition: color 0.3s ease;
}

.page-cockfighting__faq-item summary:hover {
    color: #26A9E0;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    /* max-height: 0; */ /* Native details handles this */
    /* overflow: hidden; */
    /* transition: max-height 0.3s ease-out; */
}

/* Call to Action Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
}

.page-cockfighting__cta-content {
    max-width: 900px;
}

.page-cockfighting__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-cockfighting__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.3em;
    }
    .page-cockfighting__section-title {
        font-size: 2.5em;
    }
    .page-cockfighting__cta-title {
        font-size: 2.5em;
    }
    .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__image-wrapper {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-cockfighting__promo-card-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__promo-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        height: auto;
        min-height: 600px; /* Ensure a minimum height */
        padding: 120px 20px 60px; /* Adjust padding for mobile header offset */
    }
    .page-cockfighting__hero-title {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__hero-buttons,
    .page-cockfighting__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__section-subtitle {
        font-size: 1em;
    }
    .page-cockfighting__dark-section,
    .page-cockfighting__types-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 60px 0;
    }

    /* Images and Videos Responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video,
    .page-cockfighting__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image-wrapper,
    .page-cockfighting__promo-card,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__card-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__promo-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        height: 200px; /* Adjust height for mobile */
    }

    .page-cockfighting__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    .page-cockfighting__cta-title {
        font-size: 2em;
    }
    .page-cockfighting__cta-description {
        font-size: 1.1em;
    }

    /* Ensure content area images are not too small */
    .page-cockfighting__advantage-icon {
        width: 80px;
        height: 80px;
    }
}