/* === General styles for page-index === */
.page-index {
  font-family: Arial, sans-serif;
  color: #f0f0f0; /* Default text color for dark background */
  background-color: var(--background-color); /* Inherit from shared.css */
}

/* === Module 0: Hero Section === */
.page-index__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for --header-offset */
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.page-index__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.page-index__hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Module 1: H1 Title + SEO Links === */
.page-index__title-section {
  max-width: 1330px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}
.page-index__page-title {
  font-size: 2.5em; /* Use em/rem, not fixed px, for H1 */
  font-weight: bold;
  line-height: 1.2;
  color: #CAAB71; /* Golden color for title */
  margin: 0 0 15px;
  position: relative;
  padding-bottom: 10px;
}
.page-index__page-title::before,
.page-index__page-title::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background-color: #CAAB71;
  vertical-align: middle;
  margin: 0 10px;
}
.page-index__seo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  color: #9DA0A8;
  padding: 10px 0;
}
.page-index__seo-links a {
  color: #198754; /* Green for links */
  text-decoration: none;
  font-weight: bold;
}
.page-index__seo-links a:hover {
  text-decoration: underline;
}

/* === Module 2: Scrollable Long Text Area === */
.page-index__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  padding: 0 10px;
  height: 650px;
  overflow-y: auto;
  scrollbar-width: thin;
  max-width: 1330px;
  margin: 20px auto;
  box-sizing: border-box;
}
.page-index__home-content::-webkit-scrollbar {
  width: 8px;
}
.page-index__home-content::-webkit-scrollbar-thumb {
  background-color: #FBB00D;
  border-radius: 4px;
}
.page-index__home-content::-webkit-scrollbar-track {
  background-color: #1A202C;
}
.page-index__home-content blockquote {
  border-left: 5px solid #FBB00D;
  padding-left: 15px;
  margin: 20px 0;
  color: #CAAB71;
}
.page-index__home-content blockquote p {
  color: #CAAB71; /* Changed to golden for blockquote text */
  font-style: italic;
  margin: 0;
}
.page-index__home-content blockquote a {
  color: #198754; /* Green for links in blockquote */
  text-decoration: none;
  font-weight: bold;
}