.page-cockfighting-rules-explained {
    font-family: Arial, sans-serif;
    color: #FFF3E6;
    background-color: #0D0E12;
    line-height: 1.6;
}

.page-cockfighting-rules-explained__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
    background-color: #0D0E12;
}

.page-cockfighting-rules-explained__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 600px; /* Adjusted for better visual balance */
}

.page-cockfighting-rules-explained__hero-content {
    text-align: center;
    padding: 20px 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting-rules-explained__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFB04D;
    text-shadow: 0 0 8px rgba(255, 176, 77, 0.5);
}

.page-cockfighting-rules-explained__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #FFF3E6;
}

.page-cockfighting-rules-explained__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
    min-height: 44px; /* Ensure touch target size */
}

.page-cockfighting-rules-explained__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-cockfighting-rules-explained__section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-cockfighting-rules-explained__section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #FF8C1A;
    position: relative;
    padding-bottom: 10px;
}

.page-cockfighting-rules-explained__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFA53A, #FF8C1A);
    border-radius: 2px;
}

.page-cockfighting-rules-explained__text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: left;
}

.page-cockfighting-rules-explained__rule-grid,
.page-cockfighting-rules-explained__tips-grid,
.page-cockfighting-rules-explained__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-cockfighting-rules-explained__rule-card,
.page-cockfighting-rules-explained__tip-card,
.page-cockfighting-rules-explained__feature-card {
    background-color: #17191F;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-cockfighting-rules-explained__rule-card:hover,
.page-cockfighting-rules-explained__tip-card:hover,
.page-cockfighting-rules-explained__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px #FFB04D;
}

.page-cockfighting-rules-explained__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFA53A;
}

.page-cockfighting-rules-explained__card-text {
    font-size: 1rem;
    color: #FFF3E6;
    line-height: 1.7;
}

.page-cockfighting-rules-explained__betting-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
}

.page-cockfighting-rules-explained__list-item {
    background-color: #17191F;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C;
}

.page-cockfighting-rules-explained__list-icon {
    width: 100px;
    height: 100px;
    min-width: 100px; /* Ensure minimum size */
    min-height: 100px; /* Ensure minimum size */
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-cockfighting-rules-explained__list-content {
    flex-grow: 1;
}

.page-cockfighting-rules-explained__list-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #FF8C1A;
    margin-bottom: 10px;
}

.page-cockfighting-rules-explained__list-description {
    font-size: 1rem;
    color: #FFF3E6;
    line-height: 1.7;
}

.page-cockfighting-rules-explained__secondary-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #D96800;
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-height: 44px; /* Ensure touch target size */
}

.page-cockfighting-rules-explained__secondary-cta:hover {
    background-color: #FF8C1A;
}

.page-cockfighting-rules-explained__feature-icon {
    width: 200px;
    height: 150px;
    min-width: 200px; /* Ensure minimum size */
    min-height: 150px; /* Ensure minimum size */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting-rules-explained__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting-rules-explained__faq-item {
    background-color: #17191F;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px 25px;
    border: 1px solid #A84F0C;
}

.page-cockfighting-rules-explained__faq-question {
    font-size: 1.25rem;
    font-weight: bold;
    color: #FFA53A;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-cockfighting-rules-explained__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    color: #FFB04D;
    transition: transform 0.3s ease;
}

.page-cockfighting-rules-explained__faq-question.is-active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-cockfighting-rules-explained__faq-answer {
    font-size: 1rem;
    color: #FFF3E6;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-cockfighting-rules-explained__faq-answer.is-open {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-cockfighting-rules-explained__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-cockfighting-rules-explained__description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .page-cockfighting-rules-explained__section-title {
        font-size: 2rem;
    }

    .page-cockfighting-rules-explained__rule-grid,
    .page-cockfighting-rules-explained__tips-grid,
    .page-cockfighting-rules-explained__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting-rules-explained__list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-cockfighting-rules-explained__list-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-rules-explained__hero-image {
        max-height: 400px;
    }
    .page-cockfighting-rules-explained__hero-section img,
    .page-cockfighting-rules-explained__section img,
    .page-cockfighting-rules-explained__betting-list img,
    .page-cockfighting-rules-explained__feature-grid img {
        max-width: 100%;
        height: auto;
    }
    .page-cockfighting-rules-explained__list-icon, 
    .page-cockfighting-rules-explained__feature-icon {
        width: clamp(200px, 80vw, 300px); /* Ensure images are not too small but responsive */
        height: auto;
        min-width: 200px;
        min-height: 150px;
    }
}

@media (max-width: 549px) {
    .page-cockfighting-rules-explained__section {
        padding: 30px 15px;
    }

    .page-cockfighting-rules-explained__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .page-cockfighting-rules-explained__description {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }

    .page-cockfighting-rules-explained__section-title {
        font-size: 1.8rem;
    }

    .page-cockfighting-rules-explained__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-cockfighting-rules-explained__card-title {
        font-size: 1.3rem;
    }

    .page-cockfighting-rules-explained__list-title {
        font-size: 1.2rem;
    }

    .page-cockfighting-rules-explained__faq-question {
        font-size: 1.1rem;
    }
}