.page-news-industry-trends {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-news-industry-trends__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    overflow: hidden;
}

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

.page-news-industry-trends__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-trends__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-news-industry-trends__main-heading {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-industry-trends__sub-heading {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-news-industry-trends__btn-primary,
.page-news-industry-trends__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

.page-news-industry-trends__btn-primary:hover {
    background-color: #a30606;
    transform: translateY(-2px);
}

.page-news-industry-trends__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-news-industry-trends__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.page-news-industry-trends__introduction-section,
.page-news-industry-trends__trends-section,
.page-news-industry-trends__impact-section,
.page-news-industry-trends__faq-section,
.page-news-industry-trends__cta-bottom-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Match body background */
}

.page-news-industry-trends__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
    padding: 60px 0;
}

.page-news-industry-trends__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-news-industry-trends__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-news-industry-trends__paragraph strong {
    color: #FFFFFF;
}

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

.page-news-industry-trends__card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff; /* Light text for card content */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-industry-trends__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news-industry-trends__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
}

.page-news-industry-trends__card-title {
    font-size: 1.6em;
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-news-industry-trends__card-text {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1; /* Allow text to grow and push button to bottom */
}

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

.page-news-industry-trends__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-news-industry-trends__list-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #FFFF00; /* Yellow checkmark */
}

.page-news-industry-trends__list-item strong {
    color: #FFFFFF;
}

.page-news-industry-trends__cta-buttons--center {
    margin-top: 40px;
    justify-content: center;
}

.page-news-industry-trends__cta-bottom-content {
    text-align: center;
}

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

.page-news-industry-trends__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-industry-trends__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
    color: #FFFFFF;
}

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

.page-news-industry-trends__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

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

.page-news-industry-trends__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFFF00; /* Yellow toggle */
}

.page-news-industry-trends__faq-item[open] .page-news-industry-trends__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-news-industry-trends__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    color: #e0e0e0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-news-industry-trends__faq-answer p {
    margin: 0;
    color: #e0e0e0;
}

.page-news-industry-trends__faq-answer a {
    color: #FFFF00; /* Yellow link in FAQ answer */
    text-decoration: none;
}

.page-news-industry-trends__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news-industry-trends__main-heading {
        font-size: 2.8em;
    }
    .page-news-industry-trends__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-news-industry-trends__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
    }
    .page-news-industry-trends__main-heading {
        font-size: 2.2em;
        line-height: 1.2;
    }
    .page-news-industry-trends__sub-heading {
        font-size: 1.1em;
    }
    .page-news-industry-trends__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news-industry-trends__btn-primary,
    .page-news-industry-trends__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-news-industry-trends__section-title {
        font-size: 1.8em;
    }
    .page-news-industry-trends__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news-industry-trends__paragraph,
    .page-news-industry-trends__list-item,
    .page-news-industry-trends__card-text {
        font-size: 0.95em;
    }
    .page-news-industry-trends__grid {
        grid-template-columns: 1fr;
    }
    .page-news-industry-trends__card-image {
        height: auto; /* Allow image height to be auto for better scaling */
    }

    /* Mobile image responsive adaptation */
    .page-news-industry-trends img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile container adaptation */
    .page-news-industry-trends__section,
    .page-news-industry-trends__card,
    .page-news-industry-trends__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ mobile adjustments */
    .page-news-industry-trends__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-news-industry-trends__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }
}