/* General Styles */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main, #1F2D3D);
    background: var(--background, #F4F7FB);
    line-height: 1.6;
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-cockfighting__text-block {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-main, #1F2D3D);
}

.page-cockfighting__card {
    background: var(--card-bg, #FFFFFF);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
    color: var(--text-main, #1F2D3D);
}

/* Color Contrast Specifics */
.page-cockfighting__light-bg {
    background: var(--background, #F4F7FB);
    color: var(--text-main, #1F2D3D);
}

.page-cockfighting__dark-bg {
    background: var(--primary-color, #2F6BFF);
    color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__text-block {
    color: #ffffff;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: #ffffff;
    color: var(--primary-color, #2F6BFF);
    border: 2px solid var(--primary-color, #2F6BFF);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--primary-color, #2F6BFF);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(47, 107, 255, 0.6);
}

.page-cockfighting__btn-small {
    font-size: 16px;
    padding: 8px 20px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
}

.page-cockfighting__btn-small:hover {
    opacity: 0.9;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 675px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.page-cockfighting__hero-content {
    text-align: center;
    padding: 40px 20px;
    background: var(--background, #F4F7FB);
    width: 100%;
}

.page-cockfighting__hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-description {
    font-size: 20px;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* About Section */
.page-cockfighting__about-section {
    padding: 60px 0;
}

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

.page-cockfighting__feature-card {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-cockfighting__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    font-size: 16px;
    color: var(--text-main, #1F2D3D);
}

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

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

.page-cockfighting__step-item {
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.page-cockfighting__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color, #2F6BFF);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-cockfighting__step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

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

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

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

.page-cockfighting__promo-card {
    text-align: left;
    overflow: hidden;
    padding: 0;
}

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

.page-cockfighting__promo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000);
    padding: 0 25px;
    margin-bottom: 10px;
}

.page-cockfighting__promo-description {
    font-size: 16px;
    color: var(--text-main, #1F2D3D);
    padding: 0 25px 20px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-small {
    margin: 0 25px 25px;
    width: calc(100% - 50px);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #D6E2FF);
  overflow: hidden;
  background: var(--card-bg, #FFFFFF);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #f5f8ff;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--custom-color-1776249996415, #000000);
}
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color, #2F6BFF);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: #f9fcff;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: var(--text-main, #1F2D3D);
}

/* CTA Banner */
.page-cockfighting__cta-banner {
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
    background: linear-gradient(135deg, var(--primary-color, #2F6BFF) 0%, var(--auxiliary-color, #6FA3FF) 100%);
    box-shadow: 0 10px 30px rgba(47, 107, 255, 0.5);
}

.page-cockfighting__cta-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__cta-description {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 42px;
    }
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__cta-title {
        font-size: 34px;
    }
    .page-cockfighting__container {
        padding: 15px;
    }
    .page-cockfighting__hero-image {
        height: 550px;
    }
    .page-cockfighting__promo-image {
        height: 180px;
    }
    .page-cockfighting__feature-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px; /* Ensure small top padding */
    }
    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* For banner images */
    }
    .page-cockfighting__hero-title {
        font-size: 32px;
        line-height: 1.3;
    }
    .page-cockfighting__hero-description {
        font-size: 17px;
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .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__hero-content,
    .page-cockfighting__about-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-banner {
        padding: 30px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 16px;
    }
    .page-cockfighting__feature-grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-cockfighting__feature-image,
    .page-cockfighting__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__feature-title {
        font-size: 20px;
    }
    .page-cockfighting__promo-title {
        font-size: 20px;
    }
    .page-cockfighting__promo-card .page-cockfighting__btn-small {
        margin: 0 15px 15px;
        width: calc(100% - 30px);
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 16px; }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
    .page-cockfighting__cta-banner {
        padding: 40px 15px;
        margin: 30px 15px;
    }
    .page-cockfighting__cta-title {
        font-size: 28px;
    }
    .page-cockfighting__cta-description {
        font-size: 17px;
    }
    /* Ensure all images inside .page-cockfighting are responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}