/* ===== GLOBAL VARIABLES ===== */
:root {
  --primary-color: #20373d;
  --primary-light: #2c4a52;
  --accent-color: #3a6370;
  --secondary-color: #bca454;
  --secondary-light: #e8c874;
  --dark-color: #222222;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --gray-light: #e9ecef;
  --white-color: #ffffff;
  --overlay-color: rgba(0, 0, 0, 0.7);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --border-radius: 12px; /* Slightly larger for more modern look */
  --container-width: 1320px;

  /* Text size variables for consistency */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
}

/* ===== NEWS PAGE STYLES ===== */
.news-page {
  background-color: var(--light-color);
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark-color);
}

/* Archive Grid */
.news-archive {
  padding: 80px 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.archive-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.news-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.popular-news-box,
.news-categories,
.news-downloads {
  background: var(--white-color);
  padding: 28px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.popular-news-box h3,
.news-categories h4,
.news-downloads h4 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-light);
  font-weight: 600;
  font-size: 1.25rem;
  position: relative;
}

.popular-news-box h3::after,
.news-categories h4::after,
.news-downloads h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

/* Popular News */
.popular-news-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}

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

.popular-news-item:hover {
  transform: translateX(4px);
}

.popular-news-date {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-color);
  margin-bottom: 6px;
  font-weight: 500;
}

.popular-news-title {
  font-size: 0.875rem;
  color: var(--dark-color);
  font-weight: 500;
  transition: var(--transition);
  line-height: 1.4;
  display: block;
}

.popular-news-title:hover {
  color: var(--secondary-color);
}

/* Categories */
.news-categories ul {
  display: grid;
  gap: 8px;
  list-style-type: none;
}

.news-categories a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  color: var(--gray-color);
  transition: var(--transition);
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
}

.news-categories a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: gray;
  border-radius: 50%;
  margin-right: 12px;
  transition: var(--transition);
}

.news-categories a.active,
.news-categories a:hover {
  color: var(--secondary-color);
}

.news-categories a.active::before,
.news-categories a:hover::before {
  background: var(--secondary-color);
}

/* Downloads */
.download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}

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

.download-item:hover {
  transform: translateX(4px);
}

.download-item a {
  color: var(--dark-color);
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
}

.download-item a:hover {
  color: var(--secondary-color);
}

.download-item svg {
  color: var(--secondary-color);
  flex-shrink: 0;
  transition: var(--transition);
}

.download-item:hover svg {
  transform: translateY(-2px);
}

/* Main Content */
.news-main-content {
  padding-bottom: 40px;
}

.news-sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.875rem;
  color: var(--gray-color);
}

.news-sort select {
  padding: 8px 16px;
  border: 1px solid #e1e5e9;
  border-radius: var(--border-radius);
  font-family: inherit;
  background-color: var(--white-color);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.news-sort select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(188, 164, 84, 0.1);
}

.news-list {
  display: grid;
  gap: 30px;
}

/* News Preview Card - PROFESSIONAL REDESIGN */
.news-preview-card {
  background: var(--white-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(188, 164, 84, 0.15);
  background: rgba(188, 164, 84, 0.1);
}

.news-preview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px 10px; /* Top padding only, no bottom */
  margin-bottom: 16px; /* Space between header and content */
  gap: 12px;
  flex-wrap: nowrap;
}

.news-preview-date {
  font-size: 0.8125rem;
  color: var(--white-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  letter-spacing: 0.3px;
  position: relative;
  padding-left: 22px;
  white-space: nowrap;
}

.news-preview-date::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2zm0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8z'/%3E%3Cpath d='M13 7h-2v6h6v-2h-4z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.news-preview-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  background-color: rgba(188, 164, 84, 0.1);
  color: var(--secondary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(188, 164, 84, 0.2);
  white-space: nowrap;
}

.news-preview-category::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--secondary-color);
  border-radius: 50%;
  margin-right: 6px;
}

.news-preview-content {
  padding: 0 24px; /* Only horizontal padding, no top/bottom */
  flex: 1; /* Take available space */
  display: flex;
  flex-direction: column;
}

.news-preview-content h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--primary-color);
  margin-bottom: 14px; /* Reduced from 16px */
  line-height: 1.4;
  font-weight: 600;
}

.news-preview-text p {
  color: var(--gray-color);
  margin-bottom: 20px; /* Reduced from 22px */
  line-height: 1.65;
  font-size: 1rem;
  flex: 1; /* Push actions to bottom */
}

.news-preview-actions {
  display: flex;
  gap: 20px;
  margin-top: 0; /* No top margin - spacing comes from paragraph */
  padding-top: 20px;
  padding-bottom: 24px; /* Bottom padding in content area */
  border-top: 1px solid var(--gray-light);
}

.news-read-more {
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  position: relative;
  padding: 6px 0;
}

.news-read-more::after {
  content: '→';
  transition: var(--transition);
  font-weight: bold;
}

.news-read-more:hover {
  color: var(--primary-color);
  gap: 10px;
}

.news-preview-download {
  color: var(--gray-color);
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  padding: 6px 0;
}

