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

/* Base styles for the page content */
.page-industry-news-updates {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark body background */
    background-color: var(--black-color); /* Inherit from shared.css, assumed dark */
}

/* Hero Section */
.page-industry-news-updates__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-industry-news-updates__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-industry-news-updates__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-industry-news-updates__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    color: #FFFFFF;
}

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

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

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

/* Section Titles */
.page-industry-news-updates__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-industry-news-updates__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

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

/* Buttons */
.page-industry-news-updates__btn-primary,
.page-industry-news-updates__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Important for mobile responsiveness */
    box-sizing: border-box; /* Important for mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

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

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

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

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

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

.page-industry-news-updates__news-card {
    background-color: #262626; /* Slightly lighter dark background for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

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

.page-industry-news-updates__card-content {
    padding: 20px;
}

.page-industry-news-updates__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-industry-news-updates__card-title a:hover {
    color: #26A9E0;
}

.page-industry-news-updates__card-meta {
    font-size: 0.9em;
    color: #AAAAAA;
    margin-bottom: 15px;
}

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

.page-industry-news-updates__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

/* Industry Insights Section */
.page-industry-news-updates__industry-insights-section {
    padding: 80px 0;
    background-color: var(--black-color); /* Inherit from shared.css, assumed dark */
}

.page-industry-news-updates__insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.page-industry-news-updates__insight-item {
    background-color: #262626;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding-bottom: 20px;
}

.page-industry-news-updates__insight-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-industry-news-updates__insight-title {
    font-size: 1.8em;
    color: #26A9E0;
    padding: 0 20px;
    margin-bottom: 15px;
}

.page-industry-news-updates__insight-text {
    color: #DDDDDD;
    padding: 0 20px;
    margin-bottom: 25px;
}

/* CTA Section */
.page-industry-news-updates__cta-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color for CTA background */
    color: #FFFFFF;
    text-align: center;
}

.page-industry-news-updates__cta-section .page-industry-news-updates__section-title {
    color: #FFFFFF;
}

.page-industry-news-updates__cta-section .page-industry-news-updates__section-title::after {
    background-color: #FFFFFF;
}

.page-industry-news-updates__cta-section .page-industry-news-updates__section-description {
    color: #f0f0f0;
}

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

/* FAQ Section */
.page-industry-news-updates__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background for this section */
}

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

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

.page-industry-news-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #333333; /* Slightly darker for question bar */
    color: #FFFFFF;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-industry-news-updates__faq-question-text {
    margin: 0;
    font-size: 1.1em;
    color: #FFFFFF;
}

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

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

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

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

.page-industry-news-updates__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-industry-news-updates__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

.page-industry-news-updates__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-industry-news-updates__hero-title {
        font-size: 2.8em;
    }
    .page-industry-news-updates__section-title {
        font-size: 2em;
    }
    .page-industry-news-updates__news-grid,
    .page-industry-news-updates__insights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-industry-news-updates__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
    }
    .page-industry-news-updates__hero-title {
        font-size: 2em;
    }
    .page-industry-news-updates__hero-description {
        font-size: 1em;
    }
    .page-industry-news-updates__container {
        padding: 20px 15px; /* Add padding for mobile content */
    }
    .page-industry-news-updates__section-title {
        font-size: 1.8em;
    }
    .page-industry-news-updates__news-card,
    .page-industry-news-updates__insight-item {
        margin-bottom: 20px;
    }

    /* Mobile image responsiveness */
    .page-industry-news-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness */
    .page-industry-news-updates video,
    .page-industry-news-updates__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-industry-news-updates__video-section,
    .page-industry-news-updates__video-container,
    .page-industry-news-updates__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .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;
      margin: 10px 0 !important; /* Stack buttons vertically */
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .page-industry-news-updates__cta-buttons {
      flex-direction: column; /* Stack buttons vertically */
      gap: 10px;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-industry-news-updates__news-card .page-industry-news-updates__card-content {
        padding: 15px;
    }
    .page-industry-news-updates__card-title {
        font-size: 1.2em;
    }
    .page-industry-news-updates__insight-title {
        font-size: 1.5em;
    }
    .page-industry-news-updates__faq-question {
        padding: 15px;
    }
    .page-industry-news-updates__faq-question-text {
        font-size: 1em;
    }
    .page-industry-news-updates__faq-answer {
        padding: 0 15px;
    }
    .page-industry-news-updates__faq-item.active .page-industry-news-updates__faq-answer {
        padding: 15px !important;
    }
}