/* style/cockfighting-types-of-roosters.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-text-color: #FFFFFF; /* Prioritize contrast over #FFFF00 for readability */
    --background-section-light: #FFFFFF;
    --background-body: #121212;
}

.page-cockfighting-types-of-roosters {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: var(--background-body);
}

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

.page-cockfighting-types-of-roosters__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page-cockfighting-types-of-roosters__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

.page-cockfighting-types-of-roosters__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting-types-of-roosters__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 20px;
    padding: 0 20px;
}

.page-cockfighting-types-of-roosters__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-types-of-roosters__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-types-of-roosters__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-cockfighting-types-of-roosters__btn-primary,
.page-cockfighting-types-of-roosters__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting-types-of-roosters__btn-primary {
    background-color: var(--button-register-bg);
    color: var(--button-text-color); /* Changed to white for contrast */
    border: 2px solid var(--button-register-bg);
}

.page-cockfighting-types-of-roosters__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-cockfighting-types-of-roosters__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-cockfighting-types-of-roosters__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-cockfighting-types-of-roosters__intro-section,
.page-cockfighting-types-of-roosters__selection-training-section,
.page-cockfighting-types-of-roosters__benefits-section,
.page-cockfighting-types-of-roosters__faq-section,
.page-cockfighting-types-of-roosters__final-cta-section {
    padding: 60px 0;
    background-color: var(--background-section-light); /* Light background for content sections */
    color: var(--text-color-light-bg);
}

.page-cockfighting-types-of-roosters__intro-section .page-cockfighting-types-of-roosters__container,
.page-cockfighting-types-of-roosters__benefits-section .page-cockfighting-types-of-roosters__container,
.page-cockfighting-types-of-roosters__faq-section .page-cockfighting-types-of-roosters__container,
.page-cockfighting-types-of-roosters__final-cta-section .page-cockfighting-types-of-roosters__container {
    background-color: var(--background-section-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.page-cockfighting-types-of-roosters__section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-cockfighting-types-of-roosters__paragraph {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-cockfighting-types-of-roosters__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-cockfighting-types-of-roosters__breeds-section {
    background-color: var(--background-body);
    color: var(--text-color-dark-bg);
    padding: 60px 0;
}

.page-cockfighting-types-of-roosters__breeds-section .page-cockfighting-types-of-roosters__section-title {
    color: var(--secondary-color);
}

.page-cockfighting-types-of-roosters__breed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting-types-of-roosters__breed-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-cockfighting-types-of-roosters__breed-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting-types-of-roosters__breed-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px;
}

.page-cockfighting-types-of-roosters__breed-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-cockfighting-types-of-roosters__breed-description {
    font-size: 1rem;
    color: var(--secondary-color);
    flex-grow: 1;
}

.page-cockfighting-types-of-roosters__content-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-cockfighting-types-of-roosters__image-text-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.page-cockfighting-types-of-roosters__image-text-group--reverse {
    flex-direction: row-reverse;
}

.page-cockfighting-types-of-roosters__content-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

.page-cockfighting-types-of-roosters__text-content {
    flex: 1;
    max-width: 50%;
}

.page-cockfighting-types-of-roosters__sub-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-cockfighting-types-of-roosters__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding: 0;
}

.page-cockfighting-types-of-roosters__list-item {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-cockfighting-types-of-roosters__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-cockfighting-types-of-roosters__benefit-card {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-cockfighting-types-of-roosters__benefit-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-cockfighting-types-of-roosters__benefit-description {
    font-size: 1rem;
    line-height: 1.6;
}

.page-cockfighting-types-of-roosters__cta-center {
    text-align: center;
    margin-top: 30px;
}

.page-cockfighting-types-of-roosters__faq-list {
    margin-top: 30px;
}

.page-cockfighting-types-of-roosters__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-color-light-bg);
}

.page-cockfighting-types-of-roosters__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #f1f1f1;
    color: var(--primary-color);
    position: relative;
    list-style: none;
}

.page-cockfighting-types-of-roosters__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting-types-of-roosters__faq-question::marker {
    display: none;
}

.page-cockfighting-types-of-roosters__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
}

.page-cockfighting-types-of-roosters__faq-item[open] .page-cockfighting-types-of-roosters__faq-toggle {
    content: '−';
}

.page-cockfighting-types-of-roosters__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-light-bg);
    border-top: 1px solid #e0e0e0;
}

.page-cockfighting-types-of-roosters__final-cta-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
}

