/* style/blog-llwin-homepage-guide.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-llwin-homepage-guide {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background from shared.css */
}

/* Section styling */
.page-blog-llwin-homepage-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-llwin-homepage-guide__dark-bg {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-blog-llwin-homepage-guide__light-bg {
  background-color: #ffffff; /* Auxiliary color for light sections */
  color: #333333; /* Dark text for light background */
}

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

/* Hero Section */
.page-blog-llwin-homepage-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  color: #ffffff;
}

.page-blog-llwin-homepage-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog-llwin-homepage-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-blog-llwin-homepage-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

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

.page-blog-llwin-homepage-guide__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-llwin-homepage-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-llwin-homepage-guide__btn-primary,
.page-blog-llwin-homepage-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-blog-llwin-homepage-guide__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-llwin-homepage-guide__btn-primary:hover {
  background-color: #d16b06;
}

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

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

.page-blog-llwin-homepage-guide__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 40px;
}

.page-blog-llwin-homepage-guide__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem); /* Responsive font size */
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-llwin-homepage-guide__text-block {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: left;
}

.page-blog-llwin-homepage-guide__text-block p,
.page-blog-llwin-homepage-guide__text-block li {
  margin-bottom: 15px;
}

.page-blog-llwin-homepage-guide__ordered-list,
.page-blog-llwin-homepage-guide__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  text-align: left;
  margin-bottom: 20px;
}

.page-blog-llwin-homepage-guide__ordered-list li,
.page-blog-llwin-homepage-guide__unordered-list li {
  margin-bottom: 8px;
}

.page-blog-llwin-homepage-guide__image-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-blog-llwin-homepage-guide__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-llwin-homepage-guide__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-blog-llwin-homepage-guide__card {
  background-color: #f8f8f8; /* Light background for cards in light sections */
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-llwin-homepage-guide__dark-bg .page-blog-llwin-homepage-guide__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards in dark sections */
  color: #ffffff;
}

.page-blog-llwin-homepage-guide__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-blog-llwin-homepage-guide__dark-bg .page-blog-llwin-homepage-guide__card-title {
  color: #ffffff;
}

.page-blog-llwin-homepage-guide__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-blog-llwin-homepage-guide__card-title a:hover {
  text-decoration: underline;
}

.page-blog-llwin-homepage-guide__card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-blog-llwin-homepage-guide__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.page-blog-llwin-homepage-guide__dark-bg .page-blog-llwin-homepage-guide__btn-text {
  color: #ffffff;
}

.page-blog-llwin-homepage-guide__btn-text:hover {
  text-decoration: underline;
}

.page-blog-llwin-homepage-guide__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.page-blog-llwin-homepage-guide__image-left,
.page-blog-llwin-homepage-guide__image-right {
  flex: 1 1 40%; /* Allow images to grow and shrink */
  max-width: 500px;
  min-width: 250px; /* Minimum size for content images */
  height: auto;
}

.page-blog-llwin-homepage-guide__text-left,
.page-blog-llwin-homepage-guide__text-right {
  flex: 1 1 50%;
  max-width: 600px;
  text-align: left;
}

/* FAQ Section */
.page-blog-llwin-homepage-guide__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.page-blog-llwin-homepage-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-llwin-homepage-guide__light-bg .page-blog-llwin-homepage-guide__faq-item {
  background-color: #f8f8f8;
  color: #333333;
}

.page-blog-llwin-homepage-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog-llwin-homepage-guide__light-bg .page-blog-llwin-homepage-guide__faq-question {
  background-color: #eeeeee;
  border-bottom: 1px solid #dddddd;
}

.page-blog-llwin-homepage-guide__faq-item[open] > .page-blog-llwin-homepage-guide__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.page-blog-llwin-homepage-guide__light-bg .page-blog-llwin-homepage-guide__faq-item[open] > .page-blog-llwin-homepage-guide__faq-question {
  border-bottom: 1px solid #cccccc;
}

.page-blog-llwin-homepage-guide__faq-qtext {
  flex-grow: 1;
}

.page-blog-llwin-homepage-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-llwin-homepage-guide__faq-item[open] .page-blog-llwin-homepage-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-llwin-homepage-guide__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Hide default details marker */
.page-blog-llwin-homepage-guide__faq-item summary {
  list-style: none;
}
.page-blog-llwin-homepage-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-blog-llwin-homepage-guide__content-wrapper {
    flex-direction: column;
  }
  .page-blog-llwin-homepage-guide__image-left,
  .page-blog-llwin-homepage-guide__image-right {
    max-width: 100%;
    order: -1; /* Image always on top in column layout */
  }
  .page-blog-llwin-homepage-guide__text-left,
  .page-blog-llwin-homepage-guide__text-right {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog-llwin-homepage-guide__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-blog-llwin-homepage-guide__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-blog-llwin-homepage-guide__description {
    font-size: 1rem;
  }

  .page-blog-llwin-homepage-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px; /* Add padding to container */
  }

  .page-blog-llwin-homepage-guide__btn-primary,
  .page-blog-llwin-homepage-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-blog-llwin-homepage-guide__section {
    padding: 40px 0;
  }

  .page-blog-llwin-homepage-guide__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-blog-llwin-homepage-guide__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .page-blog-llwin-homepage-guide__container,
  .page-blog-llwin-homepage-guide__text-block,
  .page-blog-llwin-homepage-guide__game-categories,
  .page-blog-llwin-homepage-guide__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-blog-llwin-homepage-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-llwin-homepage-guide__hero-image-wrapper,
  .page-blog-llwin-homepage-guide__image-grid,
  .page-blog-llwin-homepage-guide__content-wrapper,
  .page-blog-llwin-homepage-guide__game-categories,
  .page-blog-llwin-homepage-guide__card,
  .page-blog-llwin-homepage-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-llwin-homepage-guide__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-llwin-homepage-guide__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-blog-llwin-homepage-guide__hero-image {
    filter: brightness(0.5); /* Slightly darker for mobile */
  }
}