/* style/news-company-announcements.css */
.page-news-company-announcements {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A252F; /* Slightly lighter than main dark for content */
}

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

.page-news-company-announcements__hero {
  background: linear-gradient(135deg, #2C3E50 0%, #1A252F 100%); /* Dark gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF; /* White for hero text */
  position: relative;
  overflow: hidden;
}

.page-news-company-announcements__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #F39C12; /* Accent color for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-news-company-announcements__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #B0B0B0;
}

.page-news-company-announcements__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-news-company-announcements__btn--primary {
  background-color: #F39C12; /* Vibrant gold */
  color: #2C3E50; /* Dark blue for contrast */
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.page-news-company-announcements__btn--primary:hover {
  background-color: #E08F0F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

.page-news-company-announcements__btn--secondary {
  background-color: #2C3E50; /* Dark blue */
  color: #F39C12; /* Vibrant gold for contrast */
  border: 2px solid #F39C12;
  margin-left: 15px;
}

.page-news-company-announcements__btn--secondary:hover {
  background-color: #F39C12;
  color: #2C3E50;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.page-news-company-announcements__section-title {
  font-size: 2.5em;
  color: #F39C12; /* Accent color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 60px;
}

.page-news-company-announcements__section-description {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-news-company-announcements__announcements-list {
  padding: 60px 0;
  background-color: #1A252F;
}

.page-news-company-announcements__announcement-item {
  background-color: #2C3E50; /* Dark blue background for items */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-news-company-announcements__announcement-item:hover {
  transform: translateY(-5px);
}

.page-news-company-announcements__announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.page-news-company-announcements__announcement-title {
  font-size: 1.8em;
  color: #FFFFFF; /* White for announcement titles */
  margin: 0;
  flex-grow: 1;
  line-height: 1.3;
}

.page-news-company-announcements__announcement-date {
  font-size: 0.9em;
  color: #B0B0B0;
  white-space: nowrap;
}

.page-news-company-announcements__announcement-content p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-news-company-announcements__announcement-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-news-company-announcements__cta-section {
  background-color: #253341; /* Slightly lighter dark blue */
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-news-company-announcements__cta-title {
  font-size: 2.8em;
  color: #F39C12; /* Accent color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-news-company-announcements__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #B0B0B0;
}

.page-news-company-announcements__cta-buttons .page-news-company-announcements__btn {
  margin: 0 10px;
}

.page-news-company-announcements__faq-section {
  padding: 80px 0;
  background-color: #1A252F;
}

.page-news-company-announcements__faq-item {
  background-color: #2C3E50;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-news-company-announcements__faq-question {
  font-size: 1.4em;
  color: #F39C12; /* Accent color for questions */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-news-company-announcements__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-news-company-announcements__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-news-company-announcements__faq-answer {
  font-size: 1.1em;
  color: #E0E0E0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
}

.page-news-company-announcements__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content length */
  opacity: 1;
  margin-top: 15px;
}

.page-news-company-announcements__pagination {
  text-align: center;
  margin-top: 50px;
}

.page-news-company-announcements__pagination-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  margin: 0 8px;
  text-decoration: none;
  color: #F39C12;
  background-color: #2C3E50;
  border: 1px solid #F39C12;
  transition: all 0.3s ease;
  font-weight: bold;
}

.page-news-company-announcements__pagination-link:hover,
.page-news-company-announcements__pagination-link--active {
  background-color: #F39C12;
  color: #2C3E50;
  border-color: #F39C12;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-news-company-announcements__hero-title {
    font-size: 2.8em;
  }
  .page-news-company-announcements__hero-subtitle,
  .page-news-company-announcements__cta-description {
    font-size: 1.1em;
  }
  .page-news-company-announcements__section-title,
  .page-news-company-announcements__cta-title {
    font-size: 2em;
  }
  .page-news-company-announcements__announcement-title {
    font-size: 1.5em;
  }
  .page-news-company-announcements__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-news-company-announcements__hero {
    padding: 80px 0;
  }
  .page-news-company-announcements__hero-title {
    font-size: 2.2em;
  }
  .page-news-company-announcements__hero-subtitle {
    font-size: 1em;
  }
  .page-news-company-announcements__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news-company-announcements__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-news-company-announcements__cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-news-company-announcements__cta-buttons .page-news-company-announcements__btn {
    margin: 10px 0;
    width: 80%;
  }
  .page-news-company-announcements__announcement-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-news-company-announcements__announcement-date {
    margin-top: 10px;
  }
  .page-news-company-announcements__section-title,
  .page-news-company-announcements__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-news-company-announcements__hero-title {
    font-size: 1.8em;
  }
  .page-news-company-announcements__section-title,
  .page-news-company-announcements__cta-title {
    font-size: 1.5em;
  }
  .page-news-company-announcements__announcement-title {
    font-size: 1.3em;
  }
  .page-news-company-announcements__announcement-content p,
  .page-news-company-announcements__faq-answer {
    font-size: 0.95em;
  }
  .page-news-company-announcements__faq-question {
    font-size: 1.1em;
  }
}