/* Header Mobile Adaptations - handled in style.css */

/* Blog Page Styles */

.blogMain {
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  min-height: calc(100vh - 200px);
}

/* Blog Header */
.blogHeader {
  text-align: center;
  margin-bottom: 80px;
  padding-top: 40px;
}

.blogHeader h1 {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
}

.blogHeader p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog List - Horizontal Layout */
.blogList {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Blog Item - Scale.com Style */
.blogItem {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blogItem:first-child {
  padding-top: 0;
}

.blogItem:last-child {
  border-bottom: none;
}

.blogItemDate {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 400;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blogItemAuthor {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.blogItemContent {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blogCategory {
  display: inline-block;
  color: #6b9fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blogItemTitle {
  margin: 0;
}

.blogItemTitle a {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blogItemTitle a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.blogItemDesc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blogReadMore {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: opacity 0.2s ease;
}

.blogReadMore:hover {
  opacity: 0.7;
}

.blogReadMore::after {
  content: '→';
  font-size: 16px;
}

/* Empty State */
.emptyState {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #111214 0%, #1c1c1f 100%);
}

.emptyState p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

/* Article Page Styles */
.articleMain {
  padding-top: 100px;
}

.blogArticle {
  max-width: 800px;
  margin: 0 auto;
}

.articleHeader {
  margin-bottom: 48px;
}

.backLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s ease;
}

.backLink:hover {
  color: #fff;
}

.backLink svg {
  width: 18px;
  height: 18px;
}

.articleMeta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.articleDate {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.articleAuthor {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.articleMeta .articleAuthor::before {
  content: '·';
  margin-right: 16px;
  color: rgba(255, 255, 255, 0.3);
}

.articleCategory {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.articleTitle {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

/* Article Content */
.articleContent {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.8;
}

.articleContent h2 {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 500;
  margin-top: 48px;
  margin-bottom: 24px;
}

.articleContent h3 {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin-top: 36px;
  margin-bottom: 16px;
}

.articleContent p {
  margin-bottom: 24px;
}

.articleContent a {
  color: #6b9fff;
  text-decoration: underline;
}

.articleContent a:hover {
  color: #99bdff;
}

.articleContent img {
  width: 100%;
  border-radius: 12px;
  margin: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
}

.articleContent .imgCaption {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-top: -20px;
  margin-bottom: 32px;
}

.articleContent blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  border-left: 4px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 12px 12px 0;
}

.articleContent blockquote p {
  margin-bottom: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

.articleContent blockquote p:last-child {
  margin-bottom: 0;
}

.articleContent ul,
.articleContent ol {
  margin: 24px 0;
  padding-left: 24px;
}

.articleContent li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.articleContent pre {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
  margin: 32px 0;
}

.articleContent code {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.articleContent pre code {
  background: none;
  padding: 0;
}

/* Article Footer */
.articleFooter {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .blogHeader h1 {
    font-size: 40px;
  }

  .blogHeader p {
    font-size: 16px;
  }

  .blogItem {
    grid-template-columns: 160px 1fr;
    gap: 32px;
  }

  .blogItemTitle a {
    font-size: 26px;
  }

  .articleTitle {
    font-size: 32px;
  }

  .articleContent {
    font-size: 16px;
  }

  .articleContent h2 {
    font-size: 24px;
  }

  .articleContent h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .blogMain {
    padding: 100px 16px 60px;
  }

  .blogHeader {
    margin-bottom: 48px;
    padding-top: 20px;
  }

  .blogHeader h1 {
    font-size: 32px;
  }

  .blogItem {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .blogItemDate {
    font-size: 14px;
  }

  .blogItemTitle a {
    font-size: 22px;
  }

  .blogItemDesc {
    font-size: 15px;
  }

  .articleMain {
    padding-top: 80px;
  }

  .articleTitle {
    font-size: 28px;
  }

  .articleMeta {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .articleMeta .articleDate {
    width: 100%;
  }

  .articleMeta .articleAuthor {
    flex: 1;
  }

  .articleMeta .articleAuthor::before {
    display: none;
  }

  .articleMeta .articleCategory {
    margin-left: auto;
  }

  .articleContent blockquote {
    padding: 16px 20px;
  }
}
