/* News Page Specific Styles */

/* Breadcrumb */
.breadcrumb {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
  font-size: 13px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumb .current {
  color: #000;
  font-weight: 500;
}

/* News Main Layout */
.news-main {
  padding: 32px 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Page Header */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #000;
}

.page-header h1 {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin-bottom: 8px;
}

.page-header p {
  color: #666;
  font-size: 16px;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.news-item {
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fff;
}

.news-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.news-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #e9ecef;
}

.news-content-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.news-category {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  font-family: "Arial", sans-serif;
  margin-bottom: 12px;
  display: block;
}

.news-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.4;
  flex-grow: 1;
}

.news-item h3 a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-item:hover h3 a {
  color: #666;
}

.news-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}

.news-date {
  font-size: 12px;
  color: #999;
  font-family: "Arial", sans-serif;
}

.news-arrow {
  color: #ccc;
  font-size: 16px;
  transition: color 0.3s ease;
}

.news-item:hover .news-arrow {
  color: #000;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination-btn {
  padding: 10px 16px;
  border: 1px solid #e9ecef;
  background: #fff;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background: #f8f9fa;
  border-color: #000;
}

.pagination-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.pagination-btn.next {
  font-weight: 500;
}

/* Sidebar */
.news-sidebar {
  position: sticky;
  top: 24px;
}

.sidebar-section {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  padding: 16px 20px;
  margin: 0;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
}

/* Categories */
.category-list {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.category-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
}

.category-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.category-list a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.category-list a:hover {
  color: #000;
}

.category-list span {
  color: #999;
  font-size: 12px;
}

/* Popular Posts */
.popular-posts {
  padding: 20px;
}

.popular-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.popular-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: "Arial", sans-serif;
}

.popular-content h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
}

.popular-content h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.popular-content h4 a:hover {
  color: #000;
}

.popular-views {
  font-size: 11px;
  color: #999;
  font-family: "Arial", sans-serif;
}

/* Newsletter */
.newsletter {
  background: #000 !important;
  color: #fff;
}

.newsletter .sidebar-title {
  background: #000;
  color: #fff;
  border-bottom-color: #333;
}

.newsletter p {
  padding: 0 20px 16px 20px;
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.newsletter-form {
  padding: 0 20px 20px 20px;
}

.newsletter-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  background: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.newsletter-form button {
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.newsletter-form button:hover {
  background: #f0f0f0;
}

/* Advertisement */
.ad-section .sidebar-title {
  background: #f8f9fa;
  color: #666;
}

.ad-placeholder {
  padding: 40px 20px;
  text-align: center;
  background: #f0f0f0;
  color: #999;
  border: 2px dashed #ddd;
  margin: 20px;
}

.ad-placeholder p {
  margin: 0 0 8px 0;
  font-size: 14px;
}

.ad-placeholder span {
  font-size: 12px;
  color: #bbb;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .news-sidebar {
    position: static;
  }

  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .news-main {
    padding: 24px 0;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-item img {
    height: 180px;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 4px;
  }

  .pagination-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .news-item img {
    height: 160px;
  }

  .news-content-inner {
    padding: 16px;
  }

  .news-item h3 {
    font-size: 16px;
  }

  .pagination-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}
