.page-news {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey/Black */
  --text-color-light: #F0F0F0; /* Light text for dark backgrounds */
  --text-color-dark: #333333; /* Dark text for light backgrounds */
  --accent-color: #DC143C; /* Crimson for highlights */
  --background-light: #FFFFFF;
  --background-dark: #222222;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

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

.page-news a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news a:hover {
  color: var(--accent-color);
}

.page-news h1, .page-news h2, .page-news h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news h1 {
  font-size: 3.5em;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-news h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
}

.page-news p {
  margin-bottom: 15px;
}

/* Hero Banner */
.page-news .hero-banner {
  position: relative;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 50%, var(--secondary-color) 100%);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color);
}

.page-news .hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23ffcf3d" fill-opacity="0.1" fill-rule="evenodd"%3E%3Cpath d="M0 0h30v30H0V0zm10 10h10v10H10V10zm10 10h10v10H20V20zm-10 10h10v10H10V30zm20 0h10v10H30V30zm-10 10h10v10H20V40zm10 0h10v10H30V40zm10 0h10v10H40V40z" fill="%23ffcf3d"/%3E%3C/g%3E%3C/svg%3E'); /* Subtle pattern */
  opacity: 0.1;
  z-index: 0;
}

.page-news .hero-banner .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-color-light);
}

.page-news .hero-banner h1 {
  font-size: 3.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-news .hero-banner p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

.page-news .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news .cta-button:hover {
  background: var(--accent-color);
  color: var(--text-color-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news .cta-button-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.page-news .cta-button-small:hover {
  background: var(--accent-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
}

/* Section Styling */
.page-news section {
  padding: 60px 0;
}

.page-news .section-intro {
  background: var(--background-light);
  color: var(--text-color-dark);
}

.page-news .section-intro p {
  font-size: 1.1em;
  text-align: justify;
}

.page-news .section-featured-news {
  background: var(--background-dark);
  color: var(--text-color-light);
}

.page-news .section-featured-news h2 {
  color: var(--primary-color);
}

.page-news .section-featured-news p {
  color: var(--text-color-light);
}

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

.page-news .news-card {
  background: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news .card-content h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-news .card-content h3 a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.page-news .card-content h3 a:hover {
  color: var(--accent-color);
}

.page-news .news-meta {
  font-size: 0.9em;
  color: #AAAAAA;
  margin-bottom: 15px;
}

.page-news .read-more-link {
  color: var(--primary-color);
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
  align-self: flex-start;
  display: flex;
  align-items: center;
}

.page-news .read-more-link:hover {
  color: var(--accent-color);
}

.page-news .read-more-link span {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.page-news .read-more-link:hover span {
  transform: translateX(5px);
}

.page-news .section-guides {
  background: var(--background-light);
  color: var(--text-color-dark);
}

.page-news .guides-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news .guide-item {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-news .guide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-news .guide-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-news .guide-item h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-news .guide-item h3 a {
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.page-news .guide-item h3 a:hover {
  color: var(--primary-color);
}

.page-news .guide-item p {
  font-size: 0.95em;
  color: var(--text-color-dark);
  padding: 0 20px;
  flex-grow: 1;
}

.page-news .section-analysis {
  background: var(--background-dark);
  color: var(--text-color-light);
}

.page-news .section-analysis h2 {
  color: var(--primary-color);
}

.page-news .section-analysis h3 {
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-news .section-analysis p {
  color: var(--text-color-light);
  text-align: justify;
}

.page-news .analysis-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-news .analysis-content .text-block {
  flex: 2;
}

.page-news .analysis-content .image-block {
  flex: 1;
  min-width: 300px;
}

.page-news .analysis-content .image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news .text-block.full-width {
  flex: none;
  width: 100%;
  margin-top: 40px;
}

/* FAQ Section */
.page-news .section-faq {
  background: var(--background-light);
  color: var(--text-color-dark);
  padding-bottom: 80px;
}

.page-news .section-faq h2 {
  color: var(--secondary-color);
}

.page-news .faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-news .faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-news .faq-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-news .faq-question:hover {
  background: #f5f5f5;
}

.page-news .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--secondary-color);
}

.page-news .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-news .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.page-news .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
  color: var(--text-color-dark);
}

.page-news .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.page-news .section-faq .faq-image {
  width: 100%;
  max-width: 600px;
  margin: 40px auto 0;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-news .section-cta-bottom {
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-align: center;
  padding: 80px 0;
}

.page-news .section-cta-bottom h2 {
  color: var(--primary-color);
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-news .section-cta-bottom p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-color-light);
}

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

.page-news .cta-buttons-group .cta-button.primary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-news .cta-buttons-group .cta-button.primary:hover {
  background: var(--accent-color);
  color: var(--text-color-light);
}

.page-news .cta-buttons-group .cta-button.secondary {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.page-news .cta-buttons-group .cta-button.secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-news .hero-banner h1 {
    font-size: 3em;
  }
  .page-news .hero-banner p {
    font-size: 1.1em;
  }
  .page-news h2 {
    font-size: 2em;
  }
  .page-news h3 {
    font-size: 1.6em;
  }
  .page-news .analysis-content {
    flex-direction: column;
    align-items: center;
  }
  .page-news .analysis-content .text-block, .page-news .analysis-content .image-block {
    flex: none;
    width: 100%;
  }
  .page-news .section-cta-bottom h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-news .hero-banner {
    padding: 80px 0;
  }
  .page-news .hero-banner h1 {
    font-size: 2.5em;
  }
  .page-news .hero-banner p {
    font-size: 1em;
  }
  .page-news .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-news h2 {
    font-size: 1.8em;
  }
  .page-news h3 {
    font-size: 1.4em;
  }
  .page-news .news-grid, .page-news .guides-wrapper {
    grid-template-columns: 1fr;
  }
  .page-news .card-content, .page-news .guide-item {
    padding: 15px;
  }
  .page-news .faq-question {
    padding: 15px 20px;
  }
  .page-news .faq-question h3 {
    font-size: 1em;
  }
  .page-news .faq-toggle {
    font-size: 1.5em;
  }
  .page-news .faq-answer {
    padding: 0 20px;
  }
  .page-news .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-news .section-cta-bottom h2 {
    font-size: 1.8em;
  }
  .page-news .section-cta-bottom p {
    font-size: 1em;
  }
  .page-news .cta-buttons-group {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-news .hero-banner h1 {
    font-size: 2em;
  }
  .page-news .hero-banner p {
    font-size: 0.9em;
  }
  .page-news .cta-button {
    width: 100%;
  }
  .page-news .section-cta-bottom .cta-button {
    width: auto;
  }
  .page-news .section-cta-bottom .cta-buttons-group .cta-button {
    width: 100%;
  }
}