.page-cockfighting-types-of-roosters__final-cta-section .page-cockfighting-types-of-roosters__section-title {
    color: var(--secondary-color);
}

.page-cockfighting-types-of-roosters__final-cta-section .page-cockfighting-types-of-roosters__paragraph {
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
    .page-cockfighting-types-of-roosters__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-cockfighting-types-of-roosters__hero-description {
        font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    }

    .page-cockfighting-types-of-roosters__section-title {
        font-size: 2rem;
    }

    .page-cockfighting-types-of-roosters__breed-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-cockfighting-types-of-roosters__content-image {
        max-width: 45%;
    }

    .page-cockfighting-types-of-roosters__text-content {
        max-width: 55%;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-cockfighting-types-of-roosters__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-cockfighting-types-of-roosters__hero-image-wrapper {
        max-height: 400px;
    }

    .page-cockfighting-types-of-roosters__hero-image {
        min-height: 200px !important;
    }

    .page-cockfighting-types-of-roosters__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-cockfighting-types-of-roosters__hero-description {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        margin-bottom: 20px;
    }

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

    /* 通用按钮适配 */
    .page-cockfighting-types-of-roosters__btn-primary,
    .page-cockfighting-types-of-roosters__btn-secondary,
    .page-cockfighting-types-of-roosters a[class*="button"],
    .page-cockfighting-types-of-roosters 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;
        padding-right: 15px;
    }

    /* 其他内容模块 */
    .page-cockfighting-types-of-roosters__intro-section,
    .page-cockfighting-types-of-roosters__selection-training-section,
    .page-cockfighting-types-of-roosters__benefits-section,
    .page-cockfighting-types-of-roosters__faq-section,
    .page-cockfighting-types-of-roosters__final-cta-section {
        padding: 40px 0;
    }

    .page-cockfighting-types-of-roosters__intro-section .page-cockfighting-types-of-roosters__container,
    .page-cockfighting-types-of-roosters__benefits-section .page-cockfighting-types-of-roosters__container,
    .page-cockfighting-types-of-roosters__faq-section .page-cockfighting-types-of-roosters__container,
    .page-cockfighting-types-of-roosters__final-cta-section .page-cockfighting-types-of-roosters__container {
        padding: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting-types-of-roosters__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-cockfighting-types-of-roosters__paragraph,
    .page-cockfighting-types-of-roosters__list-item,
    .page-cockfighting-types-of-roosters__breed-description,
    .page-cockfighting-types-of-roosters__benefit-description,
    .page-cockfighting-types-of-roosters__faq-answer p {
        font-size: 1rem;
    }

    /* 产品展示图区域 (breed-grid) */
    .page-cockfighting-types-of-roosters__breed-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting-types-of-roosters__breed-card {
        padding: 20px;
    }

    .page-cockfighting-types-of-roosters__breed-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        margin-bottom: 15px;
    }

    .page-cockfighting-types-of-roosters__breed-name {
        font-size: 1.3rem;
    }

    .page-cockfighting-types-of-roosters__content-block {
        gap: 30px;
    }

    .page-cockfighting-types-of-roosters__image-text-group,
    .page-cockfighting-types-of-roosters__image-text-group--reverse {
        flex-direction: column;
        text-align: center;
    }

    .page-cockfighting-types-of-roosters__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        margin-bottom: 20px;
    }

    .page-cockfighting-types-of-roosters__text-content {
        max-width: 100%;
    }

    .page-cockfighting-types-of-roosters__sub-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .page-cockfighting-types-of-roosters__list {
        margin-left: 20px;
    }

    .page-cockfighting-types-of-roosters__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting-types-of-roosters__benefit-card {
        padding: 25px;
    }

    .page-cockfighting-types-of-roosters__benefit-title {
        font-size: 1.4rem;
    }

    .page-cockfighting-types-of-roosters__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-cockfighting-types-of-roosters__faq-answer {
        padding: 10px 20px 15px;
    }

    /* 通用图片与容器 */
    .page-cockfighting-types-of-roosters img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting-types-of-roosters__section,
    .page-cockfighting-types-of-roosters__card,
    .page-cockfighting-types-of-roosters__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting-types-of-roosters__section-title {
        font-size: 1.6rem;
    }

    .page-cockfighting-types-of-roosters__sub-title {
        font-size: 1.3rem;
    }

    .page-cockfighting-types-of-roosters__btn-primary,
    .page-cockfighting-types-of-roosters__btn-secondary {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}