/* style/game-categories-mahjong-strategy.css */
.page-game-categories-mahjong-strategy {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-game-categories-mahjong-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-game-categories-mahjong-strategy__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for better contrast */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-categories-mahjong-strategy__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:mahjong,pattern,subtle]');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-game-categories-mahjong-strategy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-categories-mahjong-strategy__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-game-categories-mahjong-strategy__cta-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color */
  color: #007bff; /* Main color for text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.page-game-categories-mahjong-strategy__cta-button:hover {
  background-color: #e0a800; /* Darker yellow on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-categories-mahjong-strategy__section {
  padding: 60px 0;
}

.page-game-categories-mahjong-strategy__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-game-categories-mahjong-strategy__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-categories-mahjong-strategy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary color */
  border-radius: 2px;
}

.page-game-categories-mahjong-strategy__subsection-title {
  font-size: 1.8em;
  color: #0056b3; /* Darker main color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-categories-mahjong-strategy__content-flex {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.page-game-categories-mahjong-strategy__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-game-categories-mahjong-strategy__text-content {
  flex: 1;
}

.page-game-categories-mahjong-strategy__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-game-categories-mahjong-strategy__image-wrapper--full-width {
  flex: none;
  width: 100%;
  margin-top: 40px;
}

.page-game-categories-mahjong-strategy__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-game-categories-mahjong-strategy__card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-categories-mahjong-strategy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-game-categories-mahjong-strategy__card-title {
  font-size: 1.5em;
  color: #007bff; /* Main color */
  margin-bottom: 15px;
  border-bottom: 2px solid #ffc107; /* Auxiliary color */
  padding-bottom: 10px;
}

.page-game-categories-mahjong-strategy__card ul,
.page-game-categories-mahjong-strategy__card ol {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-game-categories-mahjong-strategy__card ol {
  list-style-type: decimal;
}

.page-game-categories-mahjong-strategy__card li {
  margin-bottom: 8px;
}

.page-game-categories-mahjong-strategy__tip-list {
  list-style: none;
  padding: 0;
}

.page-game-categories-mahjong-strategy__tip-list li {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #007bff; /* Main color */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-categories-mahjong-strategy__tip-list li p {
  margin: 0;
}

.page-game-categories-mahjong-strategy__cta-final {
  background-color: #007bff; /* Main color */
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.page-game-categories-mahjong-strategy__cta-final .page-game-categories-mahjong-strategy__section-title {
  color: #ffc107; /* Auxiliary color */
}

.page-game-categories-mahjong-strategy__cta-final .page-game-categories-mahjong-strategy__section-title::after {
  background-color: #fff;
}

.page-game-categories-mahjong-strategy__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-categories-mahjong-strategy__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-bottom: 20px;
}

.page-game-categories-mahjong-strategy__secondary-button {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.page-game-categories-mahjong-strategy__secondary-button:hover {
  background-color: #fff;
  color: #007bff; /* Main color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-categories-mahjong-strategy__text-center {
  text-align: center;
}

.page-game-categories-mahjong-strategy__inline-link {
  color: #ffc107; /* Auxiliary color for inline links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-categories-mahjong-strategy__inline-link:hover {
  color: #fff; /* White on hover for better contrast on dark backgrounds */
  text-decoration: underline;
}

.page-game-categories-mahjong-strategy__faq-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-categories-mahjong-strategy__faq-question {
  font-size: 1.4em;
  color: #007bff; /* Main color */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-game-categories-mahjong-strategy__faq-answer {
  color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-categories-mahjong-strategy__hero-title {
    font-size: 2.5em;
  }

  .page-game-categories-mahjong-strategy__hero-description {
    font-size: 1.1em;
  }

  .page-game-categories-mahjong-strategy__section-title {
    font-size: 2em;
  }

  .page-game-categories-mahjong-strategy__content-flex {
    flex-direction: column;
  }

  .page-game-categories-mahjong-strategy__content-flex--reverse {
    flex-direction: column;
  }

  .page-game-categories-mahjong-strategy__secondary-button {
    margin-top: 15px;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-game-categories-mahjong-strategy__hero {
    padding: 60px 0;
  }

  .page-game-categories-mahjong-strategy__hero-title {
    font-size: 2em;
  }

  .page-game-categories-mahjong-strategy__section {
    padding: 40px 0;
  }

  .page-game-categories-mahjong-strategy__section-title {
    font-size: 1.8em;
  }

  .page-game-categories-mahjong-strategy__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-game-categories-mahjong-strategy__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 576px) {
  .page-game-categories-mahjong-strategy__hero-title {
    font-size: 1.8em;
  }

  .page-game-categories-mahjong-strategy__hero-description {
    font-size: 1em;
  }

  .page-game-categories-mahjong-strategy__section-title {
    font-size: 1.5em;
  }

  .page-game-categories-mahjong-strategy__subsection-title {
    font-size: 1.4em;
  }

  .page-game-categories-mahjong-strategy__card {
    padding: 20px;
  }

  .page-game-categories-mahjong-strategy__cta-final {
    padding: 50px 0;
  }

  .page-game-categories-mahjong-strategy__cta-text {
    font-size: 1em;
  }
}