.page-partnerships {
  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 not hidden by fixed header */
}

.page-partnerships__hero-section {
  background-color: #f0f0f0;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-partnerships__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-partnerships__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-partnerships__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-partnerships__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-partnerships__hero-image-wrapper {
  max-width: 1200px;
  width: 100%;
  margin-top: 40px;
}

.page-partnerships__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-partnerships__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-partnerships__content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.page-partnerships__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

.page-partnerships__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-partnerships__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-partnerships__button--primary:hover {
  background-color: #e0a53c;
}

.page-partnerships__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-partnerships__button--secondary:hover {
  background-color: #333333;
}

.page-partnerships__button--cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.1em;
  margin-top: 30px;
}

.page-partnerships__button--cta:hover {
  background-color: #e0a53c;
}

.page-partnerships__button--details {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 0.95em;
  margin-top: 15px;
}

.page-partnerships__button--details:hover {
  background-color: #333333;
}

.page-partnerships__affiliate-program-section,
.page-partnerships__game-providers-section,
.page-partnerships__why-partner-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.page-partnerships__affiliate-program-section {
  background-color: #ffffff;
}

.page-partnerships__game-providers-section {
  background-color: #f9f9f9;
  flex-direction: row-reverse; /* Image on right */
}

.page-partnerships__why-partner-section {
  background-color: #ffffff;
}

.page-partnerships__image-wrapper {
  flex: 1;
  min-width: 400px; /* Ensure image doesn't shrink too much */
}

.page-partnerships__section-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-partnerships__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-partnerships__feature-item {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 1.05em;
  color: #000000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px; /* Ensure card content image is not too small */
}

.page-partnerships__feature-icon {
  width: 250px;
  height: 166px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 4px;
}

.page-partnerships__provider-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.page-partnerships__provider-item {
  background-color: #e0e0e0;
  padding: 12px 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  color: #000000;
  font-size: 0.95em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-partnerships__opportunity-list-section {
  background-color: #f0f0f0;
  padding: 80px 20px;
  text-align: center;
}

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

.page-partnerships__opportunity-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-partnerships__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-partnerships__card-link {
  text-decoration: none;
  color: inherit;
}

.page-partnerships__card-link:hover {
  color: #FCBC45;
}

.page-partnerships__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-partnerships__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 100px 20px;
  text-align: center;
}

.page-partnerships__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-partnerships__cta-title {
  font-size: 3em;
  margin-bottom: 25px;
  color: #FFFFFF;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-partnerships__affiliate-program-section,
  .page-partnerships__game-providers-section,
  .page-partnerships__why-partner-section {
    flex-direction: column;
    gap: 40px;
  }

  .page-partnerships__game-providers-section {
    flex-direction: column; /* Reset order for smaller screens */
  }

  .page-partnerships__hero-title {
    font-size: 2.8em;
  }

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

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

@media (max-width: 768px) {
  .page-partnerships {
    padding-top: var(--header-offset, 80px);
  }
  .page-partnerships__hero-section {
    padding: 60px 15px;
  }
  .page-partnerships__hero-title {
    font-size: 2.2em;
  }
  .page-partnerships__hero-description {
    font-size: 1em;
  }
  .page-partnerships__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-partnerships__button {
    width: 100%;
    max-width: 300px;
  }
  .page-partnerships__affiliate-program-section,
  .page-partnerships__game-providers-section,
  .page-partnerships__why-partner-section {
    padding: 60px 15px;
    gap: 30px;
  }
  .page-partnerships__section-title {
    font-size: 1.8em;
  }
  .page-partnerships__text-content {
    font-size: 0.95em;
  }
  .page-partnerships__feature-list {
    grid-template-columns: 1fr;
  }
  .page-partnerships__provider-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .page-partnerships__opportunity-list-section {
    padding: 60px 15px;
  }
  .page-partnerships__opportunities-grid {
    grid-template-columns: 1fr;
  }
  .page-partnerships__card-title {
    font-size: 1.5em;
  }
  .page-partnerships__cta-section {
    padding: 80px 15px;
  }
  .page-partnerships__cta-title {
    font-size: 2em;
  }
  .page-partnerships__cta-description {
    font-size: 1.1em;
  }

  /* Mobile image scaling for all content images */
  .page-partnerships img {
    max-width: 100%;
    height: auto;
  }
  .page-partnerships__feature-icon {
    width: 200px;
    height: 133px;
  }
}