/* Article Page Styles */

.sw-article-page {
  display: flex;
  max-width: 1280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 80px 0px 80px;
  margin: 0 auto;
  gap: 16px;
}

.sw-article-page__hero {
  width: 100%;
  height: 600px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-article-page__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.sw-article-page__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.sw-article-page__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  padding: 16px;
  background: #171717;
  border: 0.5px solid #242424;
  border-radius: 16px;
}

.sw-article-page__title {
  font-family: 'Russo One', Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  line-height: 120%;
  color: #F9F9F9;
  margin: 0;
  text-align: left;
  vertical-align: middle;
}

.sw-article-page__text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 140%;
  color: #D8D8D8;
  margin: 0;
  text-align: left;
  vertical-align: middle;
}

.sw-article-page__text p {
  margin: 0 0 16px 0;
}

.sw-article-page__text h2,
.sw-article-page__text h3,
.sw-article-page__text h4,
.sw-article-page__text h5,
.sw-article-page__text h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  color: #F9F9F9;
  margin: 16px 0 16px 0;
}

.sw-article-page__text ul,
.sw-article-page__text ol {
  margin: 16px 0;
  padding-left: 24px;
}

.sw-article-page__text li {
  margin: 8px 0;
}

.sw-article-page__text a {
  color: #FCD704;
  text-decoration: none;
  transition: color 0.2s;
}

.sw-article-page__text a:hover {
  color: #E3C103;
}

/* Similar Articles Section */
.sw-article-page__similar {
  padding: 32px 0;
  max-width: 100%;
  overflow: hidden;
}

.sw-article-page__similar-title {
  font-family: 'Russo One', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  line-height: 120%;
  color: #F9F9F9;
  margin: 12px 0px;
}

.sw-article-page__similar-desc {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #F9F9F9;
  margin: 12px 0px;
}

.sw-article-page__similar-slider {
  margin-bottom: 32px;
  overflow: hidden;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;
}

.sw-article-page__similar-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.sw-article-page__similar-card {
  width: 100%;
  max-width: 416px;
  min-width: 0;
  height: 600px;
  background: #171717;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  margin: 0;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sw-article-page__similar-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.sw-article-page__similar-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.sw-article-page__similar-card-content {
  position: relative;
  z-index: 3;
  background: #0D0D0C;
  border-radius: 16px;
  padding: 16px;
  margin-top: auto;
}

.sw-article-page__similar-card-date {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #D8D8D8;
  margin-bottom: 8px;
  opacity: 0.6;
}

.sw-article-page__similar-card-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: #F9F9F9;
}

.sw-article-page__similar-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

/* Swiper styles */
.swiper-wrapper {
  width: 100% !important;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.sw-article-page__similar-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  flex-shrink: 0;
  margin: 0;
}

.swiper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.swiper-pagination {
  position: static;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.sw-article-page__similar-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: #FCD704 !important;
  opacity: 0.3 !important;
  transition: all 0.3s ease;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 6px !important;
}

.sw-article-page__similar-pagination .swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 48px;
  border-radius: 8px;
  background: #FCD704 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sw-article-page {
    padding: 32px 0 64px 0;
    gap: 64px;
  }
  
  .sw-article-page__hero {
    height: 400px;
  }

  .sw-article-page__image {
    margin: 0 16px;
    border-radius: 16px;
  }

  .sw-article-page__image::after {
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0));
  }
  
  .sw-article-page__title {
    font-size: 20px;
  }
  
  .sw-article-page__text h2,
  .sw-article-page__text h3,
  .sw-article-page__text h4,
  .sw-article-page__text h5,
  .sw-article-page__text h6 {
    font-size: 16px;
  }

  .sw-article-page__similar .sw-footer__tag {
    margin-left: 16px;
  }

  .sw-article-page__similar-title {
    margin-left: 16px;
  }
  
  .sw-article-page__similar-title {
    font-size: 20px;
  }
  
  .sw-article-page__similar-desc {
    font-size: 14px;
    margin-left: 16px;
  }
  
  .sw-article-page__similar-slider {
    margin-bottom: 24px;
  }

  .sw-article-page__similar-card {
    width: 343px;
    margin-left: 16px;
  }
}

@media (max-width: 480px) {
  .sw-article-page__text h2,
  .sw-article-page__text h3,
  .sw-article-page__text h4,
  .sw-article-page__text h5,
  .sw-article-page__text h6 {
    font-size: 14px;
  }
  
  .sw-article-page__similar-slider {
    margin-bottom: 20px;
  }
} 