/* Base styles for the page */
.page-index {
  font-family: Arial, sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

.page-index a {
  color: #F3C54D; /* Gold */
  text-decoration: none;
}

.page-index a:hover {
  color: #FFB04A;
}

/* === Module 0: Hero Section === */
.page-index__hero-section {
  padding-top: 10px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-index__hero-image {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

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

/* === 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 {
  color: #FFF1E8;
  font-size: clamp(2em, 4vw, 2.5em);
  font-weight: bold;
  margin: 0 0 15px;
  position: relative;
  padding-bottom: 10px;
}

.page-index__page-title::before,
.page-index__page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #F3C54D; /* Gold */
}

.page-index__page-title::before {
  left: calc(50% - 70px);
}

.page-index__page-title::after {
  right: calc(50% - 70px);
}

.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: #F3C54D;
  text-decoration: none;
}

/* === 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;
  scrollbar-color: #D86A14 #2A1212;
  max-width: 1330px;
  margin: 20px auto;
  box-sizing: border-box;
}

.page-index__home-content::-webkit-scrollbar {
  width: 8px;
}

.page-index__home-content::-webkit-scrollbar-track {
  background: #2A1212;
  border-radius: 10px;
}

.page-index__home-content::-webkit-scrollbar-thumb {
  background-color: #D86A14;
  border-radius: 10px;
  border: 2px solid #2A1212;
}

.page-index__home-content blockquote {
  border-left: 4px solid #F3C54D;
  margin: 20px 0;
  padding: 10px 20px;
  background-color: #2A1212;
  border-radius: 5px;
}

.page-index__home-content blockquote p {
  color: #FFF1E8;
}

.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-top: 30px;
  margin-bottom: 20px;
  font-size: clamp(1.5em, 3vw, 2em);
}

.page-index__home-content h3 {
  color: #F3C54D;
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: clamp(1.2em, 2.5vw, 1.7em);
}

.page-index__home-content h4 {
  color: #FFB04A;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: clamp(1em, 2vw, 1.4em);
}

.page-index__home-content p,
.page-index__home-content ul,
.page-index__home-content ol {
  color: #9DA0A8;
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-index__home-content ul,
.page-index__home-content ol {
  padding-left: 20px;
}

.page-index__home-content li {
  margin-bottom: 8px;
}

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