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

/* --- General Styles --- */
.page-news-industry-news {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text for light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Ensure consistency with default body background */
}

.page-news-industry-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-news-industry-news__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-news-industry-news__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

/* --- Hero Section --- */
.page-news-industry-news__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-news-industry-news__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-news-industry-news__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-news-industry-news__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-news-industry-news__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* --- Buttons --- */
.page-news-industry-news__btn-primary,
.page-news-industry-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    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;
    margin: 10px;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-news-industry-news__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-news-industry-news__btn-primary:hover {
    background-color: #1a7fb2; /* Slightly darker primary */
    border-color: #1a7fb2;
}

.page-news-industry-news__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color */
    border: 2px solid #26A9E0;
}

.page-news-industry-news__btn-secondary:hover {
    background-color: #e0f2f7; /* Light background on hover */
    color: #1a7fb2;
    border-color: #1a7fb2;
}

/* --- Section Backgrounds --- */
.page-news-industry-news__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-news-industry-news__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    padding: 60px 0;
}

.page-news-industry-news__dark-bg .page-news-industry-news__section-title {
    color: #FFFFFF;
}

.page-news-industry-news__dark-bg .page-news-industry-news__text-block {
    color: #f0f0f0;
}

/* --- Content Grid for Sections --- */
.page-news-industry-news__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-news-industry-news__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-news-industry-news__text-content {
    flex: 1;
}

.page-news-industry-news__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news-industry-news__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure no extra space below image */
}

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

.page-news-industry-news__faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333; /* Dark text for light background */
}

.page-news-industry-news__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.page-news-industry-news__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for WebKit browsers */
}

.page-news-industry-news__faq-qtext {
    flex-grow: 1;
    color: #26A9E0; /* Brand primary color for question text */
}

.page-news-industry-news__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0; /* Brand primary color for toggle icon */
}

.page-news-industry-news__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: #555555;
    background-color: #FFFFFF;
}

.page-news-industry-news__faq-answer p {
    margin-bottom: 15px;
}

.page-news-industry-news__faq-cta {
    margin: 10px 0 0 0; /* Adjust margin for CTA in FAQ */
}

/* --- CTA Section --- */
.page-news-industry-news__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #f5fafd; /* Light blue tint */
}

.page-news-industry-news__cta-section .page-news-industry-news__section-title {
    color: #26A9E0;
}

.page-news-industry-news__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 30px;
    gap: 20px; /* Space between buttons */
    max-width: 100%; /* Ensure container itself is responsive */
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-news-industry-news__hero-title {
        font-size: 2.8em;
    }

    .page-news-industry-news__hero-description {
        font-size: 1.2em;
    }

    .page-news-industry-news__section-title {
        font-size: 2em;
    }

    .page-news-industry-news__content-grid {
        flex-direction: column;
    }

    .page-news-industry-news__content-grid--reverse {
        flex-direction: column; /* Revert for mobile to maintain consistent flow */
    }

    .page-news-industry-news__text-content,
    .page-news-industry-news__image-wrapper {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-news-industry-news__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-news-industry-news__hero-title {
        font-size: 2em;
    }

    .page-news-industry-news__hero-description {
        font-size: 1em;
    }

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

    .page-news-industry-news__text-block {
        font-size: 1em;
    }

    .page-news-industry-news__btn-primary,
    .page-news-industry-news__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 5px 0; /* Stack buttons */
    }

    .page-news-industry-news__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-news-industry-news__light-bg,
    .page-news-industry-news__dark-bg {
        padding: 40px 0;
    }

    .page-news-industry-news__container {
        padding: 0 15px; /* Add padding to main container */
    }

    /* Images responsiveness */
    .page-news-industry-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-industry-news__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px; /* Ensure images are within bounds */
    }

    /* FAQ items responsiveness */
    .page-news-industry-news__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-news-industry-news__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-news-industry-news__hero-section {
        height: 400px;
    }

    .page-news-industry-news__hero-title {
        font-size: 1.6em;
    }

    .page-news-industry-news__hero-description {
        font-size: 0.9em;
    }

    .page-news-industry-news__section-title {
        font-size: 1.5em;
    }
}