.page-resources-inplay-match-analysis {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-inplay-match-analysis__hero-section {
  background-color: #000000; /* Main dark background for hero */
  color: #FFFFFF; /* Light text for dark hero background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-inplay-match-analysis__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-inplay-match-analysis__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

.page-resources-inplay-match-analysis__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-inplay-match-analysis__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-inplay-match-analysis__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-inplay-match-analysis__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-inplay-match-analysis__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-resources-inplay-match-analysis__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-inplay-match-analysis__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-resources-inplay-match-analysis__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-inplay-match-analysis__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources-inplay-match-analysis__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-inplay-match-analysis__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-inplay-match-analysis__back-link:hover {
  color: #FCBC45;
}

.page-resources-inplay-match-analysis__article {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-inplay-match-analysis__article-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-resources-inplay-match-analysis__subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-resources-inplay-match-analysis__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-inplay-match-analysis__list,
.page-resources-inplay-match-analysis__ordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-resources-inplay-match-analysis__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333333;
}

.page-resources-inplay-match-analysis__list-item strong {
  color: #000000;
}

.page-resources-inplay-match-analysis__image-container {
  text-align: center;
  margin: 30px 0;
}

.page-resources-inplay-match-analysis__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it's a block element for centering */
  margin: 0 auto; /* Center the image */
  min-width: 200px;
  min-height: 200px;
}

.page-resources-inplay-match-analysis__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
}

.page-resources-inplay-match-analysis__cta-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-resources-inplay-match-analysis__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-resources-inplay-match-analysis__button--primary {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-resources-inplay-match-analysis__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources-inplay-match-analysis__related-resources {
  margin-top: 60px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-resources-inplay-match-analysis__related-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-inplay-match-analysis__related-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.page-resources-inplay-match-analysis__related-item {
  margin-bottom: 15px;
}

.page-resources-inplay-match-analysis__related-item a {
  color: #000000;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-inplay-match-analysis__related-item a:hover {
  color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-inplay-match-analysis__hero-title {
    font-size: 2.5em;
  }

  .page-resources-inplay-match-analysis__hero-description {
    font-size: 1em;
  }

  .page-resources-inplay-match-analysis__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-inplay-match-analysis__button {
    width: 80%;
    max-width: 300px;
  }

  .page-resources-inplay-match-analysis__article-title {
    font-size: 2em;
  }

  .page-resources-inplay-match-analysis__subtitle {
    font-size: 1.5em;
  }

  .page-resources-inplay-match-analysis__paragraph,
  .page-resources-inplay-match-analysis__list-item {
    font-size: 1em;
  }

  .page-resources-inplay-match-analysis__content-area {
    padding: 0 15px;
  }

  /* Ensure images are responsive and do not overflow */
  .page-resources-inplay-match-analysis img {
    max-width: 100%;
    height: auto;
  }

  .page-resources-inplay-match-analysis__image-container img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-resources-inplay-match-analysis__hero-title {
    font-size: 2em;
  }

  .page-resources-inplay-match-analysis__hero-description {
    font-size: 0.9em;
  }

  .page-resources-inplay-match-analysis__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-inplay-match-analysis__article-title {
    font-size: 1.8em;
  }

  .page-resources-inplay-match-analysis__subtitle {
    font-size: 1.3em;
  }

  .page-resources-inplay-match-analysis__cta-title {
    font-size: 1.5em;
  }
}