.sidebar-widget {
  position: sticky;
  top: 2rem;
  width: 300px;
  margin-left: 2rem;
}
.sidebar-widget .widget-section {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}
.sidebar-widget .widget-section:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.sidebar-widget .widget-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.sidebar-widget .datetime-section .date,
.sidebar-widget .datetime-section .time {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}
.sidebar-widget .datetime-section .time {
  font-family: monospace;
  font-size: 1.3rem;
}
.sidebar-widget .weather-section .weather-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sidebar-widget .weather-section .weather-info .temperature {
  font-size: 1.8rem;
  font-weight: 500;
}
.sidebar-widget .weather-section .weather-info .weather-desc {
  color: rgba(255, 255, 255, 0.8);
}
.sidebar-widget .quote-section .quote-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}
.sidebar-widget .comments-section .comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar-widget .comments-section .comment-item {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-widget .comments-section .comment-item:last-child {
  border-bottom: none;
}
.sidebar-widget .comments-section .comment-item .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.sidebar-widget .comments-section .comment-item .comment-content {
  flex: 1;
  min-width: 0;
}
.sidebar-widget .comments-section .comment-item .comment-content .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}
.sidebar-widget .comments-section .comment-item .comment-content .comment-header .name {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.sidebar-widget .comments-section .comment-item .comment-content .comment-header .time {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}
.sidebar-widget .comments-section .comment-item .comment-content .text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  overflow-wrap: break-word;
}
.sidebar-widget .comments-section .comment-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 0.5rem;
  margin: 0 -0.5rem;
}
@media (max-width: 1200px) {
  .sidebar-widget {
    width: 250px;
  }
}
@media (max-width: 768px) {
  .sidebar-widget {
    width: 100%;
    margin-left: 0;
    margin-top: 2rem;
  }
}
