/* Base Styles */
.page-blog-loto-288-gameplay-guide {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D;
  line-height: 1.6;
  background-color: #F4F7FB; /* Background color from custom配色 */
}

.page-blog-loto-288-gameplay-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-loto-288-gameplay-guide__section {
  padding: 40px 0;
}

.page-blog-loto-288-gameplay-guide__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-blog-loto-288-gameplay-guide__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #1F2D3D;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-loto-288-gameplay-guide__content-block p,
.page-blog-loto-288-gameplay-guide__list li {
  margin-bottom: 15px;
  font-size: 17px;
  color: #1F2D3D;
}

.page-blog-loto-288-gameplay-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-blog-loto-288-gameplay-guide__numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  padding-left: 0;
}

.page-blog-loto-288-gameplay-guide__list li,
.page-blog-loto-288-gameplay-guide__numbered-list li {
  margin-bottom: 10px;
}

.page-blog-loto-288-gameplay-guide__highlight {
  color: #2F6BFF;
  font-weight: bold;
}

/* Hero Section */
.page-blog-loto-288-gameplay-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #6FA3FF 0%, #F4F7FB 100%);
  position: relative;
  overflow: hidden;
}

.page-blog-loto-288-gameplay-guide__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog-loto-288-gameplay-guide__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-loto-288-gameplay-guide__hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-blog-loto-288-gameplay-guide__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #1F2D3D;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-blog-loto-288-gameplay-guide__hero-description {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-loto-288-gameplay-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-loto-288-gameplay-guide__btn-primary,
.page-blog-loto-288-gameplay-guide__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-loto-288-gameplay-guide__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-blog-loto-288-gameplay-guide__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-blog-loto-288-gameplay-guide__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-blog-loto-288-gameplay-guide__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
}

/* Image and Text Block Layout */
.page-blog-loto-288-gameplay-guide__image-and-text-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-blog-loto-288-gameplay-guide__image-and-text-block:nth-of-type(odd) {
  flex-direction: row-reverse; /* Alternate image position */
}

.page-blog-loto-288-gameplay-guide__image-wrapper {
  flex: 1;
  min-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-blog-loto-288-gameplay-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-loto-288-gameplay-guide__content-block {
  flex: 2;
}

.page-blog-loto-288-gameplay-guide__registration-guide .page-blog-loto-288-gameplay-guide__image-and-text-block {
  align-items: center;
}

.page-blog-loto-288-gameplay-guide__promotions .page-blog-loto-288-gameplay-guide__image-and-text-block {
  align-items: center;
}

/* Conclusion Section */
.page-blog-loto-288-gameplay-guide__conclusion {
  text-align: center;
  background-color: #F4F7FB;
}

.page-blog-loto-288-gameplay-guide__conclusion .page-blog-loto-288-gameplay-guide__section-title {
  color: #2F6BFF;
}

.page-blog-loto-288-gameplay-guide__cta-buttons--center {
  margin-top: 30px;
}

/* FAQ Section */
details.page-blog-loto-288-gameplay-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color from custom配色 */
  overflow: hidden;
  background: #FFFFFF; /* Card BG from custom配色 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
details.page-blog-loto-288-gameplay-guide__faq-item summary.page-blog-loto-288-gameplay-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-loto-288-gameplay-guide__faq-item summary.page-blog-loto-288-gameplay-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-loto-288-gameplay-guide__faq-item summary.page-blog-loto-288-gameplay-guide__faq-question:hover {
  background: #f5f8fc;
}
.page-blog-loto-288-gameplay-guide__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-blog-loto-288-gameplay-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-loto-288-gameplay-guide__faq-item .page-blog-loto-288-gameplay-guide__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB; /* Background color from custom配色 */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
}

