/* General styles for contrast and basic layout */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #9DA0A8; /* Default text color for dark background */
  background-color: #121212; /* Assuming a dark body background from shared.css */
}
.page-index a {
  color: #26A9E0;
  text-decoration: none;
}
.page-index a:hover {
  text-decoration: underline;
  color: #CAAB71;
}

/* === Module 0: Hero Section === */
.page-index__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  background-color: #1A202C; /* Dark background for the section */
}
.page-index__hero-image {
  max-width: 1330px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}
.page-index__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* === Module 1: H1 Title Section + SEO Links === */
.page-index__title-section {
  max-width: 1330px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}
.page-index__page-title {
  font-size: 2.5em;
  font-weight: bold;
  margin: 0 0 15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  color: #CAAB71;
}
.page-index__page-title::before,
.page-index__page-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: #CAAB71;
  margin: 0 15px;
}
.page-index__seo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  font-size: 15px;
  padding: 10px 0;
  color: #9DA0A8;
}
.page-index__seo-link-item a {
  color: #26A9E0;
  text-decoration: underline;
}
.page-index__seo-link-item a:hover {
  color: #CAAB71;
}

/* === Module 2: Scrollable Long Content === */
.page-index__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  padding: 0 10px;
  height: 650px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #CAAB71 #1A202C;
  max-width: 1330px;
  margin: 20px auto;
  background-color: #1A202C;
  color: #9DA0A8;
}
.page-index__home-content::-webkit-scrollbar {
  width: 8px;
}
.page-index__home-content::-webkit-scrollbar-track {
  background: #1A202C;
  border-radius: 10px;
}
.page-index__home-content::-webkit-scrollbar-thumb {
  background-color: #CAAB71;
  border-radius: 10px;
  border: 2px solid #1A202C;
}
.page-index__home-content blockquote {
  border-left: 4px solid #26A9E0;
  margin: 20px 0;
  padding-left: 15px;
  color: #fff;
  font-style: italic;
}
.page-index__home-content h2 {
  background: linear-gradient(-225deg, #28a745 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: page-index-gradient 5s linear infinite;
  margin: 30px 0 15px;
  font-size: 2em;
  font-weight: bold;
}
@keyframes page-index-gradient {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.page-index__home-content h3 {
  color: #CAAB71;
  margin: 25px 0 10px;
  font-size: 1.5em;
}
.page-index__home-content p {
  color: #9DA0A8;
  margin-bottom: 1em;
}
.page-index__home-content ul,
.page-index__home-content ol {
  color: #9DA0A8;
  margin-left: 20px;
  margin-bottom: 1em;
}
.page-index__wp-caption {
  margin: 20px auto;
  text-align: center;
  max-width: 800px;
  background-color: #1A202C;
  border-radius: 8px;
  overflow: hidden;
}
.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.page-index__wp-caption-text {
  font-size: 0.9em;
  color: #9DA0A8;
  padding: 10px;
}