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

/* Biến CSS */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-font-color: #FFFF00;
    --body-bg: #333;
}

/* Base styles for the page */
.page-news-latest-industry-updates {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--body-bg);
}

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

.page-news-latest-industry-updates__hero-section {
    position: relative;
    padding: 80px 0; /* Adjusted padding, assuming header-offset is handled by shared body */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
}

.page-news-latest-industry-updates__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Slightly dim the image for text readability */
}

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

.page-news-latest-industry-updates__hero-description {
    font-size: 1.25em;
    margin-bottom: 40px;
    max-width: 800px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-news-latest-industry-updates__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-news-latest-industry-updates__btn-primary,
.page-news-latest-industry-updates__btn-secondary {
    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, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-news-latest-industry-updates__btn-primary {
    background-color: var(--button-register);
    color: var(--button-font-color);
    border: 2px solid var(--button-register);
}

.page-news-latest-industry-updates__btn-primary:hover {
    background-color: darken(var(--button-register), 10%);
    border-color: darken(var(--button-register), 10%);
}

.page-news-latest-industry-updates__btn-secondary {
    background-color: transparent;
    color: var(--button-font-color);
    border: 2px solid var(--button-register);
}

.page-news-latest-industry-updates__btn-secondary:hover {
    background-color: var(--button-register);
    color: var(--secondary-color);
}

.page-news-latest-industry-updates__section {
    padding: 60px 0;
}

.page-news-latest-industry-updates__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-news-latest-industry-updates__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-news-latest-industry-updates__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-news-latest-industry-updates__dark-bg .page-news-latest-industry-updates__section-title {
    color: var(--secondary-color);
}

.page-news-latest-industry-updates__light-bg .page-news-latest-industry-updates__section-title {
    color: var(--primary-color);
}

.page-news-latest-industry-updates__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-news-latest-industry-updates__grid-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-news-latest-industry-updates__grid-item .page-news-latest-industry-updates__image-content {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-news-latest-industry-updates__image-full-width {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    display: block;
}

.page-news-latest-industry-updates__feature-list,
.page-news-latest-industry-updates__strategy-list,
.page-news-latest-industry-updates__promo-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-news-latest-industry-updates__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1.05em;
}

.page-news-latest-industry-updates__light-bg .page-news-latest-industry-updates__list-item {
    background-color: #f9f9f9;
    border-left-color: var(--primary-color);
}

.page-news-latest-industry-updates__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-news-latest-industry-updates__dark-bg .page-news-latest-industry-updates__sub-title {
    color: var(--secondary-color);
}

.page-news-latest-industry-updates__light-bg .page-news-latest-industry-updates__sub-title {
    color: var(--primary-color);
}

.page-news-latest-industry-updates__video-section {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-news-latest-industry-updates__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.page-news-latest-industry-updates__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.page-news-latest-industry-updates__video-caption {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    color: var(--secondary-color);
}

.page-news-latest-industry-updates__faq-section {
    padding: 60px 0;
}

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

.page-news-latest-industry-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-news-latest-industry-updates__faq-question:hover {
    background-color: darken(var(--primary-color), 10%);
}

.page-news-latest-industry-updates__faq-title {
    margin: 0;
    color: var(--secondary-color);
}

.page-news-latest-industry-updates__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-news-latest-industry-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

.page-news-latest-industry-updates__cta-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-news-latest-industry-updates__cta-section .page-news-latest-industry-updates__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

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

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

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

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

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

    .page-news-latest-industry-updates__hero-section {
        padding: 60px 0;
        min-height: 450px;
    }

    .page-news-latest-industry-updates__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-news-latest-industry-updates__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-news-latest-industry-updates__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }

    .page-news-latest-industry-updates__btn-primary,
    .page-news-latest-industry-updates__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news-latest-industry-updates__section {
        padding: 40px 0;
    }

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

    .page-news-latest-industry-updates__text-block {
        font-size: 1em;
    }

    .page-news-latest-industry-updates__grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-news-latest-industry-updates__grid-item .page-news-latest-industry-updates__image-content {
        height: 200px;
    }

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

    .page-news-latest-industry-updates__image-full-width {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-news-latest-industry-updates__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-news-latest-industry-updates__list-item {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .page-news-latest-industry-updates__video-wrapper {
        padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
    }

    .page-news-latest-industry-updates__video,
    .page-news-latest-industry-updates__image-content,
    .page-news-latest-industry-updates__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-news-latest-industry-updates__container,
    .page-news-latest-industry-updates__video-section,
    .page-news-latest-industry-updates__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-news-latest-industry-updates__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }

    .page-news-latest-industry-updates__faq-answer {
        padding: 0 15px;
    }

    .page-news-latest-industry-updates__faq-item.active .page-news-latest-industry-updates__faq-answer {
        padding: 15px;
    }

    .page-news-latest-industry-updates__cta-section {
        padding: 60px 0;
    }
    
    /* Ensure content area images are at least 200px where applicable, but also responsive */
    .page-news-latest-industry-updates__content-area img {
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-news-latest-industry-updates__main-title {
        font-size: 1.8em;
    }

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

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

/* Color Contrast Fixes (if needed, but already designed for contrast) */
.page-news-latest-industry-updates__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-news-latest-industry-updates__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}