/* style/resources-c3-cockfighting-betting-tips.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #FFFFFF;
    --background-dark: #26A9E0;
}

.page-resources-c3-cockfighting-betting-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default to dark text for light body background */
    background-color: var(--background-light);
}

.page-resources-c3-cockfighting-betting-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-c3-cockfighting-betting-tips__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-c3-cockfighting-betting-tips__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-c3-cockfighting-betting-tips__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-resources-c3-cockfighting-betting-tips__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-resources-c3-cockfighting-betting-tips__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-c3-cockfighting-betting-tips__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-resources-c3-cockfighting-betting-tips__hero-cta-buttons,
.page-resources-c3-cockfighting-betting-tips__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-c3-cockfighting-betting-tips__btn-primary,
.page-resources-c3-cockfighting-betting-tips__btn-secondary,
.page-resources-c3-cockfighting-betting-tips a[class*="button"],
.page-resources-c3-cockfighting-betting-tips a[class*="btn"] {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-c3-cockfighting-betting-tips__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-resources-c3-cockfighting-betting-tips__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-resources-c3-cockfighting-betting-tips__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-c3-cockfighting-betting-tips__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-c3-cockfighting-betting-tips__introduction-section,
.page-resources-c3-cockfighting-betting-tips__strategy-section,
.page-resources-c3-cockfighting-betting-tips__risk-section,
.page-resources-c3-cockfighting-betting-tips__cta-section {
    padding: 60px 0;
}

.page-resources-c3-cockfighting-betting-tips__tips-section,
.page-resources-c3-cockfighting-betting-tips__analysis-section,
.page-resources-c3-cockfighting-betting-tips__faq-section {
    padding: 60px 0;
    color: var(--text-light);
}

.page-resources-c3-cockfighting-betting-tips__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-resources-c3-cockfighting-betting-tips__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-resources-c3-cockfighting-betting-tips__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
}

.page-resources-c3-cockfighting-betting-tips__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-c3-cockfighting-betting-tips__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-c3-cockfighting-betting-tips__card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.page-resources-c3-cockfighting-betting-tips__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.page-resources-c3-cockfighting-betting-tips__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-resources-c3-cockfighting-betting-tips__card-text {
    font-size: 1em;
    text-align: justify;
}

.page-resources-c3-cockfighting-betting-tips__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-resources-c3-cockfighting-betting-tips__text-content {
    flex: 1;
}

.page-resources-c3-cockfighting-betting-tips__image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-c3-cockfighting-betting-tips__content-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-c3-cockfighting-betting-tips__subtitle {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-c3-cockfighting-betting-tips__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

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

.page-resources-c3-cockfighting-betting-tips__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-c3-cockfighting-betting-tips__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-resources-c3-cockfighting-betting-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-c3-cockfighting-betting-tips__faq-question:hover {
    background-color: darken(var(--primary-color), 5%);
}

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

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

.page-resources-c3-cockfighting-betting-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-c3-cockfighting-betting-tips__faq-item.active .page-resources-c3-cockfighting-betting-tips__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px;
}

.page-resources-c3-cockfighting-betting-tips__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-c3-cockfighting-betting-tips__hero-title {
        font-size: 2.5em;
    }
    .page-resources-c3-cockfighting-betting-tips__hero-description {
        font-size: 1.1em;
    }
    .page-resources-c3-cockfighting-betting-tips__section-title {
        font-size: 2em;
    }
    .page-resources-c3-cockfighting-betting-tips__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-resources-c3-cockfighting-betting-tips__image-container {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-resources-c3-cockfighting-betting-tips__subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-resources-c3-cockfighting-betting-tips__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile hero content is below fixed header */
    }
    .page-resources-c3-cockfighting-betting-tips__hero-title {
        font-size: 1.8em;
    }
    .page-resources-c3-cockfighting-betting-tips__hero-description {
        font-size: 1em;
    }
    .page-resources-c3-cockfighting-betting-tips__section-title {
        font-size: 1.8em;
    }
    .page-resources-c3-cockfighting-betting-tips__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-resources-c3-cockfighting-betting-tips__btn-primary,
    .page-resources-c3-cockfighting-betting-tips__btn-secondary,
    .page-resources-c3-cockfighting-betting-tips a[class*="button"],
    .page-resources-c3-cockfighting-betting-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-resources-c3-cockfighting-betting-tips__hero-cta-buttons,
    .page-resources-c3-cockfighting-betting-tips__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-c3-cockfighting-betting-tips__container,
    .page-resources-c3-cockfighting-betting-tips__introduction-section,
    .page-resources-c3-cockfighting-betting-tips__tips-section,
    .page-resources-c3-cockfighting-betting-tips__strategy-section,
    .page-resources-c3-cockfighting-betting-tips__analysis-section,
    .page-resources-c3-cockfighting-betting-tips__risk-section,
    .page-resources-c3-cockfighting-betting-tips__faq-section,
    .page-resources-c3-cockfighting-betting-tips__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-resources-c3-cockfighting-betting-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-c3-cockfighting-betting-tips__card-image,
    .page-resources-c3-cockfighting-betting-tips__content-image {
        height: auto;
    }
    .page-resources-c3-cockfighting-betting-tips__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-c3-cockfighting-betting-tips video,
    .page-resources-c3-cockfighting-betting-tips__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-c3-cockfighting-betting-tips__video-section,
    .page-resources-c3-cockfighting-betting-tips__video-container,
    .page-resources-c3-cockfighting-betting-tips__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Darken function for hover effects (Sass-like, but will be processed) */
/* This is a placeholder, actual implementation would need JS or preprocessor */
/* For CSS, we'd use specific color values for hover */
.page-resources-c3-cockfighting-betting-tips__btn-primary:hover {
    background-color: #1a7eb3; /* Darker shade of #26A9E0 */
    border-color: #1a7eb3;
}
.page-resources-c3-cockfighting-betting-tips__faq-question:hover {
    background-color: #1a7eb3; /* Darker shade of #26A9E0 */
}