/* style/cockfighting.css */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Body background from shared.css */
}

.page-cockfighting__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    min-height: 600px;
    overflow: hidden;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-bottom: 40px;
}

.page-cockfighting__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

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

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

.page-cockfighting__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-cockfighting__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-cockfighting__hero-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay to make text readable */
    z-index: 1;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #017439;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #666666;
}

.page-cockfighting__dark-bg .page-cockfighting__section-description {
    color: #f0f0f0;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #017439;
}

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

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

.page-cockfighting__card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #333333;
}

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

.page-cockfighting__card p {
    margin-bottom: 15px;
}

.page-cockfighting__card ul {
    list-style: disc inside;
    padding-left: 20px;
    margin-bottom: 15px;
}

.page-cockfighting__card-link {
    display: inline-block;
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.page-cockfighting__card-link:hover {
    text-decoration: underline;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.page-cockfighting__list {
    list-style: decimal inside;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-cockfighting__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Register/Login red */
    color: #FFFF00; /* Register/Login yellow text */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-cockfighting__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand green */
    border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
    border-color: #005a2e;
}

.page-cockfighting__cta-final {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting__cta-final .page-cockfighting__section-title {
    margin-bottom: 20px;
}

.page-cockfighting__cta-final .page-cockfighting__section-description {
    margin-bottom: 40px;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #017439;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    font-size: 1.1em;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #017439;
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__image-block {
        order: -1; /* Image appears above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 60px 15px;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__container {
        padding: 30px 15px;
    }
    .page-cockfighting__grid-cards {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__card {
        padding: 20px;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-video-wrapper,
    .page-cockfighting__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting__container, .page-cockfighting__hero-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Mobile video responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__hero-video-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Mobile button responsiveness */
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-cta-buttons,
    .page-cockfighting__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__hero-section {
        min-height: 400px;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
}