/* --- News Page Styles --- */
.page-header {
  background-color: white;
  padding: 3rem 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 3rem;
}

/* News Card */
.news-card {
  border: none;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-img-wrapper img {
  transform: scale(1.1);
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--honda-red);
  color: white;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
}

.news-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.8rem;
}

.news-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: #222;
}

.news-title a {
  text-decoration: none;
  color: #222;
  transition: 0.2s;
}

.news-title a:hover {
  color: var(--honda-red);
}

.news-excerpt {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Article Styles */
.article-container {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.article-content img {
  width: 100%;
}

/* Sidebar Recent Posts */
.recent-post-item {
  display: flex;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.recent-post-img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}

.recent-post-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 5px;
}

.recent-post-title a {
  text-decoration: none;
  color: #333;
}

.recent-post-title a:hover {
  color: var(--honda-red);
}

.recent-post-date {
  font-size: 0.8rem;
  color: #999;
}
