/* style/blog-thomo-cockfighting-rules-guide.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-thomo-cockfighting-rules-guide {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-blog-thomo-cockfighting-rules-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-thomo-cockfighting-rules-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-blog-thomo-cockfighting-rules-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-blog-thomo-cockfighting-rules-guide__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative; /* Ensure content is above image in DOM flow */
    z-index: 1;
}

.page-blog-thomo-cockfighting-rules-guide__main-title {
    font-weight: bold;
    color: #FFFFFF; /* Ensure high contrast */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability */
    font-size: clamp(1.8em, 4vw, 3em); /* Min 1.8em, preferred 4vw, max 3em */
}

.page-blog-thomo-cockfighting-rules-guide__description {
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for description */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-thomo-cockfighting-rules-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.page-blog-thomo-cockfighting-rules-guide__btn-primary,
.page-blog-thomo-cockfighting-rules-guide__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure text wrapping */
}

.page-blog-thomo-cockfighting-rules-guide__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-blog-thomo-cockfighting-rules-guide__btn-primary:hover {
    background-color: #e02020;
    color: #FFFFFF;
    border-color: #e02020;
}

.page-blog-thomo-cockfighting-rules-guide__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand color */
    border: 2px solid #017439;
}

.page-blog-thomo-cockfighting-rules-guide__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

/* Content Section */
.page-blog-thomo-cockfighting-rules-guide__content-section {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content area */
    border-radius: 8px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-thomo-cockfighting-rules-guide__article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog-thomo-cockfighting-rules-guide__article-heading {
    color: #017439; /* Brand color for headings */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-blog-thomo-cockfighting-rules-guide__article p {
    margin-bottom: 15px;
    color: #e0e0e0; /* Slightly off-white for paragraphs */
}

.page-blog-thomo-cockfighting-rules-guide__keyword-highlight {
    color: #FFFF00; /* Highlight keywords with yellow */
    font-weight: bold;
}

.page-blog-thomo-cockfighting-rules-guide__list,
.page-blog-thomo-cockfighting-rules-guide__ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-blog-thomo-cockfighting-rules-guide__ordered-list {
    list-style-type: decimal;
}

.page-blog-thomo-cockfighting-rules-guide__list-item,
.page-blog-thomo-cockfighting-rules-guide__sub-list-item {
    margin-bottom: 8px;
}

.page-blog-thomo-cockfighting-rules-guide__sub-list {
    list-style-type: circle;
    margin-left: 20px;
    margin-top: 5px;
    color: #e0e0e0;
}

.page-blog-thomo-cockfighting-rules-guide__article-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-blog-thomo-cockfighting-rules-guide__cta-block {
    background-color: #017439; /* Brand color background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-blog-thomo-cockfighting-rules-guide__cta-block--final {
    margin-bottom: 20px; /* Less margin for final CTA */
}

.page-blog-thomo-cockfighting-rules-guide__cta-text {
    font-size: 1.3em;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-blog-thomo-cockfighting-rules-guide__faq-section {
    margin-top: 30px;
}

.page-blog-thomo-cockfighting-rules-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-blog-thomo-cockfighting-rules-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15); /* Slightly darker for question header */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.page-blog-thomo-cockfighting-rules-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-blog-thomo-cockfighting-rules-guide__faq-qtext {
    flex-grow: 1;
    color: #FFFFFF;
}

.page-blog-thomo-cockfighting-rules-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFFF00; /* Yellow for toggle icon */
}

.page-blog-thomo-cockfighting-rules-guide__faq-item[open] .page-blog-thomo-cockfighting-rules-guide__faq-toggle {
    content: "\2212"; /* Unicode minus sign */
}

.page-blog-thomo-cockfighting-rules-guide__faq-answer {
    padding: 0 20px 15px;
    color: #e0e0e0;
    font-size: 0.95em;
    line-height: 1.5;
}

.page-blog-thomo-cockfighting-rules-guide__faq-answer p {
    margin-top: 15px;
}

/* Links within content */
.page-blog-thomo-cockfighting-rules-guide__article a {
    color: #017439; /* Brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-blog-thomo-cockfighting-rules-guide__article a:hover {
    color: #FFFF00; /* Yellow on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-thomo-cockfighting-rules-guide__main-title {
        font-size: clamp(1.8em, 4vw, 2.5em); /* Adjust clamp max for smaller screens */
    }
    .page-blog-thomo-cockfighting-rules-guide__description {
        font-size: 1em;
    }
    .page-blog-thomo-cockfighting-rules-guide__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-blog-thomo-cockfighting-rules-guide__container,
    .page-blog-thomo-cockfighting-rules-guide__article {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero section */
    .page-blog-thomo-cockfighting-rules-guide__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }
    .page-blog-thomo-cockfighting-rules-guide__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em); /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }
    .page-blog-thomo-cockfighting-rules-guide__description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-blog-thomo-cockfighting-rules-guide__hero-image {
        max-height: 300px;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Buttons responsive */
    .page-blog-thomo-cockfighting-rules-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    .page-blog-thomo-cockfighting-rules-guide__btn-primary,
    .page-blog-thomo-cockfighting-rules-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px !important;
        font-size: 0.95em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsive */
    .page-blog-thomo-cockfighting-rules-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Content area padding */
    .page-blog-thomo-cockfighting-rules-guide__content-section {
        padding: 20px 0;
        margin: 10px auto;
    }

    .page-blog-thomo-cockfighting-rules-guide__article-heading {
        font-size: 1.4em;
    }

    .page-blog-thomo-cockfighting-rules-guide__cta-text {
        font-size: 1.1em;
    }

    /* FAQ responsive */
    .page-blog-thomo-cockfighting-rules-guide__faq-question {
        padding: 15px;
        font-size: 0.95em;
    }
    .page-blog-thomo-cockfighting-rules-guide__faq-toggle {
        font-size: 1.2em;
    }
    .page-blog-thomo-cockfighting-rules-guide__faq-answer {
        padding: 0 15px 10px;
        font-size: 0.9em;
    }
}

/* Ensure no filter on images */
.page-blog-thomo-cockfighting-rules-guide img {
    filter: none !important;
}

/* Content area image size enforcement */
/* This rule applies to any img within the main content area and ensures minimum size */
.page-blog-thomo-cockfighting-rules-guide__content-area img,
.page-blog-thomo-cockfighting-rules-guide__article img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure it takes full width of its container */
    height: auto;
}