.page-index {
  padding-top: 10px;
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
}

.page-index__hero-section {
  position: relative;
  margin-bottom: 20px;
}

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

.page-index__slide-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.page-index__slide {
  width: 100%;
  flex: 0 0 100%;
  position: relative;
}

.page-index__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/5; /* 1920:600 fallback */
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-index__slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.page-index__slider-btn {
  background: rgba(46, 122, 78, 0.7);
  border: none;
  color: #F2FFF6;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-index__slider-btn:hover {
  background: #2E7A4E;
}

.page-index__slider-dots {
  display: flex;
  gap: 8px;
}

.page-index__slider-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(167, 217, 184, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__slider-dot--active {
  background-color: #57E38D;
  transform: scale(1.2);
}

.page-index__hero-content {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  background-color: #11271B; /* Card BG */
  margin-top: 10px;
}

.page-index__hero-cta {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-index__hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-index__section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1200px;
  gap: 20px;
}

.page-index__title-decoration {
  flex-grow: 1;
  height: 2px;
  background-color: #2E7A4E;
  max-width: 150px;
}

.page-index__main-title {
  font-size: clamp(1.1rem, 4.5vw, 1.75rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin: 0;
  max-width: 600px;
}

.page-index__category-gateway {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-index__category-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.page-index__category-card {
  display: block;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.3);
}

.page-index__category-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/25; /* For gameshow images */
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  min-height: 200px;
}

.page-index__category-card:hover img {
  filter: grayscale(0%);
}

.page-index__category-name {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #F2FFF6;
  font-weight: bold;
  font-size: 1.1em;
  background-color: rgba(17, 40, 27, 0.7);
  padding: 5px 15px;
  border-radius: 5px;
  white-space: nowrap;
}

.page-index__seo-article {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.8;
}

.page-index__article-blockquote {
  border-left: 5px solid #F2C14E; /* Gold */
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B;
  padding: 20px;
  border-radius: 8px;
}

.page-index__article-blockquote a {
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
}

.page-index__article-blockquote a:hover {
  text-decoration: underline;
}

.page-index__article-heading {
  font-size: 1.8em;
  color: #22C768;
  margin-top: 50px;
  margin-bottom: 20px;
  border-bottom: 1px solid #1E3A2A;
  padding-bottom: 10px;
}

.page-index__article-subheading {
  font-size: 1.4em;
  color: #11A84E;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index__article-paragraph {
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-index__article-paragraph a {
  color: #57E38D;
  text-decoration: none;
}

.page-index__article-paragraph a:hover {
  text-decoration: underline;
}

.page-index__article-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-index__article-list li {
  margin-bottom: 8px;
}

.page-index__article-list li a {
  color: #57E38D;
  text-decoration: none;
}

.page-index__article-list li a:hover {
  text-decoration: underline;
}

.page-index__article-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
}

.page-index__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px; /* Minimum size for content images */
}

.page-index__article-figure figcaption {
  margin-top: 10px;
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-index__section-title {
    flex-direction: column;
    gap: 10px;
  }

  .page-index__title-decoration {
    max-width: 100px;
  }

  .page-index__category-row {
    grid-template-columns: repeat(3, 1fr); /* Keep 3 columns for mobile as per requirement */
    gap: 10px;
  }

  .page-index__hero-cta {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-index__article-heading {
    font-size: 1.6em;
  }

  .page-index__article-subheading {
    font-size: 1.2em;
  }
}

@media (max-width: 549px) {
  .page-index__section-title {
    margin: 20px auto;
  }

  .page-index__main-title {
    font-size: clamp(1.1rem, 6vw, 1.5rem);
  }

  .page-index__category-gateway {
    margin: 20px auto;
    padding: 0 10px;
  }

  .page-index__category-row {
    gap: 8px;
  }

  .page-index__category-name {
    font-size: 0.9em;
    padding: 3px 10px;
  }

  .page-index__seo-article {
    margin: 30px auto;
    padding: 0 10px;
  }

  .page-index__article-blockquote {
    padding-left: 15px;
    margin: 20px 0;
  }

  .page-index__article-heading {
    font-size: 1.4em;
  }

  .page-index__article-subheading {
    font-size: 1.1em;
  }

  .page-index__article-list {
    margin-left: 20px;
  }

  .page-index__article-figure img {
    max-width: 100%;
    height: auto; /* Ensure image scales down */
  }
}

/* Mobile content area image constraint */
@media (max-width: 768px) {
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure no filter is used for images */
.page-index img:not(.page-index__category-card img) {
  filter: none; /* Reset any unintended filters */
}

/* Content area image CSS size lower bound */
.page-index img {
  min-width: 200px;
  min-height: 200px;
}