/* style/industry-news.css */

:root {
    --primary-color: #007BFF;
    --secondary-color: #FFD700;
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50; /* A darker shade for contrast sections */
    --accent-color: #ff8400; /* Complementary to primary for emphasis */
    --border-color: #e0e0e0;
}

.page-industry-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text-color);
    background-color: var(--background-light);
}

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

.page-industry-news__hero {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--light-text-color);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-industry-news__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-industry-news__hero-subtitle {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.page-industry-news__section {
    padding: 60px 0;
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

.page-industry-news__section--dark {
    background-color: var(--background-dark);
    color: var(--light-text-color);
}

.page-industry-news__section--dark .page-industry-news__section-title,
.page-industry-news__section--dark .page-industry-news__sub-title {
    color: var(--light-text-color);
}

.page-industry-news__section--dark .page-industry-news__text-link {
    color: var(--secondary-color);
}

.page-industry-news__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-industry-news__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-industry-news__content-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-industry-news__flex-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-industry-news__flex-content--reverse {
    flex-direction: row-reverse;
}

.page-industry-news__content-block {
    flex: 1;
}

.page-industry-news__image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-industry-news__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-industry-news__image:hover {
    transform: translateY(-5px);
}

.page-industry-news__btn {
    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, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-industry-news__btn--primary {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border: 2px solid var(--secondary-color);
    margin-right: 15px;
}

.page-industry-news__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-industry-news__btn--secondary {
    background-color: transparent;
    color: var(--light-text-color);
    border: 2px solid var(--light-text-color);
}

.page-industry-news__hero .page-industry-news__btn--primary {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border: none;
}

.page-industry-news__hero .page-industry-news__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-industry-news__btn--link {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    border: none;
}

.page-industry-news__btn--link:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.page-industry-news__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.page-industry-news__text-link:hover {
    color: #0056b3;
}

.page-industry-news__related-articles {
    background-color: #f0f2f5;
    padding: 80px 0;
    text-align: center;
}

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

.page-industry-news__article-item {
    background-color: var(--light-text-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-industry-news__article-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-industry-news__article-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-industry-news__article-title a:hover {
    color: #0056b3;
}

.page-industry-news__article-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.page-industry-news__cta-section {
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
    color: var(--light-text-color);
    padding: 80px 0;
    text-align: center;
}

.page-industry-news__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-industry-news__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.page-industry-news__cta-buttons .page-industry-news__btn {
    margin: 0 10px;
}

.page-industry-news .highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-industry-news__flex-content {
        flex-direction: column;
    }

    .page-industry-news__flex-content--reverse {
        flex-direction: column;
    }

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

    .page-industry-news__hero-subtitle {
        font-size: 1.3em;
    }

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

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

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

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

    .page-industry-news__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-industry-news__hero,
    .page-industry-news__section,
    .page-industry-news__related-articles,
    .page-industry-news__cta-section {
        padding: 40px 0;
    }

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

    .page-industry-news__hero-subtitle {
        font-size: 1.1em;
    }

    .page-industry-news__btn {
        padding: 12px 25px;
        font-size: 1em;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .page-industry-news__cta-buttons .page-industry-news__btn {
        display: block;
        margin: 10px auto;
    }

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

    .page-industry-news__sub-title {
        font-size: 1.3em;
    }

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

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

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