/* General page styling */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8; /* Light background for the page */
}

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

.page-cockfighting__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Adjust as needed, padding-top from shared */
    background: linear-gradient(135deg, #0A2463 0%, #0A2463 70%, #FFD700 100%); /* Brand colors */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure header offset is applied */
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700; /* Accent color for main title */
}

.page-cockfighting__hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Accent color for CTA */
    color: #0A2463; /* Dark text for accent background */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Headings */
.page-cockfighting__heading {
    font-size: 36px;
    color: #0A2463;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.page-cockfighting__heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-cockfighting__heading--light {
    color: #ffffff;
}

.page-cockfighting__heading--light::after {
    background-color: #ffffff;
}

.page-cockfighting__sub-heading {
    font-size: 24px;
    color: #0A2463;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__sub-heading--light {
    color: #FFD700;
}

/* Paragraphs */
.page-cockfighting__paragraph {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify;
}

.page-cockfighting__paragraph--light {
    color: #e0e0e0;
}

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

.page-cockfighting__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

/* Cards */
.page-cockfighting__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

.page-cockfighting__card-title {
    font-size: 22px;
    color: #0A2463;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__card-description {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    text-align: justify;
}

/* Lists */
.page-cockfighting__numbered-list,
.page-cockfighting__bullet-list {
    list-style-type: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.page-cockfighting__list-item:hover {
    background-color: #f0f0f0;
}

.page-cockfighting__list-item p {
    margin-bottom: 0;
    font-size: 16px;
    color: #444444;
}

.page-cockfighting__list-item--light {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #FFD700;
    color: #ffffff;
}

.page-cockfighting__list-item--light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.page-cockfighting__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #0A2463;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    background: #FFD700;
    color: #0A2463;
    border-color: #0A2463;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #ffffff;
    color: #0A2463;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid #0A2463;
}

.page-cockfighting__btn-secondary:hover {
    background: #FFD700;
    color: #0A2463;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-tertiary {
    display: inline-block;
    padding: 10px 20px;
    background: #FFD700;
    color: #0A2463;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 1px solid #FFD700;
}

.page-cockfighting__btn-tertiary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__button-group {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}


/* Images */
.page-cockfighting__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

.page-cockfighting__image-center {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

.page-cockfighting__image-icon {
    /* Enforce minimum size for all images */
    min-width: 200px;
    min-height: 200px;
    width: 200px; /* Explicitly set to meet minimum */
    height: 200px; /* Explicitly set to meet minimum */
    object-fit: contain;
    margin-bottom: 15px;
    filter: none; /* Ensure no filter is applied */
}


/* Dark Section */
.page-cockfighting__dark-section {
    background: #0A2463;
    color: #ffffff;
    padding: 80px 0;
    border-radius: 0;
    box-shadow: none;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #f0f2f5;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cockfighting__faq-question:active {
    background: #eeeeee;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #0A2463;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Accent color for toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: #0A2463;
    transform: rotate(180deg); /* Rotate for minus sign */
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-cockfighting__faq-answer p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 0;
    line-height: 1.6;
}

/* News Section */
.page-cockfighting__news {
    background-color: #f8f8f8;
}

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