.page-news-industry-updates {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

/* Fixed Header Offset */
.page-news-industry-updates__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-news-industry-updates__hero-section {
    position: relative;
    background-color: #26A9E0; /* Primary color background */
    color: #FFFFFF; /* White text for primary background */
    text-align: center;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-news-industry-updates__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Subtle overlay */
    /* filter: brightness(0.7); */ /* Removed filter to comply with rules */
}

.page-news-industry-updates__hero-section .page-news-industry-updates__container {
    position: relative;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-news-industry-updates__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-news-industry-updates__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

.page-news-industry-updates__btn-primary,
.page-news-industry-updates__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-news-industry-updates__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid transparent;
}

.page-news-industry-updates__btn-primary:hover {
    background-color: #d46a00;
    border-color: #d46a00;
}

.page-news-industry-updates__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 20px;
}

.page-news-industry-updates__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-news-industry-updates__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-news-industry-updates__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #333333;
}

.page-news-industry-updates__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-news-industry-updates__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-news-industry-updates__dark-bg .page-news-industry-updates__section-title,
.page-news-industry-updates__dark-bg .page-news-industry-updates__section-intro {
    color: #FFFFFF;
}

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

.page-news-industry-updates__news-card,
.page-news-industry-updates__feature-item,
.page-news-industry-updates__tip-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news-industry-updates__news-card:hover,
.page-news-industry-updates__feature-item:hover,
.page-news-industry-updates__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news-industry-updates__news-image,
.page-news-industry-updates__feature-icon,
.page-news-industry-updates__tip-image {
    width: 100%;
    height: 225px; /* Consistent height for card images */
    object-fit: cover;
    display: block;
    min-height: 200px; /* Ensures images are not too small */
}

.page-news-industry-updates__feature-icon {
    height: 100px; /* Specific height for feature icons */
    object-fit: contain; /* Contain for icons */
    margin: 0 auto 20px auto;
    min-width: 100px;
    min-height: 100px;
}

.page-news-industry-updates__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news-industry-updates__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-news-industry-updates__card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-industry-updates__card-title a:hover {
    color: #1a7bb0;
}

.page-news-industry-updates__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news-industry-updates__card-link {
    display: inline-block;
    color: #EA7C07;
    text-decoration: none;
    font-weight: bold;
    margin-top: auto; /* Pushes link to the bottom */
}

.page-news-industry-updates__card-link:hover {
    text-decoration: underline;
}

.page-news-industry-updates__feature-item {
    text-align: center;
    padding: 30px;
}

.page-news-industry-updates__feature-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-news-industry-updates__feature-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-news-industry-updates__tip-card {
    text-align: center;
    padding: 30px;
}

.page-news-industry-updates__tip-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-height: 200px; /* Ensures images are not too small */
}

.page-news-industry-updates__tip-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-news-industry-updates__tip-text {
    font-size: 1em;
    color: #555555;
}

.page-news-industry-updates__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-news-industry-updates__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-news-industry-updates__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-news-industry-updates__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-news-industry-updates__faq-section {
    padding: 60px 0;
}

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

.page-news-industry-updates__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-news-industry-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-news-industry-updates__faq-question:hover {
    background-color: #f0f0f0;
}

.page-news-industry-updates__faq-title {
    font-size: 1.2em;
    color: #26A9E0;
    margin: 0;
}

.page-news-industry-updates__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-toggle {
    transform: rotate(45deg); /* Change + to X visually */
}

.page-news-industry-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
    max-height: 1000px !important;
    padding: 20px !important;
}

.page-news-industry-updates__faq-answer p {
    margin: 0;
}

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

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

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

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

    .page-news-industry-updates__section-title {
        font-size: 1.8em;
    }

    .page-news-industry-updates__section-intro {
        font-size: 0.9em;
    }

    .page-news-industry-updates__news-grid,
    .page-news-industry-updates__feature-grid,
    .page-news-industry-updates__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news-industry-updates__btn-primary,
    .page-news-industry-updates__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.9em;
        margin-left: 0;
        margin-right: 0;
    }
    
    .page-news-industry-updates__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px; /* Add padding to container */
    }

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

    /* All containers with images should be constrained */
    .page-news-industry-updates__container,
    .page-news-industry-updates__latest-news-section,
    .page-news-industry-updates__trends-section,
    .page-news-industry-updates__expert-insights-section,
    .page-news-industry-updates__cta-section,
    .page-news-industry-updates__faq-section,
    .page-news-industry-updates__news-card,
    .page-news-industry-updates__feature-item,
    .page-news-industry-updates__tip-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important; /* Add padding to prevent content touching edges */
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Ensure card images are still of good size, but responsive */
    .page-news-industry-updates__news-image,
    .page-news-industry-updates__tip-image {
        height: auto; /* Allow height to adjust */
        min-height: 180px; /* Maintain a reasonable minimum height */
    }
    
    .page-news-industry-updates__feature-icon {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
    }

    .page-news-industry-updates__faq-question {
        padding: 15px;
    }

    .page-news-industry-updates__faq-title {
        font-size: 1.1em;
    }
    
    .page-news-industry-updates__dark-bg,
    .page-news-industry-updates__light-bg {
        padding: 40px 0;
    }
}