.page-cockfighting {
    background-color: var(--background-color, #08160F);
    color: var(--text-main-color, #F2FFF6);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as per instruction */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: #08160F; /* Dark background for hero */
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
    display: block;
    min-height: 200px;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #F2FFF6;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 15px;
    color: #F2C14E; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    color: #A7D9B8; /* Secondary text color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    min-width: 180px;
    height: auto;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #F2C14E; /* Gold for section titles */
    position: relative;
    padding-bottom: 10px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2AD16F;
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #A7D9B8;
    text-align: justify;
}

.page-cockfighting__text-block a {
    color: #2AD16F;
    text-decoration: underline;
}
.page-cockfighting__text-block a:hover {
    color: #57E38D;
}

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    background-color: #0A4B2C;
    padding: 60px 0;
}

.page-cockfighting__types-section,
.page-cockfighting__strategies-section,
.page-cockfighting__security-section,
.page-cockfighting__call-to-action-bottom {
    background-color: #08160F;
    padding: 60px 0;
}

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

.page-cockfighting__type-card,
.page-cockfighting__promo-card,
.page-cockfighting__feature-item {
    background-color: #11271B;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #F2FFF6;
    border: 1px solid #2E7A4E;
}

.page-cockfighting__type-card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__card-image,
.page-cockfighting__feature-icon {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #2E7A4E;
    min-height: 200px;
    min-width: 200px;
}

.page-cockfighting__card-title,
.page-cockfighting__feature-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 20px 20px 10px;
    color: #F2C14E;
}

.page-cockfighting__card-description,
.page-cockfighting__feature-description {
    font-size: 1rem;
    color: #A7D9B8;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin: 0 20px 20px;
    align-self: flex-start;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.page-cockfighting__guide-list {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__guide-list .page-cockfighting__list-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    position: relative;
    padding-left: 70px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__guide-list .page-cockfighting__list-item::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__guide-list .page-cockfighting__list-title {
    font-size: 1.3rem;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-cockfighting__guide-list .page-cockfighting__list-item p {
    color: #A7D9B8;
    font-size: 1rem;
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__strategy-list .page-cockfighting__list-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #F2FFF6;
}

.page-cockfighting__strategy-list .page-cockfighting__list-title {
    font-size: 1.2rem;
    color: #2AD16F;
    margin-bottom: 8px;
}

.page-cockfighting__strategy-list .page-cockfighting__list-item p {
    color: #A7D9B8;
    font-size: 0.95rem;
}

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

.page-cockfighting__faq-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2C14E;
    cursor: pointer;
    background-color: #11271B;
    position: relative;
    user-select: none;
    list-style: none;
}
.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}
.page-cockfighting__faq-question::marker {
    display: none;
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #2AD16F;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8;
    line-height: 1.7;
}

.page-cockfighting__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}

.page-cockfighting__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.page-cockfighting__call-to-action-bottom {
    text-align: center;
    padding: 80px 0;
    background-color: #0A4B2C;
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
    }

    .page-cockfighting__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 1rem;
    }

    .page-cockfighting__grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-cockfighting__type-card,
    .page-cockfighting__promo-card,
    .page-cockfighting__feature-item {
        margin: 0 15px;
        width: auto;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__feature-icon {
        height: auto;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }

    .page-cockfighting__guide-list .page-cockfighting__list-item,
    .page-cockfighting__strategy-list .page-cockfighting__list-item {
        padding: 20px 15px 20px 60px;
        margin: 0 15px 15px;
        width: auto;
    }

    .page-cockfighting__guide-list .page-cockfighting__list-item::before {
        left: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .page-cockfighting__guide-list .page-cockfighting__list-title,
    .page-cockfighting__strategy-list .page-cockfighting__list-title {
        font-size: 1.1rem;
    }

    .page-cockfighting__faq-item {
        margin: 0 15px 15px;
        width: auto;
    }

    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }

    .page-cockfighting__button-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }

    .page-cockfighting img {
        min-width: 200px;
        min-height: 200px;
    }
}

.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__call-to-action-bottom,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__call-to-action-bottom {
      padding-left: 0;
      padding-right: 0;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__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__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .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;
  }
  .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;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
  }
}