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

/* Custom properties for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-bg-main: #08160F; /* Background */
    --color-card-bg: #11271B; /* Card BG */
    --color-text-main: #F2FFF6; /* Text Main */
    --color-text-secondary: #A7D9B8; /* Text Secondary */
    --color-border: #2E7A4E; /* Border */
    --color-glow: #57E38D; /* Glow */
    --color-gold: #F2C14E; /* Gold */
    --color-divider: #1E3A2A; /* Divider */
    --color-deep-green: #0A4B2C; /* Deep Green */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page, assuming dark body background */
.page-news-industry-insights {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px;
}

/* Hero Section */
.page-news-industry-insights__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 40px;
    background-color: var(--color-deep-green);
    overflow: hidden;
    color: var(--color-text-main); /* Explicitly set for contrast */
}

.page-news-industry-insights__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-news-industry-insights__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
    margin-bottom: 30px;
}

.page-news-industry-insights__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 10px;
}

.page-news-industry-insights__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--color-gold);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-news-industry-insights__description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-news-industry-insights__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-news-industry-insights__btn-primary,
.page-news-industry-insights__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

.page-news-industry-insights__btn-primary {
    background: var(--button-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
}

.page-news-industry-insights__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-news-industry-insights__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.page-news-industry-insights__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-news-industry-insights__cta-buttons--bottom {
    margin-top: 50px;
    margin-bottom: 30px;
}

/* Content Area */
.page-news-industry-insights__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
}

.page-news-industry-insights__section-title {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

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

.page-news-industry-insights__sub-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-news-industry-insights__paragraph {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-news-industry-insights__link-inline {
    color: var(--color-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-news-industry-insights__link-inline:hover {
    color: var(--color-glow);
    border-color: var(--color-glow);
}

.page-news-industry-insights__image-block {
    margin: 40px 0;
    text-align: center;
    width: 100%; /* Ensure full width for image block */
    box-sizing: border-box;
}

.page-news-industry-insights__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.page-news-industry-insights__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-news-industry-insights__list-item {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--color-primary);
    font-size: 1.05rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-news-industry-insights__list-item strong {
    color: var(--color-gold);
}

/* FAQ Section */
.page-news-industry-insights__faq-list {
    margin-top: 40px;
}

.page-news-industry-insights__faq-item {
    background-color: var(--color-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--color-divider);
    overflow: hidden;
    color: var(--color-text-main);
}

.page-news-industry-insights__faq-item details {
    border: none;
}

.page-news-industry-insights__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-gold);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-news-industry-insights__faq-question::-webkit-details-marker {
    display: none;
}

.page-news-industry-insights__faq-question:hover {
    background-color: var(--color-primary);
    color: var(--color-text-main);
}

.page-news-industry-insights__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
}

.page-news-industry-insights__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    border-top: 1px solid var(--color-divider);
    background-color: var(--color-card-bg);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-news-industry-insights {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-news-industry-insights__hero-section {
        padding: 0 15px 30px;
    }

    .page-news-industry-insights__hero-image {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-news-industry-insights__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-news-industry-insights__description {
        font-size: 1rem;
    }

    .page-news-industry-insights__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }

    .page-news-industry-insights__btn-primary,
    .page-news-industry-insights__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto; /* Center buttons if not full width */
    }

    .page-news-industry-insights__content-area {
        padding: 30px 15px;
    }

    .page-news-industry-insights__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-news-industry-insights__sub-title {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-news-industry-insights__paragraph,
    .page-news-industry-insights__list-item,
    .page-news-industry-insights__faq-answer {
        font-size: 0.95rem;
    }

    .page-news-industry-insights__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-news-industry-insights__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-news-industry-insights__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    /* Ensure all image/content containers are responsive */
    .page-news-industry-insights__section,
    .page-news-industry-insights__card,
    .page-news-industry-insights__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}