.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
}

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

.page-cockfighting__section {
    padding: 40px 0;
    background-color: #ffffff;
}

.page-cockfighting__dark-bg {
    background-color: #26A9E0;
    color: #ffffff; /* White text for dark background */
}

.page-cockfighting__light-bg {
    background-color: #f8f8f8;
    color: #333333; /* Dark text for light background */
}

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-cockfighting__section-title--white {
    color: #ffffff;
}

.page-cockfighting__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-cockfighting__section-description--white {
    color: #f0f0f0;
}

/* Hero Section */
.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 60px;
    background-color: #26A9E0;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.page-cockfighting__hero-text-area {
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.2em); /* Clamp for responsive H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-link {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 16px;
}

.page-cockfighting__btn-link:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 60px 0;
}

.page-cockfighting__content-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__content-block p {
    font-size: 17px;
    line-height: 1.7;
    text-align: justify;
}

.page-cockfighting__image-left {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 60px 0;
}

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

.page-cockfighting__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__card--dark-bg-transparent {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__card--dark-bg-transparent .page-cockfighting__card-title {
    color: #ffffff;
}

.page-cockfighting__card--dark-bg-transparent .page-cockfighting__card-text {
    color: #f0f0f0;
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-cockfighting__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #26A9E0;
    padding: 0 15px;
}

.page-cockfighting__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    padding: 0 15px;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
}

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

.page-cockfighting__step-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__step-icon {
    width: 60px;
    height: 60px;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.page-cockfighting__step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-cockfighting__step-text {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
    padding: 60px 0;
}

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

.page-cockfighting__benefit-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: inline-block;
}

.page-cockfighting__benefit-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-cockfighting__benefit-text {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
}

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

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: #f5f5f5;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    padding: 60px 0;
}

/* General image responsiveness */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image img {
        aspect-ratio: 4/3;
    }
    .page-cockfighting__grid-3-cols,
    .page-cockfighting__steps-grid,
    .page-cockfighting__benefits-grid,
    .page-cockfighting__promotion-cards {
        gap: 20px;
    }
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2.2em, 4.5vw, 2.8em);
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__cta-buttons {
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    /* General Container and Padding */
    .page-cockfighting__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section {
        padding: 30px 0;
    }

    /* HERO 主图区域 */
    .page-cockfighting__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        padding-bottom: 40px;
    }

    .page-cockfighting__hero-image {
        border-radius: 0;
        box-shadow: none;
    }

    .page-cockfighting__hero-image img {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Allow natural aspect ratio or adjust */
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 size for mobile */
        padding: 0 10px;
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
        padding: 0 10px;
    }

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

    /* 按钮与按钮容器 */
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-link,
    .page-cockfighting a[class*="button"],
    .page-cockfighting 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__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* Introduction Section */
    .page-cockfighting__content-block {
        flex-direction: column;
        text-align: center;
    }

    .page-cockfighting__image-left {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
    }
    
    .page-cockfighting__content-block p {
        font-size: 15px;
        text-align: left;
    }

    /* 产品展示图区域 (Types Section) */
    .page-cockfighting__types-section {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-cockfighting__grid-3-cols {
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        gap: 15px;
        padding: 0 5px; /* Add small horizontal padding to grid */
    }
    .page-cockfighting__card-image {
        height: 150px;
    }
    .page-cockfighting__card-title {
        font-size: 18px;
    }
    .page-cockfighting__card-text {
        font-size: 14px;
    }

    /* Guide Section */
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Benefits Section */
    .page-cockfighting__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Promotions Section */
    .page-cockfighting__promotion-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* FAQ Section */
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 15px; }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

    /* 通用图片与容器 */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 装饰主标题 + 长文 SEO 区 (General section titles and descriptions) */
    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    .page-cockfighting__section-description {
        font-size: 15px;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    /* If there was an __article-body or __article-figure, they would be handled here */
}

@media (max-width: 480px) {
    .page-cockfighting__grid-3-cols {
        grid-template-columns: 1fr; /* 1 column for very small screens */
    }
}