/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.featured-article {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-article .article-image {
  position: relative;
  overflow: hidden;
}

.featured-article .article-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-article:hover .article-image img {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #dc3545;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-article .article-content {
  padding: 1.5rem;
}

.featured-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.featured-article p {
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.article-meta .author {
  font-weight: 600;
}

/* Hero Sidebar */
.hero-sidebar {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: fit-content;
}

.hero-sidebar h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 0.2rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  /* cursor: pointer; */
}

.trending-item:hover {
  background-color: #f8f9fa;
}

.trending-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.trending-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #212529;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.trending-time {
  font-size: 0.8rem;
  color: #6c757d;
}

/* News Sections */
.news-section {
  padding: 3rem 0;
  border-bottom: 1px solid #e9ecef;
}

.news-section:last-child {
  border-bottom: none;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #212529;
  border-radius: 2px;
}

.view-all {
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: #212529;
}

.view-all i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.view-all:hover i {
  transform: translateX(3px);
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}

.article-card.featured {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card.featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.article-card .article-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

.article-card .article-category {
  position: static;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.article-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.article-card p {
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Articles List */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-item {
  display: flex;
  gap: 1rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* cursor: pointer; */
  align-items: center;
}

.article-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.article-item .article-content {
  flex: 1;
}

.article-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-time {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Lifestyle Section (Music & Life) */
.lifestyle-section {
  background: #f8f9fa;
}

.dual-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.section-half .section-header {
  margin-bottom: 1.5rem;
}

.section-half .section-header h2 {
  font-size: 1.5rem;
}

.articles-vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-card.compact {
  margin-bottom: 1rem;
}

.article-card.compact .article-image img {
  height: 180px;
}

.article-card.compact .article-content {
  padding: 1rem;
}

.article-card.compact h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}


/* Category Colors */
.tech-section .article-category {
  background: #007bff;
}

.politics-section .article-category {
  background: #dc3545;
}

.entertainment-section .article-category {
  background: #ff6b6b;
}

.finance-section .article-category {
  background: #28a745;
}

.lifestyle-section .article-category {
  background: #6f42c1;
}

.lifestyle-section .section-half:last-child .article-category {
  background: #fd7e14;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .dual-sections {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section-container {
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 0 1rem;
  }
  
  .news-section {
    padding: 2rem 0;
  }
  
  .featured-article .article-image img {
    height: 200px;
  }
  
  .article-card .article-image img {
    height: 200px;
  }
  
  .article-item {
    flex-direction: column;
    align-items: center;
  }
  
  .article-item img {
    width: 100%;
    height: 150px;
  }
  
  .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 580px) {
  .trending-item {
    flex-direction: column;
    text-align: center;
  }
  
  .trending-item img {
    width: 100%;
    height: 120px;
  }
  
  .article-card.compact .article-image img {
    height: 150px;
  }
}