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

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

.page-cockfighting-rules__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 50px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

.page-cockfighting-rules__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-cockfighting-rules__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-cockfighting-rules__main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-cockfighting-rules__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

.page-cockfighting-rules__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
}

.page-cockfighting-rules__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

.page-cockfighting-rules__btn-secondary {
    background-color: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-cockfighting-rules__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-cockfighting-rules__content-section {
    padding: 60px 0;
    text-align: left;
}

.page-cockfighting-rules__light-bg {
    background-color: #F4F7FB;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules__dark-bg {
    background-color: #2F6BFF;
    color: #ffffff;
}

.page-cockfighting-rules__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1F2D3D; /* Text Main for light bg */
}

.page-cockfighting-rules__dark-bg .page-cockfighting-rules__section-title {
    color: #ffffff;
}

.page-cockfighting-rules__article-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules__dark-bg .page-cockfighting-rules__article-body {
    color: #f0f0f0;
}

.page-cockfighting-rules__article-body h3 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-cockfighting-rules__dark-bg .page-cockfighting-rules__article-body h3 {
    color: #ffffff;
}

.page-cockfighting-rules__article-body p {
    margin-bottom: 20px;
}

.page-cockfighting-rules__article-body a {
    color: #2F6BFF;
    text-decoration: underline;
}

.page-cockfighting-rules__article-body a:hover {
    color: #6FA3FF;
}

.page-cockfighting-rules__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules__dark-bg .page-cockfighting-rules__list {
    color: #f0f0f0;
}

.page-cockfighting-rules__list li {
    margin-bottom: 10px;
}

.page-cockfighting-rules__sub-list {
    list-style: circle;
    margin-left: 20px;
    margin-top: 10px;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules__dark-bg .page-cockfighting-rules__sub-list {
    color: #f0f0f0;
}

.page-cockfighting-rules__numbered-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules__dark-bg .page-cockfighting-rules__numbered-list {
    color: #f0f0f0;
}

.page-cockfighting-rules__numbered-list li {
    margin-bottom: 10px;
}

.page-cockfighting-rules__image-block {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

.page-cockfighting-rules__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-cockfighting-rules__image-caption {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.page-cockfighting-rules__faq-section {
    padding: 60px 0;
}

.page-cockfighting-rules__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details.page-cockfighting-rules__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #D6E2FF; /* Border color */
    overflow: hidden;
    background: #FFFFFF; /* Card BG */
}

details.page-cockfighting-rules__faq-item summary.page-cockfighting-rules__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-rules__faq-item summary.page-cockfighting-rules__faq-question::-webkit-details-marker {
    display: none;
}

details.page-cockfighting-rules__faq-item summary.page-cockfighting-rules__faq-question:hover {
    background: #f5f5f5;
}

.page-cockfighting-rules__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-cockfighting-rules__faq-item .page-cockfighting-rules__faq-answer {
    padding: 0 20px 20px;
    background: #F4F7FB; /* Background color for answer */
    border-radius: 0 0 5px 5px;
    color: #1F2D3D; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting-rules__main-title {
        font-size: 40px;
    }
    .page-cockfighting-rules__description {
        font-size: 16px;
    }
    .page-cockfighting-rules__section-title {
        font-size: 32px;
    }
    .page-cockfighting-rules__article-body {
        font-size: 16px;
    }
    .page-cockfighting-rules__article-body h3 {
        font-size: 24px;
    }
    .page-cockfighting-rules__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 849px) {
    .page-cockfighting-rules__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-rules__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting-rules__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
        min-height: 400px;
    }

    .page-cockfighting-rules__hero-content {
        padding: 15px;
    }

    .page-cockfighting-rules__main-title {
        font-size: clamp(28px, 8vw, 38px); /* Clamp for responsive H1 */
        margin-bottom: 15px;
    }

    .page-cockfighting-rules__description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-cockfighting-rules__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting-rules__btn-primary,
    .page-cockfighting-rules__btn-secondary,
    .page-cockfighting-rules a[class*="button"],
    .page-cockfighting-rules 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: 12px 20px;
        font-size: 16px;
    }

    .page-cockfighting-rules__content-section {
        padding: 40px 0;
    }

    .page-cockfighting-rules__section-title {
        font-size: clamp(24px, 7vw, 30px);
        margin-bottom: 30px;
    }

    .page-cockfighting-rules__article-body {
        font-size: 15px;
        padding: 0 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting-rules__article-body h3 {
        font-size: 22px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-cockfighting-rules__image-block {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting-rules__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    details.page-cockfighting-rules__faq-item summary.page-cockfighting-rules__faq-question {
        padding: 15px;
    }

    .page-cockfighting-rules__faq-qtext {
        font-size: 16px;
    }

    .page-cockfighting-rules__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }

    details.page-cockfighting-rules__faq-item .page-cockfighting-rules__faq-answer {
        padding: 0 15px 15px;
    }

    .page-cockfighting-rules p,
    .page-cockfighting-rules li {
      font-size: 16px;
      line-height: 1.6;
    }
}