:root {
    /* Base Colors */
    --primary-color: #113B7A; /* Main Blue */
    --secondary-color: #1D5FD1; /* Auxiliary Blue */
    --text-main-color: #F3F8FF; /* Light Blue-White */
    --text-secondary-color: #AFC4E8; /* Lighter Blue */
    --card-bg-color: #10233F; /* Dark Card Background */
    --border-color: #244D84; /* Border Color */
    --glow-color: #4FA8FF; /* Glow Effect */
    --gold-color: #F2C14E; /* Gold Accent */
    --divider-color: #1B3357; /* Divider Color */
    --deep-navy-color: #08162B; /* Deep Navy Background */

    /* Button Gradient */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for dark body background */
    background-color: var(--deep-navy-color); /* Ensure consistency if body bg is overridden */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: var(--deep-navy-color); /* Match body background */
    overflow: hidden; /* Prevent content overflow */
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    width: 100%; /* Ensure full width inside container */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

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

.page-cockfighting__main-title {
    font-size: 3.2em; /* Use em/rem for relative sizing */
    font-weight: 700;
    color: var(--gold-color); /* Gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 900px; /* Constrain title width */
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure full width for button container */
    max-width: 600px; /* Max width for button group */
    margin: 0 auto;
    box-sizing: border-box; /* Include padding in width calculation */
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center; /* Center text for wrapped buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    flex-grow: 1; /* Allow buttons to grow */
    max-width: 280px; /* Max width for individual buttons */
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--deep-navy-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--glow-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

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

.page-cockfighting__text-block {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 25px;
    text-align: justify;
}

.page-cockfighting__image-content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__image-content-block img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__light-bg {
    background-color: var(--deep-navy-color); /* Keep consistent dark background */
    color: var(--text-main-color);
}

.page-cockfighting__dark-section {
    background-color: var(--card-bg-color); /* Slightly lighter dark background for contrast */
    color: var(--text-main-color);
    padding: 80px 0;
}

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

.page-cockfighting__card {
    background: var(--deep-navy-color); /* Darker background for cards on dark sections */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 18px var(--glow-color);
}

.page-cockfighting__card img {
    width: 100%;
    height: 250px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--text-secondary-color);
    text-align: justify;
    flex-grow: 1; /* Allow description to take available space */
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__list-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.page-cockfighting__list-item:hover {
    transform: translateY(-5px);
}

.page-cockfighting__list-item p {
    color: var(--text-secondary-color);
    font-size: 1.05em;
}

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

.page-cockfighting__cta-buttons--centered {
    margin-top: 50px;
}

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

.page-cockfighting__promo-card {
    padding: 0;
    overflow: hidden;
}

.page-cockfighting__promo-card img {
    width: 100%;
    height: 200px; /* Smaller height for promo images */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    padding: 0 20px;
    margin-bottom: 10px;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-cockfighting__card-link {
    display: inline-block;
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: auto; /* Push to bottom */
    padding: 10px 20px 20px;
    transition: color 0.3s ease;
}

.page-cockfighting__card-link:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

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

.page-cockfighting__feature-item {
    background: var(--deep-navy-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: var(--text-secondary-color);
    text-align: justify;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding-bottom: 80px;
    background-color: var(--deep-navy-color);
}

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

details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main-color);
    font-weight: 600;
    font-size: 1.1em;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: rgba(var(--primary-color-rgb, 17, 59, 122), 0.2); /* Slightly lighter hover */
}
.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 1em;
    line-height: 1.5;
    text-align: left;
    color: var(--gold-color);
}
.page-cockfighting__faq-toggle {
    font-size: 28px; /* Larger for better visibility */
    font-weight: bold;
    color: var(--glow-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 25px 25px;
    background: var(--deep-navy-color);
    border-top: 1px solid var(--divider-color);
    border-radius: 0 0 10px 10px;
}
.page-cockfighting__faq-answer p {
    color: var(--text-secondary-color);
    font-size: 1em;
    line-height: 1.7;
}

.page-cockfighting__cta-final {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--primary-color); /* Use primary color for final CTA */
    text-align: center;
}

.page-cockfighting__cta-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__grid-2-cols {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-cockfighting__hero-image {
        margin-bottom: 20px;
    }

    .page-cockfighting__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }

    .page-cockfighting__container {
        padding: 20px 15px;
    }

    .page-cockfighting__text-block {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-cockfighting__image-content-block img {
        border-radius: 8px;
    }

    .page-cockfighting__cards-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-cockfighting__card {
        padding: 20px;
        border-radius: 10px;
    }

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

    .page-cockfighting__card-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    .page-cockfighting__card-description {
        font-size: 0.9em;
    }

    .page-cockfighting__list-item {
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .page-cockfighting__list-title {
        font-size: 1.2em;
        margin-bottom: 8px;
    }

    .page-cockfighting__list-item p {
        font-size: 0.95em;
    }

    .page-cockfighting__grid-2-cols {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__promo-card img {
        
        border-radius: 8px 8px 0 0;
    }

    .page-cockfighting__promo-card .page-cockfighting__card-title {
        padding: 0 15px;
    }
    .page-cockfighting__promo-card .page-cockfighting__card-description {
        padding: 0 15px;
    }
    .page-cockfighting__card-link {
        padding: 10px 15px 15px;
    }

    .page-cockfighting__feature-item {
        padding: 20px;
        border-radius: 10px;
    }

    .page-cockfighting__feature-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .page-cockfighting__feature-description {
        font-size: 0.9em;
    }

    .page-cockfighting__faq-section {
        padding-bottom: 40px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px 18px;
        font-size: 1em;
    }
    .page-cockfighting__faq-qtext {
        font-size: 0.95em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 18px 18px;
    }
    .page-cockfighting__faq-answer p {
        font-size: 0.9em;
    }

    .page-cockfighting__cta-final {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* Images responsiveness */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__promo-card,
    .page-cockfighting__feature-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}