/* style/expert-predictions.css */
.page-expert-predictions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: transparent; /* Rely on body background from shared.css */
}

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

/* Hero Section */
.page-expert-predictions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
}

.page-expert-predictions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

.page-expert-predictions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-expert-predictions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-expert-predictions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-expert-predictions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Buttons */
.page-expert-predictions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-expert-predictions__btn-primary,
.page-expert-predictions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-expert-predictions__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-expert-predictions__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-expert-predictions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-expert-predictions__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-expert-predictions__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.page-expert-predictions__btn-text:hover {
  color: #1a7bbd;
}

.page-expert-predictions__arrow {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.page-expert-predictions__btn-text:hover .page-expert-predictions__arrow {
  transform: translateX(5px);
}

.page-expert-predictions__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 0.9em;
  margin-top: 15px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-expert-predictions__btn-small:hover {
  background-color: #1a7bbd;
}

/* Section Styling */
.page-expert-predictions__intro-section,
.page-expert-predictions__featured-predictions,
.page-expert-predictions__tips-section,
.page-expert-predictions__faq-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for content */
  color: #ffffff;
}

.page-expert-predictions__methodology-section,
.page-expert-predictions__access-guide,
.page-expert-predictions__conclusion-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

.page-expert-predictions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-expert-predictions__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Grid */
.page-expert-predictions__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-expert-predictions__text-block h3 {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-expert-predictions__text-block p {
  margin-bottom: 15px;
}

.page-expert-predictions__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-expert-predictions__list li {
  margin-bottom: 10px;
}

.page-expert-predictions__image-block {
  text-align: center;
}

.page-expert-predictions__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Methodology Grid */
.page-expert-predictions__methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-expert-predictions__methodology-card {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-expert-predictions__card-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-expert-predictions__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* Predictions Grid */
.page-expert-predictions__predictions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-expert-predictions__prediction-card {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.page-expert-predictions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-expert-predictions__prediction-card .page-expert-predictions__card-title {
  font-size: 1.4em;
  text-align: left;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-expert-predictions__prediction-card .page-expert-predictions__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-expert-predictions__prediction-card .page-expert-predictions__card-title a:hover {
  text-decoration: underline;
}

.page-expert-predictions__prediction-card p {
  margin-bottom: 10px;
  flex-grow: 1;
}

/* Tips Section */
.page-expert-predictions__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-expert-predictions__tip-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-expert-predictions__tip-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-expert-predictions__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* Access Guide */
.page-expert-predictions__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-expert-predictions__step-card {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-expert-predictions__step-icon {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-expert-predictions__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-expert-predictions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-expert-predictions__faq-item {
  background-color: #1a1a1a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-expert-predictions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-expert-predictions__faq-question:hover {
  background-color: #1a7bbd;
}

.page-expert-predictions__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-expert-predictions__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-expert-predictions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-expert-predictions__faq-answer {
  padding: 20px;
  background-color: #0d0d0d;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-expert-predictions__faq-answer p {
  margin-bottom: 10px;
}

/* Conclusion Section */
.page-expert-predictions__conclusion-section .page-expert-predictions__content-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-expert-predictions__conclusion-section .page-expert-predictions__content-block p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-expert-predictions__hero-title {
    font-size: 3em;
  }
  .page-expert-predictions__hero-description {
    font-size: 1.1em;
  }
  .page-expert-predictions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-expert-predictions__hero-section {
    min-height: 400px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

  .page-expert-predictions__hero-title {
    font-size: 2.5em;
  }

  .page-expert-predictions__hero-description {
    font-size: 1em;
  }

  .page-expert-predictions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-expert-predictions__btn-primary,
  .page-expert-predictions__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-expert-predictions__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-expert-predictions__section-title {
    font-size: 1.8em;
  }

  .page-expert-predictions__section-subtitle {
    font-size: 1em;
  }

  .page-expert-predictions__methodology-grid,
  .page-expert-predictions__predictions-grid,
  .page-expert-predictions__tips-grid,
  .page-expert-predictions__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-expert-predictions__card-icon,
  .page-expert-predictions__card-image,
  .page-expert-predictions__step-icon,
  .page-expert-predictions__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-expert-predictions__section,
  .page-expert-predictions__card,
  .page-expert-predictions__container,
  .page-expert-predictions__hero-section,
  .page-expert-predictions__intro-section,
  .page-expert-predictions__methodology-section,
  .page-expert-predictions__featured-predictions,
  .page-expert-predictions__tips-section,
  .page-expert-predictions__access-guide,
  .page-expert-predictions__faq-section,
  .page-expert-predictions__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-expert-predictions__hero-content {
    padding: 0 15px;
  }

  .page-expert-predictions__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-expert-predictions__faq-answer {
    padding: 15px;
  }

  .page-expert-predictions__faq-toggle {
    font-size: 1.2em;
  }
}