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

/* Base styles for the page content, ensuring header offset */
.page-blog-industry-news {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color, #FFFFFF); /* Use shared background variable or default to white */
}

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

/* Hero Section */
.page-blog-industry-news__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* Light text for dark overlay */
    text-align: center;
    padding: 80px 0;
}

.page-blog-industry-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2; /* Placed behind the overlay */
}

.page-blog-industry-news__hero-section::before { /* Use ::before for overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: -1;
}

.page-blog-industry-news__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-blog-industry-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-blog-industry-news__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-blog-industry-news__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    min-width: 200px;
    text-align: center;
    cursor: pointer;
}

.page-blog-industry-news__button--register {
    background-color: #FFFFFF; /* Register color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-blog-industry-news__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-blog-industry-news__button--explore {
    background-color: #FCBC45; /* Login color for contrast */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-blog-industry-news__button--explore:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

/* Section Titles */
.page-blog-industry-news__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    position: relative;
}

.page-blog-industry-news__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FCBC45;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Articles Section */
.page-blog-industry-news__articles-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-blog-industry-news__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.page-blog-industry-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-blog-industry-news__article-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-blog-industry-news__article-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #000000;
}

.page-blog-industry-news__article-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-blog-industry-news__article-title a:hover {
    color: #FCBC45;
}

.page-blog-industry-news__article-excerpt {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog-industry-news__read-more {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: auto; /* Pushes to the bottom */
}

.page-blog-industry-news__read-more:hover {
    color: #e0a53b;
    text-decoration: underline;
}

/* Featured Insights Section */
.page-blog-industry-news__featured-insights-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-blog-industry-news__insight-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-blog-industry-news__insight-item {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-industry-news__insight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-blog-industry-news__insight-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px;
}

.page-blog-industry-news__insight-content {
    padding: 30px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-blog-industry-news__insight-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #000000;
}

.page-blog-industry-news__insight-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-blog-industry-news__insight-title a:hover {
    color: #FCBC45;
}

.page-blog-industry-news__insight-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* CTA Section */
.page-blog-industry-news__cta-section {
    background-color: #000000; /* Main color for dark background */
    color: #FFFFFF; /* Light text */
    padding: 80px 0;
    text-align: center;
}

.page-blog-industry-news__cta-container {
    max-width: 800px;
}

.page-blog-industry-news__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45;
}

.page-blog-industry-news__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-blog-industry-news__button--join-now {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-blog-industry-news__button--join-now:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

/* Latest Updates Section */
.page-blog-industry-news__latest-updates-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-blog-industry-news__update-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-blog-industry-news__update-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-industry-news__update-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-blog-industry-news__update-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #000000;
}

.page-blog-industry-news__update-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-blog-industry-news__update-title a:hover {
    color: #FCBC45;
}

.page-blog-industry-news__update-date {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 15px;
}

.page-blog-industry-news__update-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* Conclusion Section */
.page-blog-industry-news__conclusion-section {
    padding: 60px 0 80px;
    background-color: #FFFFFF;
}

.page-blog-industry-news__text {
    font-size: 1.1em;
    color: #444444;
    margin-bottom: 25px;
    text-align: justify;
}

.page-blog-industry-news__button--register-bottom {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-industry-news__button--register-bottom:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

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

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

    .page-blog-industry-news__insight-item {
        flex-direction: column;
    }

    .page-blog-industry-news__insight-image,
    .page-blog-industry-news__insight-content {
        width: 100%;
    }

    .page-blog-industry-news__insight-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-blog-industry-news {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }

    .page-blog-industry-news__hero-section {
        padding: 60px 0;
    }

    .page-blog-industry-news__hero-title {
        font-size: 2.2em;
    }

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

    .page-blog-industry-news__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog-industry-news__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-blog-industry-news__section-title {
        font-size: 1.8em;
    }

    .page-blog-industry-news__article-grid {
        grid-template-columns: 1fr;
    }

    .page-blog-industry-news__insight-image,
    .page-blog-industry-news__article-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
    }

    /* Enforce minimum image display size for content images */
    .page-blog-industry-news__articles-section img,
    .page-blog-industry-news__featured-insights-section img,
    .page-blog-industry-news__latest-updates-section img,
    .page-blog-industry-news__conclusion-section img {
        min-width: 200px;
        min-height: 200px;
    }

    .page-blog-industry-news__cta-title {
        font-size: 2em;
    }

    .page-blog-industry-news__cta-description {
        font-size: 1em;
    }

    .page-blog-industry-news__update-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-blog-industry-news__hero-title {
        font-size: 1.8em;
    }
    .page-blog-industry-news__cta-title {
        font-size: 1.6em;
    }
    .page-blog-industry-news__section-title {
        font-size: 1.5em;
    }
    .page-blog-industry-news__article-image {
        height: 200px; /* Adjust for smaller screens */
    }
}