/* style/news-industry-updates.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f1f3f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --link-color: #0066cc;
    --link-hover-color: #004499;
}

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

.page-news-industry-updates__intro-section {
    padding: 120px 20px 60px; /* Desktop padding-top for fixed header */
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-news-industry-updates__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news-industry-updates__description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.page-news-industry-updates__description strong {
    color: var(--secondary-color);
}

.page-news-industry-updates__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

/* Latest News Section */
.page-news-industry-updates__latest-news-section {
    background: var(--bg-light);
    padding: 60px 0;
    color: var(--text-dark);
}

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

.page-news-industry-updates__article-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news-industry-updates__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.page-news-industry-updates__article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

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

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

.page-news-industry-updates__article-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-industry-updates__article-link:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

.page-news-industry-updates__article-excerpt {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-news-industry-updates__read-more-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.page-news-industry-updates__read-more-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Updates Section */
.page-news-industry-updates__updates-section {
    background: var(--primary-color);
    padding: 60px 0;
    color: var(--text-light);
}

.page-news-industry-updates__updates-section .page-news-industry-updates__section-title {
    color: var(--secondary-color);
}

.page-news-industry-updates__feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-news-industry-updates__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    transition: background-color 0.3s ease;
}

.page-news-industry-updates__feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-news-industry-updates__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 5px;
}

.page-news-industry-updates__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-news-industry-updates__feature-content p {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Trends Section */
.page-news-industry-updates__trends-section {
    background: var(--bg-light);
    padding: 60px 0;
    color: var(--text-dark);
}

.page-news-industry-updates__trends-section .page-news-industry-updates__section-title {
    color: var(--primary-color);
}

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

.page-news-industry-updates__trend-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 25px;
}

.page-news-industry-updates__trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

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

.page-news-industry-updates__trend-card h3 {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-news-industry-updates__trend-card p {
    font-size: 0.95em;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 20px;
}

/* Promotions Section */
.page-news-industry-updates__promotions-section {
    background: var(--primary-color);
    padding: 60px 0;
    color: var(--text-light);
}

.page-news-industry-updates__promotions-section .page-news-industry-updates__section-title {
    color: var(--secondary-color);
}

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

.page-news-industry-updates__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-news-industry-updates__promo-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-news-industry-updates__promo-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-news-industry-updates__promo-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-news-industry-updates__promo-description {
    font-size: 0.95em;
    color: #f0f0f0;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-news-industry-updates__promo-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-news-industry-updates__promo-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Blog Section */
.page-news-industry-updates__blog-section {
    background: var(--bg-light);
    padding: 60px 0;
    color: var(--text-dark);
}

.page-news-industry-updates__blog-section .page-news-industry-updates__section-title {
    color: var(--primary-color);
}

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

.page-news-industry-updates__blog-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news-industry-updates__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.page-news-industry-updates__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.page-news-industry-updates__blog-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-news-industry-updates__blog-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-industry-updates__blog-link:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

.page-news-industry-updates__blog-date {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 15px;
}

.page-news-industry-updates__blog-excerpt {
    font-size: 0.95em;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-news-industry-updates__faq-section {
    background: var(--primary-color);
    padding: 60px 0;
    color: var(--text-light);
}

.page-news-industry-updates__faq-section .page-news-industry-updates__section-title {
    color: var(--secondary-color);
}

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

.page-news-industry-updates__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-news-industry-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: var(--text-dark);
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: var(--bg-white);
    border-radius: 0 0 5px 5px;
}

.page-news-industry-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-news-industry-updates__faq-question:hover {
    background: var(--bg-light);
    border-color: #d0d0d0;
}

.page-news-industry-updates__faq-question:active {
    background: #eeeeee;
}

.page-news-industry-updates__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-news-industry-updates__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

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

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

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

    .page-news-industry-updates__article-grid,
    .page-news-industry-updates__trend-grid,
    .page-news-industry-updates__promo-grid,
    .page-news-industry-updates__blog-grid {
        gap: 20px;
    }

    .page-news-industry-updates__article-image,
    .page-news-industry-updates__trend-image,
    .page-news-industry-updates__promo-image,
    .page-news-industry-updates__blog-image {
        height: 180px;
    }

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

    .page-news-industry-updates__feature-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .page-news-industry-updates__intro-section {
        padding: 100px 15px 40px; /* Mobile padding-top for fixed header */
    }

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

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

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

    .page-news-industry-updates__article-grid,
    .page-news-industry-updates__trend-grid,
    .page-news-industry-updates__promo-grid,
    .page-news-industry-updates__blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-news-industry-updates__article-image,
    .page-news-industry-updates__trend-image,
    .page-news-industry-updates__promo-image,
    .page-news-industry-updates__blog-image {
        height: 160px !important;
        max-width: 100% !important;
        width: 100% !important;
        object-fit: cover;
    }

    .page-news-industry-updates__article-card,
    .page-news-industry-updates__trend-card,
    .page-news-industry-updates__promo-card,
    .page-news-industry-updates__blog-card {
        padding: 0;
    }

    .page-news-industry-updates__article-content,
    .page-news-industry-updates__trend-card h3,
    .page-news-industry-updates__trend-card p,
    .page-news-industry-updates__promo-card,
    .page-news-industry-updates__blog-content {
        padding: 20px;
    }

    .page-news-industry-updates__read-more-button,
    .page-news-industry-updates__promo-button {
        padding: 10px 18px;
        font-size: 0.9em;
    }

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

    .page-news-industry-updates__feature-icon {
        width: 60px;
        height: 60px;
    }

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

    .page-news-industry-updates__feature-content p {
        font-size: 0.95em;
    }
    
    .page-news-industry-updates__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    
    .page-news-industry-updates__faq-question h3 {
      font-size: 15px;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    
    .page-news-industry-updates__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    
    .page-news-industry-updates__faq-answer {
      padding: 0 15px;
    }
    
    .page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
      padding: 15px !important;
    }

    .page-news-industry-updates__container {
        padding: 0 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news-industry-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-news-industry-updates__section,
    .page-news-industry-updates__card,
    .page-news-industry-updates__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news-industry-updates__dark-bg .page-news-industry-updates__section-title,
    .page-news-industry-updates__light-bg .page-news-industry-updates__section-title {
        font-size: 1.6em;
    }
}