/* style/cockfighting-predictions.css */

/* Base styles for the page content */
.page-cockfighting-predictions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--site-secondary, #FFFFFF); /* Assuming shared provides a light background */
}

/* Hero Section */
.page-cockfighting-predictions__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill out */
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-cockfighting-predictions__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-cockfighting-predictions__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-cockfighting-predictions__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-cockfighting-predictions__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff; /* For dark-bg hero */
    line-height: 1.2;
}

.page-cockfighting-predictions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff; /* For dark-bg hero */
}

.page-cockfighting-predictions__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cockfighting-predictions__btn-primary,
.page-cockfighting-predictions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure buttons adapt to container width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-cockfighting-predictions__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-cockfighting-predictions__btn-primary:hover {
    background-color: #d16b05;
    border-color: #d16b05;
}

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

.page-cockfighting-predictions__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

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

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

/* General Section Styles */
.page-cockfighting-predictions__section {
    padding: 60px 20px;
}

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

.page-cockfighting-predictions__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-cockfighting-predictions__dark-bg .page-cockfighting-predictions__section-title {
    color: #ffffff;
}

.page-cockfighting-predictions__light-bg .page-cockfighting-predictions__section-title {
    color: #26A9E0;
}

.page-cockfighting-predictions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Grid */
.page-cockfighting-predictions__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting-predictions__card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting-predictions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting-predictions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-cockfighting-predictions__card-text {
    font-size: 1em;
    color: #555555;
    text-align: center;
}

/* Image Text Layout */
.page-cockfighting-predictions__image-text-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-cockfighting-predictions__image-text-layout--reverse {
    flex-direction: row-reverse;
}

.page-cockfighting-predictions__content-image {
    flex: 1;
    min-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    min-height: 200px;
}

.page-cockfighting-predictions__text-content {
    flex: 1;
    min-width: 300px;
}

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

.page-cockfighting-predictions__feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting-predictions__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting-predictions__feature-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-cockfighting-predictions__feature-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting-predictions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-predictions__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting-predictions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-cockfighting-predictions__faq-question:hover {
    background-color: #eef;
}

.page-cockfighting-predictions__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
}

.page-cockfighting-predictions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-cockfighting-predictions__faq-item.active .page-cockfighting-predictions__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting-predictions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #555555;
}

.page-cockfighting-predictions__faq-item.active .page-cockfighting-predictions__faq-answer {
    max-height: 1000px !important;
    padding: 20px !important;
}

.page-cockfighting-predictions__faq-answer p {
    margin: 0;
}

.page-cockfighting-predictions__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting-predictions__main-title {
        font-size: 2.8em;
    }

    .page-cockfighting-predictions__section-title {
        font-size: 2em;
    }

    .page-cockfighting-predictions__content-image {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-predictions__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px);
    }

    .page-cockfighting-predictions__main-title {
        font-size: 2.2em;
    }

    .page-cockfighting-predictions__hero-description {
        font-size: 1em;
    }

    .page-cockfighting-predictions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting-predictions__btn-primary,
    .page-cockfighting-predictions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting-predictions__section {
        padding: 40px 15px;
    }

    .page-cockfighting-predictions__section-title {
        font-size: 1.8em;
    }

    .page-cockfighting-predictions__text-block {
        font-size: 0.95em;
    }

    .page-cockfighting-predictions__content-grid,
    .page-cockfighting-predictions__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting-predictions__card-image,
    .page-cockfighting-predictions__feature-image,
    .page-cockfighting-predictions__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-cockfighting-predictions__container,
    .page-cockfighting-predictions__image-text-layout,
    .page-cockfighting-predictions__faq-list,
    .page-cockfighting-predictions__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-cockfighting-predictions__image-text-layout {
        flex-direction: column;
        gap: 20px;
    }
    .page-cockfighting-predictions__image-text-layout--reverse {
        flex-direction: column;
    }

    .page-cockfighting-predictions__faq-question {
        padding: 15px;
        font-size: 1em;
    }
    .page-cockfighting-predictions__faq-question h3 {
        font-size: 1em;
    }
    .page-cockfighting-predictions__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting-predictions__faq-item.active .page-cockfighting-predictions__faq-answer {
        padding: 15px !important;
    }
}

/* Ensure images within content areas do not fall below 200px */
.page-cockfighting-predictions img {
    min-width: 200px;
    min-height: 200px;
}
/* Ensure no filter is used on images */
.page-cockfighting-predictions img {
    filter: none;
}