/* style/resources-online-cockfighting-live-guide.css */

:root {
    --primary-color: #8B0000; /* Deep Red */
    --secondary-color: #FFD700; /* Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #0d0d0d;
    --bg-light: #f1f3f5;
    --card-bg-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-resources-online-cockfighting-live-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from shared.css body */
    padding-top: 120px; /* Adjust for fixed header */
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide {
        padding-top: 100px; /* Adjust for fixed header on mobile */
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Common Section Styles */
.page-resources-online-cockfighting-live-guide__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-light);
}

.page-resources-online-cockfighting-live-guide__description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-online-cockfighting-live-guide__dark-bg .page-resources-online-cockfighting-live-guide__section-title,
.page-resources-online-cockfighting-live-guide__dark-bg .page-resources-online-cockfighting-live-guide__description {
    color: var(--text-light);
}

.page-resources-online-cockfighting-live-guide__light-bg .page-resources-online-cockfighting-live-guide__section-title,
.page-resources-online-cockfighting-live-guide__light-bg .page-resources-online-cockfighting-live-guide__description {
    color: var(--text-dark);
}

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

/* Keyword Highlight */
.page-resources-online-cockfighting-live-guide__keyword {
    color: var(--secondary-color);
    font-weight: bold;
}

/* CTA Button Styles */
.page-resources-online-cockfighting-live-guide__btn-primary,
.page-resources-online-cockfighting-live-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.page-resources-online-cockfighting-live-guide__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.page-resources-online-cockfighting-live-guide__btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.4);
}

.page-resources-online-cockfighting-live-guide__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.page-resources-online-cockfighting-live-guide__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .page-resources-online-cockfighting-live-guide__description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-resources-online-cockfighting-live-guide__btn-primary,
    .page-resources-online-cockfighting-live-guide__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}

/* Intro Section */
.page-resources-online-cockfighting-live-guide__intro-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #5a0000);
    text-align: center;
    color: var(--text-light);
    padding-top: 180px; /* Desktop: Ensure content is below fixed header */
}

