/* style/blog-hihi88-official-homepage-guide.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-button-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-blog-hihi88-official-homepage-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-blog-hihi88-official-homepage-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  margin-bottom: 40px;
  background-color: var(--background-light);
}

.page-blog-hihi88-official-homepage-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-hihi88-official-homepage-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-hihi88-official-homepage-guide__hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  text-align: center;
  background-color: var(--background-light);
  box-sizing: border-box;
}

.page-blog-hihi88-official-homepage-guide__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-hihi88-official-homepage-guide__lead-text {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 30px;
  color: var(--text-dark);
}

.page-blog-hihi88-official-homepage-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-hihi88-official-homepage-guide__btn-primary,
.page-blog-hihi88-official-homepage-guide__btn-secondary,
.page-blog-hihi88-official-homepage-guide a[class*="button"],
.page-blog-hihi88-official-homepage-guide a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Default for desktop */
}

.page-blog-hihi88-official-homepage-guide__btn-primary {
  background-color: var(--login-button-color);
  color: var(--text-light);
  border: 2px solid var(--login-button-color);
}

.page-blog-hihi88-official-homepage-guide__btn-primary:hover {
  background-color: darken(var(--login-button-color), 10%);
  border-color: darken(var(--login-button-color), 10%);
}

.page-blog-hihi88-official-homepage-guide__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-hihi88-official-homepage-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-blog-hihi88-official-homepage-guide__section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: var(--background-light);
}

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

.page-blog-hihi88-official-homepage-guide__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-blog-hihi88-official-homepage-guide__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-hihi88-official-homepage-guide__paragraph {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-blog-hihi88-official-homepage-guide__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-blog-hihi88-official-homepage-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-hihi88-official-homepage-guide__ordered-list,
.page-blog-hihi88-official-homepage-guide__unordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
  color: var(--text-dark);
}

.page-blog-hihi88-official-homepage-guide__list-item {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-blog-hihi88-official-homepage-guide__text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-blog-hihi88-official-homepage-guide__text-link:hover {
  color: darken(var(--primary-color), 10%);
}

.page-blog-hihi88-official-homepage-guide__btn-text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-hihi88-official-homepage-guide__btn-text-link:hover {
  text-decoration: underline;
}

/* FAQ Styles */
.page-blog-hihi88-official-homepage-guide__faq-list {
  margin-top: 30px;
}

.page-blog-hihi88-official-homepage-guide__faq-item {
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-blog-hihi88-official-homepage-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid var(--border-color);
}

.page-blog-hihi88-official-homepage-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-hihi88-official-homepage-guide__faq-question::marker {
  display: none;
}

.page-blog-hihi88-official-homepage-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-blog-hihi88-official-homepage-guide__faq-answer {
  padding: 15px 20px;
  font-size: 1em;
  color: var(--text-dark);
  background-color: var(--background-light);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-blog-hihi88-official-homepage-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-hihi88-official-homepage-guide__hero-section {
    padding-top: 10px !important;
  }

  .page-blog-hihi88-official-homepage-guide__hero-content {
    padding: 15px;
  }

  .page-blog-hihi88-official-homepage-guide__main-title {
    font-size: 1.8em !important;
  }

  .page-blog-hihi88-official-homepage-guide__lead-text {
    font-size: 1em !important;
  }

  .page-blog-hihi88-official-homepage-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-hihi88-official-homepage-guide__btn-primary,
  .page-blog-hihi88-official-homepage-guide__btn-secondary,
  .page-blog-hihi88-official-homepage-guide a[class*="button"],
  .page-blog-hihi88-official-homepage-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-hihi88-official-homepage-guide__section-title {
    font-size: 1.5em !important;
    margin-bottom: 20px;
  }

  .page-blog-hihi88-official-homepage-guide__sub-title {
    font-size: 1.2em !important;
  }

  .page-blog-hihi88-official-homepage-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-hihi88-official-homepage-guide__content-image,
  .page-blog-hihi88-official-homepage-guide__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size on mobile */
    min-height: 200px !important; /* Ensure min size on mobile */
  }

  .page-blog-hihi88-official-homepage-guide__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-hihi88-official-homepage-guide__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-blog-hihi88-official-homepage-guide__faq-answer {
    padding: 12px 15px;
  }
}