.news-preview-download:hover {
  color: var(--secondary-color);
}

.news-preview-download svg {
  width: 16px;
  height: 16px;
}

/* Pagination */
.news-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-button {
  padding: 8px 14px;
  border: 1px solid #e1e5e9;
  background: var(--white-color);
  color: var(--dark-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-button:hover:not(:disabled) {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.pagination-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.current-page {
  padding: 8px 14px;
  background: var(--secondary-color);
  color: var(--white-color);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.875rem;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal - EXACTLY AS BEFORE - NO CHANGES */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: var(--white-color);
  border-radius: var(--border-radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray-color);
  z-index: 10;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
  color: var(--secondary-color);
  background: rgba(0, 0, 0, 0.1);
}

.modal-body {
  padding: 40px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-category {
  font-size: 0.875rem;
  background-color: rgba(188, 164, 84, 0.1);
  color: var(--secondary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  margin-left: -0.7rem;
}

.modal-date {
  font-size: 0.875rem;
  color: var(--gray-color);
  font-weight: 500;
  margin-right: 3rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.modal-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-color);
}

.modal-text p {
  margin-bottom: 20px;
}

.modal-text h2, 
.modal-text h3, 
.modal-text h4 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin: 28px 0 16px;
  font-weight: 600;
}

.modal-text ul, 
.modal-text ol {
  margin: 20px 0;
  padding-left: 24px;
}

.modal-text li {
  margin-bottom: 10px;
  position: relative;
}

.modal-text ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  top: -2px;
}

.modal-actions {
  margin-top: 40px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--gray-light);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  gap: 8px;
  font-size: 1rem;
  border: 2px solid var(--secondary-color);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(188, 164, 84, 0.2);
}

/* Loading and Error States */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(188, 164, 84, 0.2);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s ease-in-out infinite;
  margin: 40px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.news-error {
  text-align: center;
  padding: 60px 20px;
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.news-error p {
  margin-bottom: 24px;
  color: var(--gray-color);
  font-size: 1rem;
}

.retry-button {
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 1rem;
}

.retry-button:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.no-news-message {
  text-align: center;
  padding: 80px 20px;
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.no-news-message svg {
  color: var(--gray-color);
  margin-bottom: 24px;
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.no-news-message h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 600;
}

.no-news-message p {
  color: var(--gray-color);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
}


/* ===== RESPONSIVE STYLES ===== */

/* Medium devices (tablets, less than 992px) */
@media screen and (max-width: 991.98px) {
  .news-archive {
    padding: 60px 0;
  }
  
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .news-sidebar {
    position: static;
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .news-main-content {
    order: 1;
  }
  
  .popular-news-box {
    grid-column: 1 / -1;
  }
  
  .news-preview-card-header {
    padding: 20px 20px 20px; /* Equal top and bottom padding */
    margin-bottom: 20px; /* Increased from 14px */
    align-items: center; /* Ensure vertical centering */
  }
  
  .news-preview-content {
    padding: 0 20px;
  }
  
  .news-preview-content h3 {
    font-size: 1.25rem;
    margin-bottom: 16px; /* Increased from 12px */
  }
  
  .news-preview-actions {
    padding-bottom: 20px;
  }
  
  /* Modal styles remain exactly the same */
  .modal-body {
    padding: 32px;
  }
  
  .modal-title {
    font-size: 1.25rem;
  }
}

/* Tablets (768px and below) */
@media screen and (max-width: 768px) {
  .news-archive {
    padding: 50px 0;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .news-sidebar {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .popular-news-box,
  .news-categories,
  .news-downloads {
    padding: 24px;
  }
  
  .news-preview-card-header {
    padding: 18px 18px 18px; /* Equal top and bottom padding */
    margin-bottom: 18px; /* Increased from 12px */
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center; /* Ensure vertical centering */
  }
  
  .news-preview-date {
    font-size: 0.75rem;
    padding-left: 18px;
  }
  
  .news-preview-date::before {
    width: 12px;
    height: 12px;
  }
  
  .news-preview-category {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  
  .news-preview-content {
    padding: 0 18px;
  }
  
  .news-preview-content h3 {
    font-size: 1.170rem;
    margin-bottom: 14px; /* Increased from 10px */
  }
  
  .news-preview-text p {
    font-size: 1rem;
    margin-bottom: 18px; /* Increased from 16px */
  }
  
  .news-preview-actions {
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 16px;
    flex-direction: row; /* Keep actions in same line */
  }
  
  .news-sort {
    justify-content: flex-start;
  }
  
  /* Modal styles remain exactly the same */
  .modal-body {
    padding: 24px;
  }
  
  .modal-title {
    font-size: 1.125rem;
  }
}

/* Mobile devices (480px to 767px) */
@media screen and (max-width: 767px) {
  .news-archive {
    padding: 40px 0;
  }
  
  .archive-grid {
    gap: 32px;
  }
  
  .popular-news-box h3,
  .news-categories h4,
  .news-downloads h4 {
    font-size: 1.125rem;
  }
  
  .news-preview-card-header {
    padding: 16px 16px 16px; /* Equal top and bottom padding */
    margin-bottom: 16px; /* Increased from 12px */
    gap: 8px;
    align-items: center; /* Ensure vertical centering */
  }
  
  .news-preview-date {
    font-size: 0.6875rem;
    padding-left: 16px;
  }
  
  .news-preview-date::before {
    width: 10px;
    height: 10px;
  }
  
  .news-preview-category {
    font-size: 0.6875rem;
    padding: 3px 8px;
  }
  
  .news-preview-content {
    padding: 0 16px;
  }
  
  .news-preview-content h3 {
    font-size: 1.09rem;
    margin-bottom: 12px; /* Increased from 10px */
  }
  
  .news-preview-text p {
    font-size: 0.9rem;
    margin-bottom: 16px; /* Increased from 14px */
  }
  
  .news-preview-actions {
    flex-direction: row; /* Keep actions in same line */
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 12px;
  }
  
  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  
  .pagination-button,
  .current-page {
    min-width: 36px;
    height: 36px;
    padding: 6px 10px;
  }
}

/* Large smartphones (600px and below) */
@media screen and (max-width: 600px) {
  .news-preview-card-header {
    padding: 14px 14px 14px; /* Equal top and bottom padding */
    margin-bottom: 14px; /* Increased from 10px */
    align-items: center; /* Ensure vertical centering */
  }
  
  .news-preview-date {
    font-size: 0.625rem;
    padding-left: 14px;
  }
  
  .news-preview-category {
    font-size: 0.625rem;
    padding: 2px 6px;
  }
  
  .news-preview-content {
    padding: 0 14px;
  }
  
  .news-preview-content h3 {
    font-size: 1.09rem;
    margin-bottom: 10px; /* Increased from 8px */
  }
  
  .news-preview-text p {
    font-size: 0.9rem;
    margin-bottom: 14px; /* Increased from 12px */
  }
  
  .news-preview-actions {
    flex-direction: row; /* Keep actions in same line (changed from column) */
    gap: 12px; /* Increased from 8px */
    padding-top: 14px;
    padding-bottom: 14px;
  }
  
  .news-read-more,
  .news-preview-download {
    justify-content: flex-start; /* Changed from center */
    width: auto; /* Changed from 100% */
  }
  
  /* Modal styles remain exactly the same */
  .modal-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .modal-actions {
    margin-top: 32px;
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
  }
}

/* Small mobile devices (320px to 479px) */
@media screen and (max-width: 479px) {
  .news-archive {
    padding: 30px 0;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .popular-news-box,
  .news-categories,
  .news-downloads {
    padding: 20px;
  }
  
  .news-preview-card-header {
    flex-wrap: nowrap;
    gap: 6px;
    padding: 12px 12px 12px; /* Equal top and bottom padding */
    margin-bottom: 12px; /* Increased from 8px */
    align-items: center; /* Ensure vertical centering */
  }
  
  .news-preview-date {
    font-size: 0.5625rem;
    padding-left: 12px;
    min-width: max-content;
  }
  
  .news-preview-date::before {
    width: 8px;
    height: 8px;
  }
  
  .news-preview-category {
    font-size: 0.5625rem;
    padding: 2px 6px 2px 4px;
    min-width: max-content;
  }
  
  .news-preview-category::before {
    width: 3px;
    height: 3px;
    margin-right: 3px;
  }
  
  .news-preview-content {
    padding: 0 12px;
  }
  
  .news-preview-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .news-preview-text p {
    font-size: 0.8rem;
    margin-bottom: 12px; /* Increased from 10px */
  }
  
  .news-preview-actions {
    flex-direction: row; /* Keep actions in same line */
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  
  /* Modal styles remain exactly the same */
  .modal-body {
    padding: 20px;
  }
  
  .modal-text {
    font-size: 0.875rem;
  }
  
  .modal-text h2 {
    font-size: 1.125rem;
  }
  
  .modal-text h3 {
    font-size: 1rem;
  }
}

/* Extra small devices (below 320px) - Last resort for tiny screens */
@media screen and (max-width: 319px) {
  .news-preview-card-header {
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 10px 10px; /* Equal top and bottom padding */
    align-items: center; /* Ensure vertical centering */
  }
  
  .news-preview-date,
  .news-preview-category {
    flex-basis: 100%;
    justify-content: flex-start;
  }
  
  .popular-news-box,
  .news-categories,
  .news-downloads {
    padding: 16px;
  }
  
  .news-preview-card-header {
    padding: 10px 10px 10px;
  }
  
  .news-preview-content {
    padding: 0 10px;
  }
  
  .news-preview-actions {
    flex-direction: row; /* Keep actions in same line */
  }
  
  .pagination-button,
  .current-page {
    min-width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .news-preview-card {
    border-width: 0.5px;
  }
}

/* Print styles */
@media print {
  .news-sidebar {
    display: none;
  }
  
  .archive-grid {
    grid-template-columns: 1fr;
  }
  
  .news-preview-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .news-preview-actions {
    display: none;
  }
  
  .news-sort {
    display: none;
  }
}