/**
 * Recently Added Blog Posts Widget Styles
 * Styles for the recently added sidebar widget to match existing widgets
 */

/* Recently added sidebar widget */
.recently-added-widget {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 30px;
}

.recently-added-widget h3 {
  background: #253980;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding: 12px 15px;
  text-transform: uppercase;
  font-family: clearsans-medium, Arial, sans-serif;
  border-radius: 4px 4px 0 0;
}

/* Recently added list styling */
.recently-added-content {
  padding: 0;
  margin: 0;
}

.recently-added-content ul.recently-added-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recently-added-content li {
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 15px;
}

.recently-added-content li:last-child {
  border-bottom: none;
}

.recently-added-content li:hover {
  background-color: #f0f0f0;
}

.recently-added-content a {
  color: #253980;
  text-decoration: none;
  font-size: 14px;
  font-family: ClearSans-Regular, Arial, sans-serif;
  line-height: 1.4;
  transition: color 0.3s ease;
  display: block;
}

.recently-added-content a:hover {
  color: #fb6100;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .recently-added-content li {
    padding: 8px 12px;
  }

  .recently-added-content a {
    font-size: 13px;
  }
}

/* Integration with existing sidebar styles */
.right-sidebar .recently-added-widget {
  width: 100%;
}

/* Make sure it fits well with other sidebar blocks */
.right-sidebar .recently-added-widget + .blog-categories-widget,
.right-sidebar .blog-categories-widget + .recently-added-widget,
.right-sidebar .recently-added-widget + .blog-archive-widget,
.right-sidebar .blog-archive-widget + .recently-added-widget {
  margin-top: 20px;
}