:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-button-bg: #C30808;
    --register-login-font-color: #FFFFFF; /* Adjusted for WCAG AA contrast, original #FFFF00 had insufficient contrast on #C30808 */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-color-light: #FFFFFF;
    --border-color: #e0e0e0;
}

.page-resources-thomo-cockfighting-analysis {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark);
    line-height: 1.6;
    background: var(--background-color-light);
}

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

.page-resources-thomo-cockfighting-analysis__hero-content-area {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a9b6c 100%); /* Adjusted gradient for better visual */
    text-align: center;
    color: var(--text-color-light);
}

.page-resources-thomo-cockfighting-analysis__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-color-light);
}

.page-resources-thomo-cockfighting-analysis__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-thomo-cockfighting-analysis__hero-image-wrapper {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-thomo-cockfighting-analysis__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-resources-thomo-cockfighting-analysis__section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-resources-thomo-cockfighting-analysis__section:last-of-type {
    border-bottom: none;
}

.page-resources-thomo-cockfighting-analysis__section--analysis-factors {
    background: var(--background-color-light);
}

.page-resources-thomo-cockfighting-analysis__section--strategies {
    background: #f9f9f9;
}

.page-resources-thomo-cockfighting-analysis__dark-bg {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-resources-thomo-cockfighting-analysis__dark-bg .page-resources-thomo-cockfighting-analysis__section-title,
.page-resources-thomo-cockfighting-analysis__dark-bg .page-resources-thomo-cockfighting-analysis__section-description {
    color: var(--text-color-light);
}

.page-resources-thomo-cockfighting-analysis__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-resources-thomo-cockfighting-analysis__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-color-dark);
}

.page-resources-thomo-cockfighting-analysis__dark-bg .page-resources-thomo-cockfighting-analysis__section-description {
    color: var(--text-color-light);
}

.page-resources-thomo-cockfighting-analysis__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-thomo-cockfighting-analysis__card {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px; /* Ensure cards have a minimum height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-resources-thomo-cockfighting-analysis__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-thomo-cockfighting-analysis__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent image display */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-thomo-cockfighting-analysis__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-thomo-cockfighting-analysis__card-text {
    font-size: 1em;
    color: var(--text-color-dark);
}

.page-resources-thomo-cockfighting-analysis__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-resources-thomo-cockfighting-analysis__list-item {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-resources-thomo-cockfighting-analysis__list-item:hover {
    transform: translateX(5px);
}

.page-resources-thomo-cockfighting-analysis__list-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-resources-thomo-cockfighting-analysis__list-item p {
    color: var(--text-color-dark);
}

.page-resources-thomo-cockfighting-analysis__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-thomo-cockfighting-analysis__video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.page-resources-thomo-cockfighting-analysis__video-caption {
    text-align: center;
    font-size: 1.1em;
    color: var(--text-color-light);
    margin-top: 15px;
}

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

.page-resources-thomo-cockfighting-analysis__feature-item {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease;
}

.page-resources-thomo-cockfighting-analysis__feature-item:hover {
    transform: translateY(-5px);
}

.page-resources-thomo-cockfighting-analysis__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-resources-thomo-cockfighting-analysis__feature-item p {
    color: var(--text-color-dark);
}

.page-resources-thomo-cockfighting-analysis__faq-list {
    margin-top: 40px;
}

.page-resources-thomo-cockfighting-analysis__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-thomo-cockfighting-analysis__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-thomo-cockfighting-analysis__faq-item.active .page-resources-thomo-cockfighting-analysis__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-resources-thomo-cockfighting-analysis__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;
}

.page-resources-thomo-cockfighting-analysis__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-thomo-cockfighting-analysis__faq-question:active {
    background: #eeeeee;
}

.page-resources-thomo-cockfighting-analysis__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-dark);
}

.page-resources-thomo-cockfighting-analysis__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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-thomo-cockfighting-analysis__faq-item.active .page-resources-thomo-cockfighting-analysis__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

.page-resources-thomo-cockfighting-analysis__cta-content {
    text-align: center;
}

.page-resources-thomo-cockfighting-analysis__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin: 15px 10px 0 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-thomo-cockfighting-analysis__btn-primary {
    background: var(--register-login-button-bg);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-login-button-bg);
}

.page-resources-thomo-cockfighting-analysis__btn-primary:hover {
    background: #a60707;
    border-color: #a60707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-thomo-cockfighting-analysis__btn-secondary {
    background: var(--secondary-color);
    color: var(--register-login-button-bg);
    border: 2px solid var(--register-login-button-bg);
}

.page-resources-thomo-cockfighting-analysis__btn-secondary:hover {
    background: #f0f0f0;
    color: #a60707;
    border-color: #a60707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-thomo-cockfighting-analysis__button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Image responsiveness */
.page-resources-thomo-cockfighting-analysis img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-resources-thomo-cockfighting-analysis {
        font-size: 15px;
    }

    .page-resources-thomo-cockfighting-analysis__hero-content-area {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-resources-thomo-cockfighting-analysis__main-title {
        font-size: 2.2em;
    }

    .page-resources-thomo-cockfighting-analysis__intro-text {
        font-size: 1em;
        padding: 0 10px;
    }

    .page-resources-thomo-cockfighting-analysis__section {
        padding: 50px 0;
    }

    .page-resources-thomo-cockfighting-analysis__section-title {
        font-size: 2em;
        padding: 0 10px;
    }

    .page-resources-thomo-cockfighting-analysis__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-resources-thomo-cockfighting-analysis__grid,
    .page-resources-thomo-cockfighting-analysis__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-thomo-cockfighting-analysis__card,
    .page-resources-thomo-cockfighting-analysis__feature-item {
        padding: 20px;
    }

    .page-resources-thomo-cockfighting-analysis__card-image {
        height: 180px;
    }

    .page-resources-thomo-cockfighting-analysis__list-item {
        padding: 20px;
    }

    .page-resources-thomo-cockfighting-analysis__video-wrapper {
        padding-bottom: 75%; /* Adjust for mobile aspect ratio */
    }

    .page-resources-thomo-cockfighting-analysis__faq-question {
        padding: 15px;
    }

    .page-resources-thomo-cockfighting-analysis__faq-question h3 {
        font-size: 15px;
    }

    .page-resources-thomo-cockfighting-analysis__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }

    .page-resources-thomo-cockfighting-analysis__faq-item.active .page-resources-thomo-cockfighting-analysis__faq-answer {
        padding: 15px !important;
    }

    .page-resources-thomo-cockfighting-analysis__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
        font-size: 16px;
        padding: 12px 20px;
    }

    .page-resources-thomo-cockfighting-analysis__button-group {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .page-resources-thomo-cockfighting-analysis img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-resources-thomo-cockfighting-analysis__section,
    .page-resources-thomo-cockfighting-analysis__card,
    .page-resources-thomo-cockfighting-analysis__container,
    .page-resources-thomo-cockfighting-analysis__hero-content-area,
    .page-resources-thomo-cockfighting-analysis__video-wrapper,
    .page-resources-thomo-cockfighting-analysis__features-grid,
    .page-resources-thomo-cockfighting-analysis__faq-list,
    .page-resources-thomo-cockfighting-analysis__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}