/* 🌿 v176-banner: Community Banner - CSS منعزل تماماً */

.community-banner-wrapper {
  max-width: 900px;
  margin: 32px auto 16px;
  padding: 0 20px;
}

.community-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #d4a017 0%, #c08e0e 100%);
  border-radius: 16px;
  padding: 20px 28px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.25);
  transition: all 0.3s ease;
  overflow: hidden;
  color: #1a3d2b;
}

.community-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.community-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(212, 160, 23, 0.35);
  color: #1a3d2b;
}

.community-banner:hover::before {
  transform: scale(1.3);
}

.community-banner-new {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #ef4444;
  color: white;
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
  animation: community-banner-pulse 2s infinite;
  z-index: 2;
  font-family: 'Tajawal', sans-serif;
}

@keyframes community-banner-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239, 68, 68, 0.6);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4), 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

.community-banner-icon {
  font-size: 52px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 1;
}

.community-banner-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.community-banner-title {
  font-family: 'Amiri', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a3d2b;
  margin: 0 0 4px;
  line-height: 1.3;
}

.community-banner-subtitle {
  font-size: 13px;
  color: #1a3d2b;
  opacity: 0.85;
  line-height: 1.5;
  margin: 0;
}

.community-banner-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.community-banner-cta {
  background: #1a3d2b;
  color: #d4a017;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(26, 61, 43, 0.25);
  transition: all 0.2s ease;
}

.community-banner:hover .community-banner-cta {
  background: #0f2a1c;
  transform: scale(1.02);
}

.community-banner-meta {
  font-size: 11px;
  color: #1a3d2b;
  opacity: 0.7;
}

/* Responsive للموبايل */
@media (max-width: 720px) {
  .community-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 14px;
  }
  
  .community-banner-icon {
    font-size: 44px;
  }
  
  .community-banner-title {
    font-size: 20px;
  }
  
  .community-banner-action {
    width: 100%;
  }
  
  .community-banner-cta {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
  
  .community-banner-new {
    right: 16px;
  }
}
