.page-index {
  color: #FFF6D6;
  background-color: transparent;
}

.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__hero-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.page-index__hero-slider-slide {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.page-index__hero-slider-slide.is-active {
  opacity: 1;
}

.page-index__hero-slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__hero-slider-prev,
.page-index__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  border-radius: 4px;
}

.page-index__hero-slider-prev {
  left: 10px;
}

.page-index__hero-slider-next {
  right: 10px;
}

.page-index__hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.page-index__hero-slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.page-index__hero-slider-dots button.is-active {
  background: #F2C14E;
}

.page-index__spacing-30 {
  height: 30px;
  margin: 0 auto;
  max-width: 1250px;
}

.page-index__promo-duo {
  max-width: 1250px;
  margin: 0 auto 30px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__promo-duo-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #111111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 15px;
  box-sizing: border-box;
}

.page-index__promo-duo-col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__promo-cta--alert {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 4px;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 18px;
  white-space: normal;
  word-wrap: break-word;
  transition: filter 0.3s ease;
}

.page-index__promo-cta--alert:hover {
  filter: brightness(1.1);
}

.page-index__section-title {
  text-align: center;
  margin: 30px auto;
  max-width: 1250px;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__main-title {
  color: #F2C14E;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__home-content {
  max-width: 900px;
  margin: 24px auto;
  height: 700px;
  padding: 10px;
  box-sizing: border-box;
  border: 5px solid #FFD36B;
  border-radius: 15px;
  box-shadow: 0 0 20px #FFD36B;
  background: #111111;
  color: #FFF6D6;
}

.page-index__home-content-inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px;
  text-align: justify;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  line-height: 1.6;
}

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

.page-index__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #4C9BB6;
  border-radius: 20px;
  border: 3px solid #FFD36B;
}

.page-index__home-content-inner h2 {
  color: #F2C14E;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.page-index__home-content-inner h3 {
  color: #FFD36B;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}

.page-index__home-content-inner p {
  margin-bottom: 10px;
}

.page-index__home-content-inner ul,
.page-index__home-content-inner ol {
  margin-left: 20px;
  margin-bottom: 10px;
  list-style-position: inside;
}

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

.page-index__home-content-inner a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-index__home-content-inner a:hover {
  color: #F2C14E;
}

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

.page-index__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__figure figcaption {
  font-style: italic;
  font-size: 14px;
  color: #AAA;
  margin-top: 8px;
}

.page-index__table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
  border-radius: 8px;
}

.page-index__responsive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background-color: #111111;
  color: #FFF6D6;
}

.page-index__responsive-table th,
.page-index__responsive-table td {
  border: 1px solid #3A2A12;
  padding: 12px 15px;
  text-align: left;
}

.page-index__responsive-table th {
  background-color: #F2C14E;
  color: #111111;
  font-weight: bold;
}

.page-index__responsive-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-index__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
}

.page-index__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-index__blog-slider {
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__blog-slider-title {
  text-align: center;
  color: #FFD36B;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-index__blog-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-index__blog-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.page-index__blog-slider-track::-webkit-scrollbar {
  height: 8px;
}

.page-index__blog-slider-track::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.page-index__blog-slider-track::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  background: rgba(0, 0, 0, 0.6);
  color: #FFD36B;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 5;
  font-size: 20px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #F2C14E;
}

.page-index__post-item {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  box-sizing: border-box;
  background-color: #111111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.page-index__post-item:hover {
  transform: translateY(-5px);
}

.page-index__post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-index__post-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.page-index__post-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__post-date {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: #fff;
  border: 2px solid #F2C14E;
  border-radius: 2px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.2;
  color: #F2C14E;
  font-size: 11px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-index__post-date-day {
  display: block;
  font-weight: 700;
  font-size: 16px;
}

.page-index__post-date-month {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
}

.page-index__post-item h5 {
  text-align: center;
  color: #FFD36B;
  margin: 12px 8px 6px;
  font-weight: 600;
  padding: 0 5px;
}

.page-index__post-item p {
  text-align: center;
  color: #AAA;
  font-size: 14px;
  margin: 0 8px 8px;
  padding: 0 5px;
}

@media (max-width: 768px) {
  .page-index {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-index__hero-slider,
  .page-index__promo-duo,
  .page-index__section-title,
  .page-index__blog-slider,
  .page-index__home-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index__hero-slider {
    padding-top: 10px !important;
  }
  .page-index__hero-slider-prev,
  .page-index__hero-slider-next {
    padding: 8px 12px;
    font-size: 20px;
  }

  .page-index__promo-duo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-index__promo-cta--alert {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px;
    padding: 12px 15px;
  }

  .page-index__main-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .page-index__home-content {
    height: 60vh;
    min-height: 420px;
    max-height: 560px;
    margin: 16px auto;
    border-width: 3px;
    padding: 8px;
  }
  .page-index__home-content-inner {
    padding: 10px 12px;
  }
  .page-index__home-content-inner h2 {
    font-size: 22px;
  }
  .page-index__home-content-inner h3 {
    font-size: 18px;
  }
  .page-index__table-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index__responsive-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 500px;
  }
  .page-index__responsive-table th,
  .page-index__responsive-table td {
    padding: 10px;
  }
  .page-index__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-index__blog-slider-wrap {
    gap: 5px;
  }
  .page-index__blog-slider-prev,
  .page-index__blog-slider-next {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .page-index__post-item {
    flex: 0 0 100%;
  }
}