/* style/cockfighting-rules-and-tips.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

/* Base styles for the page content */
.page-cockfighting-rules-and-tips {
    font-family: Arial, sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

/* Ensure body padding-top is handled by shared.css, this page does not add it */

.page-cockfighting-rules-and-tips__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset is on body */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-cockfighting-rules-and-tips__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Space between image and text */
}

.page-cockfighting-rules-and-tips__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-cockfighting-rules-and-tips__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-cockfighting-rules-and-tips__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-main-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting-rules-and-tips__description {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-rules-and-tips__section {
    padding: 40px 0;
    box-sizing: border-box;
}

.page-cockfighting-rules-and-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting-rules-and-tips__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-cockfighting-rules-and-tips__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting-rules-and-tips__content-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #333333; /* Default for light background content area */
}

.page-cockfighting-rules-and-tips__content-area p {
    margin-bottom: 15px;
    color: #333333; /* Ensure readability on light background */
}

.page-cockfighting-rules-and-tips__content-area strong {
    color: var(--primary-color);
}

.page-cockfighting-rules-and-tips__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #333333;
}

.page-cockfighting-rules-and-tips__list li {
    margin-bottom: 8px;
}

.page-cockfighting-rules-and-tips__list-ordered {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #333333;
}

.page-cockfighting-rules-and-tips__list-ordered li {
    margin-bottom: 8px;
}

.page-cockfighting-rules-and-tips__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-rules-and-tips__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules-and-tips__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-cockfighting-rules-and-tips__btn-large {
    padding: 15px 35px;
    font-size: 1.2rem;
}

.page-cockfighting-rules-and-tips__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.page-cockfighting-rules-and-tips__text-link:hover {
    color: var(--secondary-color);
}

/* FAQ Section */
.page-cockfighting-rules-and-tips__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main-color);
}

.page-cockfighting-rules-and-tips__faq-item summary {
    list-style: none; /* Hide default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main-color);
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
}

.page-cockfighting-rules-and-tips__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting-rules-and-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-cockfighting-rules-and-tips__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-cockfighting-rules-and-tips__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting-rules-and-tips__faq-item[open] .page-cockfighting-rules-and-tips__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting-rules-and-tips__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary-color);
    background-color: var(--card-bg);
}

.page-cockfighting-rules-and-tips__faq-answer p {
    margin-bottom: 0; /* Remove bottom margin for last paragraph in answer */
    color: var(--text-secondary-color);
}

.page-cockfighting-rules-and-tips__cta-section {
    padding: 80px 0;
    text-align: center;
}

/* Color Contrast & Backgrounds */
.page-cockfighting-rules-and-tips__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-cockfighting-rules-and-tips__bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-cockfighting-rules-and-tips__light-bg {
    background-color: #ffffff; /* White background for content area */
    color: #333333; /* Dark text for readability on white */
}

.page-cockfighting-rules-and-tips__text-main {
    color: var(--text-main-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting-rules-and-tips__hero-section {
        padding: 40px 15px;
    }

    .page-cockfighting-rules-and-tips__main-title {
        font-size: clamp(2.2rem, 6vw, 3rem);
    }

    .page-cockfighting-rules-and-tips__description {
        font-size: 1rem;
    }

    .page-cockfighting-rules-and-tips__section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .page-cockfighting-rules-and-tips__sub-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .page-cockfighting-rules-and-tips__content-area {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    /* Mobile specific styles */
    .page-cockfighting-rules-and-tips {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting-rules-and-tips__hero-section {
        padding: 20px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

    .page-cockfighting-rules-and-tips__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-cockfighting-rules-and-tips__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-cockfighting-rules-and-tips__description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-cockfighting-rules-and-tips__section {
        padding: 30px 0;
    }

    .page-cockfighting-rules-and-tips__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting-rules-and-tips__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 20px;
    }

    .page-cockfighting-rules-and-tips__sub-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-cockfighting-rules-and-tips__content-area {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Image responsiveness */
    .page-cockfighting-rules-and-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsiveness (if any, though not present in this page HTML, it's a general rule) */
    .page-cockfighting-rules-and-tips video,
    .page-cockfighting-rules-and-tips__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting-rules-and-tips__video-section,
    .page-cockfighting-rules-and-tips__video-container,
    .page-cockfighting-rules-and-tips__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-rules-and-tips__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting-rules-and-tips__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Button responsiveness */
    .page-cockfighting-rules-and-tips__btn-primary,
    .page-cockfighting-rules-and-tips__btn-secondary,
    .page-cockfighting-rules-and-tips a[class*="button"],
    .page-cockfighting-rules-and-tips 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-rules-and-tips__cta-buttons,
    .page-cockfighting-rules-and-tips__button-group,
    .page-cockfighting-rules-and-tips__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .page-cockfighting-rules-and-tips__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-cockfighting-rules-and-tips__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting-rules-and-tips__main-title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }

    .page-cockfighting-rules-and-tips__btn-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .page-cockfighting-rules-and-tips__btn-large {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}