.page-resources-understanding-slot-rtp {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark backgrounds */
  background-color: #000080; /* Dark blue background */
  line-height: 1.6;
}

.page-resources-understanding-slot-rtp__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-understanding-slot-rtp__hero {
  background: linear-gradient(135deg, #FFD700, #000080);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #000080;
  position: relative;
  overflow: hidden;
}

.page-resources-understanding-slot-rtp__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-resources-understanding-slot-rtp__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #000080; /* Dark blue for title on light background */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-resources-understanding-slot-rtp__hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333; /* Darker text for readability */
}

.page-resources-understanding-slot-rtp__hero-image-wrapper {
  position: absolute;
  bottom: -50px; /* Adjust as needed */
  right: -50px; /* Adjust as needed */
  width: 300px;
  height: 300px;
  opacity: 0.3;
  z-index: 1;
}

.page-resources-understanding-slot-rtp__hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(15deg);
}

.page-resources-understanding-slot-rtp__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources-understanding-slot-rtp__section:last-of-type {
  border-bottom: none;
}

.page-resources-understanding-slot-rtp__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for main section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-understanding-slot-rtp h3 {
  font-size: 1.8em;
  color: #FFD700; /* Gold for subheadings */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-understanding-slot-rtp p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-understanding-slot-rtp__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-understanding-slot-rtp__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-resources-understanding-slot-rtp__inline-cta {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-understanding-slot-rtp__inline-cta:hover {
  color: #e6c200;
}

.page-resources-understanding-slot-rtp__image-text-layout {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-understanding-slot-rtp__image-text-image {
  width: 40%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-resources-understanding-slot-rtp__image-text-content {
  width: 60%;
}

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

.page-resources-understanding-slot-rtp__grid-item {
  background-color: rgba(255, 215, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-understanding-slot-rtp__grid-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-resources-understanding-slot-rtp__grid-item h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-top: 0;
}

.page-resources-understanding-slot-rtp__grid-item p {
  color: #cccccc;
  font-size: 0.95em;
}

.page-resources-understanding-slot-rtp__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-understanding-slot-rtp__list li {
  margin-bottom: 10px;
}

.page-resources-understanding-slot-rtp__list li strong {
  color: #FFD700;
}

.page-resources-understanding-slot-rtp__full-width-image {
  width: 100%;
  border-radius: 10px;
  margin: 40px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-resources-understanding-slot-rtp__misconception-item {
  background-color: rgba(0, 0, 128, 0.5); /* Dark blue with transparency */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #FFD700;
}

.page-resources-understanding-slot-rtp__misconception-item h3 {
  color: #FFD700;
  font-size: 1.4em;
  margin-top: 0;
}

.page-resources-understanding-slot-rtp__misconception-item p {
  color: #e0e0e0;
  font-size: 0.95em;
}

.page-resources-understanding-slot-rtp__ordered-list {
  list-style: decimal inside;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-resources-understanding-slot-rtp__ordered-list li {
  margin-bottom: 15px;
}

.page-resources-understanding-slot-rtp__ordered-list li strong {
  color: #FFD700;
}

.page-resources-understanding-slot-rtp__ordered-list ul {
  list-style: circle inside;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-resources-understanding-slot-rtp__cta-button--bottom {
  margin-top: 40px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.page-resources-understanding-slot-rtp__cta-button--final {
  margin-top: 30px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  display: block;
  font-size: 1.3em;
  padding: 18px 35px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources-understanding-slot-rtp__hero-title {
    font-size: 2.8em;
  }
  .page-resources-understanding-slot-rtp__section-title {
    font-size: 2em;
  }
  .page-resources-understanding-slot-rtp h3 {
    font-size: 1.6em;
  }
  .page-resources-understanding-slot-rtp__image-text-layout {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-understanding-slot-rtp__image-text-image,
  .page-resources-understanding-slot-rtp__image-text-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-understanding-slot-rtp__hero {
    padding: 60px 0;
  }
  .page-resources-understanding-slot-rtp__hero-title {
    font-size: 2.2em;
  }
  .page-resources-understanding-slot-rtp__hero-subtitle {
    font-size: 1em;
  }
  .page-resources-understanding-slot-rtp__section {
    padding: 40px 0;
  }
  .page-resources-understanding-slot-rtp__section-title {
    font-size: 1.8em;
  }
  .page-resources-understanding-slot-rtp h3 {
    font-size: 1.4em;
  }
  .page-resources-understanding-slot-rtp__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-understanding-slot-rtp__grid-item, .page-resources-understanding-slot-rtp__misconception-item {
    padding: 20px;
  }
  .page-resources-understanding-slot-rtp__hero-image-wrapper {
    display: none; /* Hide image on smaller screens */
  }
}

@media (max-width: 480px) {
  .page-resources-understanding-slot-rtp__hero-title {
    font-size: 1.8em;
  }
  .page-resources-understanding-slot-rtp__section-title {
    font-size: 1.5em;
  }
  .page-resources-understanding-slot-rtp h3 {
    font-size: 1.2em;
  }
  .page-resources-understanding-slot-rtp p {
    font-size: 0.9em;
  }
  .page-resources-understanding-slot-rtp__list,
  .page-resources-understanding-slot-rtp__ordered-list {
    margin-left: 0;
    padding-left: 15px;
  }
  .page-resources-understanding-slot-rtp__cta-button--final {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}