/* style/expert-predictions.css */

:root {
  --page-expert-predictions-bg: #08160F;
  --page-expert-predictions-card-bg: #11271B;
  --page-expert-predictions-text-main: #F2FFF6;
  --page-expert-predictions-text-secondary: #A7D9B8;
  --page-expert-predictions-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-expert-predictions-border: #2E7A4E;
  --page-expert-predictions-glow: #57E38D;
  --page-expert-predictions-gold: #F2C14E;
  --page-expert-predictions-divider: #1E3A2A;
  --page-expert-predictions-deep-green: #0A4B2C;
}

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

.page-expert-predictions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-expert-predictions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly dim the background image for text readability */
}

.page-expert-predictions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency for contrast */
  border-radius: 10px;
}

.page-expert-predictions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--page-expert-predictions-gold);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-expert-predictions__hero-description {
  font-size: 1.1em;
  color: var(--page-expert-predictions-text-main);
  margin-bottom: 30px;
}

.page-expert-predictions__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-expert-predictions__btn-primary {
  background: var(--page-expert-predictions-btn-gradient);
  color: #ffffff; /* Explicitly white for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-expert-predictions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-expert-predictions__btn-secondary {
  background: none;
  color: var(--page-expert-predictions-text-main);
  border: 2px solid var(--page-expert-predictions-glow);
}

.page-expert-predictions__btn-secondary:hover {
  background-color: var(--page-expert-predictions-glow);
  color: var(--page-expert-predictions-bg); /* Dark text on light hover */
  transform: translateY(-3px);
}

.page-expert-predictions__section {
  padding: 50px 20px;
  background-color: var(--page-expert-predictions-bg);
  color: var(--page-expert-predictions-text-main);
}

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

.page-expert-predictions__section-title {
  font-size: 2.5em;
  color: var(--page-expert-predictions-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-expert-predictions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-expert-predictions-text-secondary);
}

.page-expert-predictions__text-block a {
  color: var(--page-expert-predictions-glow);
  text-decoration: underline;
}

.page-expert-predictions__text-block a:hover {
  color: var(--page-expert-predictions-gold);
}

.page-expert-predictions__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-expert-predictions__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-expert-predictions__content-image {
  flex: 1;
  min-width: 200px; /* Minimum size requirement */
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: block;
}

.page-expert-predictions__text-content {
  flex: 2;
}

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

.page-expert-predictions__card {
  background-color: var(--page-expert-predictions-card-bg);
  border: 1px solid var(--page-expert-predictions-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-expert-predictions-text-main);
  max-width: 100%; /* Ensure card itself is responsive */
  box-sizing: border-box;
}

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

.page-expert-predictions__card-title {
  font-size: 1.5em;
  color: var(--page-expert-predictions-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-expert-predictions__card-text {
  font-size: 1em;
  color: var(--page-expert-predictions-text-secondary);
  margin-bottom: 20px;
}

.page-expert-predictions__card-link {
  display: inline-block;
  color: var(--page-expert-predictions-glow);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-expert-predictions__card-link:hover {
  color: var(--page-expert-predictions-gold);
  text-decoration: underline;
}

.page-expert-predictions__faq-section {
  background-color: var(--page-expert-predictions-deep-green);
}

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

.page-expert-predictions__faq-item {
  background-color: var(--page-expert-predictions-card-bg);
  border: 1px solid var(--page-expert-predictions-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-expert-predictions-text-main);
}

.page-expert-predictions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-expert-predictions-gold);
  background-color: var(--page-expert-predictions-card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For <details> summary */
}

.page-expert-predictions__faq-question::-webkit-details-marker {
  display: none; /* For <details> summary */
}

.page-expert-predictions__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.3); /* Lighter hover for dark background */
}

.page-expert-predictions__faq-qtext {
  flex-grow: 1;
}

.page-expert-predictions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-expert-predictions-glow);
}

.page-expert-predictions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--page-expert-predictions-text-secondary);
}

.page-expert-predictions__faq-item[open] .page-expert-predictions__faq-question .page-expert-predictions__faq-toggle {
  content: '−';
}

.page-expert-predictions__call-to-action-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--page-expert-predictions-bg);
}

.page-expert-predictions__call-to-action-section .page-expert-predictions__section-title {
  margin-bottom: 20px;
}

.page-expert-predictions__call-to-action-section .page-expert-predictions__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-expert-predictions__hero-content {
    padding: 15px;
  }

  .page-expert-predictions__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

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

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

  .page-expert-predictions__image-text-block--reverse {
    flex-direction: column;
  }

  .page-expert-predictions__content-image {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .page-expert-predictions__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-expert-predictions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-expert-predictions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-expert-predictions__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

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

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

  .page-expert-predictions__btn-primary,
  .page-expert-predictions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-expert-predictions__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-expert-predictions__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-expert-predictions__section,
  .page-expert-predictions__card,
  .page-expert-predictions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-expert-predictions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

@media (max-width: 480px) {
  .page-expert-predictions__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }

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

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

  .page-expert-predictions__btn-primary,
  .page-expert-predictions__btn-secondary {
    padding: 10px 20px;
  }
}