:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-medium-light: #f9f9f9;
    --border-color: #e0e0e0;
}

.page-news-latest-industry-news {
    font-family: Arial, sans-serif;
    color: var(--text-dark); /* Default text color for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Hero Section */
.page-news-latest-industry-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Blend brand colors for hero background */
    color: var(--text-light); /* Light text on dark/brand background */
}

.page-news-latest-industry-news__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-news-latest-industry-news__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-news__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-news-latest-industry-news__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-news-latest-industry-news__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-news-latest-industry-news__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-news-latest-industry-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news-latest-industry-news__cta-button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-news-latest-industry-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-news-latest-industry-news__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

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

.page-news-latest-industry-news__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: #555555;
}

/* Overview Section */
.page-news-latest-industry-news__overview-section {
    padding: 80px 0;
    background-color: var(--bg-medium-light);
}

/* Latest Articles Section */
.page-news-latest-industry-news__latest-articles-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.page-news-latest-industry-news__article-card {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-latest-industry-news__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-news-latest-industry-news__article-image {
    width: 100%;
    height: 220px; /* Fixed height for consistent card appearance */
    overflow: hidden;
}

.page-news-latest-industry-news__article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-news-latest-industry-news__article-card:hover .page-news-latest-industry-news__article-image img {
    transform: scale(1.05);
}

.page-news-latest-industry-news__article-content {
    padding: 25px;
}

.page-news-latest-industry-news__article-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

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

.page-news-latest-industry-news__article-title a:hover {
    color: var(--primary-color);
}

.page-news-latest-industry-news__article-excerpt {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    height: 100px; /* Ensure consistent excerpt height */
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-news-latest-industry-news__read-more-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-news-latest-industry-news__view-all-button-container {
  text-align: center;
}

.page-news-latest-industry-news__view-all-button {
  padding: 15px 50px;
  font-size: 1.2em;
}

/* Call to Action Section */
.page-news-latest-industry-news__cta-section {
    padding: 80px 0;
    background: var(--secondary-color); /* Dark Red background */
    color: var(--text-light);
    text-align: center;
}

.page-news-latest-industry-news__cta-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news-latest-industry-news__cta-heading {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 700;
}

.page-news-latest-industry-news__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-news-latest-industry-news__btn-primary,
.page-news-latest-industry-news__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news-latest-industry-news__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news-latest-industry-news__btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-news__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news-latest-industry-news__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-news-latest-industry-news__faq-section {
    padding: 80px 0;
    background-color: var(--bg-medium-light);
}

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

/* FAQ容器样式 */
.page-news-latest-industry-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-news-latest-industry-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-dark);
}

/* FAQ展开状态 - 🚨 Sử dụng!important và max-height đủ lớn để đảm bảo có thể mở rộng */
.page-news-latest-industry-news__faq-item.active .page-news-latest-industry-news__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-light); /* Light background for answer */
  border-radius: 0 0 5px 5px;
}

/* Vấn đề phong cách */
.page-news-latest-industry-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-light);
  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;
}

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

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

/* Tiêu đề câu hỏi phong cách */
.page-news-latest-industry-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn thẻ h3 chặn sự kiện nhấp */
  color: var(--secondary-color); /* Brand color for question */
}

/* Biểu tượng chuyển đổi */
.page-news-latest-industry-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn biểu tượng chặn sự kiện nhấp */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-news-latest-industry-news__faq-item.active .page-news-latest-industry-news__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Plus to X for active */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-latest-industry-news__main-title {
        font-size: 2.8em;
    }
    .page-news-latest-industry-news__section-title {
        font-size: 2.2em;
    }
    .page-news-latest-industry-news__cta-heading {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-news-latest-industry-news {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-news-latest-industry-news__hero-section {
        padding: 40px 15px;
    }

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

    .page-news-latest-industry-news__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-news-latest-industry-news__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100% !important; /* Button mobile full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-news-latest-industry-news__article-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-news-latest-industry-news__article-image {
        height: 180px;
    }

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

    .page-news-latest-industry-news__article-title {
        font-size: 1.2em;
    }

    .page-news-latest-industry-news__article-excerpt {
        height: 80px; /* Adjust excerpt height for mobile */
    }

    .page-news-latest-industry-news__cta-section {
        padding: 60px 15px;
    }

    .page-news-latest-industry-news__cta-heading {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

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

    .page-news-latest-industry-news__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

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

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

    /* Image responsive enforcement */
    .page-news-latest-industry-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-news-latest-industry-news__section,
    .page-news-latest-industry-news__card,
    .page-news-latest-industry-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}