/* Blog Styles */

/* Blog Main */
.blog-main {
  min-height: 100vh;
  padding-top: 80px;
}

/* Blog Hero */
.blog-hero {
  background: linear-gradient(135deg, #8B1538 0%, #5a0e24 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: white;
}

.blog-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog List */
.blog-list {
  padding: 80px 0;
  background: #0a0a0a;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* Blog Card */
.blog-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 21, 56, 0.3);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #8B1538;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #888;
}

.blog-card-date::after {
  content: "•";
  margin-left: 1rem;
}

.blog-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
  line-height: 1.3;
}

.blog-card-excerpt {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tag {
  background: rgba(139, 21, 56, 0.2);
  color: #ff6b9d;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
}

/* Article Styles */
.blog-article {
  background: #0a0a0a;
  min-height: 100vh;
  padding-top: 80px;
}

.article-hero {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #1a1a1a;
}

.article-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.article-back {
  display: inline-flex;
  align-items: center;
  color: #8B1538;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.article-back:hover {
  color: #ff6b9d;
}

.article-header {
  margin-bottom: 3rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-badge {
  background: #8B1538;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.article-date,
.article-reading-time {
  color: #888;
  font-size: 0.875rem;
}

.article-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-subtitle {
  font-size: 1.25rem;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-tag {
  background: rgba(139, 21, 56, 0.2);
  color: #ff6b9d;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
}

/* Article Content */
.article-content {
  color: #ddd;
  line-height: 1.8;
  font-size: 1.125rem;
}

.article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 3rem 0 1.5rem;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin: 2rem 0 1rem;
}

.article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.75rem;
}

.article-content strong {
  color: white;
  font-weight: 600;
}

.article-content a {
  color: #8B1538;
  text-decoration: underline;
}

.article-content a:hover {
  color: #ff6b9d;
}

/* Table of Contents */
.article-toc {
  background: #1a1a1a;
  border-left: 4px solid #8B1538;
  padding: 1.5rem;
  margin-bottom: 3rem;
  border-radius: 8px;
}

.article-toc h3 {
  font-size: 1.25rem;
  color: white;
  margin: 0 0 1rem 0;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc li {
  margin-bottom: 0.5rem;
}

.article-toc a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-toc a:hover {
  color: #8B1538;
}

/* Callouts */
.article-callout {
  background: rgba(139, 21, 56, 0.1);
  border-left: 4px solid #8B1538;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.article-warning {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
  color: #ffc107;
}

/* Lists */
.article-list {
  background: #1a1a1a;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.article-list h4 {
  margin-top: 0;
}

/* Comparison */
.article-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.comparison-item {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid #2a2a2a;
}

.comparison-item h4 {
  color: #8B1538;
  margin-top: 0;
}

/* Steps */
.article-steps {
  margin: 2rem 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #8B1538;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-content h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.step-content p {
  margin-bottom: 0;
}

/* Mistakes */
.article-mistake {
  background: #1a1a1a;
  border-left: 4px solid #dc3545;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.article-mistake h3 {
  color: #dc3545;
  margin-top: 0;
}

/* Checklist */
.article-checklist {
  margin: 2rem 0;
}

.checklist-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
}

.checklist-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #28a745;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.checklist-content h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.checklist-content p {
  margin-bottom: 0;
}

/* Conclusion */
.article-conclusion {
  background: #1a1a1a;
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  border: 2px solid #8B1538;
}

/* CTA */
.article-cta {
  background: linear-gradient(135deg, #8B1538 0%, #5a0e24 100%);
  padding: 3rem;
  margin: 3rem 0;
  border-radius: 12px;
  text-align: center;
}

.article-cta h3 {
  color: white;
  margin-top: 0;
  margin-bottom: 1rem;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Share Buttons */
.article-share {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #2a2a2a;
}

.article-share h4 {
  color: white;
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.share-twitter {
  background: #1DA1F2;
  color: white;
}

.share-twitter:hover {
  background: #1a8cd8;
  transform: translateY(-2px);
}

.share-linkedin {
  background: #0077B5;
  color: white;
}

.share-linkedin:hover {
  background: #006399;
  transform: translateY(-2px);
}

/* Article Disclaimer */
.article-disclaimer {
  background: #1a1a1a;
  border-left: 4px solid #8B1538;
  padding: 1.5rem;
  margin: 3rem 0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #aaa;
}

.article-disclaimer p {
  margin-bottom: 0.5rem;
}

.article-disclaimer p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero-title {
    font-size: 2.5rem;
  }

  .blog-hero-description {
    font-size: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-subtitle {
    font-size: 1rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .article-content h3 {
    font-size: 1.25rem;
  }

  .article-comparison {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
  }
}