.page-resources-online-cockfighting-live-guide__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-online-cockfighting-live-guide__intro-text {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-resources-online-cockfighting-live-guide__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide__intro-section {
        padding: 60px 0;
        padding-top: 160px !important; /* Mobile: Ensure content is below fixed header */
    }

    .page-resources-online-cockfighting-live-guide__main-title {
        font-size: 32px;
    }

    .page-resources-online-cockfighting-live-guide__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-resources-online-cockfighting-live-guide__cta-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Benefits Section */
.page-resources-online-cockfighting-live-guide__benefits-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-resources-online-cockfighting-live-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-online-cockfighting-live-guide__benefit-card {
    background: var(--card-bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-cockfighting-live-guide__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-cockfighting-live-guide__benefit-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-cockfighting-live-guide__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-online-cockfighting-live-guide__card-text {
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide__benefits-section {
        padding: 60px 0;
    }

    .page-resources-online-cockfighting-live-guide__grid {
        grid-template-columns: 1fr;
    }

    .page-resources-online-cockfighting-live-guide__benefit-card {
        padding: 25px;
    }

    .page-resources-online-cockfighting-live-guide__benefit-image {
        width: 100px;
        height: 100px;
    }

    .page-resources-online-cockfighting-live-guide__card-title {
        font-size: 20px;
    }

    .page-resources-online-cockfighting-live-guide__card-text {
        font-size: 15px;
    }
}

/* How To Choose Section */
.page-resources-online-cockfighting-live-guide__how-to-choose-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-resources-online-cockfighting-live-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-online-cockfighting-live-guide__dark-bg-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
}

.page-resources-online-cockfighting-live-guide__dark-bg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-online-cockfighting-live-guide__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.page-resources-online-cockfighting-live-guide__step-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-online-cockfighting-live-guide__step-text {
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide__how-to-choose-section {
        padding: 60px 0;
    }

    .page-resources-online-cockfighting-live-guide__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-online-cockfighting-live-guide__dark-bg-card {
        padding: 25px;
    }

    .page-resources-online-cockfighting-live-guide__step-number {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .page-resources-online-cockfighting-live-guide__step-title {
        font-size: 20px;
    }

    .page-resources-online-cockfighting-live-guide__step-text {
        font-size: 15px;
    }
}

/* Betting Tips Section */
.page-resources-online-cockfighting-live-guide__betting-tips-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-resources-online-cockfighting-live-guide__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-online-cockfighting-live-guide__article-card {
    background: var(--card-bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-cockfighting-live-guide__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-cockfighting-live-guide__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.page-resources-online-cockfighting-live-guide__article-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 20px 10px 20px;
    line-height: 1.3;
}

.page-resources-online-cockfighting-live-guide__article-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-online-cockfighting-live-guide__article-link:hover {
    color: darken(var(--primary-color), 10%);
    text-decoration: underline;
}

.page-resources-online-cockfighting-live-guide__article-summary {
    font-size: 16px;
    margin: 0 20px 20px 20px;
    line-height: 1.6;
}

.page-resources-online-cockfighting-live-guide__read-more-btn {
    display: inline-block;
    margin: 0 20px 20px 20px;
    padding: 10px 15px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-resources-online-cockfighting-live-guide__read-more-btn:hover {
    background: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
}

.page-resources-online-cockfighting-live-guide__full-guide-cta {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide__betting-tips-section {
        padding: 60px 0;
    }

    .page-resources-online-cockfighting-live-guide__article-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-online-cockfighting-live-guide__article-image {
        height: 180px;
    }

    .page-resources-online-cockfighting-live-guide__article-title {
        font-size: 20px;
        margin: 15px 15px 8px 15px;
    }

    .page-resources-online-cockfighting-live-guide__article-summary {
        font-size: 15px;
        margin: 0 15px 15px 15px;
    }

    .page-resources-online-cockfighting-live-guide__read-more-btn {
        margin: 0 15px 15px 15px;
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Promotions Section */
.page-resources-online-cockfighting-live-guide__promotions-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-resources-online-cockfighting-live-guide__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-online-cockfighting-live-guide__promo-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-cockfighting-live-guide__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-online-cockfighting-live-guide__promo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-cockfighting-live-guide__promo-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-resources-online-cockfighting-live-guide__promo-btn:hover {
    background: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
}

.page-resources-online-cockfighting-live-guide__all-promos-cta {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide__promotions-section {
        padding: 60px 0;
    }

    .page-resources-online-cockfighting-live-guide__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-online-cockfighting-live-guide__promo-image {
        width: 100px;
        height: 100px;
    }

    .page-resources-online-cockfighting-live-guide__promo-btn {
        padding: 8px 15px;
        font-size: 15px;
    }
}

/* FAQ Section */
.page-resources-online-cockfighting-live-guide__faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-resources-online-cockfighting-live-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-online-cockfighting-live-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-online-cockfighting-live-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-online-cockfighting-live-guide__faq-item.active .page-resources-online-cockfighting-live-guide__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-resources-online-cockfighting-live-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg-light);
    border: 1px solid var(--border-light);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-resources-online-cockfighting-live-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-online-cockfighting-live-guide__faq-question:active {
    background: #eeeeee;
}

.page-resources-online-cockfighting-live-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Make sure click handler on parent div works */
    color: var(--text-dark);
}

.page-resources-online-cockfighting-live-guide__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-online-cockfighting-live-guide__faq-item.active .page-resources-online-cockfighting-live-guide__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change + to X */
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide__faq-section {
        padding: 60px 0;
    }

    .page-resources-online-cockfighting-live-guide__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-resources-online-cockfighting-live-guide__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-resources-online-cockfighting-live-guide__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-resources-online-cockfighting-live-guide__faq-answer {
        padding: 0 15px;
    }
    
    .page-resources-online-cockfighting-live-guide__faq-item.active .page-resources-online-cockfighting-live-guide__faq-answer {
        padding: 15px !important;
    }
}

/* Latest News Section */
.page-resources-online-cockfighting-live-guide__latest-news-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-resources-online-cockfighting-live-guide__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-online-cockfighting-live-guide__news-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: var(--text-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-cockfighting-live-guide__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-online-cockfighting-live-guide__news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.page-resources-online-cockfighting-live-guide__news-content {
    padding: 20px;
}

.page-resources-online-cockfighting-live-guide__news-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-resources-online-cockfighting-live-guide__news-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-online-cockfighting-live-guide__news-link:hover {
    color: lighten(var(--secondary-color), 10%);
    text-decoration: underline;
}

.page-resources-online-cockfighting-live-guide__news-date {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 10px;
}

.page-resources-online-cockfighting-live-guide__news-summary {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-resources-online-cockfighting-live-guide__all-news-cta {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide__latest-news-section {
        padding: 60px 0;
    }

    .page-resources-online-cockfighting-live-guide__news-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-online-cockfighting-live-guide__news-image {
        height: 180px;
    }

    .page-resources-online-cockfighting-live-guide__news-content {
        padding: 15px;
    }

    .page-resources-online-cockfighting-live-guide__news-title {
        font-size: 20px;
    }

    .page-resources-online-cockfighting-live-guide__news-date,
    .page-resources-online-cockfighting-live-guide__news-summary {
        font-size: 15px;
    }
}

/* Responsive image handling for all images within the page content */
.page-resources-online-cockfighting-live-guide img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .page-resources-online-cockfighting-live-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-resources-online-cockfighting-live-guide__container,
    .page-resources-online-cockfighting-live-guide__grid,
    .page-resources-online-cockfighting-live-guide__steps-grid,
    .page-resources-online-cockfighting-live-guide__article-grid,
    .page-resources-online-cockfighting-live-guide__promo-grid,
    .page-resources-online-cockfighting-live-guide__news-grid,
    .page-resources-online-cockfighting-live-guide__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}