/* === Medium RSS Feed Section === */
#medium {
  padding: 60px 20px;
  background-color: #fdfdfd;
}

#medium h2 {
  font-size: 2.5rem;
  color: #222;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* RSS Feed Grid */
#medium .feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* RSS Card */
#medium .feed-item {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#medium .feed-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Feed Link */
#medium .feed-item a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #007bff;
  font-weight: 600;
  transition: color 0.3s ease;
  line-height: 1.6;
}

#medium .feed-item a:hover {
  color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #medium h2 {
    font-size: 2rem;
  }

  #medium .feed-item {
    padding: 1.25rem;
  }

  #medium .feed-item a {
    font-size: 1rem;
  }
}
