/* style/cockfighting-rules-faq.css */

/* Variables for colors */
:root {
    --page-cockfighting-rules-faq-primary-color: #1A202C; /* Dark, main background/text */
    --page-cockfighting-rules-faq-accent-color: #FFD700; /* Gold, highlights/buttons */
    --page-cockfighting-rules-faq-text-light: #f8f8f8; /* Light text on dark backgrounds */
    --page-cockfighting-rules-faq-text-dark: #333333; /* Dark text on light backgrounds */
    --page-cockfighting-rules-faq-background-light: #ffffff; /* General light background */
    --page-cockfighting-rules-faq-background-dark: #1A202C; /* General dark background */
    --page-cockfighting-rules-faq-border-color: #e0e0e0;
}

.page-cockfighting-rules-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-cockfighting-rules-faq-text-dark); /* Default text color on light background */
    background-color: var(--page-cockfighting-rules-faq-background-light);
}

.page-cockfighting-rules-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-cockfighting-rules-faq__hero-section {
    background: linear-gradient(135deg, var(--page-cockfighting-rules-faq-primary-color) 0%, #3a475a 100%); /* Darker gradient for hero */
    color: var(--page-cockfighting-rules-faq-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cockfighting-rules-faq__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-cockfighting-rules-faq-accent-color); /* Gold title for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-rules-faq__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-cockfighting-rules-faq-text-light);
}

.page-cockfighting-rules-faq__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* General Buttons */
.page-cockfighting-rules-faq__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-cockfighting-rules-faq__button--primary {
    background-color: var(--page-cockfighting-rules-faq-accent-color);
    color: var(--page-cockfighting-rules-faq-primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-cockfighting-rules-faq__button--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-cockfighting-rules-faq__button--secondary {
    background-color: transparent;
    color: var(--page-cockfighting-rules-faq-accent-color);
    border: 2px solid var(--page-cockfighting-rules-faq-accent-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-cockfighting-rules-faq__button--secondary:hover {
    background-color: var(--page-cockfighting-rules-faq-accent-color);
    color: var(--page-cockfighting-rules-faq-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-cockfighting-rules-faq__button--inline {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 15px;
}


/* Content Sections */
.page-cockfighting-rules-faq__content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-cockfighting-rules-faq-border-color);
}

.page-cockfighting-rules-faq__content-section:last-of-type {
    border-bottom: none;
}

.page-cockfighting-rules-faq__section-title {
    font-size: 2.5em;
    color: var(--page-cockfighting-rules-faq-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting-rules-faq__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-cockfighting-rules-faq-accent-color);
    border-radius: 2px;
}

.page-cockfighting-rules-faq__sub-title {
    font-size: 1.8em;
    color: var(--page-cockfighting-rules-faq-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--page-cockfighting-rules-faq-accent-color);
    padding-left: 15px;
}

.page-cockfighting-rules-faq p {
    margin-bottom: 1em;
    font-size: 1.05em;
    color: var(--page-cockfighting-rules-faq-text-dark);
}

.page-cockfighting-rules-faq__list,
.page-cockfighting-rules-faq__nested-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 1em;
    color: var(--page-cockfighting-rules-faq-text-dark);
}

.page-cockfighting-rules-faq__list li,
.page-cockfighting-rules-faq__nested-list li {
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

.page-cockfighting-rules-faq__list li strong {
    color: var(--page-cockfighting-rules-faq-primary-color);
}

.page-cockfighting-rules-faq__nested-list {
    list-style-type: circle;
    margin-left: 45px;
}

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

/* Accordion for FAQ */
.page-cockfighting-rules-faq__accordion {
    margin-top: 30px;
}

.page-cockfighting-rules-faq__accordion-item {
    background-color: var(--page-cockfighting-rules-faq-background-light);
    border: 1px solid var(--page-cockfighting-rules-faq-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting-rules-faq__accordion-header {
    width: 100%;
    background-color: #f0f0f0;
    padding: 20px 25px;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-cockfighting-rules-faq-primary-color);
    transition: background-color 0.3s ease;
}

.page-cockfighting-rules-faq__accordion-header:hover {
    background-color: #e0e0e0;
}

.page-cockfighting-rules-faq__accordion-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: inherit; /* Inherit color from button */
}

.page-cockfighting-rules-faq__accordion-icon {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-cockfighting-rules-faq-accent-color);
}

.page-cockfighting-rules-faq__accordion-item.active .page-cockfighting-rules-faq__accordion-icon {
    transform: rotate(45deg); /* Change to X or rotate */
}

.page-cockfighting-rules-faq__accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: var(--page-cockfighting-rules-faq-background-light);
    color: var(--page-cockfighting-rules-faq-text-dark);
}

.page-cockfighting-rules-faq__accordion-item.active .page-cockfighting-rules-faq__accordion-content {
    max-height: 500px; /* Adjust as needed for content length */
    padding: 20px 25px;
}

.page-cockfighting-rules-faq__accordion-content p {
    margin-bottom: 15px;
}


/* Bottom CTA Section */
.page-cockfighting-rules-faq__cta-bottom {
    background-color: var(--page-cockfighting-rules-faq-primary-color);
    color: var(--page-cockfighting-rules-faq-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting-rules-faq__cta-bottom .page-cockfighting-rules-faq__section-title {
    color: var(--page-cockfighting-rules-faq-accent-color);
}

.page-cockfighting-rules-faq__cta-bottom .page-cockfighting-rules-faq__section-title::after {
    background-color: var(--page-cockfighting-rules-faq-text-light);
}

.page-cockfighting-rules-faq__cta-bottom p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-cockfighting-rules-faq-text-light);
}

.page-cockfighting-rules-faq__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-cockfighting-rules-faq__hero-title {
        font-size: 2.5em;
    }

    .page-cockfighting-rules-faq__section-title {
        font-size: 2em;
    }

    .page-cockfighting-rules-faq__sub-title {
        font-size: 1.5em;
    }

    .page-cockfighting-rules-faq__hero-cta-group,
    .page-cockfighting-rules-faq__cta-group {
        flex-direction: column;
        align-items: center;
    }

    .page-cockfighting-rules-faq__button {
        width: 80%;
        max-width: 300px;
    }

    .page-cockfighting-rules-faq__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-cockfighting-rules-faq__accordion-header h3 {
        font-size: 1.1em;
    }

    .page-cockfighting-rules-faq__accordion-content {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting-rules-faq__hero-title {
        font-size: 2em;
    }

    .page-cockfighting-rules-faq__hero-description {
        font-size: 1em;
    }

    .page-cockfighting-rules-faq__section-title {
        font-size: 1.8em;
    }

    .page-cockfighting-rules-faq__sub-title {
        font-size: 1.3em;
    }

    .page-cockfighting-rules-faq p,
    .page-cockfighting-rules-faq__list li {
        font-size: 0.95em;
    }

    .page-cockfighting-rules-faq__accordion-header {
        font-size: 1em;
    }

    .page-cockfighting-rules-faq__accordion-header h3 {
        font-size: 1em;
    }
}