/* style/index-uu-diem-khi-tham-gia-sun-clan-hop.css */
.page-index-uu-diem-khi-tham-gia-sun-clan-hop {
  background-color: var(--bg-color, #08160F); /* Assume --bg-color might be dark, use dark background if not specified */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold for titles */
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__subsection-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #57E38D; /* Glow color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop p {
  margin-bottom: 1em;
  color: #F2FFF6; /* Main text color */
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #F2FFF6; /* Main text color */
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop li {
  margin-bottom: 0.5em;
  color: #F2FFF6; /* Main text color */
}

/* Hero Carousel Section */
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as shared.css handles body padding */
  margin-bottom: 40px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slider {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop hero */
  overflow: hidden;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slide.is-active {
  opacity: 1;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-content {
  position: absolute;
  text-align: center;
  color: #ffffff; /* White text for hero content */
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 8px;
  max-width: 800px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-title {
  font-size: clamp(2em, 3.5vw, 3em); /* H1 title with clamp, not fixed large value */
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold for H1 */
  line-height: 1.2;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #F2FFF6; /* Main text color */
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-primary,
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow color */
  border: 2px solid #57E38D;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-secondary:hover {
  background-color: #57E38D;
  color: #11271B; /* Dark background color for hover text */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slider-prev,
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 2em;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slider-prev {
  left: 20px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slider-next {
  right: 20px;
}

/* Guide Box Section */
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-box {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 16px 20px 24px;
  background: #11271B; /* Card BG color */
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-title {
  font-size: 2em;
  font-weight: bold;
  color: #F2C14E; /* Gold for titles */
  text-align: center;
  margin-bottom: 30px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* Adjust gap for better spacing */
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card {
  flex: 0 0 calc(20% - 12px); /* 5 cards per row, accounting for gap */
  max-width: calc(20% - 12px);
  text-decoration: none;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card img {
  aspect-ratio: 250 / 350;
  object-fit: cover; /* Use cover to fill the area */
  width: 100%;
  height: auto;
  display: block;
}

/* Specific padding for guide cards to create staggered effect */
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-1 { padding-top: 50px; }
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-2 { padding-top: 25px; }
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-3 { padding-top: 0px; }
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-4 { padding-top: 25px; }
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-5 { padding-top: 50px; }

/* Home Content Box (Main Advantages Content) */
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__home-content-box {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 20px;
  border: 5px solid #2E7A4E; /* Border color */
  border-radius: 15px;
  box-shadow: 0 0 20px #11A84E; /* Glow effect */
  background-color: #11271B; /* Card BG color */
  height: 700px; /* Fixed height for desktop */
  overflow: hidden; /* Hide scrollbar for outer box */
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__home-content-inner {
  height: 100%; /* Inner div takes full height of outer box */
  overflow-y: auto; /* Scrollable content for desktop */
  padding-right: 15px; /* Compensate for scrollbar */
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__image-figure {
  margin: 20px 0;
  text-align: center;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__image-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__image-figure figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #A7D9B8; /* Secondary text color */
  margin-top: 10px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__bottom-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Blog Section */
.page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-section {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 20px;
  background-color: #08160F; /* Background color */
  border-radius: 15px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-card:hover {
  transform: translateY(-5px);
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog card images */
  object-fit: cover;
  display: block;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-card-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Gold for titles */
  padding: 15px;
  margin-bottom: 0;
}

.page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-card-meta {
  font-size: 0.9em;
  color: #A7D9B8; /* Secondary text color */
  padding: 0 15px 15px;
}

/* General image responsive styles */
.page-index-uu-diem-khi-tham-gia-sun-clan-hop img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card {
    flex: 0 0 calc(33.333% - 10px); /* 3 cards per row */
    max-width: calc(33.333% - 10px);
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-1,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-2,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-3,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-4,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-5 {
    padding-top: 0px; /* Reset staggered padding for tablets */
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (max-width: 768px) {
  /* General mobile text and padding adjustments */
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Carousel Section */
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-carousel-section {
    padding-top: 10px !important; /* Ensure small top padding */
    margin-bottom: 20px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slider {
    height: 400px; /* Smaller height for mobile hero */
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-content {
    max-width: 90%;
    padding: 15px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Smaller title on mobile */
    margin-bottom: 10px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slider-prev,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-slider-next {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    padding: 5px 10px;
    left: 10px;
    right: 10px;
  }

  /* Guide Box Section */
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-box {
    padding: 15px;
    margin-bottom: 30px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-grid {
    display: grid; /* Use grid for more control over mobile layout */
    grid-template-columns: repeat(6, 1fr); /* 6 columns to allow for 2+3 layout */
    gap: 10px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card {
    padding-top: 0 !important; /* Reset staggered padding */
    flex: unset; /* Override flex properties */
    max-width: 100%;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-1,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-2 {
    grid-column: span 3; /* First two cards span 3 columns each (2 cards per row) */
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-3,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-4,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__guide-card--pos-5 {
    grid-column: span 2; /* Remaining three cards span 2 columns each (3 cards per row) */
  }

  /* Home Content Box */
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__home-content-box {
    max-width: 100%;
    height: auto; /* Auto height for mobile */
    overflow: visible; /* Show full content */
    padding: 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__home-content-inner {
    height: auto; /* Auto height for inner content */
    overflow-y: visible; /* Show full content */
    padding-right: 0; /* No scrollbar compensation needed */
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__subsection-title {
    font-size: 1.5em;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__bottom-cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  /* Blog Section */
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-section {
    padding: 15px;
    margin-bottom: 20px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-grid {
    grid-template-columns: repeat(1, 1fr); /* Single column for mobile */
    gap: 15px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-card img {
     /* Adjust blog card image height for mobile */
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__blog-card-title {
    font-size: 1.1em;
  }

  /* Universal image and button responsiveness */
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-primary,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-secondary,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop a[class*="button"],
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop 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-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-cta-buttons,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__bottom-cta-buttons,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__button-group,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__hero-cta-buttons,
  .page-index-uu-diem-khi-tham-gia-sun-clan-hop__bottom-cta-buttons {
    flex-direction: column !important; /* Force vertical stacking for button groups */
  }
}