/* News Page Styles */

/* News Page Header */
.news-page-wrap {
  padding: 2rem 0;
}

.news-page-media {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.news-page-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.tiny-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FF6600;
}

/* News Cards */
.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.news-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.news-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  border: 1px solid #e0e0e0;
  height: 100%;
}

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

.news-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.news-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  color: #6c757d;
  font-weight: 500;
}

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

.news-card-body {
  padding: 1.5rem;
}

.news-card-date {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.news-card-date i {
  margin-right: 0.25rem;
}

.news-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #181818;
}

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

.news-card-read-more {
  font-weight: 600;
  color: #FF6600;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.news-card-read-more i {
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.news-card-link:hover .news-card-read-more {
  color: #e05500;
}

.news-card-link:hover .news-card-read-more i {
  transform: translateX(3px);
}

/* Sidebar */
.news-sidebar-sticky {
  position: sticky;
  top: 2rem;
}

.news-sidebar-card {
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid #e0e0e0;
}

.news-sidebar-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #181818;
  display: flex;
  align-items: center;
}

.news-sidebar-heading i {
  margin-right: 0.5rem;
  color: #FF6600;
}

.news-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-sidebar-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

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

.news-sidebar-link {
  text-decoration: none;
  color: #181818;
  font-weight: 500;
  transition: color 0.2s ease;
  display: block;
}

.news-sidebar-link:hover {
  color: #FF6600;
  text-decoration: none;
}

.news-sidebar-date {
  font-size: 0.75rem;
  color: #6c757d;
  display: block;
  margin-top: 0.25rem;
}

.news-sidebar-empty {
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding: 1rem 0;
}

/* Tag Cloud */
.news-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background-color: #f8f9fa;
  color: #495057;
  border-radius: 20px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e9ecef;
}

.news-tag:hover {
  background-color: #FF6600;
  color: #fff;
  border-color: #FF6600;
  text-decoration: none;
}

/* News Article Page */
.news-article-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.news-article-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #181818;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.news-article-meta-item {
  display: flex;
  align-items: center;
}

.news-article-meta-item i {
  margin-right: 0.5rem;
}

.news-article-img {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.news-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.news-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

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

.news-article-content h2,
.news-article-content h3,
.news-article-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #181818;
}

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

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

.news-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

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

.news-article-back-link:hover {
  color: #e05500;
  text-decoration: none;
}

.news-article-back-link i {
  margin-right: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .news-page-media {
    height: 200px;
  }
  
  .news-card-img {
    height: 150px;
  }
  
  .news-article-title {
    font-size: 1.5rem;
  }
  
  .news-article-img {
    height: 300px;
  }
  
  .news-article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .news-page-wrap {
    padding: 1rem 0;
  }
  
  .news-card-body {
    padding: 1rem;
  }
  
  .news-sidebar-card {
    padding: 1rem;
  }
  
  .news-article-img {
    height: 200px;
  }
}