.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Main text color for dark background */
}

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

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height to prevent excessive space */
    overflow: hidden;
    position: relative;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 30px;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #F2FFF6;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-cockfighting__description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #2AD16F;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-cockfighting__section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.page-cockfighting__dark-bg {
    background-color: #11271B; /* Card BG color for dark sections */
}

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

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2FFF6;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-cockfighting__section p {
    font-size: 1.05rem;
    color: #A7D9B8;
    margin-bottom: 20px;
}

.page-cockfighting__image-text-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__image-float-left {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-text-block p {
    flex: 1;
    min-width: 300px;
    color: #F2FFF6;
}

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

.page-cockfighting__card {
    background-color: #11271B; /* Custom Card BG */
    border: 1px solid #2E7A4E; /* Custom Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__card-title {
    font-size: 1.6rem;
    color: #F2FFF6;
    font-weight: 600;
    margin-bottom: 15px;
}

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

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

.page-cockfighting__step-card {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: #2AD16F;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-cockfighting__strategy-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__strategy-card {
    flex: 1;
    min-width: 350px;
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__strategy-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.page-cockfighting__list-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
    font-size: 1.5rem;
    color: #F2FFF6;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.page-cockfighting__feature-card {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2FFF6;
    cursor: pointer;
    list-style: none; /* For details summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    color: #2AD16F;
    margin-left: 15px;
    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.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__image-text-block {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__image-float-left {
        max-width: 100%;
        float: none;
        margin: 0 auto 20px;
    }
    .page-cockfighting__strategy-card {
        min-width: unset;
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__section {
        padding: 50px 15px;
    }
    .page-cockfighting__hero-content {
        margin-top: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .page-cockfighting__card,
    .page-cockfighting__step-card,
    .page-cockfighting__strategy-card,
    .page-cockfighting__list-item,
    .page-cockfighting__feature-card,
    .page-cockfighting__faq-item {
        padding: 20px;
    }
    .page-cockfighting__card-image,
    .page-cockfighting__strategy-image {
        height: 200px;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    /* Mobile image and container responsiveness */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__image-text-block,
    .page-cockfighting__grid-layout,
    .page-cockfighting__steps-grid,
    .page-cockfighting__strategy-cards,
    .page-cockfighting__strategy-card,
    .page-cockfighting__security-list,
    .page-cockfighting__list-item,
    .page-cockfighting__features-grid,
    .page-cockfighting__feature-card,
    .page-cockfighting__faq-list,
    .page-cockfighting__faq-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Ensure content does not overflow */
    }
    .page-cockfighting__hero-section {
      padding-left: 0;
      padding-right: 0;
    }
    .page-cockfighting__hero-content {
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-cockfighting__hero-image {
        height: auto !important;
    }
    .page-cockfighting__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__list-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
    }
}