:root {
  --page-dr88-primary-color: #0A2463;
  --page-dr88-secondary-color: #FFD700;
  --page-dr88-text-dark: #0A2463;
  --page-dr88-text-light: #FFFFFF;
  --page-dr88-background-light: #F8F8F8;
  --page-dr88-background-dark: #0A2463;
  --page-dr88-accent-color: #f5db9c; /* Lighter variant of primary for contrast */
  --page-dr88-button-hover: #e6c200;
  --page-dr88-border-color: #ddd;
}

.page-resources-dr88-review {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-dr88-text-dark);
  background-color: var(--page-dr88-background-light);
}

.page-resources-dr88-review__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-dr88-review__hero {
  background: linear-gradient(135deg, var(--page-dr88-background-dark), var(--page-dr88-secondary-color));
  color: var(--page-dr88-text-light);
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-dr88-review__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_geometric,dark_blue_gold,subtle_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-resources-dr88-review__hero > * {
  position: relative;
  z-index: 1;
}

.page-resources-dr88-review__back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--page-dr88-accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-dr88-review__back-link:hover {
  color: var(--page-dr88-text-light);
}

.page-resources-dr88-review__title {
  font-size: 2.8em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--page-dr88-text-light);
}

.page-resources-dr88-review__meta {
  font-size: 0.9em;
  opacity: 0.8;
  margin-bottom: 30px;
}

.page-resources-dr88-review__hero-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.page-resources-dr88-review__lead-text {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1em;
  line-height: 1.7;
  opacity: 0.9;
}

.page-resources-dr88-review__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-dr88-review__button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-resources-dr88-review__button--primary {
  background-color: var(--page-dr88-secondary-color);
  color: var(--page-dr88-background-dark);
}

.page-resources-dr88-review__button--primary:hover {
  background-color: var(--page-dr88-button-hover);
  transform: translateY(-2px);
}

.page-resources-dr88-review__button--secondary {
  background-color: transparent;
  color: var(--page-dr88-secondary-color);
  border: 2px solid var(--page-dr88-secondary-color);
}

.page-resources-dr88-review__button--secondary:hover {
  background-color: var(--page-dr88-secondary-color);
  color: var(--page-dr88-background-dark);
  transform: translateY(-2px);
}

.page-resources-dr88-review__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-resources-dr88-review__content-wrapper {
  padding: 50px 0;
}

.page-resources-dr88-review__content-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-resources-dr88-review__sidebar {
  flex: 0 0 280px;
  background-color: var(--page-dr88-text-light);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px; /* Adjust as needed */
}

.page-resources-dr88-review__sidebar-title {
  font-size: 1.5em;
  color: var(--page-dr88-background-dark);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--page-dr88-secondary-color);
  padding-bottom: 10px;
}

.page-resources-dr88-review__toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-dr88-review__toc ul li a {
  display: block;
  padding: 8px 0;
  color: var(--page-dr88-text-dark);
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
}

.page-resources-dr88-review__toc ul li a:hover,
.page-resources-dr88-review__toc ul li.active a {
  color: var(--page-dr88-secondary-color);
  background-color: rgba(255, 215, 0, 0.1);
}

.page-resources-dr88-review__toc ul ul {
  padding-left: 15px;
  margin-top: 5px;
  border-left: 1px solid var(--page-dr88-border-color);
}

.page-resources-dr88-review__toc ul ul li a {
  font-size: 0.9em;
  padding-left: 10px;
}

.page-resources-dr88-review__sidebar-promo {
  background-color: var(--page-dr88-background-dark);
  color: var(--page-dr88-text-light);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
}

.page-resources-dr88-review__sidebar-promo-title {
  font-size: 1.3em;
  color: var(--page-dr88-secondary-color);
  margin-bottom: 10px;
}

.page-resources-dr88-review__sidebar-promo p {
  font-size: 0.9em;
  margin-bottom: 15px;
}

.page-resources-dr88-review__article-content {
  flex: 1;
  max-width: 800px; /* Optimal reading width */
  background-color: var(--page-dr88-text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-dr88-review__article-content h2 {
  font-size: 2em;
  color: var(--page-dr88-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--page-dr88-secondary-color);
  padding-bottom: 10px;
}

.page-resources-dr88-review__article-content h3 {
  font-size: 1.5em;
  color: var(--page-dr88-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-dr88-review__article-content p {
  margin-bottom: 1em;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--page-dr88-text-dark);
}

.page-resources-dr88-review__article-content a {
  color: var(--page-dr88-primary-color);
  text-decoration: underline;
}

.page-resources-dr88-review__article-content a:hover {
  color: var(--page-dr88-secondary-color);
}

.page-resources-dr88-review__article-content ul {
  list-style: disc inside;
  margin-bottom: 1em;
  padding-left: 20px;
}

.page-resources-dr88-review__article-content ul li {
  margin-bottom: 0.5em;
}

.page-resources-dr88-review__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-dr88-review__cta-block {
  background-color: rgba(255, 215, 0, 0.1);
  border-left: 5px solid var(--page-dr88-secondary-color);
  padding: 25px;
  margin: 40px 0;
  border-radius: 8px;
  text-align: center;
}

.page-resources-dr88-review__cta-text {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-dr88-primary-color);
  margin-bottom: 15px;
}

.page-resources-dr88-review__cta-group--bottom {
  margin-top: 50px;
  border-top: 1px solid var(--page-dr88-border-color);
  padding-top: 30px;
}

blockquote {
  background-color: var(--page-dr88-background-dark);
  color: var(--page-dr88-text-light);
  border-left: 5px solid var(--page-dr88-secondary-color);
  margin: 30px 0;
  padding: 20px 25px;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

blockquote p {
  color: var(--page-dr88-text-light);
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources-dr88-review__content-layout {
    flex-direction: column;
  }

  .page-resources-dr88-review__sidebar {
    position: static;
    width: 100%;
    margin-bottom: 40px;
  }

  .page-resources-dr88-review__article-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-dr88-review__title {
    font-size: 2em;
  }

  .page-resources-dr88-review__hero {
    padding: 40px 0 20px;
  }

  .page-resources-dr88-review__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-dr88-review__button {
    width: 80%;
    max-width: 300px;
  }

  .page-resources-dr88-review__article-content h2 {
    font-size: 1.8em;
  }

  .page-resources-dr88-review__article-content h3 {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-resources-dr88-review__container {
    padding: 0 15px;
  }

  .page-resources-dr88-review__title {
    font-size: 1.6em;
  }

  .page-resources-dr88-review__lead-text {
    font-size: 1em;
  }

  .page-resources-dr88-review__button {
    width: 95%;
    padding: 10px 20px;
  }

  .page-resources-dr88-review__sidebar-title {
    font-size: 1.3em;
  }
}