/* style/cockfighting-rules.css */
.page-cockfighting-rules {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark (#121212), so text should be light */
    background-color: transparent; /* inherited from body */
}

.page-cockfighting-rules__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-cockfighting-rules__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting-rules__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-cockfighting-rules__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting-rules__main-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting-rules__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-cockfighting-rules__cta-button {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting-rules__cta-button:hover {
    background-color: #1a7bbd;
    transform: translateY(-2px);
}

.page-cockfighting-rules__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-cockfighting-rules__cta-button--secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 15px;
}

.page-cockfighting-rules__cta-button--secondary:hover {
    background-color: #e0f2f7;
    color: #1a7bbd;
}

.page-cockfighting-rules__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #1e1e1e; /* Darker background for content sections */
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-cockfighting-rules__content-area:last-of-type {
    margin-bottom: 0;
}

.page-cockfighting-rules__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting-rules__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-cockfighting-rules__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-cockfighting-rules__paragraph {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-cockfighting-rules strong {
    color: #26A9E0;
}

.page-cockfighting-rules__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting-rules__list-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

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

.page-cockfighting-rules__styled-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    font-size: 1.05em;
    color: #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules__styled-list li::before {
    content: '✅';
    margin-right: 15px;
    font-size: 1.2em;
    line-height: 1;
    color: #26A9E0;
}

.page-cockfighting-rules__list-item-title {
    color: #26A9E0;
    font-size: 1.1em;
    margin-bottom: 5px;
    display: block;
}

.page-cockfighting-rules__image-with-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting-rules__image-inline {
    flex: 1;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting-rules__text-block {
    flex: 1;
}

.page-cockfighting-rules__betting-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting-rules__betting-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background 0.3s ease;
}

.page-cockfighting-rules__betting-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.page-cockfighting-rules__betting-card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-cockfighting-rules__betting-card-description {
    color: #e0e0e0;
    font-size: 1em;
}

.page-cockfighting-rules__cta-section {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting-rules__faq-section {
    background-color: #1e1e1e;
}

.page-cockfighting-rules__faq-container {
    margin-top: 30px;
}

.page-cockfighting-rules__faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-cockfighting-rules__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting-rules__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #26A9E0;
}

.page-cockfighting-rules__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-cockfighting-rules__faq-item.active .page-cockfighting-rules__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting-rules__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
    font-size: 1em;
}

.page-cockfighting-rules__faq-item.active .page-cockfighting-rules__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-cockfighting-rules__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting-rules__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting-rules__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting-rules__section-title {
        font-size: 2em;
    }
    .page-cockfighting-rules__sub-title {
        font-size: 1.5em;
    }
    .page-cockfighting-rules__image-with-text {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting-rules__image-inline {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-rules {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting-rules__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting-rules__hero-content {
        padding: 15px;
    }
    .page-cockfighting-rules__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-cockfighting-rules__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting-rules__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting-rules__cta-button--large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    .page-cockfighting-rules__cta-button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-cockfighting-rules__cta-section {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting-rules__content-area {
        padding: 30px 15px;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting-rules__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-cockfighting-rules__paragraph {
        font-size: 1em;
    }
    .page-cockfighting-rules__image-full-width,
    .page-cockfighting-rules__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
        box-sizing: border-box !important;
    }
    .page-cockfighting-rules__styled-list li {
        padding: 15px;
        font-size: 0.95em;
    }
    .page-cockfighting-rules__image-with-text {
        gap: 20px;
    }
    .page-cockfighting-rules__betting-options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting-rules__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting-rules__faq-question h3 {
        font-size: 1.1em;
    }
    .page-cockfighting-rules__faq-toggle {
        font-size: 1.5em;
    }
    .page-cockfighting-rules__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting-rules__faq-item.active .page-cockfighting-rules__faq-answer {
        padding: 10px 20px 20px 20px;
    }
    /* Ensure all content containers are responsive */
    .page-cockfighting-rules__section,
    .page-cockfighting-rules__card,
    .page-cockfighting-rules__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting-rules__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting-rules__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting-rules__section-title {
        font-size: 1.5em;
    }
}