/* ==========================================================================
   Author Personal Blog Pro - Featured Spotlight Event Banner Widget
   Namespace: .apb-widget-event-spotlight
   ========================================================================== */

.apb-widget-event-spotlight {
  position: relative;
  width: 100%;
  display: block;
  margin: 0;
  box-sizing: border-box;
}

.apb-event-spotlight-section {
  position: relative;
  width: 100%;
  display: block;
  margin: 0;
  box-sizing: border-box;
  
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;

}

.apb-widget-event-spotlight .apb-featured-event-card {
  background: linear-gradient(135deg, var(--apb-color-primary, #0d5c63) 0%, #084349 100%);
  border-radius: var(--apb-radius-lg, 16px);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #ffffff;
  box-shadow: 0 20px 42px -8px rgba(13, 92, 99, 0.35);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.apb-widget-event-spotlight .apb-featured-event-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.25) 0%, rgba(224, 122, 95, 0) 70%);
  pointer-events: none;
}

.apb-widget-event-spotlight .apb-featured-event-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .apb-widget-event-spotlight .apb-featured-event-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* Date Badge Left */
.apb-widget-event-spotlight .apb-date-badge-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 120px;
  background-color: #ffffff;
  border-radius: var(--apb-radius-md, 12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--apb-color-heading, #0f172a);
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}

.apb-widget-event-spotlight .apb-date-badge-month {
  width: 100%;
  background-color: var(--apb-color-accent, #e07a5f);
  color: #ffffff;
  font-family: var(--apb-font-sans, 'Inter', -apple-system, sans-serif);
  font-size: var(--apb-font-size-xs, 0.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 4px 0;
}

.apb-widget-event-spotlight .apb-date-badge-day {
  font-family: var(--apb-font-serif, 'Playfair Display', Georgia, serif);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 6px;
  color: var(--apb-color-heading, #0f172a);
}

.apb-widget-event-spotlight .apb-date-badge-year {
  font-family: var(--apb-font-sans, 'Inter', -apple-system, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--apb-color-text-muted, #64748b);
  margin-bottom: 6px;
}

/* Center Content */
.apb-widget-event-spotlight .apb-featured-event-info {
  display: flex;
  flex-direction: column;
}

.apb-widget-event-spotlight .apb-featured-tag-row {
  display: flex;
  align-items: center;
  gap: var(--apb-space-2, 0.5rem);
  flex-wrap: wrap;
  margin-bottom: var(--apb-space-2, 0.5rem);
}

.apb-widget-event-spotlight .apb-featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--apb-radius-full, 9999px);
  font-family: var(--apb-font-sans, 'Inter', -apple-system, sans-serif);
  font-size: var(--apb-font-size-xs, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.apb-widget-event-spotlight .apb-featured-pill-spotlight {
  background-color: var(--apb-color-accent, #e07a5f);
  border-color: var(--apb-color-accent, #e07a5f);
}

.apb-widget-event-spotlight .apb-featured-event-title {
  color: #ffffff;
  font-family: var(--apb-font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.6rem, 2.6vw + 0.3rem, 2.35rem);
  line-height: 1.25;
  margin: 0 0 var(--apb-space-3, 0.75rem) 0;
}

.apb-widget-event-spotlight .apb-featured-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--apb-space-3, 0.75rem);
  color: var(--apb-color-border, #e2e8f0);
  font-family: var(--apb-font-sans, 'Inter', -apple-system, sans-serif);
  font-size: var(--apb-font-size-sm, 0.875rem);
}

.apb-widget-event-spotlight .apb-featured-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.apb-widget-event-spotlight .apb-featured-meta-item svg {
  color: #38bdf8;
  flex-shrink: 0;
}

/* Action Column Right */
.apb-widget-event-spotlight .apb-featured-actions-col {
  display: flex;
  flex-direction: column;
  gap: var(--apb-space-2, 0.5rem);
  min-width: 200px;
}

.apb-widget-event-spotlight .apb-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--apb-color-primary, #1e3a8a);
  padding: 0.85rem 1.5rem;
  border-radius: var(--apb-radius-sm, 6px);
  font-family: var(--apb-font-sans, 'Inter', -apple-system, sans-serif);
  font-size: var(--apb-font-size-sm, 0.875rem);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all var(--apb-transition-smooth, 0.3s ease);
  box-sizing: border-box;
}

.apb-widget-event-spotlight .apb-btn-white:hover {
  background-color: var(--apb-color-accent, #e07a5f);
  color: #ffffff;
  transform: translateY(-2px);
}

.apb-widget-event-spotlight .apb-btn-ghost-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.25rem;
  border-radius: var(--apb-radius-sm, 6px);
  font-family: var(--apb-font-sans, 'Inter', -apple-system, sans-serif);
  font-size: var(--apb-font-size-xs, 0.75rem);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--apb-transition-smooth, 0.3s ease);
  box-sizing: border-box;
}

.apb-widget-event-spotlight .apb-btn-ghost-white:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}