.page-index {
  padding-top: 10px;
  background-color: #B71C1C;
  color: #FFF5E1;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-index__hero-section {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-index__slide {
  display: none;
  width: 100%;
  flex: 0 0 100%;
}

.page-index__slide.is-active {
  display: block;
}

.page-index__hero-slider img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5;
  object-fit: cover;
  object-position: center;
}

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

.page-index__slider-prev,
.page-index__slider-next {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #FFF5E1;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.2em;
  line-height: 1;
}

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

.page-index__slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.page-index__slider-dot.is-active {
  background: #FFD86A;
}

.page-index__section-title-container {
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 15px;
}

.page-index__section-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-index__decorative-line {
  flex-grow: 1;
  height: 2px;
  background-color: #F2B544;
  max-width: 150px;
}

.page-index__main-title {
  font-size: clamp(1.1rem, 4.5vw, 1.75rem);
  font-weight: bold;
  color: #FFF5E1;
  margin: 0;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

.page-index__category-card {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, filter 0.3s ease;
  background-color: #D32F2F;
  border: 1px solid #F2B544;
}

.page-index__category-card:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

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

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

.page-index__article-body {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  background-color: #D32F2F;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  padding-bottom: 30px;
}

.page-index__article-content {
  padding: 30px;
}

.page-index__article-content blockquote {
  border-left: 5px solid #F4D34D;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #FFF5E1;
  background-color: #7A0E0E;
  padding: 15px 20px;
  border-radius: 5px;
}

.page-index__article-content blockquote p {
  margin: 0;
}

.page-index__article-content h2 {
  font-size: 1.5rem;
  color: #FFD86A;
  margin-top: 40px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-index__article-content h3 {
  font-size: 1.25rem;
  color: #F4D34D;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index__article-content p {
  margin-bottom: 15px;
  color: #FFF5E1;
  font-size: 1rem;
}

.page-index__article-content ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
  color: #FFF5E1;
}

.page-index__article-content ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.page-index__article-content a {
  color: #FFD86A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__article-content a:hover {
  color: #FFCC66;
  text-decoration: underline;
}

.page-index__article-figure {
  margin: 30px 0;
  text-align: center;
}

.page-index__article-figure img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

.page-index__article-figure figcaption {
  font-size: 0.9em;
  color: rgba(255, 245, 225, 0.7);
  margin-top: 10px;
}

.page-index__article-content strong {
  color: #FFCC66;
}

.page-index__aligncenter {
  text-align: center;
}

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

  .page-index__decorative-line {
    max-width: 100px;
  }

  .page-index__category-gateway {
    flex-direction: column;
  }

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

  .page-index__category-card img {
    min-width: unset; /* Allow smaller display on mobile if constrained by grid */
    min-height: unset;
  }

  .page-index__article-content {
    padding: 20px;
  }

  .page-index__article-content h2 {
    font-size: 1.4rem;
  }

  .page-index__article-content h3 {
    font-size: 1.15rem;
  }

  .page-index__article-figure img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index__hero-slider img,
  .page-index__category-card img,
  .page-index__article-figure img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 549px) {
  .page-index__decorative-line {
    display: none;
  }

  .page-index__section-title-wrapper {
    gap: 0;
  }

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

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

  .page-index__article-content {
    padding: 15px;
  }

  .page-index__article-content h2 {
    font-size: 1.3rem;
  }

  .page-index__article-content h3 {
    font-size: 1.1rem;
  }

  .page-index__article-content blockquote {
    padding-left: 15px;
  }

  .page-index__article-content ul {
    padding-left: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-index__hero-slider {
    animation: none;
  }
  .page-index__hero-slider .page-index__slide {
    transition: none;
  }
}