.page-cockfighting-rules-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

.page-cockfighting-rules-tips__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Enforce image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: #F4F7FB;
}

.page-cockfighting-rules-tips__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px; /* Space between image and text */
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting-rules-tips__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting-rules-tips__main-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-cockfighting-rules-tips__intro-text {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

.page-cockfighting-rules-tips__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-cockfighting-rules-tips__btn-primary,
.page-cockfighting-rules-tips__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

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

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

.page-cockfighting-rules-tips__btn-secondary {
    background-color: #FFFFFF; /* Card BG */
    color: #2F6BFF; /* Main Color */
    border: 2px solid #2F6BFF; /* Main Color */
}

.page-cockfighting-rules-tips__btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #F4F7FB;
}

.page-cockfighting-rules-tips__section {
    padding: 60px 20px;
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules-tips__container {
    width: 100%; /* Ensure width is 100% for desktop as well */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cockfighting-rules-tips__heading {
    font-size: 2em;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    text-align: center;
}

.page-cockfighting-rules-tips__heading--light {
    color: #ffffff;
}

.page-cockfighting-rules-tips__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: left;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules-tips__paragraph--light {
    color: #f0f0f0;
}

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

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

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

.page-cockfighting-rules-tips__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

.page-cockfighting-rules-tips__card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules-tips__card:hover {
    transform: translateY(-5px);
}

.page-cockfighting-rules-tips__card-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #2F6BFF; /* Main Color */
    margin-bottom: 15px;
}

.page-cockfighting-rules-tips__card-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting-rules-tips__card-text {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules-tips__dark-bg {
    background-color: #2F6BFF; /* Main Color */
    color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-rules-tips__faq-list {
    margin-top: 30px;
}

.page-cockfighting-rules-tips__faq-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #1F2D3D; /* Text Main */
}

.page-cockfighting-rules-tips__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    transition: background-color 0.3s ease;
}

.page-cockfighting-rules-tips__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-cockfighting-rules-tips__faq-item summary:hover {
    background-color: #F4F7FB;
}

.page-cockfighting-rules-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-cockfighting-rules-tips__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-cockfighting-rules-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2F6BFF; /* Main Color */
}

.page-cockfighting-rules-tips__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    text-align: left;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-cockfighting-rules-tips {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting-rules-tips__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-cockfighting-rules-tips__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-cockfighting-rules-tips__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting-rules-tips__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-cockfighting-rules-tips__btn-primary,
    .page-cockfighting-rules-tips__btn-secondary,
    .page-cockfighting-rules-tips a[class*="button"],
    .page-cockfighting-rules-tips 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-rules-tips__section {
        padding: 40px 15px;
    }

    .page-cockfighting-rules-tips__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting-rules-tips__heading {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .page-cockfighting-rules-tips__paragraph {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .page-cockfighting-rules-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting-rules-tips__card-grid {
        grid-template-columns: 1fr; /* Single column for cards */
    }

    .page-cockfighting-rules-tips__card {
        padding: 20px;
    }

    .page-cockfighting-rules-tips__card-title {
        font-size: 1.3em;
    }

    .page-cockfighting-rules-tips__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-cockfighting-rules-tips__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-cockfighting-rules-tips__dark-bg {
        padding: 30px 20px;
    }
}