/* style/resources-kubet-prediction-techniques.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-resources-kubet-prediction-techniques {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #121212; /* Matches body background for consistency */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Ensure all images are responsive by default */
.page-resources-kubet-prediction-techniques img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all videos are responsive by default */
.page-resources-kubet-prediction-techniques video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-resources-kubet-prediction-techniques__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
  overflow: hidden;
}

.page-resources-kubet-prediction-techniques__hero-content {
  max-width: 800px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-resources-kubet-prediction-techniques__main-title {
  font-size: 3.2em;
  color: #26A9E0; /* Brand color for title */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-kubet-prediction-techniques__intro-text {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-kubet-prediction-techniques__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2; /* Subtle background image */
  overflow: hidden;
}

.page-resources-kubet-prediction-techniques__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* CTA Buttons */
.page-resources-kubet-prediction-techniques__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-kubet-prediction-techniques__btn-primary,
.page-resources-kubet-prediction-techniques__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-resources-kubet-prediction-techniques__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-kubet-prediction-techniques__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-resources-kubet-prediction-techniques__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand color */
  border: 2px solid #26A9E0;
}

.page-resources-kubet-prediction-techniques__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* General Section Styles */
.page-resources-kubet-prediction-techniques__section {
  padding: 60px 20px;
}

.page-resources-kubet-prediction-techniques__dark-bg {
  background-color: #121212;
  color: #ffffff;
}

.page-resources-kubet-prediction-techniques__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-kubet-prediction-techniques__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-kubet-prediction-techniques__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-kubet-prediction-techniques__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Text contrast fix for specific sections */
.page-resources-kubet-prediction-techniques__text-contrast-fix {
  color: #333333; /* Ensures dark text on light backgrounds */
}

/* Feature Grid */
.page-resources-kubet-prediction-techniques__feature-grid,
.page-resources-kubet-prediction-techniques__technique-grid,
.page-resources-kubet-prediction-techniques__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-kubet-prediction-techniques__feature-card,
.page-resources-kubet-prediction-techniques__technique-card,
.page-resources-kubet-prediction-techniques__strategy-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background for cards on dark sections */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff; /* Light text for cards on dark sections */
}

.page-resources-kubet-prediction-techniques__light-bg .page-resources-kubet-prediction-techniques__feature-card,
.page-resources-kubet-prediction-techniques__light-bg .page-resources-kubet-prediction-techniques__technique-card,
.page-resources-kubet-prediction-techniques__light-bg .page-resources-kubet-prediction-techniques__strategy-card {
  background-color: #ffffff; /* White background for cards on light sections */
  color: #333333; /* Dark text for cards on light sections */
  border: 1px solid #e0e0e0;
}

.page-resources-kubet-prediction-techniques__feature-card:hover,
.page-resources-kubet-prediction-techniques__technique-card:hover,
.page-resources-kubet-prediction-techniques__strategy-card:hover {
  transform: translateY(-5px);
}

.page-resources-kubet-prediction-techniques__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-kubet-prediction-techniques__card-text {
  font-size: 1em;
  line-height: 1.7;
}

.page-resources-kubet-prediction-techniques__content-image {
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Tips List */
.page-resources-kubet-prediction-techniques__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-kubet-prediction-techniques__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-kubet-prediction-techniques__list-item strong {
  color: #26A9E0;
}

/* Video Section */
.page-resources-kubet-prediction-techniques__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-kubet-prediction-techniques__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-kubet-prediction-techniques__video-wrapper .page-resources-kubet-prediction-techniques__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-resources-kubet-prediction-techniques__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2; /* Ensure link is clickable over video */
}