/* News Section - Optimized for Mobile First */
.news {
  padding: 7rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.news-container {
  width: 100%;
  padding: 0 1rem;
}

.news-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #5a3921;
  text-align: center;
  position: relative;
}

.news-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #e6b422;
  margin: 1.5rem auto 0;
}

/* News List Layout - Mobile First */
.news-list {
  margin-top: 7%;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Default to 2 columns */
  gap: 1rem;
  padding: 0;
}

/* News Item Styles */
.news-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-image-container {
  aspect-ratio: 16/9; 
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image {
  transform: scale(1.05);
}

.news-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #fff9e6;
}

.news-date {
  font-size: 0.75rem;
  color: #8c8c8c;
  margin-bottom: 0.5rem;
}

.news-item-title {
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  color: #3a3a3a;
  line-height: 1.3;
}

.news-summary {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  color: #b85c00;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  padding-right: 1.2rem;
}

.news-link:after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform 0.2s ease;
}

.news-link:hover {
  text-decoration: underline;
}

.news-link:hover:after {
  transform: translateX(3px);
}

/* Responsive Adjustments */
/* Responsive Adjustments */
@media (max-width: 480px) {
  .news-list {
    grid-template-columns: 1fr; /* Single column on very small screens */
    gap: 1.5rem;
  }
  
  .news-item {
    flex-direction: row;
    max-height: none; /* Remove fixed height */
    min-height: 120px; /* Use min-height instead */
  }
  
  .news-image-container {
    width: 40%;
    aspect-ratio: 1/1;
  }
  
  .news-content {
    width: 60%;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
  }

  .news-summary {
    margin-bottom: 0.5rem;
  }

  .news-link {
    margin-top: 0.5rem;
  }
}

@media (min-width: 600px) {
  .news-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .news-item {
    flex-direction: column;
    max-height: none;
  }
  
  .news-image-container,
  .news-content {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .news-list {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .news-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .news-list {
    grid-template-columns: repeat(4, 1fr);
  }
}