.page-resources-kubet-latest-news-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

.page-resources-kubet-latest-news-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-resources-kubet-latest-news-analysis__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-resources-kubet-latest-news-analysis__section-description {
  font-size: 18px;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources-kubet-latest-news-analysis__hero-section {
  position: relative;
  padding: 100px 20px 60px; /* Adjusted padding-top to accommodate header-offset */
  padding-top: calc(var(--header-offset, 120px) + 60px);
  text-align: center;
  background: linear-gradient(135deg, #0A2A5B, #000000);
  overflow: hidden;
}

.page-resources-kubet-latest-news-analysis__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-resources-kubet-latest-news-analysis__main-title {
  font-size: 48px;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-kubet-latest-news-analysis__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-resources-kubet-latest-news-analysis__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-kubet-latest-news-analysis__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-resources-kubet-latest-news-analysis__btn-primary {
  background-color: #FFD700;
  color: #0A2A5B; /* Dark blue text on gold button */
  border: 2px solid #FFD700;
}

.page-resources-kubet-latest-news-analysis__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-kubet-latest-news-analysis__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-kubet-latest-news-analysis__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2A5B;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Overview Section */
.page-resources-kubet-latest-news-analysis__overview-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  color: #f0f0f0;
  padding: 60px 0;
}

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

.page-resources-kubet-latest-news-analysis__news-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-kubet-latest-news-analysis__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-kubet-latest-news-analysis__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources-kubet-latest-news-analysis__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources-kubet-latest-news-analysis__news-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-resources-kubet-latest-news-analysis__news-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-kubet-latest-news-analysis__news-title a:hover {
  color: #e6c200;
}

.page-resources-kubet-latest-news-analysis__news-excerpt {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources-kubet-latest-news-analysis__news-date {
  font-size: 14px;
  color: #888888;
  margin-top: auto;
}

.page-resources-kubet-latest-news-analysis__more-news-cta {
  text-align: center;
  margin-top: 50px;
}

/* Analysis Section */
.page-resources-kubet-latest-news-analysis__analysis-section {
  background-color: #0A2A5B;
  color: #ffffff;
  padding: 60px 0;
}

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

.page-resources-kubet-latest-news-analysis__analysis-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-kubet-latest-news-analysis__analysis-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-kubet-latest-news-analysis__analysis-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-kubet-latest-news-analysis__analysis-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-kubet-latest-news-analysis__analysis-item p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-kubet-latest-news-analysis__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  transition: color 0.3s ease;
}

.page-resources-kubet-latest-news-analysis__read-more:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Expert Insights Section */
.page-resources-kubet-latest-news-analysis__expert-insights {
  background-color: #0d0d0d;
  color: #f0f0f0;
  padding: 60px 0;
}

.page-resources-kubet-latest-news-analysis__insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-resources-kubet-latest-news-analysis__insight-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-resources-kubet-latest-news-analysis__insight-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #FFD700;
}

.page-resources-kubet-latest-news-analysis__insight-name {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-kubet-latest-news-analysis__insight-quote {
  font-style: italic;
  color: #cccccc;
  font-size: 16px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources-kubet-latest-news-analysis__insight-quote a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-kubet-latest-news-analysis__insight-quote a:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* FAQ Section */
.page-resources-kubet-latest-news-analysis__faq-section {
  background-color: #0A2A5B;
  color: #ffffff;
  padding: 60px 0;
}

.page-resources-kubet-latest-news-analysis__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-kubet-latest-news-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #1a3a6a; /* Darker blue for FAQ item background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-kubet-latest-news-analysis__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 20px;
  opacity: 0;
  color: #e0e0e0;
}

.page-resources-kubet-latest-news-analysis__faq-item.active .page-resources-kubet-latest-news-analysis__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #0d2d5d;
  border-radius: 0 0 5px 5px;
}

.page-resources-kubet-latest-news-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A2A5B;
  border: 1px solid #1a3a6a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-kubet-latest-news-analysis__faq-question:hover {
  background: #1a3a6a;
  border-color: #2a4a7a;
}

.page-resources-kubet-latest-news-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-resources-kubet-latest-news-analysis__faq-question a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-kubet-latest-news-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 28px;
  height: 28px;
}

.page-resources-kubet-latest-news-analysis__faq-item.active .page-resources-kubet-latest-news-analysis__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg);
}

.page-resources-kubet-latest-news-analysis__more-faq-cta {
  text-align: center;
  margin-top: 50px;
}

/* Bottom CTA Section */
.page-resources-kubet-latest-news-analysis__cta-bottom-section {
  background-color: #000000;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

/* Global image styles */
.page-resources-kubet-latest-news-analysis img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Consistent border-radius for images */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-resources-kubet-latest-news-analysis {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-resources-kubet-latest-news-analysis__container {
    padding: 30px 15px;
  }

  .page-resources-kubet-latest-news-analysis__hero-section {
    padding: 80px 15px 40px;
    padding-top: calc(var(--header-offset, 120px) + 40px);
  }

  .page-resources-kubet-latest-news-analysis__main-title {
    font-size: 32px;
  }

  .page-resources-kubet-latest-news-analysis__hero-description {
    font-size: 16px;
  }

  .page-resources-kubet-latest-news-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-kubet-latest-news-analysis__cta-button {
    width: 100% !important; /* Ensure buttons take full width */
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-kubet-latest-news-analysis__section-title {
    font-size: 28px;
  }

  .page-resources-kubet-latest-news-analysis__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources-kubet-latest-news-analysis__news-card, 
  .page-resources-kubet-latest-news-analysis__analysis-item, 
  .page-resources-kubet-latest-news-analysis__insight-card {
    margin-bottom: 20px;
  }

  .page-resources-kubet-latest-news-analysis__news-image, 
  .page-resources-kubet-latest-news-analysis__analysis-image {
    height: 180px;
  }
  
  .page-resources-kubet-latest-news-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-resources-kubet-latest-news-analysis__news-title {
    font-size: 18px;
  }

  .page-resources-kubet-latest-news-analysis__news-excerpt {
    font-size: 14px;
  }

  .page-resources-kubet-latest-news-analysis__analysis-subtitle {
    font-size: 20px;
  }

  .page-resources-kubet-latest-news-analysis__analysis-item p {
    font-size: 14px;
  }

  .page-resources-kubet-latest-news-analysis__insight-avatar {
    width: 80px;
    height: 80px;
  }

  .page-resources-kubet-latest-news-analysis__insight-name {
    font-size: 18px;
  }

  .page-resources-kubet-latest-news-analysis__insight-quote {
    font-size: 14px;
  }

  .page-resources-kubet-latest-news-analysis__faq-question {
    padding: 15px;
  }

  .page-resources-kubet-latest-news-analysis__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-kubet-latest-news-analysis__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-resources-kubet-latest-news-analysis__faq-answer {
    padding: 0 15px;
  }

  .page-resources-kubet-latest-news-analysis__faq-item.active .page-resources-kubet-latest-news-analysis__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all containers and elements prevent horizontal overflow */
  .page-resources-kubet-latest-news-analysis__overview-section,
  .page-resources-kubet-latest-news-analysis__analysis-section,
  .page-resources-kubet-latest-news-analysis__expert-insights,
  .page-resources-kubet-latest-news-analysis__faq-section,
  .page-resources-kubet-latest-news-analysis__cta-bottom-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-kubet-latest-news-analysis__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-kubet-latest-news-analysis__news-grid,
  .page-resources-kubet-latest-news-analysis__analysis-grid,
  .page-resources-kubet-latest-news-analysis__insights-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-kubet-latest-news-analysis__faq-list {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}