/* style/news-industry-analysis.css */

/* Base styles for the page content area */
.page-news-industry-analysis {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Matching body background */
}

/* Container for responsive centering */
.page-news-industry-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-news-industry-analysis__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-news-industry-analysis__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-news-industry-analysis__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-news-industry-analysis__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    z-index: 3;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-industry-analysis__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ffffff;
    z-index: 3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-news-industry-analysis__content-area,
.page-news-industry-analysis__faq-section,
.page-news-industry-analysis__video-section {
    padding: 60px 0;
}

.page-news-industry-analysis__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-news-industry-analysis__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-news-industry-analysis__section-title--centered {
    text-align: center;
}

.page-news-industry-analysis__subsection-title {
    font-size: 1.8em;
    color: #017439; /* Brand color for subtitles */
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-news-industry-analysis__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff; /* Light text for readability on dark background */
}

.page-news-industry-analysis__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-news-industry-analysis__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #ffffff; /* Light text for readability on dark background */
}

.page-news-industry-analysis__highlight {
    color: #FFFF00; /* Highlight color for keywords */
    font-weight: bold;
}

.page-news-industry-analysis a {
    color: #FFFF00; /* Link color for dark background */
    text-decoration: underline;
}

.page-news-industry-analysis a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Images */
.page-news-industry-analysis__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover; /* Ensure images cover their area */
}

/* Buttons */
.page-news-industry-analysis__btn-primary,
.page-news-industry-analysis__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure text breaks */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-news-industry-analysis__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
    margin-right: 15px;
}

.page-news-industry-analysis__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}

.page-news-industry-analysis__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand color for secondary button text */
    border: 2px solid #017439;
}

.page-news-industry-analysis__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-news-industry-analysis__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Color Contrast Specifics */
.page-news-industry-analysis__dark-bg {
    background-color: #000000; /* Body background color */
    color: #ffffff; /* Light text for dark background */
}

.page-news-industry-analysis__light-bg {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background for sections */
    color: #ffffff;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 40px;
}

/* Video Section */
.page-news-industry-analysis__video-section {
    background-color: #017439; /* Brand primary color background */
    color: #ffffff;
    padding: 80px 0;
}

.page-news-industry-analysis__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news-industry-analysis__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-news-industry-analysis__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.page-news-industry-analysis__video-caption {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1em;
    color: #ffffff;
}

/* FAQ Section */
.page-news-industry-analysis__faq-section {
    background-color: #000000; /* Dark background */
    color: #ffffff;
    padding-bottom: 80px;
}

.page-news-industry-analysis__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-news-industry-analysis__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white background for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-news-industry-analysis__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(1, 116, 57, 0.8); /* Darker brand green for question background */
    transition: background-color 0.3s ease;
}

.page-news-industry-analysis__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}

.page-news-industry-analysis__faq-question h3 a {
    color: #ffffff;
    text-decoration: none;
}

.page-news-industry-analysis__faq-question h3 a:hover {
    text-decoration: underline;
}

.page-news-industry-analysis__faq-question:hover {
    background-color: #017439; /* Brand green on hover */
}

.page-news-industry-analysis__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-news-industry-analysis__faq-item.active .page-news-industry-analysis__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or use '−' */
}

.page-news-industry-analysis__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.03); /* Lighter transparent white for answer background */
}

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

.page-news-industry-analysis__faq-answer p {
    margin: 0;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-industry-analysis__hero-title {
        font-size: 3em;
    }
    .page-news-industry-analysis__hero-description {
        font-size: 1.2em;
    }
    .page-news-industry-analysis__section-title {
        font-size: 2em;
    }
    .page-news-industry-analysis__subsection-title {
        font-size: 1.6em;
    }
    .page-news-industry-analysis__paragraph,
    .page-news-industry-analysis__list-item,
    .page-news-industry-analysis__faq-question,
    .page-news-industry-analysis__faq-answer p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-news-industry-analysis__hero-section {
        height: 450px;
    }
    .page-news-industry-analysis__hero-title {
        font-size: 2.2em;
    }
    .page-news-industry-analysis__hero-description {
        font-size: 1em;
    }
    .page-news-industry-analysis__section-title {
        font-size: 1.8em;
    }
    .page-news-industry-analysis__subsection-title {
        font-size: 1.4em;
    }
    .page-news-industry-analysis__content-area,
    .page-news-industry-analysis__faq-section,
    .page-news-industry-analysis__video-section {
        padding: 40px 0;
    }
    .page-news-industry-analysis__container {
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .page-news-industry-analysis img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness */
    .page-news-industry-analysis video,
    .page-news-industry-analysis__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-industry-analysis__video-section,
    .page-news-industry-analysis__video-container,
    .page-news-industry-analysis__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    /* Fixed header offset for video section on mobile */
    .page-news-industry-analysis__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Mobile button responsiveness */
    .page-news-industry-analysis__btn-primary,
    .page-news-industry-analysis__btn-secondary,
    .page-news-industry-analysis a[class*="button"],
    .page-news-industry-analysis a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-right: 0 !important; /* Remove right margin for stacking */
        margin-bottom: 15px; /* Add bottom margin for spacing */
    }

    .page-news-industry-analysis__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
        gap: 0; /* Reset gap as margin-bottom handles spacing */
    }

    .page-news-industry-analysis__light-bg {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-news-industry-analysis__hero-section {
        height: 350px;
    }
    .page-news-industry-analysis__hero-title {
        font-size: 1.8em;
    }
    .page-news-industry-analysis__hero-description {
        font-size: 0.9em;
    }
    .page-news-industry-analysis__section-title {
        font-size: 1.5em;
    }
    .page-news-industry-analysis__subsection-title {
        font-size: 1.2em;
    }
    .page-news-industry-analysis__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-news-industry-analysis__faq-question h3 {
        font-size: 1em;
    }
    .page-news-industry-analysis__faq-answer {
        padding: 15px 20px;
    }
}