/* style/cockfighting-live-stream.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-cockfighting-live-stream {
    color: var(--color-text-secondary); /* Default text color for the page */
    background-color: var(--color-background); /* Overall page background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Ensure content images are at least 200px and responsive */
.page-cockfighting-live-stream img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
}

/* Hero Section */
.page-cockfighting-live-stream__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-background);
}

.page-cockfighting-live-stream__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting-live-stream__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0; /* Hero image typically full width, no rounded corners */
}

.page-cockfighting-live-stream__hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 60px 20px;
    text-align: center;
    color: var(--color-text-main);
    background-color: var(--color-background); /* Dark background for hero text */
    box-sizing: border-box;
}

.page-cockfighting-live-stream__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    max-width: 900px; /* Limit H1 width */
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-live-stream__description {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Section */
.page-cockfighting-live-stream__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-background);
    box-sizing: border-box;
}

.page-cockfighting-live-stream__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting-live-stream__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--color-deep-green);
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-cockfighting-live-stream__video-link {
    display: block; /* Make the entire wrapper clickable */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-cockfighting-live-stream__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    object-fit: cover;
}

/* General Content Area */
.page-cockfighting-live-stream__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--color-background);
    color: var(--color-text-secondary);
    box-sizing: border-box;
}

.page-cockfighting-live-stream__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cockfighting-live-stream__section-title {
    font-size: 2.5em;
    color: var(--color-text-main);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-cockfighting-live-stream__sub-title {
    font-size: 1.8em;
    color: var(--color-text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting-live-stream__text-block {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-cockfighting-live-stream__text-block a {
    color: var(--color-gold);
    text-decoration: underline;
}

.page-cockfighting-live-stream__image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-cockfighting-live-stream__content-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-cockfighting-live-stream__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting-live-stream__btn-primary,
.page-cockfighting-live-stream__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%;
}

.page-cockfighting-live-stream__btn-primary {
    background: var(--color-button-gradient-start); /* Fallback for gradient */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-live-stream__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-cockfighting-live-stream__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-live-stream__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(242, 193, 78, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-cockfighting-live-stream__faq-section {
    padding: 60px 20px;
    background-color: var(--color-background);
    box-sizing: border-box;
}

.page-cockfighting-live-stream__faq-list {
    margin-top: 40px;
}

.page-cockfighting-live-stream__faq-item {
    background-color: var(--color-card-bg); /* Card BG: #11271B */
    border: 1px solid var(--color-border); /* Border: #2E7A4E */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-live-stream__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main); /* Text Main: #F2FFF6 */
    cursor: pointer;
    background-color: var(--color-card-bg);
    border-bottom: 1px solid transparent; /* No border by default */
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for summary */
}

.page-cockfighting-live-stream__faq-item[open] .page-cockfighting-live-stream__faq-question {
    border-bottom: 1px solid var(--color-divider); /* Divider: #1E3A2A */
}

.page-cockfighting-live-stream__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-cockfighting-live-stream__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting-live-stream__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.page-cockfighting-live-stream__faq-item[open] .page-cockfighting-live-stream__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}

.page-cockfighting-live-stream__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--color-text-secondary); /* Text Secondary: #A7D9B8 */
    background-color: var(--color-card-bg);
}

/* Call to Action Section */
.page-cockfighting-live-stream__call-to-action {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--color-deep-green); /* Deep Green: #0A4B2C */
    color: var(--color-text-main);
    box-sizing: border-box;
}

.page-cockfighting-live-stream__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Text Colors */
.page-cockfighting-live-stream__text-main {
    color: var(--color-text-main);
}

.page-cockfighting-live-stream__text-secondary {
    color: var(--color-text-secondary);
}

/* Background Colors */
.page-cockfighting-live-stream__background {
    background-color: var(--color-background);
}

.page-cockfighting-live-stream__card-bg {
    background-color: var(--color-card-bg);
}

.page-cockfighting-live-stream__dark-bg {
    background-color: var(--color-background); /* Using default dark background for contrast */
    color: var(--color-text-main); /* Light text on dark background */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting-live-stream__hero-content {
        padding: 40px 20px;
    }

    .page-cockfighting-live-stream__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

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

    .page-cockfighting-live-stream__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific overrides with !important */
    .page-cockfighting-live-stream {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Images and Videos */
    .page-cockfighting-live-stream img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size on mobile */
        min-height: 200px !important; /* Ensure min size on mobile */
    }
    
    .page-cockfighting-live-stream video,
    .page-cockfighting-live-stream__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    /* Containers for images and videos */
    .page-cockfighting-live-stream__hero-section,
    .page-cockfighting-live-stream__video-section,
    .page-cockfighting-live-stream__content-area,
    .page-cockfighting-live-stream__faq-section,
    .page-cockfighting-live-stream__call-to-action,
    .page-cockfighting-live-stream__container,
    .page-cockfighting-live-stream__video-container,
    .page-cockfighting-live-stream__video-wrapper,
    .page-cockfighting-live-stream__image-gallery {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-cockfighting-live-stream__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    }
    
    .page-cockfighting-live-stream__hero-content {
        padding: 30px 15px;
    }

    .page-cockfighting-live-stream__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        letter-spacing: normal;
    }

    .page-cockfighting-live-stream__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting-live-stream__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-cockfighting-live-stream__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Buttons */
    .page-cockfighting-live-stream__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        margin-top: 30px;
    }

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

    .page-cockfighting-live-stream__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-cockfighting-live-stream__faq-answer {
        padding: 10px 20px 15px;
    }

    .page-cockfighting-live-stream__call-to-action {
        padding: 50px 15px;
    }
}