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

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background-dark: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-news-industry-insights {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--background-dark);
    line-height: 1.6;
}

.page-news-industry-insights__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Rely on body padding for header offset */
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-news-industry-insights__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news-industry-insights__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-news-industry-insights__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px 60px;
    margin-top: -100px; /* Overlap slightly for visual flow */
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-news-industry-insights__main-title {
    color: var(--gold-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-news-industry-insights__intro-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.page-news-industry-insights__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news-industry-insights__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-news-industry-insights__content-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-news-industry-insights__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-news-industry-insights__section-title {
    color: var(--gold-color);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    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: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-news-industry-insights__sub-title {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 25px;
    border-left: 5px solid var(--gold-color);
    padding-left: 15px;
}

.page-news-industry-insights__paragraph {
    font-size: 1.05em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-news-industry-insights__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

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

.page-news-industry-insights__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
    font-size: 1.05em;
}

.page-news-industry-insights__list-item::before {
    content: '✅';
    font-size: 1.2em;
    color: var(--primary-color);
    flex-shrink: 0;
}

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

.page-news-industry-insights__cta-section {
    background: var(--deep-green);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-news-industry-insights__cta-title {
    color: var(--gold-color);
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-news-industry-insights__cta-description {
    color: var(--text-secondary);
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news-industry-insights__cta-button--large {
    padding: 18px 40px;
    font-size: 1.25em;
}

.page-news-industry-insights__faq-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

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

.page-news-industry-insights__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news-industry-insights__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--deep-green);
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.15em;
    transition: background-color 0.3s ease;
}

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

.page-news-industry-insights__faq-qtext {
    flex-grow: 1;
}

.page-news-industry-insights__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-news-industry-insights__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-news-industry-insights__faq-item[open] .page-news-industry-insights__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 15px;
}

.page-news-industry-insights__faq-item[open] .page-news-industry-insights__faq-question {
    background-color: var(--primary-color);
}

/* Details element specific styling */
.page-news-industry-insights__faq-item details > summary {
    list-style: none;
}

.page-news-industry-insights__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-news-industry-insights__related-articles {
    padding: 60px 0 80px;
    background-color: var(--background-dark);
    border-top: 1px solid var(--divider-color);
}

.page-news-industry-insights__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-industry-insights__article-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news-industry-insights__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news-industry-insights__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-news-industry-insights__article-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-main);
    margin: 20px 20px 10px;
    flex-grow: 1;
}

.page-news-industry-insights__article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-industry-insights__article-title a:hover {
    color: var(--primary-color);
}

.page-news-industry-insights__article-meta {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin: 0 20px 10px;
}

.page-news-industry-insights__article-excerpt {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin: 0 20px 20px;
}

.page-news-industry-insights__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0 20px 20px;
    transition: color 0.3s ease;
}

.page-news-industry-insights__read-more:hover {
    color: var(--gold-color);
}

.page-news-industry-insights__view-all {
    text-align: center;
    margin-top: 50px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-news-industry-insights__main-title {
        font-size: 2.5em;
    }
    .page-news-industry-insights__cta-title {
        font-size: 2.2em;
    }
}

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

    .page-news-industry-insights__hero-content {
        margin-top: -60px;
        padding: 30px 15px 40px;
        border-radius: 10px;
    }

    .page-news-industry-insights__main-title {
        font-size: clamp(1.8em, 5vw, 2.2em);
        margin-bottom: 15px;
    }

    .page-news-industry-insights__intro-text {
        font-size: 1em;
        margin-bottom: 25px;
        max-width: 95%;
    }

    .page-news-industry-insights__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-news-industry-insights__content-section,
    .page-news-industry-insights__cta-section,
    .page-news-industry-insights__faq-section,
    .page-news-industry-insights__related-articles {
        padding: 40px 0;
    }

    .page-news-industry-insights__container {
        padding: 0 15px;
    }

    .page-news-industry-insights__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-news-industry-insights__sub-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 20px;
    }

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

    /* Images responsive */
    .page-news-industry-insights img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images/content */
    .page-news-industry-insights__section,
    .page-news-industry-insights__card,
    .page-news-industry-insights__container,
    .page-news-industry-insights__hero-section,
    .page-news-industry-insights__content-section,
    .page-news-industry-insights__cta-section,
    .page-news-industry-insights__faq-section,
    .page-news-industry-insights__related-articles,
    .page-news-industry-insights__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-news-industry-insights__hero-section {
      padding-top: 10px !important;
    }

    /* Buttons responsive */
    .page-news-industry-insights__cta-button,
    .page-news-industry-insights__btn-primary,
    .page-news-industry-insights__btn-secondary,
    .page-news-industry-insights a[class*="button"],
    .page-news-industry-insights a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news-industry-insights__cta-buttons,
    .page-news-industry-insights__button-group,
    .page-news-industry-insights__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow-x: hidden !important;
    }

    .page-news-industry-insights__article-grid {
        grid-template-columns: 1fr;
    }

    .page-news-industry-insights__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }

    .page-news-industry-insights__faq-answer {
        padding: 0 20px 15px;
    }
    .page-news-industry-insights__hero-content {
      margin-left: 15px; /* Adjust for padding on container */
      margin-right: 15px;
      width: auto; /* Allow it to shrink with container padding */
    }
}

@media (max-width: 480px) {
    .page-news-industry-insights__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-news-industry-insights__cta-title {
        font-size: 1.8em;
    }
    .page-news-industry-insights__cta-button--large {
        font-size: 1.1em;
        padding: 14px 25px;
    }
}