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

/* General page styles */
.page-news-industry-updates {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-news-industry-updates__hero-section {
  position: relative;
  padding: 80px 20px 60px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-image: url('[GALLERY:hero_main:1920x1080:mv66,online_betting,industry_news,updates,vietnam_market,professional,dynamic]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-news-industry-updates__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.7); /* Dark overlay with primary color */
  z-index: 1;
}

.page-news-industry-updates__hero-section .page-news-industry-updates__container {
  position: relative;
  z-index: 2;
}

.page-news-industry-updates__main-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-news-industry-updates__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button - Primary */
.page-news-industry-updates__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700; /* Gold secondary color */
  color: #003366; /* Dark blue text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-news-industry-updates__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Section Titles */
.page-news-industry-updates__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 50px;
  padding-top: 60px;
}

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

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

.page-news-industry-updates__news-item {
  background-color: #003366; /* Primary color for card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news-industry-updates__news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-news-industry-updates__news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: #ffffff; /* Light text for dark background */
}

.page-news-industry-updates__news-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news-industry-updates__news-title a {
  color: #FFD700; /* Gold for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-news-industry-updates__news-excerpt {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news-industry-updates__news-date {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.page-news-industry-updates__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

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

/* Industry Trends Section */
.page-news-industry-updates__industry-trends {
  padding: 60px 0;
  background-color: #2a2a2a;
}

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

.page-news-industry-updates__trend-content p {
  margin-bottom: 20px;
}

.page-news-industry-updates__trend-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
}

.page-news-industry-updates__trend-list li {
  margin-bottom: 10px;
}

.page-news-industry-updates__trend-list strong {
  color: #FFD700;
}

/* CTA Button - Secondary */
.page-news-industry-updates__cta-button--secondary {
  background-color: #003366; /* Dark blue primary color */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #FFD700;
}

.page-news-industry-updates__cta-button--secondary:hover {
  background-color: #002244; /* Darker blue on hover */
  border-color: #e6c200;
}

/* mv66 Announcements Section */
.page-news-industry-updates__mv66-announcements {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-news-industry-updates__announcement-item {
  background-color: #003366;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-news-industry-updates__announcement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news-industry-updates__announcement-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-news-industry-updates__announcement-date {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.page-news-industry-updates__announcement-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-news-industry-updates__expert-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  color: #f0f0f0;
}

.page-news-industry-updates__expert-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid #FFD700; /* Gold border for emphasis */
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.page-news-industry-updates__expert-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Newsletter CTA Section */
.page-news-industry-updates__newsletter-cta {
  padding: 60px 0;
  text-align: center;
}

.page-news-industry-updates__dark-bg {
  background-color: #003366; /* Primary color as background */
  padding: 40px;
  border-radius: 10px;
  color: #ffffff;
}

.page-news-industry-updates__newsletter-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-industry-updates__newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.page-news-industry-updates__newsletter-input {
  flex-grow: 1;
  padding: 15px 20px;
  border: 2px solid #FFD700; /* Gold border */
  border-radius: 8px;
  font-size: 1em;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  outline: none;
  transition: border-color 0.3s ease;
}

.page-news-industry-updates__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-news-industry-updates__newsletter-input:focus {
  border-color: #e6c200;
}

/* 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__news-content {
    padding: 20px;
  }
  .page-news-industry-updates__news-title {
    font-size: 1.3em;
  }
  .page-news-industry-updates__announcement-title {
    font-size: 1.2em;
  }
  .page-news-industry-updates__expert-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-news-industry-updates__expert-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-news-industry-updates {
    font-size: 15px;
  }
  .page-news-industry-updates__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    min-height: 400px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news-industry-updates__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-news-industry-updates__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-news-industry-updates__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news-industry-updates__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-news-industry-updates__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news-industry-updates__news-grid,
  .page-news-industry-updates__announcements-list {
    grid-template-columns: 1fr;
  }
  .page-news-industry-updates__news-image {
    height: 180px;
  }
  .page-news-industry-updates__news-title {
    font-size: 1.2em;
  }
  .page-news-industry-updates__announcement-title {
    font-size: 1.1em;
  }
  .page-news-industry-updates__expert-content {
    gap: 20px;
  }
  .page-news-industry-updates__expert-image {
    width: 150px;
    height: 150px;
  }
  .page-news-industry-updates__newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .page-news-industry-updates__newsletter-input,
  .page-news-industry-updates__newsletter-form .page-news-industry-updates__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* All images responsive */
  .page-news-industry-updates img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* All image containers responsive */
  .page-news-industry-updates__hero-section,
  .page-news-industry-updates__latest-news,
  .page-news-industry-updates__industry-trends,
  .page-news-industry-updates__mv66-announcements,
  .page-news-industry-updates__expert-insights,
  .page-news-industry-updates__newsletter-cta,
  .page-news-industry-updates__news-item,
  .page-news-industry-updates__announcement-item,
  .page-news-industry-updates__dark-bg {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }
  /* Ensure hero section padding is correct on mobile */
  .page-news-industry-updates__hero-section {
    padding-left: 0 !important; /* Container handles padding */
    padding-right: 0 !important; /* Container handles padding */
  }
  .page-news-industry-updates__hero-section .page-news-industry-updates__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-news-industry-updates__main-title {
    font-size: 1.8em;
  }
  .page-news-industry-updates__section-title {
    font-size: 1.5em;
  }
  .page-news-industry-updates__newsletter-input {
    padding: 12px 15px;
  }
}