/* style/blog-mmoo88-safe-access.css */

/* Base styles for the page content, ensuring light text on a dark body background */
.page-blog-mmoo88-safe-access {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Main content background is transparent, letting body background show */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-mmoo88-safe-access__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-mmoo88-safe-access__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-blog-mmoo88-safe-access__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
}

.page-blog-mmoo88-safe-access__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-blog-mmoo88-safe-access__hero-content {
  position: relative; /* Ensure content is above image filter */
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin-top: -300px; /* Pull content up over the image, but not covering text area */
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-mmoo88-safe-access__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-blog-mmoo88-safe-access__lead-text {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-blog-mmoo88-safe-access__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-mmoo88-safe-access__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-mmoo88-safe-access__btn-primary,
.page-blog-mmoo88-safe-access__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-mmoo88-safe-access__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-mmoo88-safe-access__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-blog-mmoo88-safe-access__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-mmoo88-safe-access__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Content Area */
.page-blog-mmoo88-safe-access__content-area {
  padding: 60px 0;
  background-color: #ffffff; /* Explicitly set light background for readability */
  color: #333333; /* Dark text for light background */
}

.page-blog-mmoo88-safe-access__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-blog-mmoo88-safe-access__sub-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-mmoo88-safe-access p {
  margin-bottom: 1em;
  color: #333333;
}

.page-blog-mmoo88-safe-access__link-inline {
  color: #26A9E0;
  text-decoration: underline;
}

.page-blog-mmoo88-safe-access__link-inline:hover {
  color: #1e87b8;
}

.page-blog-mmoo88-safe-access__list,
.page-blog-mmoo88-safe-access__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-mmoo88-safe-access__ordered-list {
  list-style-type: decimal;
}

.page-blog-mmoo88-safe-access__sub-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #333333;
}

.page-blog-mmoo88-safe-access__list li,
.page-blog-mmoo88-safe-access__ordered-list li {
  margin-bottom: 8px;
}

.page-blog-mmoo88-safe-access__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Game Showcase */
.page-blog-mmoo88-safe-access__game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-mmoo88-safe-access__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-blog-mmoo88-safe-access__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-mmoo88-safe-access__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog-mmoo88-safe-access__card-title {
  font-size: 1.4em;
  font-weight: 700;
  padding: 15px;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-mmoo88-safe-access__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-blog-mmoo88-safe-access__card-title a:hover {
  text-decoration: underline;
}

.page-blog-mmoo88-safe-access__game-card p {
  font-size: 0.95em;
  padding: 0 15px 15px;
  margin-top: 0;
  flex-grow: 1;
  color: #555555;
}

/* Dark Background for some sections (if needed) */
.page-blog-mmoo88-safe-access__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-blog-mmoo88-safe-access__dark-bg .page-blog-mmoo88-safe-access__section-title,
.page-blog-mmoo88-safe-access__dark-bg .page-blog-mmoo88-safe-access__sub-title {
  color: #26A9E0;
}

.page-blog-mmoo88-safe-access__dark-bg .page-blog-mmoo88-safe-access__link-inline {
  color: #26A9E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-mmoo88-safe-access__main-title {
    font-size: 2.8em;
  }

  .page-blog-mmoo88-safe-access__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-mmoo88-safe-access__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-mmoo88-safe-access__hero-content {
    margin-top: -150px; /* Adjust for smaller screens */
  }

  .page-blog-mmoo88-safe-access__main-title {
    font-size: 2em; /* Ensure h1 is not too large */
  }

  .page-blog-mmoo88-safe-access__lead-text {
    font-size: 1em;
  }

  .page-blog-mmoo88-safe-access__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-mmoo88-safe-access__btn-primary,
  .page-blog-mmoo88-safe-access__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-mmoo88-safe-access__content-area {
    padding: 40px 0;
  }

  .page-blog-mmoo88-safe-access__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-mmoo88-safe-access__section-title {
    font-size: 1.8em;
  }

  .page-blog-mmoo88-safe-access__sub-title {
    font-size: 1.4em;
  }

  /* Image responsive adaptation */
  .page-blog-mmoo88-safe-access img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-mmoo88-safe-access__game-showcase {
    grid-template-columns: 1fr;
  }

  .page-blog-mmoo88-safe-access__game-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Video responsive adaptation (if video was present) */
  .page-blog-mmoo88-safe-access video,
  .page-blog-mmoo88-safe-access__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-mmoo88-safe-access__video-section,
  .page-blog-mmoo88-safe-access__video-container,
  .page-blog-mmoo88-safe-access__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-blog-mmoo88-safe-access__video-section {
    padding-top: 10px !important;
  }
  
  .page-blog-mmoo88-safe-access__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-blog-mmoo88-safe-access__main-title {
    font-size: 1.8em;
  }

  .page-blog-mmoo88-safe-access__section-title {
    font-size: 1.6em;
  }
}