/* style/live-streaming.css */

/* Base Styles & Typography */
.page-live-streaming {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #0a0a0a, so light text */
    background-color: transparent; /* Main content background is transparent, relying on body bg */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-live-streaming__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-live-streaming__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-live-streaming__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-live-streaming__card-title,
.page-live-streaming__item-title,
.page-live-streaming__faq-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-live-streaming p {
    color: #f0f0f0; /* Light text for paragraphs */
}

/* Hero Section */
.page-live-streaming__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.page-live-streaming__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-live-streaming__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken background image for text readability */
}

.page-live-streaming__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: #ffffff;
}

.page-live-streaming__main-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live-streaming__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-live-streaming__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-live-streaming__btn-primary,
.page-live-streaming__btn-secondary,
.page-live-streaming__btn-small,
.page-live-streaming__btn-text {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-live-streaming__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFFFF; /* High contrast text */
    border: 2px solid #C30808;
}

.page-live-streaming__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-live-streaming__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-live-streaming__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-live-streaming__btn-small {
    background-color: #017439;
    color: #ffffff;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
    border: none;
}

.page-live-streaming__btn-small:hover {
    background-color: #005f2e;
}

.page-live-streaming__btn-text {
    color: #017439;
    text-decoration: underline;
    padding: 5px 10px;
    display: inline-block;
}

.page-live-streaming__btn-text:hover {
    color: #005f2e;
}

/* Video Section */
.page-live-streaming__video-section {
    padding: 60px 0;
    text-align: center;
}

.page-live-streaming__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
}

.page-live-streaming__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-live-streaming__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Features Section */
.page-live-streaming__features-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

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

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

.page-live-streaming__feature-icon {
    width: 200px; /* Min size requirement */
    height: 150px; /* Min size requirement */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* How-To Section */
.page-live-streaming__how-to-section {
    padding: 60px 0;
    text-align: center;
}

.page-live-streaming__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-live-streaming__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live-streaming__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 3px solid #017439;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Schedule Section */
.page-live-streaming__schedule-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-live-streaming__schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-live-streaming__schedule-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-live-streaming__schedule-thumbnail {
    width: 100%;
    height: 180px; /* Example height for article images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-live-streaming__item-title a {
    color: #017439;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.page-live-streaming__item-title a:hover {
    text-decoration: underline;
}

.page-live-streaming__item-meta {
    font-size: 0.9em;
    color: #cccccc;
    margin-bottom: 10px;
}

.page-live-streaming__item-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.page-live-streaming__view-all-button {
    text-align: center;
    margin-top: 20px;
}

/* Advantages Section */
.page-live-streaming__advantages-section {
    padding: 60px 0;
    text-align: center;
}

.page-live-streaming__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-live-streaming__advantage-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live-streaming__advantage-icon {
    width: 200px;
    height: 133px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* FAQ Section */
.page-live-streaming__faq-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-live-streaming__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-live-streaming__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-live-streaming__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand color for question background */
    color: #ffffff; /* White text for contrast */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-live-streaming__faq-question:hover {
    background-color: #005f2e;
}

.page-live-streaming__faq-title {
    margin: 0;
    color: #ffffff; /* Ensure white text */
    font-size: 1.2em;
}

.page-live-streaming__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-live-streaming__faq-item.active .page-live-streaming__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-live-streaming__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-live-streaming__faq-item.active .page-live-streaming__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px 25px;
}

.page-live-streaming__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* CTA Bottom Section */
.page-live-streaming__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Brand color background */
    color: #ffffff;
}

.page-live-streaming__cta-bottom-section .page-live-streaming__section-title {
    color: #ffffff;
}

.page-live-streaming__cta-bottom-section .page-live-streaming__section-description {
    color: #f0f0f0;
}

.page-live-streaming__cta-bottom-section .page-live-streaming__btn-secondary {
    border-color: #ffffff;
    color: #ffffff;
}

.page-live-streaming__cta-bottom-section .page-live-streaming__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-live-streaming__main-title {
        font-size: 2.8em;
    }
    .page-live-streaming__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-live-streaming {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-live-streaming__hero-section {
        padding: 60px 15px;
    }

    .page-live-streaming__main-title {
        font-size: 2.2em;
    }

    .page-live-streaming__hero-description {
        font-size: 1.1em;
    }

    .page-live-streaming__section-title {
        font-size: 1.8em;
    }

    .page-live-streaming__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-live-streaming__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-live-streaming__btn-primary,
    .page-live-streaming__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-live-streaming__video-section,
    .page-live-streaming__features-section,
    .page-live-streaming__how-to-section,
    .page-live-streaming__schedule-section,
    .page-live-streaming__advantages-section,
    .page-live-streaming__faq-section,
    .page-live-streaming__cta-bottom-section {
        padding: 40px 0;
    }

    .page-live-streaming__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Mobile image and video responsiveness */
    .page-live-streaming img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-live-streaming video,
    .page-live-streaming__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-live-streaming__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Fixed header spacing for video section on mobile */
    .page-live-streaming__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Ensure content area images are large enough */
    .page-live-streaming__feature-icon,
    .page-live-streaming__advantage-icon {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important; /* Ensure min size */
    }

    .page-live-streaming__schedule-thumbnail {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important; /* Ensure min size */
    }
}

/* Ensure no filter on images */
.page-live-streaming img {
    filter: none; /* Explicitly remove any default filter */
}

/* Ensure content area images are not too small as per instruction */
/* CSS in content area, applies to any img under .page-live-streaming */
.page-live-streaming img {
    min-width: 200px;
    min-height: 200px;
}

/* Specific overrides for small elements if they are still images */
/* This ensures even if a class is used, it respects the min size */
.page-live-streaming__feature-icon,
.page-live-streaming__advantage-icon,
.page-live-streaming__schedule-thumbnail {
    min-width: 200px;
    min-height: 200px;
}

/* Override the hero image filter to ensure it's on the wrapper */
.page-live-streaming__hero-image {
    filter: brightness(0.5);
}