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

/* Variables for consistent styling */
:root {
    --page-index-latest-industry-news-primary-color: #0A192F; /* Dark blue */
    --page-index-latest-industry-news-accent-color: #E0B92B; /* Gold/Yellow */
    --page-index-latest-industry-news-text-light: #FFFFFF; /* White for dark backgrounds */
    --page-index-latest-industry-news-text-dark: #0A192F; /* Dark blue for light backgrounds */
    --page-index-latest-industry-news-background-light: #F0F2F5; /* Light grey for content background */
    --page-index-latest-industry-news-hover-dark: #071221; /* Darker primary for hover */
    --page-index-latest-industry-news-hover-accent: #c7a421; /* Darker accent for hover */
}

/* Base styles for the page content */
.page-index-latest-industry-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-index-latest-industry-news-text-dark); /* Dark text on light background */
    background-color: var(--page-index-latest-industry-news-background-light);
}

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

/* Hero Section */
.page-index-latest-industry-news__hero {
    background-color: var(--page-index-latest-industry-news-primary-color); /* Dark blue background */
    color: var(--page-index-latest-industry-news-text-light); /* White text */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.page-index-latest-industry-news__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

.page-index-latest-industry-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-index-latest-industry-news__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-index-latest-industry-news__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-index-latest-industry-news-accent-color); /* Gold title */
}

.page-index-latest-industry-news__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-index-latest-industry-news-text-light);
}

/* Buttons */
.page-index-latest-industry-news__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 1em;
}

.page-index-latest-industry-news__button--primary {
    background-color: var(--page-index-latest-industry-news-accent-color); /* Gold button */
    color: var(--page-index-latest-industry-news-primary-color); /* Dark blue text on gold */
    border: 2px solid var(--page-index-latest-industry-news-accent-color);
}

.page-index-latest-industry-news__button--primary:hover {
    background-color: var(--page-index-latest-industry-news-hover-accent);
    color: var(--page-index-latest-industry-news-primary-color);
}

.page-index-latest-industry-news__button--secondary {
    background-color: transparent;
    color: var(--page-index-latest-industry-news-accent-color); /* Gold text on dark background */
    border: 2px solid var(--page-index-latest-industry-news-accent-color);
    margin-left: 15px;
}

.page-index-latest-industry-news__button--secondary:hover {
    background-color: var(--page-index-latest-industry-news-accent-color);
    color: var(--page-index-latest-industry-news-primary-color);
}

/* Articles Section */
.page-index-latest-industry-news__articles {
    padding: 60px 0;
    background-color: var(--page-index-latest-industry-news-background-light);
}

.page-index-latest-industry-news__section-title {
    font-size: 2.5em;
    color: var(--page-index-latest-industry-news-primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-index-latest-industry-news__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-index-latest-industry-news-accent-color);
    margin: 15px auto 0;
}

.page-index-latest-industry-news__intro-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: var(--page-index-latest-industry-news-text-dark);
}

.page-index-latest-industry-news__article-card {
    background-color: var(--page-index-latest-industry-news-text-light); /* White background for article cards */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-index-latest-industry-news__article-card:hover {
    transform: translateY(-5px);
}

.page-index-latest-industry-news__article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index-latest-industry-news__article-content {
    padding: 30px;
}

.page-index-latest-industry-news__article-title {
    font-size: 1.8em;
    color: var(--page-index-latest-industry-news-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-latest-industry-news__article-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.page-index-latest-industry-news__article-text {
    font-size: 1em;
    color: var(--page-index-latest-industry-news-text-dark);
    margin-bottom: 15px;
}

/* Call to Action Section */
.page-index-latest-industry-news__cta-section {
    background-color: var(--page-index-latest-industry-news-primary-color); /* Dark blue background */
    color: var(--page-index-latest-industry-news-text-light); /* White text */
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
}

.page-index-latest-industry-news__cta-title {
    font-size: 2.2em;
    color: var(--page-index-latest-industry-news-accent-color); /* Gold title */
    margin-bottom: 20px;
}

.page-index-latest-industry-news__cta-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--page-index-latest-industry-news-text-light);
}

.page-index-latest-industry-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-index-latest-industry-news__article-card {
        flex-direction: row;
    }

    .page-index-latest-industry-news__article-image {
        width: 40%;
        height: auto;
        border-bottom: none;
        border-right: 1px solid #eee;
    }

    .page-index-latest-industry-news__article-content {
        width: 60%;
    }

    .page-index-latest-industry-news__hero-title {
        font-size: 4.5em;
    }

    .page-index-latest-industry-news__hero-subtitle {
        font-size: 1.5em;
    }
}

@media (max-width: 767px) {
    .page-index-latest-industry-news__hero {
        padding: 60px 15px;
    }

    .page-index-latest-industry-news__hero-title {
        font-size: 2.5em;
    }

    .page-index-latest-industry-news__hero-subtitle {
        font-size: 1em;
    }
}