/* style/index-security-guarantee.css */

/* Base styles for the page content */
.page-index-security-guarantee {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Deep gray for readability on light background */
  background-color: #FFFFFF; /* Body background is light */
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Hero Section */
.page-index-security-guarantee__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #26A9E0; /* Brand color for hero background */
  color: #FFFFFF; /* White text on brand color background */
}

.page-index-security-guarantee__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for image container */
  margin-bottom: 30px; /* Space between image and text */
}

.page-index-security-guarantee__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-security-guarantee__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-security-guarantee__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-index-security-guarantee__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-index-security-guarantee__cta-container {
  width: 100%;
  max-width: 300px; /* Limit button width for aesthetic */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index-security-guarantee__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%; /* Ensure button fills its container */
  max-width: 100%; /* For button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-security-guarantee__cta-button:hover {
  background-color: #d16e00;
}

/* General Content Sections */
.page-index-security-guarantee__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #FFFFFF; /* Light background for content */
  border-bottom: 1px solid #f0f0f0;
}

.page-index-security-guarantee__section:last-of-type {
  border-bottom: none;
}

.page-index-security-guarantee__section-title {
  font-size: 2.2rem;
  color: #26A9E0; /* Brand color for H2 */
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-index-security-guarantee__subsection-title {
  font-size: 1.6rem;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-security-guarantee__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-index-security-guarantee__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-index-security-guarantee__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Image within content sections */
.page-index-security-guarantee__content-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px; /* Limit width for content images */
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}

/* FAQ Section */
.page-index-security-guarantee__faq-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
}

.page-index-security-guarantee__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-security-guarantee__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-index-security-guarantee__faq-item summary {
  display: block; /* For details tag */
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0; /* Brand color for question */
  position: relative;
  list-style: none; /* Remove default marker */
}

.page-index-security-guarantee__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit */
}

.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-index-security-guarantee__faq-item[open] .page-index-security-guarantee__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-index-security-guarantee__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-security-guarantee__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-index-security-guarantee__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-index-security-guarantee {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-security-guarantee__hero-section {
    padding: 40px 15px;
  }

  .page-index-security-guarantee__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-index-security-guarantee__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-index-security-guarantee__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-index-security-guarantee__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

  .page-index-security-guarantee__section {
    padding: 30px 15px;
  }

  .page-index-security-guarantee__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-index-security-guarantee__subsection-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-index-security-guarantee__text-block,
  .page-index-security-guarantee__list-item {
    font-size: 1rem;
  }

  /* Image responsive rules */
  .page-index-security-guarantee img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* All containers with images must be responsive */
  .page-index-security-guarantee__hero-image-wrapper,
  .page-index-security-guarantee__section,
  .page-index-security-guarantee__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-index-security-guarantee__faq-section {
    padding: 40px 15px;
  }

  .page-index-security-guarantee__faq-item summary {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-index-security-guarantee__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }
}