/* style/news.css */

:root {
  --primary-color: #1A237E; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --accent-color: #E53935; /* Red for CTA */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0d0d0d;
  --background-light: #f8f9fa;
  --card-background-dark: rgba(255, 255, 255, 0.08);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-news {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Inherited from shared.css body */
  line-height: 1.6;
}

/* Ensure content is not hidden by fixed header */
.page-news__video-section,
.page-news__title-section {
  padding-top: 10px; /* Adjusted for fixed header on desktop */
}

.page-news__main-content-section,
.page-news__faq-section,
.page-news__brand-section,
.page-news__blog-section {
  padding: 60px 20px;
}

.page-news__content-container,
.page-news__title-container,
.page-news__video-container,
.page-news__faq-container,
.page-news__brand-container,
.page-news__blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for responsiveness */
  box-sizing: border-box;
}

/* --- Video Section --- */
.page-news__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px; /* Ensure space below video */
  padding-left: 0;
  padding-right: 0;
}

.page-news__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-news__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevents video controls from blocking click event on parent <a> */
}

.page-news__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-news__video-link:hover .page-news__video-overlay {
  opacity: 1;
}

.page-news__video-click-hint {
  color: var(--text-light);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8); /* A clear blue for visibility */
  border-radius: 5px;
  white-space: nowrap;
}

.page-news__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-news__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color); /* Red for CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-news__play-now-button:hover {
  background: #c72c2c; /* Darken on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-news__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* --- Title Section (H1 + CTA) --- */
.page-news__title-section {
  text-align: center;
  padding-bottom: 60px;
}

.page-news__dark-section {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-news__light-bg {
  background: var(--background-light);
  color: var(--text-dark);
}

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

.page-news__title-description {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news__cta-button {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  min-width: 180px;
}

.page-news__btn-primary {
  background: var(--accent-color);
  color: var(--text-light);
}

.page-news__btn-primary:hover {
  background: #c72c2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-news__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-news__btn-secondary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* --- Main News Content Section --- */
.page-news__main-content-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-news__content-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-news__main-content-section p {
  color: var(--text-dark);
  margin-bottom: 1em;
}

.page-news__article-block {
  background: var(--card-background-light);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.page-news__article-subtitle {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-news__article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-news__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__call-to-action p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* --- FAQ Section --- */
.page-news__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-news__faq-main-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-background-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news__faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none; /* Prevents h3 from blocking click event */
}
}