/* Blog Detail Page Styles - Fully Responsive */

.blog-detail-page {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  padding-top: 72px;
}

.blog-detail-container {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 48px 5%;
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #62748e;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 48px;
}

.back-button:hover {
  color: #3b82f6;
  transform: translateX(-4px);
}

.back-button svg {
  width: 20px;
  height: 20px;
}

/* Article */
.blog-article {
  width: 100%;
}

/* Article Meta */
.article-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.article-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: #eff6ff;
  border-radius: 10px;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #155dfc;
  font-size: 14px;
  letter-spacing: 1.4px;
  width: fit-content;
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #90a1b9;
  font-size: 14px;
  letter-spacing: 1.4px;
}

.info-item svg {
  width: 16px;
  height: 16px;
  color: #90a1b9;
}

/* Article Title */
.article-title {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.25;
  margin: 0 0 40px 0;
}

/* Article Image */
.article-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  background-color: #f8fafc;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-bottom: 64px;
}

.article-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

/* Article Content */
.article-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

.article-paragraph {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #45556c;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.75;
  margin: 0;
}

/* Article CTA */
.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  background-color: #f8fafc;
  border-radius: 48px;
  border: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.article-cta .cta-content {
  flex: 1;
  min-width: 280px;
}

.article-cta .cta-title {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: clamp(18px, 2.5vw, 20px);
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.article-cta .cta-description {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #62748e;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.5;
  margin: 0;
}

.cta-button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 40px;
  background-color: #155dfc;
  border-radius: 16px;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0px 8px 10px -6px rgba(190, 219, 255, 0.5), 0px 20px 25px -5px rgba(190, 219, 255, 0.3);
}

.cta-button:hover {
  background-color: #1147e6;
  transform: translateY(-2px);
  box-shadow: 0px 12px 16px -6px rgba(190, 219, 255, 0.6), 0px 24px 32px -5px rgba(190, 219, 255, 0.4);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .blog-detail-container {
    padding: 40px 5%;
  }

  .back-button {
    margin-bottom: 40px;
  }

  .article-image {
    padding-bottom: 65%;
    border-radius: 32px;
  }

  .article-content {
    gap: 32px;
    margin-bottom: 64px;
  }

  .article-cta {
    padding: 32px;
    border-radius: 32px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .blog-detail-page {
    padding-top: 72px;
  }

  .blog-detail-container {
    padding: 32px 5%;
  }

  .back-button {
    margin-bottom: 32px;
    font-size: 14px;
  }

  .article-meta {
    gap: 12px;
    margin-bottom: 24px;
  }

  .article-category {
    font-size: 12px;
    padding: 4px 12px;
  }

  .article-info {
    gap: 16px;
  }

  .info-item {
    font-size: 12px;
  }

  .info-item svg {
    width: 14px;
    height: 14px;
  }

  .article-title {
    margin-bottom: 32px;
  }

  .article-image {
    padding-bottom: 75%;
    border-radius: 24px;
    margin-bottom: 48px;
  }

  .article-content {
    gap: 24px;
    margin-bottom: 48px;
  }

  .article-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    border-radius: 24px;
    gap: 24px;
  }

  .article-cta .cta-content {
    min-width: 100%;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .blog-detail-container {
    padding: 24px 5%;
  }

  .back-button {
    margin-bottom: 24px;
  }

  .article-image {
    padding-bottom: 80%;
    border-radius: 20px;
    margin-bottom: 40px;
  }

  .article-content {
    gap: 20px;
    margin-bottom: 40px;
  }

  .article-cta {
    padding: 20px;
    border-radius: 20px;
  }
}
