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

/* Base styles for the page content */
.page-industry-news-updates {
    background-color: #121212; /* Dark background from body */
    color: #ffffff; /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-industry-news-updates__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    background-color: #0A246A; /* Primary brand color */
}

.page-industry-news-updates__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-industry-news-updates__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-industry-news-updates__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #E0B11E; /* Accent color for title */
    line-height: 1.2;
}

.page-industry-news-updates__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

/* Section titles and descriptions */
.page-industry-news-updates__section-title {
    font-size: 2.5em;
    color: #E0B11E; /* Accent color for section titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-industry-news-updates__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Buttons */
.page-industry-news-updates__btn-primary,
.page-industry-news-updates__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure responsiveness */
}

.page-industry-news-updates__btn-primary {
    background-color: #E0B11E; /* Accent color */
    color: #0A246A; /* Dark text for contrast */
    border: 2px solid #E0B11E;
}

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

.page-industry-news-updates__btn-secondary {
    background-color: transparent;
    color: #E0B11E; /* Accent color */
    border: 2px solid #E0B11E;
}

.page-industry-news-updates__btn-secondary:hover {
    background-color: #E0B11E;
    color: #0A246A;
}

/* Latest News Section */
.page-industry-news-updates__latest-news-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

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

.page-industry-news-updates__news-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-industry-news-updates__news-card:hover {
    transform: translateY(-5px);
}

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

.page-industry-news-updates__news-card-title {
    font-size: 1.4em;
    margin: 15px;
    line-height: 1.3;
}

.page-industry-news-updates__news-card-title a {
    color: #E0B11E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-industry-news-updates__news-card-title a:hover {
    color: #ffc107;
}

.page-industry-news-updates__news-card-excerpt {
    font-size: 0.95em;
    color: #cccccc;
    margin: 0 15px 15px 15px;
}

.page-industry-news-updates__read-more-link {
    display: inline-block;
    color: #E0B11E;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px 15px 15px;
    transition: color 0.3s ease;
}

.page-industry-news-updates__read-more-link:hover {
    color: #ffc107;
    text-decoration: underline;
}

/* Market Trends Section */
.page-industry-news-updates__market-trends-section {
    padding: 60px 0;
}

.page-industry-news-updates__dark-section {
    background-color: #0A246A; /* Primary brand color */
    color: #ffffff;
}

.page-industry-news-updates__trend-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-industry-news-updates__trend-item--reverse {
    flex-direction: row-reverse;
}

.page-industry-news-updates__trend-image {
    width: 50%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-industry-news-updates__trend-content {
    width: 50%;
}

.page-industry-news-updates__trend-title {
    font-size: 2em;
    color: #E0B11E;
    margin-bottom: 15px;
}

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

/* Expert Insights Section */
.page-industry-news-updates__expert-insights-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

.page-industry-news-updates__insight-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.page-industry-news-updates__insight-title {
    font-size: 1.8em;
    color: #E0B11E;
    margin-bottom: 15px;
}

.page-industry-news-updates__insight-text {
    font-size: 1.05em;
    color: #cccccc;
}

/* Promotions CTA Section */
.page-industry-news-updates__promotions-cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #E0B11E; /* Accent color as background */
    color: #0A246A; /* Dark text for contrast */
}

.page-industry-news-updates__medium-bg {
    background-color: #E0B11E;
    color: #0A246A;
}

.page-industry-news-updates__promotions-cta-section .page-industry-news-updates__section-title {
    color: #0A246A; /* Dark title on light background */
}

.page-industry-news-updates__promotions-cta-section .page-industry-news-updates__section-description {
    color: #333333; /* Dark text on light background */
}

.page-industry-news-updates__promotions-cta-section .page-industry-news-updates__btn-primary {
    background-color: #0A246A; /* Dark button on light background */
    color: #ffffff;
    border-color: #0A246A;
}

.page-industry-news-updates__promotions-cta-section .page-industry-news-updates__btn-primary:hover {
    background-color: #1a3a8a;
    border-color: #1a3a8a;
    color: #ffffff;
}

/* FAQ Section */
.page-industry-news-updates__faq-section {
    padding: 60px 0;
    background-color: #121212;
}

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

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

.page-industry-news-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #0A246A; /* Primary brand color */
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-industry-news-updates__faq-item.active .page-industry-news-updates__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-industry-news-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #333333; /* Darker background for answer */
    color: #cccccc;
}

.page-industry-news-updates__faq-item.active .page-industry-news-updates__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px 25px;
}

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

/* Bottom CTA Section */
.page-industry-news-updates__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

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

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

    .page-industry-news-updates__trend-item {
        flex-direction: column;
        text-align: center;
    }

    .page-industry-news-updates__trend-item--reverse {
        flex-direction: column;
    }

    .page-industry-news-updates__trend-image,
    .page-industry-news-updates__trend-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-industry-news-updates {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-industry-news-updates__container {
        padding: 0 15px;
    }

    .page-industry-news-updates__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-industry-news-updates__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-industry-news-updates__btn-primary,
    .page-industry-news-updates__btn-secondary,
    .page-industry-news-updates a[class*="button"],
    .page-industry-news-updates a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-industry-news-updates__hero-buttons,
    .page-industry-news-updates__button-group,
    .page-industry-news-updates__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }

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

    .page-industry-news-updates__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-industry-news-updates__news-card {
        margin: 0 10px;
    }

    .page-industry-news-updates__trend-item {
        padding: 20px;
        gap: 20px;
    }

    .page-industry-news-updates__trend-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-industry-news-updates__trend-item .page-industry-news-updates__trend-image {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

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

    .page-industry-news-updates__insight-card {
        padding: 20px;
    }

    .page-industry-news-updates__insight-title {
        font-size: 1.4em;
    }

    /* All images responsive */
    .page-industry-news-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-industry-news-updates__section,
    .page-industry-news-updates__card,
    .page-industry-news-updates__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .page-industry-news-updates__video-section {
      padding-top: var(--header-offset, 120px) !important;
    }
    
    /* FAQ Specific Mobile Adjustments */
    .page-industry-news-updates__faq-question {
      padding: 15px 20px;
    }
    .page-industry-news-updates__faq-answer {
      padding: 15px 20px;
    }
    .page-industry-news-updates__faq-title {
      font-size: 1.1em;
    }
}