/* General Image Responsiveness */
.page-blog-loto-288-gameplay-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-blog-loto-288-gameplay-guide__container {
    padding: 20px 30px;
  }

  .page-blog-loto-288-gameplay-guide__section-title {
    font-size: 28px;
  }

  .page-blog-loto-288-gameplay-guide__sub-title {
    font-size: 22px;
  }

  .page-blog-loto-288-gameplay-guide__hero-description {
    font-size: 17px;
  }

  .page-blog-loto-288-gameplay-guide__image-and-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-blog-loto-288-gameplay-guide__image-and-text-block:nth-of-type(odd) {
    flex-direction: column; 
  }

  .page-blog-loto-288-gameplay-guide__image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-blog-loto-288-gameplay-guide__content-block {
    width: 100%;
  }

  .page-blog-loto-288-gameplay-guide__btn-primary,
  .page-blog-loto-288-gameplay-guide__btn-secondary {
    padding: 12px 25px;
    font-size: 17px;
  }

  details.page-blog-loto-288-gameplay-guide__faq-item summary.page-blog-loto-288-gameplay-guide__faq-question {
    padding: 15px 18px;
  }

  .page-blog-loto-288-gameplay-guide__faq-qtext {
    font-size: 17px;
  }

  details.page-blog-loto-288-gameplay-guide__faq-item .page-blog-loto-288-gameplay-guide__faq-answer {
    padding: 0 18px 18px;
  }
}

@media (max-width: 849px) {
  .page-blog-loto-288-gameplay-guide__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: 400px; /* Limit height for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-blog-loto-288-gameplay-guide__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-loto-288-gameplay-guide__section {
    padding: 30px 0;
  }

  .page-blog-loto-288-gameplay-guide__section-title {
    font-size: clamp(24px, 7vw, 28px);
    margin-bottom: 20px;
    padding: 0 10px; /* Add horizontal padding to title */
  }

  .page-blog-loto-288-gameplay-guide__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .page-blog-loto-288-gameplay-guide__content-block p,
  .page-blog-loto-288-gameplay-guide__list li,
  .page-blog-loto-288-gameplay-guide__numbered-list li {
    font-size: 16px;
    padding: 0 10px;
  }

  /* Hero Section Mobile */
  .page-blog-loto-288-gameplay-guide__hero-section {
    padding-top: 10px; /* Specific 10px top padding for hero on mobile */
    padding-bottom: 30px;
  }

  .page-blog-loto-288-gameplay-guide__hero-image-wrapper {
    margin-bottom: 20px;
    max-height: 300px;
  }

  .page-blog-loto-288-gameplay-guide__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .page-blog-loto-288-gameplay-guide__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .page-blog-loto-288-gameplay-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-loto-288-gameplay-guide__btn-primary,
  .page-blog-loto-288-gameplay-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image and Text Block Mobile */
  .page-blog-loto-288-gameplay-guide__image-and-text-block {
    gap: 20px;
    flex-direction: column;
    padding: 0 15px;
  }

  .page-blog-loto-288-gameplay-guide__image-and-text-block:nth-of-type(odd) {
    flex-direction: column;
  }

  .page-blog-loto-288-gameplay-guide__image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-loto-288-gameplay-guide__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ Section Mobile */
  details.page-blog-loto-288-gameplay-guide__faq-item summary.page-blog-loto-288-gameplay-guide__faq-question {
    padding: 15px;
  }
  .page-blog-loto-288-gameplay-guide__faq-qtext {
    font-size: 15px;
  }
  details.page-blog-loto-288-gameplay-guide__faq-item .page-blog-loto-288-gameplay-guide__faq-answer {
    padding: 0 15px 15px;
  }

  /* General content area padding on mobile */
  .page-blog-loto-288-gameplay-guide__content-block {
    padding: 0 10px;
  }

  /* Ensure all images and containers are responsive */
  .page-blog-loto-288-gameplay-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-loto-288-gameplay-guide__section,
  .page-blog-loto-288-gameplay-guide__card,
  .page-blog-loto-288-gameplay-guide__container,
  .page-blog-loto-288-gameplay-guide__image-and-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Special handling for lists to prevent overflow */
  .page-blog-loto-288-gameplay-guide__list,
  .page-blog-loto-288-gameplay-guide__numbered-list {
    margin-left: 0;
    padding-left: 20px;
    box-sizing: border-box;
  }
  .page-blog-loto-288-gameplay-guide__list li,
  .page-blog-loto-288-gameplay-guide__numbered-list li {
    padding-left: 0;
  }
}