/* style/news-company-updates.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --card-bg-dark-transparent: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

/* Ensure content is not hidden by fixed header */
.page-news-company-updates {
  color: var(--text-light); /* Body background is dark, so text should be light */
}

.page-news-company-updates__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  background-color: var(--bg-dark);
  overflow: hidden;
}

.page-news-company-updates__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news-company-updates__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-news-company-updates__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
}

.page-news-company-updates__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-company-updates__main-title .highlight {
  color: var(--secondary-color);
}

.page-news-company-updates__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

.page-news-company-updates__hero-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-company-updates__hero-description a:hover {
  text-decoration: underline;
}

.page-news-company-updates__cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: linear-gradient(135deg, var(--secondary-color), #FFC107);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
  border: none;
}

.page-news-company-updates__cta-button:hover {
  background: linear-gradient(135deg, #FFC107, var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-news-company-updates__content-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-news-company-updates__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-news-company-updates__section-title .highlight {
  color: var(--secondary-color);
}

.page-news-company-updates__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
  color: var(--text-light);
  opacity: 0.9;
}

.page-news-company-updates__text-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-company-updates__text-block a:hover {
  text-decoration: underline;
}

.page-news-company-updates__text-block .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-news-company-updates__news-card {
  background-color: var(--card-bg-dark-transparent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-company-updates__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

.page-news-company-updates__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news-company-updates__card-title a.page-news-company-updates__card-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-news-company-updates__card-title a.page-news-company-updates__card-link:hover {
  text-decoration: underline;
}

.page-news-company-updates__card-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.page-news-company-updates__card-description {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.8;
  flex-grow: 1;
}

.page-news-company-updates__card-description .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-news-company-updates__card-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-company-updates__card-description a:hover {
  text-decoration: underline;
}

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

.page-news-company-updates__read-more:hover {
  background-color: #071a47;
  transform: translateY(-2px);
}

.page-news-company-updates__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-news-company-updates__feature-item {
  background-color: var(--card-bg-dark-transparent);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-company-updates__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-news-company-updates__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-news-company-updates__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-news-company-updates__feature-description {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  opacity: 0.8;
}

.page-news-company-updates__feature-description .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-news-company-updates__feature-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-company-updates__feature-description a:hover {
  text-decoration: underline;
}

/* FAQ Styles */
.page-news-company-updates__faq-list {
  margin-top: 40px;
}

.page-news-company-updates__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-company-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news-company-updates__faq-question:hover {
  background: #071a47;
}

.page-news-company-updates__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-news-company-updates__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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: 32px;
  height: 32px;
}

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

.page-news-company-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, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
}

.page-news-company-updates__faq-item.active .page-news-company-updates__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-news-company-updates__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.8;
}

.page-news-company-updates__faq-answer p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-company-updates__faq-answer p a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-company-updates__main-title {
    font-size: 40px;
  }
  .page-news-company-updates__hero-description {
    font-size: 18px;
  }
  .page-news-company-updates__section-title {
    font-size: 30px;
  }
  .page-news-company-updates__text-block {
    font-size: 17px;
  }
  .page-news-company-updates__card-title {
    font-size: 20px;
  }
  .page-news-company-updates__card-image {
    height: 180px;
  }
  .page-news-company-updates__feature-title {
    font-size: 22px;
  }
  .page-news-company-updates__feature-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .page-news-company-updates__hero-banner {
    padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news-company-updates__hero-image {
    margin-bottom: 30px;
    border-radius: 8px;
  }
  .page-news-company-updates__hero-content {
    padding: 0 15px;
  }
  .page-news-company-updates__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-news-company-updates__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-news-company-updates__cta-button {
    padding: 14px 35px;
    font-size: 18px;
    margin-top: 15px;
  }
  .page-news-company-updates__content-section {
    padding: 30px 15px;
  }
  .page-news-company-updates__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-news-company-updates__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-news-company-updates__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .page-news-company-updates__card-image {
    height: 160px;
  }
  .page-news-company-updates__card-content {
    padding: 20px;
  }
  .page-news-company-updates__card-title {
    font-size: 18px;
  }
  .page-news-company-updates__card-description {
    font-size: 14px;
  }
  .page-news-company-updates__read-more {
    padding: 8px 15px;
    font-size: 14px;
  }
  .page-news-company-updates__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .page-news-company-updates__feature-item {
    padding: 25px;
  }
  .page-news-company-updates__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-news-company-updates__feature-title {
    font-size: 20px;
  }
  .page-news-company-updates__feature-description {
    font-size: 14px;
  }
  .page-news-company-updates__faq-question {
    padding: 15px 20px;
  }
  .page-news-company-updates__faq-question h3 {
    font-size: 16px;
  }
  .page-news-company-updates__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-news-company-updates__faq-answer {
    padding: 0 20px;
  }
  .page-news-company-updates__faq-item.active .page-news-company-updates__faq-answer {
    padding: 15px 20px !important;
  }
  .page-news-company-updates__faq-answer p {
    font-size: 14px;
  }
  /* Mobile image adaptation */
  .page-news-company-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news-company-updates__section,
  .page-news-company-updates__card,
  .page-news-company-updates__container,
  .page-news-company-updates__hero-banner,
  .page-news-company-updates__content-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-news-company-updates__main-title {
    font-size: 28px;
  }
  .page-news-company-updates__section-title {
    font-size: 22px;
  }
  .page-news-company-updates__cta-button {
    font-size: 16px;
    padding: 12px 30px;
  }
  .page-news-company-updates__card-title {
    font-size: 16px;
  }
  .page-news-company-updates__feature-title {
    font-size: 18px;
  }
  .page-news-company-updates__faq-question h3 {
    font-size: 15px;
  }
}