.home-tabs.card { margin-bottom: 2rem; }
.welcome-section { margin-top: 1.5rem; }
/* When tabs are inside a card, use the card styling and spacing */
.home-tabs.card .tab-content { 
  background: transparent; 
  box-shadow: none; 
  padding: 0; 
  margin-bottom: 0; 
}
.home-tabs.card .card-header { padding: .75rem 1rem 0 1rem; }
.home-tabs.card .modern-home-tabs { 
  border-radius: 2rem; 
  padding: .5rem .75rem; 
  gap: .5rem; 
  background: rgba(255,255,255,.6);
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
/* Home tabs/widgets styling aligned with existing panel style */
.modern-home-tabs .nav-link {
  border-radius: 2rem;
  padding: .5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2c8e3e;
  background: transparent;
  transition: background .18s, color .18s;
  margin: 0 .1rem;
  box-shadow: none;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.modern-home-tabs .nav-link.active, .modern-home-tabs .nav-link:focus, .modern-home-tabs .nav-link:hover {
  background: linear-gradient(90deg,#2c8e3e 0%,#43b36a 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(44,142,62,0.08);
}

.home-tabs .card.event-card .icon {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(44,142,62,.1);
  display: inline-flex; align-items: center; justify-content: center; color: #2c8e3e;
}

.home-tabs .info-card .icon {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(33,37,41,.08);
  display: inline-flex; align-items: center; justify-content: center; color: #343a40;
}

.media-thumb { text-decoration: none; color: inherit; transition: transform .15s ease; }
.media-thumb:hover { transform: translateY(-2px); }
