/* style/resources-online-cockfighting-tips.css */

/* Base Styles */
.page-resources-online-cockfighting-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark (#121212), so text is light */
    background-color: transparent; /* Inherit from body, or set a subtle background if needed */
}

.page-resources-online-cockfighting-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-online-cockfighting-tips__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: calc(100px + var(--header-offset, 120px)); /* Ensure content is below fixed header */
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-resources-online-cockfighting-tips__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-online-cockfighting-tips__subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

.page-resources-online-cockfighting-tips__cta-buttons--centered {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-online-cockfighting-tips__btn-primary,
.page-resources-online-cockfighting-tips__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-resources-online-cockfighting-tips__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color */
    border: 2px solid #C30808;
}

.page-resources-online-cockfighting-tips__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-resources-online-cockfighting-tips__btn-secondary {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-resources-online-cockfighting-tips__btn-secondary:hover {
    background-color: #005a2d;
    transform: translateY(-2px);
}

/* Video Section */
.page-resources-online-cockfighting-tips__video-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-resources-online-cockfighting-tips__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    background: #000; /* Fallback background for video area */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-online-cockfighting-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure it behaves as a block element */
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    cursor: pointer;
}

/* Content Area */
.page-resources-online-cockfighting-tips__content-area {
    padding: 60px 0;
    background-color: #1a1a1a; /* Darker background for content sections, ensuring light text contrast */
    color: #ffffff;
}

.page-resources-online-cockfighting-tips__section-title {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    color: #017439; /* Brand primary color for titles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-online-cockfighting-tips__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources-online-cockfighting-tips__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #e0e0e0;
}

.page-resources-online-cockfighting-tips__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-resources-online-cockfighting-tips__list {
    list-style: disc;
    margin: 20px 0 20px 40px;
    color: #e0e0e0;
}

.page-resources-online-cockfighting-tips__ordered-list {
    list-style: decimal;
    margin: 20px 0 20px 40px;
    color: #e0e0e0;
}

.page-resources-online-cockfighting-tips__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-online-cockfighting-tips__list-item strong {
    color: #017439; /* Highlight important text */
}

.page-resources-online-cockfighting-tips__sub-section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #017439; /* Brand primary color for sub-titles */
}

/* FAQ Section */
.page-resources-online-cockfighting-tips__faq-list {
    margin-top: 40px;
}

.page-resources-online-cockfighting-tips__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-resources-online-cockfighting-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #017439; /* Primary brand color for question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-resources-online-cockfighting-tips__faq-question:hover {
    background-color: #005a2d;
}

.page-resources-online-cockfighting-tips__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}

.page-resources-online-cockfighting-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-resources-online-cockfighting-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #e0e0e0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-online-cockfighting-tips__faq-item.active .page-resources-online-cockfighting-tips__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px;
}

.page-resources-online-cockfighting-tips__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

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

@media (max-width: 768px) {
    .page-resources-online-cockfighting-tips__hero-section {
        padding: 80px 0;
        padding-top: calc(80px + var(--header-offset, 120px)); /* Adjust for mobile header offset */
    }

    .page-resources-online-cockfighting-tips__main-title {
        font-size: 2.2em;
    }

    .page-resources-online-cockfighting-tips__subtitle {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-resources-online-cockfighting-tips__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

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

    .page-resources-online-cockfighting-tips__video-section {
        padding: 40px 0;
    }

    .page-resources-online-cockfighting-tips__video-wrapper {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-online-cockfighting-tips__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-online-cockfighting-tips__content-area {
        padding: 40px 0;
    }

    .page-resources-online-cockfighting-tips__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-online-cockfighting-tips__section-title {
        font-size: 1.8em;
        padding: 0 15px;
    }

    .page-resources-online-cockfighting-tips__section-description {
        font-size: 0.95em;
        padding: 0 15px;
    }

    .page-resources-online-cockfighting-tips__text-block,
    .page-resources-online-cockfighting-tips__list-item,
    .page-resources-online-cockfighting-tips__faq-answer p {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-resources-online-cockfighting-tips__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        padding: 0 15px;
        box-sizing: border-box !important;
    }
    
    .page-resources-online-cockfighting-tips__list,
    .page-resources-online-cockfighting-tips__ordered-list {
        margin-left: 20px;
        padding-right: 15px;
    }

    .page-resources-online-cockfighting-tips__sub-section-title {
        font-size: 1.5em;
        padding: 0 15px;
    }

    .page-resources-online-cockfighting-tips__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    
    .page-resources-online-cockfighting-tips__faq-question h3 {
        font-size: 1.1em;
    }

    .page-resources-online-cockfighting-tips__faq-answer {
        padding: 0 20px;
    }

    .page-resources-online-cockfighting-tips__faq-item.active .page-resources-online-cockfighting-tips__faq-answer {
        padding: 10px 20px;
    }
}