/* Article Styles */

/* All Articles Page */
.all-articles-section {
  background: #0d0d0d;
  padding: 100px 50px 80px 50px;
  min-height: 100vh;
}

.all-articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.all-articles-section h1 {
  font-size: 3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #a64dff, #ff006e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.articles-subtitle {
  font-size: 1.2rem;
  color: #a64dff;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 500;
}

.all-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.all-article-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(166, 77, 255, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.all-article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(166, 77, 255, 0.6);
}

.all-article-thumbnail {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #a64dff, #ff006e);
}

.all-article-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.all-article-card h2 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-excerpt {
  color: #bbb;
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.article-meta {
  color: #a64dff;
  font-size: 0.85rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #a64dff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  align-self: flex-start;
}

.read-more-btn:hover {
  background: #7a2bcc;
  transform: translateX(5px);
}

.back-to-home {
  text-align: center;
  margin-top: 60px;
}

.back-to-home-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #a64dff;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-to-home-btn:hover {
  background: #7a2bcc;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(166, 77, 255, 0.4);
}

/* Article Container */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 40px 80px 40px;
  background: #0d0d0d;
  min-height: 100vh;
}

/* Back Link */
.article-back {
  margin-bottom: 30px;
}

.article-back a {
  color: #a64dff;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
}

.article-back a:hover {
  color: #ff006e;
}

/* Article Header */
.article-header {
  margin-bottom: 50px;
  text-align: center;
}

.article-thumbnail {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 0 30px rgba(166, 77, 255, 0.3);
}

.article-header h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.2;
}

.article-date {
  color: #a64dff;
  font-size: 1rem;
  font-weight: 500;
}

/* Article Content */
.article-content {
  color: #eaeaea;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Brand Breakdowns Section */
.brand-breakdowns-title {
  font-size: 2.6rem;
  color: #fff;
  text-align: center;
  margin: 60px 0 10px;
  background: linear-gradient(135deg, #ffa500, #ff6b6b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-breakdowns-subtitle {
  font-size: 1.1rem;
  color: #ffa500;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
}

.brand-breakdowns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.brand-breakdown-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brand-breakdown-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(255, 165, 0, 0.6);
}

.brand-breakdown-thumbnail {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #ffa500, #ff6b6b);
}

.brand-breakdown-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.brand-breakdown-info h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.4;
}

.breakdown-excerpt {
  color: #bbb;
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.article-content h2 {
  font-size: 2rem;
  color: #a64dff;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(166, 77, 255, 0.3);
  padding-bottom: 10px;
}

.article-content h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.article-content p {
  margin-bottom: 20px;
  color: #ccc;
  text-align: justify;
}

.article-content ul,
.article-content ol {
  margin: 25px 0;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 12px;
  color: #ccc;
}

.article-content strong {
  color: #fff;
  font-weight: 600;
}

/* Back Button at End */
.back-btn {
  display: inline-block;
  margin-top: 50px;
  padding: 12px 30px;
  background: #a64dff;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #7a2bcc;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(166, 77, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .all-articles-section {
    padding: 80px 20px 60px 20px;
  }

  .all-articles-section h1 {
    font-size: 2rem;
  }

  .articles-subtitle {
    font-size: 1rem;
  }

  .all-articles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .all-article-card {
    flex-direction: row;
  }

  .all-article-thumbnail {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
  }

  .all-article-info {
    padding: 20px;
  }

  .all-article-card h2 {
    font-size: 1.2rem;
  }

  .article-excerpt {
    font-size: 0.9rem;
  }

  .article-container {
    padding: 80px 20px 60px 20px;
  }

  .article-header h1 {
    font-size: 2rem;
  }

  .article-thumbnail {
    height: 200px;
  }

  .article-content h2 {
    font-size: 1.6rem;
  }

  .article-content h3 {
    font-size: 1.2rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .all-articles-section {
    padding: 70px 15px 50px 15px;
  }

  .all-articles-section h1 {
    font-size: 1.5rem;
  }

  .articles-subtitle {
    font-size: 0.9rem;
  }

  .all-article-card {
    flex-direction: column;
  }

  .all-article-thumbnail {
    width: 100%;
    height: 150px;
  }

  .all-article-card h2 {
    font-size: 1.1rem;
  }

  .article-excerpt {
    font-size: 0.85rem;
  }

  .article-container {
    padding: 70px 15px 50px 15px;
  }

  .article-header h1 {
    font-size: 1.6rem;
  }

  .article-thumbnail {
    height: 150px;
    margin-bottom: 20px;
  }

  .article-content h2 {
    font-size: 1.4rem;
    margin-top: 30px;
  }

  .article-content h3 {
    font-size: 1.1rem;
    margin-top: 20px;
  }

  .article-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .back-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
