/* Global Styles */
:root {
  --primary-color: #f7941d;
  --secondary-color: #2d5d86;
  --dark-blue: #1e3a5f;
  --light-gray: #f5f5f5;
  --text-color: #333;
}

.project-info-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.project-info-item {
  padding: 8px 15px;
  border-bottom: 1px solid #eee;
}

.project-info-item:last-child {
  border-bottom: none;
}

.project-info-item a {
  color: var(--secondary-color);
  font-weight: 500;
}

.project-info-item a:hover {
  color: var(--primary-color);
}

/* Article Styles */
.article-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.article-subtitle {
  color: var(--dark-blue);
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 1rem;
}

.article-date {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.article-content {
  font-size: 1rem;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content img{
    width: 100%;
}

/* Sidebar Styles */
.sidebar-box {
  background-color: var(--light-gray);
  padding: 20px;
  border-radius: 5px;
}

.sidebar-title {
  color: var(--dark-blue);
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 20px;
}

.news-item {
  margin-bottom: 15px;
}

.news-content h6 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Related Posts */
.related-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 10px;
  /* border-bottom: 2px solid var(--primary-color); */
}

/* News Links */
.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-link:hover {
  color: inherit;
}

/* .card {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
} */

/* Date Badge */
.date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  z-index: 1;
}

.orange-badge {
  width: auto;
  height: auto;
  padding: 5px 10px;
}

.date-badge .day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.date-badge .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}

/* News Grid */
.news-grid-item {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.news-grid-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-grid-item .news-content {
  padding: 1rem;
  background: white;
}

.news-grid-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-grid-item .category {
  display: inline-block;
  color: #777;
  font-size: 0.8rem;
}

/* Read More Link */
.read-more {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 0.3rem;
  font-size: 0.8rem;
}

/* Hover Effects */
.featured-news-item:hover img,
.news-grid-item:hover img {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.side-news-item:hover,
.news-grid-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
  transition: transform 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .article-subtitle {
      font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .project-info-box {
      display: none;
  }

  .article-subtitle {
      font-size: 1.3rem;
  }
}