.page-cockfighting-betting-types {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background: var(--secondary-color); /* White background as per shared.css body */
}

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

.page-cockfighting-betting-types__section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting-betting-types__dark-bg {
    background: #26A9E0; /* Primary brand color */
    color: #ffffff; /* White text for dark background */
}

.page-cockfighting-betting-types__light-bg {
    background: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
}

.page-cockfighting-betting-types__section-title {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: bold;
    color: inherit; /* Inherit color from parent section */
}

.page-cockfighting-betting-types__text-block {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
    color: inherit; /* Inherit color from parent section */
}

/* Hero Section */
.page-cockfighting-betting-types__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-cockfighting-betting-types__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-betting-types__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-betting-types__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 1000px; /* Constrain hero image width */
}

.page-cockfighting-betting-types__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting-betting-types__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login color as CTA button */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting-betting-types__cta-button:hover {
    background: #d46a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Grid Layout for Betting Types */
.page-cockfighting-betting-types__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting-betting-types__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-betting-types__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-betting-types__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting-betting-types__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0; /* Primary color for titles */
}

.page-cockfighting-betting-types__card-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

/* Ordered List (How-To Guide) */
.page-cockfighting-betting-types__ordered-list {
    list-style: none;
    counter-reset: item;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-cockfighting-betting-types__ordered-list li {
    counter-increment: item;
    margin-bottom: 30px;
    padding-left: 50px;
    position: relative;
    font-size: 18px;
    color: #333333;
}

.page-cockfighting-betting-types__ordered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: #26A9E0;
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.page-cockfighting-betting-types__list-title {
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-cockfighting-betting-types__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #EA7C07; /* Login color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting-betting-types__btn-primary:hover {
    background: #d46a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-betting-types__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 10px;
    margin: 40px auto 0 auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Features Grid */
.page-cockfighting-betting-types__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting-betting-types__feature-item {
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark background */
    border-radius: 10px;
    padding: 25px;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-cockfighting-betting-types__feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.page-cockfighting-betting-types__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

/* FAQ Section */
.page-cockfighting-betting-types__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-cockfighting-betting-types__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-cockfighting-betting-types__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 15px;
    opacity: 0;
    color: #333333;
}

.page-cockfighting-betting-types__faq-item.active .page-cockfighting-betting-types__faq-answer {
    max-height: 2000px !important; /* Use !important and large value for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-cockfighting-betting-types__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #333333; /* Dark text for light background */
}

.page-cockfighting-betting-types__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cockfighting-betting-types__faq-question:active {
    background: #eeeeee;
}

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

.page-cockfighting-betting-types__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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: 28px;
    height: 28px;
}

.page-cockfighting-betting-types__faq-item.active .page-cockfighting-betting-types__faq-toggle {
    color: #333;
}

.page-cockfighting-betting-types__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #ffffff;
    color: #26A9E0; /* Primary color for text */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 2px solid #26A9E0;
    cursor: pointer;
}

.page-cockfighting-betting-types__btn-secondary:hover {
    background: #f0f0f0;
    color: #1a88bb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Image container styling */
.page-cockfighting-betting-types__image-container {
    margin-top: 40px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting-betting-types__hero-title {
        font-size: 40px;
    }
    .page-cockfighting-betting-types__section-title {
        font-size: 30px;
    }
    .page-cockfighting-betting-types__text-block {
        font-size: 16px;
    }
    .page-cockfighting-betting-types__grid-layout {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-betting-types__section {
        padding: 40px 0;
    }
    .page-cockfighting-betting-types__container {
        padding: 0 15px;
    }

    /* Hero Section - Mobile */
    .page-cockfighting-betting-types__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Adjust for mobile header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting-betting-types__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-cockfighting-betting-types__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-cockfighting-betting-types__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General image responsiveness */
    .page-cockfighting-betting-types img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Content area images and containers */
    .page-cockfighting-betting-types__section,
    .page-cockfighting-betting-types__card,
    .page-cockfighting-betting-types__container,
    .page-cockfighting-betting-types__image-container,
    .page-cockfighting-betting-types__features-grid,
    .page-cockfighting-betting-types__grid-layout,
    .page-cockfighting-betting-types__faq-list,
    .page-cockfighting-betting-types__ordered-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting-betting-types__ordered-list li {
        padding-left: 40px;
        font-size: 16px;
    }
    .page-cockfighting-betting-types__ordered-list li::before {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    .page-cockfighting-betting-types__list-title {
        font-size: 20px;
    }

    /* Card images - ensure they are not small */
    .page-cockfighting-betting-types__card-image {
        height: auto; /* Allow height to adjust */
        min-height: 200px; /* Ensure minimum size */
    }

    /* FAQ Mobile */
    .page-cockfighting-betting-types__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-cockfighting-betting-types__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-cockfighting-betting-types__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-cockfighting-betting-types__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting-betting-types__faq-item.active .page-cockfighting-betting-types__faq-answer {
        padding: 15px !important;
    }

    /* Button responsiveness */
    .page-cockfighting-betting-types__btn-primary,
    .page-cockfighting-betting-types__btn-secondary {
        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;
    }
}