.page-index {
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index__section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-index__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-index__section-title.tieudevip {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin: 40px auto;
  padding: 10px 20px;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: fit-content;
}

/* Hero Carousel Section */
.page-index__hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per rule */
}

.page-index__hero-slider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-index__hero-slide {
  display: none;
  width: 100%;
}

.page-index__hero-slide.is-active {
  display: block;
}

.page-index__hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index__hero-slider-prev,
.page-index__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5em;
  line-height: 1;
  border-radius: 4px;
}

.page-index__hero-slider-prev {
  left: 10px;
}

.page-index__hero-slider-next {
  right: 10px;
}

.page-index__hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.page-index__hero-slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
}

.page-index__hero-slider-dots button.is-active {
  background: #fff;
}

/* Guide Section */
.page-index__guide-section {
  padding: 40px 0;
}

.page-index__guide-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 20px 24px;
  background: #f5e6d3; /* Light beige background */
  border-radius: 4px;
  box-sizing: border-box;
}

.page-index__guide-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; /* For staggered effect */
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.page-index__guide-card {
  display: block;
  flex: 0 0 calc(20% - 8px);
  max-width: calc(20% - 8px);
  text-decoration: none;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.page-index__guide-card:hover {
  transform: translateY(-5px);
}

.page-index__guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical images */
  object-fit: contain; /* Ensure image content is not cropped */
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* PC staggered layout */
.page-index__guide-card--pos-1,
.page-index__guide-card--pos-5 { padding-top: 50px; }
.page-index__guide-card--pos-2,
.page-index__guide-card--pos-4 { padding-top: 25px; }
.page-index__guide-card--pos-3 { padding-top: 0; }

/* Home Content Section */
.page-index__home-content-section {
  padding: 40px 0;
}

.page-index__home-content-row {
  display: flex;
  justify-content: center;
}

.page-index__home-content-box {
  max-width: 91%; /* As per demo气质 */
  width: 100%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid #3477c9; /* Blue border */
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(52, 119, 201, 0.5); /* Blue shadow */
  height: 700px; /* Fixed height for desktop */
  text-align: left;
  box-sizing: border-box;
  background-color: #ffffff;
}

.page-index__home-content-inner {
  height: 100%;
  overflow-y: auto; /* Scrollable content */
  overflow-x: hidden;
  padding-right: 8px; /* For scrollbar spacing */
}

.page-index__home-content-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-index__home-content-section h2 {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index__home-content-section h3 {
  font-size: 1.5em;
  color: #26A9E0;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-index__home-content-section p,
.page-index__home-content-section li {
  font-size: 1em;
  color: #333333;
  margin-bottom: 10px;
}

.page-index__wp-caption {
  margin: 20px auto;
  text-align: center;
}

.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-index__wp-caption figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
}

/* Blog Section */
.page-index__blog-section {
  padding: 40px 0;
  background-color: #f8f8f8;
}

.page-index__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.page-index__blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-index__blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-index__blog-media {
  position: relative;
  height: 200px; /* Fixed height for consistent card size */
  overflow: hidden;
}

.page-index__blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0; /* Rounded top corners */
}

.page-index__blog-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #26A9E0;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
}

.page-index__blog-date span:first-child {
  display: block;
  font-size: 1.2em;
  line-height: 1;
}

.page-index__blog-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  padding: 15px;
  margin-bottom: 0;
}

.page-index__blog-excerpt {
  font-size: 0.9em;
  color: #666;
  padding: 0 15px 15px;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* App Download Section */
.page-index__app-download-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-index__app-download-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

.page-index__app-download-text {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.page-index__app-download-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-index__app-download-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-index__app-download-button {
  display: inline-block;
  padding: 15px 30px;
  background: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__app-download-button:hover {
  background-color: #d16b06;
}

.page-index__app-download-image {
  flex: 1;
  max-width: 400px;
  text-align: center;
}

.page-index__app-download-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}