/* style/blog-q99-access-guide.css */

/* Base styles for the page */
.page-blog-q99-access-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-blog-q99-access-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-q99-access-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-blog-q99-access-guide__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-blog-q99-access-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-blog-q99-access-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-q99-access-guide__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-q99-access-guide__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Action Buttons */
.page-blog-q99-access-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-blog-q99-access-guide__btn-primary,
.page-blog-q99-access-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-q99-access-guide__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-q99-access-guide__btn-primary:hover {
  background: #1e87b6;
  border-color: #1e87b6;
}

.page-blog-q99-access-guide__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-blog-q99-access-guide__btn-secondary:hover {
  background: #ffffff;
  color: #26A9E0;
}

/* Content Sections */
.page-blog-q99-access-guide__content-section {
  padding: 60px 0;
}

.page-blog-q99-access-guide__dark-section {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark body */
  color: #ffffff;
}

.page-blog-q99-access-guide__section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-q99-access-guide__dark-section .page-blog-q99-access-guide__section-title {
  color: #ffffff;
}

.page-blog-q99-access-guide__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-q99-access-guide__unordered-list,
.page-blog-q99-access-guide__ordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-blog-q99-access-guide__unordered-list li,
.page-blog-q99-access-guide__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Images within content */
.page-blog-q99-access-guide__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

/* Game Categories */
.page-blog-q99-access-guide__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-q99-access-guide__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.page-blog-q99-access-guide__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-q99-access-guide__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-blog-q99-access-guide__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-blog-q99-access-guide__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-blog-q99-access-guide__card-title a:hover {
  text-decoration: underline;
}

.page-blog-q99-access-guide__card-description {
  font-size: 0.95rem;
  color: #cccccc;
  padding: 0 15px;
}

/* FAQ Section */
.page-blog-q99-access-guide__faq-list {
  margin-top: 40px;
}

.page-blog-q99-access-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-q99-access-guide__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.15rem;
  color: #ffffff;
  background-color: #26A9E0; /* Brand color for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-q99-access-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-q99-access-guide__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-blog-q99-access-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-blog-q99-access-guide__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-blog-q99-access-guide__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-blog-q99-access-guide__final-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog-q99-access-guide__final-cta-section .page-blog-q99-access-guide__section-title {
  color: #ffffff;
}

.page-blog-q99-access-guide__final-cta-section .page-blog-q99-access-guide__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-q99-access-guide__hero-image {
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  .page-blog-q99-access-guide__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-q99-access-guide__hero-image {
    max-height: 400px;
  }

  .page-blog-q99-access-guide__hero-content {
    position: static;
    transform: none;
    padding: 20px;
    margin-top: -100px; /* Pull content up over the image a bit for better visibility */
  }

  .page-blog-q99-access-guide__main-title {
    font-size: 2.2rem;
  }

  .page-blog-q99-access-guide__hero-description {
    font-size: 1rem;
  }

  .page-blog-q99-access-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-q99-access-guide__btn-primary,
  .page-blog-q99-access-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-blog-q99-access-guide__content-section {
    padding: 40px 0;
  }

  .page-blog-q99-access-guide__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-q99-access-guide__text-block,
  .page-blog-q99-access-guide__unordered-list li,
  .page-blog-q99-access-guide__ordered-list li {
    font-size: 1rem;
  }

  .page-blog-q99-access-guide__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-q99-access-guide__card-image {
    height: 180px;
  }

  .page-blog-q99-access-guide__card-title {
    font-size: 1.2rem;
  }

  .page-blog-q99-access-guide__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-blog-q99-access-guide__faq-answer {
    padding: 15px;
  }

  .page-blog-q99-access-guide__final-cta-section {
    padding: 60px 0;
  }

  /* Mobile specific overrides for images, videos, buttons and their containers */
  .page-blog-q99-access-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-q99-access-guide__container,
  .page-blog-q99-access-guide__hero-image-wrapper,
  .page-blog-q99-access-guide__cta-buttons,
  .page-blog-q99-access-guide__game-card,
  .page-blog-q99-access-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-q99-access-guide__hero-section {
    padding-top: 10px !important; /* Body handles --header-offset, this is decorative */
  }
}

/* Ensure content area images are not smaller than 200px */
.page-blog-q99-access-guide__image-full-width,
.page-blog-q99-access-guide__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast Fixes for dark body */
.page-blog-q99-access-guide p,
.page-blog-q99-access-guide li {
  color: #f0f0f0; /* Lighter text for dark body */
}

.page-blog-q99-access-guide__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.page-blog-q99-access-guide__faq-answer {
  background-color: rgba(255, 255, 255, 0.03);
}