.page-cockfighting-betting-tips {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--bg-color, #ffffff); /* Inherit from shared, fallback to white */
}

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

/* Hero Section */
.page-cockfighting-betting-tips__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 for visual spacing */
    overflow: hidden;
    background-color: #f5f5f5; /* Light background for hero section */
}

.page-cockfighting-betting-tips__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px;
}

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

.page-cockfighting-betting-tips__hero-content {
    max-width: 900px;
    z-index: 1;
    color: #333333;
}

.page-cockfighting-betting-tips__hero-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for H1 */
}

.page-cockfighting-betting-tips__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.page-cockfighting-betting-tips__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

/* Buttons */
.page-cockfighting-betting-tips__btn-primary,
.page-cockfighting-betting-tips__btn-secondary,
.page-cockfighting-betting-tips__hero-cta {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting-betting-tips__btn-primary,
.page-cockfighting-betting-tips__hero-cta {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-cockfighting-betting-tips__btn-primary:hover,
.page-cockfighting-betting-tips__hero-cta:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-cockfighting-betting-tips__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-cockfighting-betting-tips__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a8cc7;
}

.page-cockfighting-betting-tips__cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* General Text Blocks */
.page-cockfighting-betting-tips__text-block {
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting-betting-tips__text-center {
    text-align: center;
}

/* Dark Section */
.page-cockfighting-betting-tips__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 60px 0;
}

.page-cockfighting-betting-tips__dark-section .page-cockfighting-betting-tips__section-title {
    color: #ffffff;
}

.page-cockfighting-betting-tips__dark-section .page-cockfighting-betting-tips__text-block {
    color: #f0f0f0;
}

/* Light Background Section (for contrast) */
.page-cockfighting-betting-tips__light-bg {
    background-color: #f8f8f8;
    color: #333333;
    padding: 60px 0;
}

/* Benefits Grid */
.page-cockfighting-betting-tips__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting-betting-tips__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff; /* Text for dark background */
}

.page-cockfighting-betting-tips__benefit-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block; /* Ensure it behaves as a block element */
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-betting-tips__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-cockfighting-betting-tips__card-description {
    font-size: 0.95em;
    line-height: 1.5;
}

/* List Styles */
.page-cockfighting-betting-tips__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-cockfighting-betting-tips__list-item {
    margin-bottom: 10px;
}

/* Strategy Grid */
.page-cockfighting-betting-tips__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting-betting-tips__strategy-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
}

/* Guide Steps */
.page-cockfighting-betting-tips__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting-betting-tips__step-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
}

.page-cockfighting-betting-tips__step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-betting-tips__step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

/* FAQ Section */
.page-cockfighting-betting-tips__faq-list {
    margin-top: 30px;
}

.page-cockfighting-betting-tips__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-cockfighting-betting-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    background-color: #f9f9f9;
    color: #26A9E0;
    transition: background-color 0.3s ease;
    list-style: none; /* For <summary> tag */
}

.page-cockfighting-betting-tips__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <summary> */
}

.page-cockfighting-betting-tips__faq-question:hover {
    background-color: #f0f8ff;
}

.page-cockfighting-betting-tips__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting-betting-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-cockfighting-betting-tips__faq-item[open] .page-cockfighting-betting-tips__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-cockfighting-betting-tips__faq-answer {
    padding: 15px 25px 20px;
    border-top: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #555555;
    font-size: 0.95em;
}

/* Links within content */
.page-cockfighting-betting-tips a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting-betting-tips a:hover {
    color: #1a8cc7;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting-betting-tips__hero-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-cockfighting-betting-tips__section-title {
        font-size: clamp(1.8em, 4vw, 2.2em);
    }
}

@media (max-width: 768px) {
    .page-cockfighting-betting-tips__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    }

    .page-cockfighting-betting-tips__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-cockfighting-betting-tips__hero-description {
        font-size: 1em;
    }

    .page-cockfighting-betting-tips__section-title {
        font-size: clamp(1.6em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-cockfighting-betting-tips__container {
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .page-cockfighting-betting-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any, not used in this specific content but for general compliance) */
    .page-cockfighting-betting-tips video,
    .page-cockfighting-betting-tips__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting-betting-tips__video-section,
    .page-cockfighting-betting-tips__video-container,
    .page-cockfighting-betting-tips__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-cockfighting-betting-tips__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button responsiveness */
    .page-cockfighting-betting-tips__btn-primary,
    .page-cockfighting-betting-tips__btn-secondary,
    .page-cockfighting-betting-tips__hero-cta,
    .page-cockfighting-betting-tips a[class*="button"],
    .page-cockfighting-betting-tips a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to prevent text touching edges */
        padding-right: 15px;
    }

    .page-cockfighting-betting-tips__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-cockfighting-betting-tips__introduction-section,
    .page-cockfighting-betting-tips__benefits-section,
    .page-cockfighting-betting-tips__betting-types-section,
    .page-cockfighting-betting-tips__strategies-section,
    .page-cockfighting-betting-tips__guide-section,
    .page-cockfighting-betting-tips__faq-section,
    .page-cockfighting-betting-tips__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting-betting-tips__benefits-grid,
    .page-cockfighting-betting-tips__strategy-grid,
    .page-cockfighting-betting-tips__guide-steps {
        grid-template-columns: 1fr;
    }

    .page-cockfighting-betting-tips__benefit-card,
    .page-cockfighting-betting-tips__strategy-card,
    .page-cockfighting-betting-tips__step-item {
        padding: 20px;
    }
    
    .page-cockfighting-betting-tips__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    
    .page-cockfighting-betting-tips__faq-answer {
        padding: 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting-betting-tips__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-cockfighting-betting-tips__hero-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }
    .page-cockfighting-betting-tips__section-title {
        font-size: clamp(1.4em, 7vw, 1.8em);
    }
    .page-cockfighting-betting-tips__btn-primary,
    .page-cockfighting-betting-tips__btn-secondary,
    .page-cockfighting-betting-tips__hero-cta {
        padding: 12px 20px;
    }
}