/* style/expert-predictions.css */

:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f0f2f5;
  --bg-white: #ffffff;
}

.page-expert-predictions {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default text color for light body background */
  line-height: 1.6;
  background-color: var(--bg-light);
}

.page-expert-predictions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-expert-predictions__section {
  padding: 60px 0;
}

.page-expert-predictions__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-expert-predictions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-expert-predictions__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-expert-predictions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a304e 100%); /* Adjusted gradient */
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-expert-predictions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.page-expert-predictions__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-expert-predictions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-expert-predictions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  background: rgba(10, 25, 47, 0.85); /* Semi-transparent dark background */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  margin-top: -80px; /* Overlap with image slightly */
}

.page-expert-predictions__hero-content h1 {
  font-size: 48px;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-expert-predictions__hero-content p {
  font-size: 19px;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-expert-predictions__cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-expert-predictions__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-expert-predictions__intro-section {
  background-color: var(--bg-white);
}

.page-expert-predictions__image-wrapper {
    margin: 30px auto;
    text-align: center;
}

.page-expert-predictions__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
}

/* Why Choose Section */
.page-expert-predictions__why-choose-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-expert-predictions__why-choose-section .page-expert-predictions__section-title {
  color: var(--secondary-color);
}

.page-expert-predictions__why-choose-section .page-expert-predictions__text-block {
  color: #e0e0e0;
}

.page-expert-predictions__feature-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-expert-predictions__feature-list .page-expert-predictions__list-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-expert-predictions__feature-list .page-expert-predictions__list-item:hover {
  transform: translateY(-5px);
}

.page-expert-predictions__feature-list .page-expert-predictions__list-item h3 {
  color: var(--secondary-color);
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-expert-predictions__feature-list .page-expert-predictions__list-item p {
  color: #e0e0e0;
  font-size: 16px;
}

/* Prediction Types Section */
.page-expert-predictions__prediction-types-section {
  background-color: var(--bg-white);
}

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

.page-expert-predictions__card {
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

.page-expert-predictions__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-expert-predictions__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-expert-predictions__card h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin: 20px 20px 10px 20px;
}

.page-expert-predictions__card p {
  font-size: 16px;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

/* How to Use Section */
.page-expert-predictions__how-to-use-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-expert-predictions__how-to-use-section .page-expert-predictions__section-title {
  color: var(--secondary-color);
}

.page-expert-predictions__how-to-use-section .page-expert-predictions__text-block {
  color: #e0e0e0;
}

.page-expert-predictions__step-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-expert-predictions__step-list .page-expert-predictions__list-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-expert-predictions__step-list .page-expert-predictions__list-item h3 {
  color: var(--secondary-color);
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-expert-predictions__step-list .page-expert-predictions__list-item p {
  color: #e0e0e0;
  font-size: 17px;
}

.page-expert-predictions__btn-primary {
  display: inline-block;
  padding: 16px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  margin-top: 20px;
}

.page-expert-predictions__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-expert-predictions__faq-section {
  background-color: var(--bg-light);
}

.page-expert-predictions__faq-list {
  margin-top: 40px;
}

.page-expert-predictions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-expert-predictions__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 15px;
  opacity: 0;
}

.page-expert-predictions__faq-item.active .page-expert-predictions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-white);
  border-radius: 0 0 5px 5px;
  border-top: 1px solid #e0e0e0;
}

.page-expert-predictions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-expert-predictions__faq-item.active .page-expert-predictions__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-expert-predictions__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-expert-predictions__faq-question:active {
  background: #eeeeee;
}

.page-expert-predictions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-expert-predictions__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: 30px;
  height: 30px;
}

.page-expert-predictions__faq-item.active .page-expert-predictions__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X or similar visually */
}

/* Latest News Section */
.page-expert-predictions__latest-news-section {
  background-color: var(--bg-white);
}

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

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

.page-expert-predictions__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-expert-predictions__news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-expert-predictions__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-expert-predictions__news-content h3 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-expert-predictions__news-content h3 a:hover {
  color: var(--secondary-color);
}

.page-expert-predictions__news-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-expert-predictions__news-date {
  font-size: 14px;
  color: #999;
  display: block;
  text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-expert-predictions__hero-content h1 {
    font-size: 40px;
  }
  .page-expert-predictions__hero-content p {
    font-size: 17px;
  }
  .page-expert-predictions__section-title {
    font-size: 32px;
  }
  .page-expert-predictions__feature-list, .page-expert-predictions__grid, .page-expert-predictions__news-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-expert-predictions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-expert-predictions__hero-image img {
    border-radius: 8px;
  }
  .page-expert-predictions__hero-content {
    padding: 20px;
    margin-top: -60px;
    border-radius: 8px;
  }
  .page-expert-predictions__hero-content h1 {
    font-size: 32px;
  }
  .page-expert-predictions__hero-content p {
    font-size: 16px;
  }
  .page-expert-predictions__cta-button {
    padding: 14px 35px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-expert-predictions__section {
    padding: 40px 0;
  }
  .page-expert-predictions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-expert-predictions__text-block {
    font-size: 16px;
  }

  .page-expert-predictions__feature-list .page-expert-predictions__list-item h3,
  .page-expert-predictions__card h3 {
    font-size: 20px;
  }
  .page-expert-predictions__feature-list .page-expert-predictions__list-item p,
  .page-expert-predictions__card p {
    font-size: 15px;
  }

  /* FAQ Mobile */
  .page-expert-predictions__faq-question {
    padding: 15px;
  }
  .page-expert-predictions__faq-question h3 {
    font-size: 16px;
  }
  .page-expert-predictions__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-expert-predictions__faq-item.active .page-expert-predictions__faq-answer {
    padding: 15px !important;
  }

  .page-expert-predictions__news-content h3 {
    font-size: 18px;
  }
  .page-expert-predictions__news-content p {
    font-size: 14px;
  }

  /* Image responsive */
  .page-expert-predictions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-expert-predictions__container,
  .page-expert-predictions__hero-container,
  .page-expert-predictions__feature-list,
  .page-expert-predictions__grid,
  .page-expert-predictions__news-grid,
  .page-expert-predictions__step-list,
  .page-expert-predictions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive */
  .page-expert-predictions__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-expert-predictions__hero-content h1 {
    font-size: 28px;
  }
  .page-expert-predictions__hero-content p {
    font-size: 15px;
  }
  .page-expert-predictions__section-title {
    font-size: 24px;
  }
  .page-expert-predictions__text-block {
    font-size: 15px;
  }
  .page-expert-predictions__feature-list .page-expert-predictions__list-item h3,
  .page-expert-predictions__card h3 {
    font-size: 18px;
  }
  .page-expert-predictions__faq-question h3 {
    font-size: 15px;
  }
}