/* ============================================================
   SG FOODEES - BESPOKE LUXURY EXPO PAGE HEADER
   Original, Creative, High-Impact Editorial Layout
============================================================ */

.sg-page-header {
  position: relative;
  overflow: hidden;
  background-color: #fdfcf9;
  padding: 48px 0 50px;
  border-bottom: none !important;
}

/* Prevent any dark border-top from following section leaking in */
.sg-page-header + * {
  border-top: none !important;
}
.patt-bg {
  border-top: none !important;
}

/* Bottom feather overlay - melts the photo smoothly into white so no sharp cutoff */
.sg-header-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0) 0%, rgba(255, 253, 249, 0.5) 40%, #ffffff 100%);
  z-index: 3;
  pointer-events: none;
}

/* ============================================================
   SIMPLE DIVISION BORDER (Clean, Minimalist, Non-Colorful)
============================================================ */

/* 1. Simple Division Border (Default - Clean, subtle 1px divider) */
.sg-header-divider,
.sg-header-divider.divider-simple,
.sg-header-divider.divider-gradient,
.sg-header-divider.divider-slant,
.sg-header-divider.divider-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #e5e7eb;
  z-index: 4;
  box-shadow: none !important;
  clip-path: none !important;
}

.sg-header-divider::before,
.sg-header-divider::after {
  display: none !important;
  content: none !important;
}

.sg-header-divider svg {
  display: none !important;
}

/* 2. Style: Seamless Dissolve (Pure Clean Fade, Zero Border) */
.sg-header-divider.divider-seamless {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 55%, #ffffff 100%);
  z-index: 4;
  pointer-events: none;
  box-shadow: none !important;
}

/* Background image layer */
.sg-header-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(1.15) contrast(1.06);
  opacity: 1;
  z-index: 1;
}

.sg-page-header:hover .sg-header-bg {
  transform: scale(1.04);
}

/* Luxury Multi-Stage Asymmetric Overlay - Background more visible */
.sg-header-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* Cream/Ivory artistic fade on desktop revealing the expo floor clearly on the right */
  background: linear-gradient(
    90deg,
    rgba(255, 253, 249, 0.94) 0%,
    rgba(255, 253, 249, 0.86) 28%,
    rgba(255, 253, 249, 0.48) 50%,
    rgba(255, 253, 249, 0.14) 72%,
    rgba(255, 253, 249, 0.02) 100%
  );
}

/* Subtle ambient radial highlights */
.sg-header-overlay::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(202, 25, 30, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sg-header-overlay::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Content Container */
.sg-header-content {
  position: relative;
  z-index: 5;
  max-width: 780px;
  text-align: left;
}

/* 1. Breadcrumb - Bespoke Floating Track */
.sg-breadcrumb {
  margin-bottom: 12px;
}

.sg-breadcrumb ol {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 999px;
  list-style: none;
  font-size: 12.5px;
  color: #78716c;
  font-family: var(--font-body);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.sg-breadcrumb a {
  color: #78716c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.sg-breadcrumb a:hover {
  color: #CA191E;
}

.sg-breadcrumb .crumb-slash {
  color: #d6d3d1;
  font-size: 11px;
}

.sg-breadcrumb .crumb-active {
  color: #1c1917;
  font-weight: 600;
}

/* 2. Summit Ribbon / Live Edition Pill */
.sg-summit-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(202, 25, 30, 0.06);
  border: 1px solid rgba(202, 25, 30, 0.16);
  border-radius: 999px;
  margin-bottom: 14px;
}

.sg-live-dot {
  width: 7px;
  height: 7px;
  background: #CA191E;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(202, 25, 30, 0.6);
  animation: sgPulse 2s infinite;
}

@keyframes sgPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(202, 25, 30, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(202, 25, 30, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(202, 25, 30, 0);
  }
}

.sg-ribbon-edition {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #CA191E;
  text-transform: uppercase;
}

.sg-ribbon-divider {
  color: #fca5a5;
  font-size: 10px;
}

.sg-ribbon-tag {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: #78716c;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* 3. Headline with Two-Tone Gradient Emphasis (Fraunces editorial title) */
.sg-headline {
  font-family: var(--font-display) !important;
  font-size: 38px;
  line-height: 1.24;
  font-weight: 500;
  color: #2b1710;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0;
  max-width: 740px;
  word-break: break-word;
}

.sg-title-accent {
  background: linear-gradient(135deg, #CA191E 0%, #E11D48 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* 4. Lead Description */
.sg-lead {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: #57534e;
  margin: 0 0 24px 0;
  max-width: 650px;
}

/* 5. Quick Event Highlights Chips (Original Signature Feature!) */
.sg-expo-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.sg-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 10px;
  padding: 6px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sg-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(202, 25, 30, 0.25);
}

.sg-chip i {
  color: #CA191E;
  font-size: 13px;
}

.sg-chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sg-chip-text strong {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: #1c1917;
}

.sg-chip-text small {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: #78716c;
  font-weight: 500;
}

/* 6. Actions Row */
.sg-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.sg-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Primary Button with Smooth Ruby Sheen */
.sg-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #CA191E 0%, #B91C1C 100%);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 18px -2px rgba(202, 25, 30, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.sg-btn-primary:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px rgba(202, 25, 30, 0.45);
  color: #ffffff !important;
}

.sg-btn-primary i {
  font-size: 13px;
  transition: transform 0.25s ease;
}

.sg-btn-primary:hover i {
  transform: translateX(3px);
}

/* Secondary Button with Glass Border */
.sg-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #1c1917 !important;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(28, 25, 23, 0.14);
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sg-btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(28, 25, 23, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(28, 25, 23, 0.08);
  color: #1c1917 !important;
}

.sg-btn-secondary i {
  font-size: 13px;
  transition: transform 0.25s ease;
}

.sg-btn-secondary:hover i {
  transform: translateY(2px);
}

/* 7. Organizer Endorsement Pill */
.sg-organizer-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(28, 25, 23, 0.1);
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.05);
  transition: transform 0.2s ease;
}

.sg-organizer-pill:hover {
  transform: translateY(-1px);
}

.sg-organizer-badge-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: rgba(202, 25, 30, 0.08);
  color: #CA191E;
  border-radius: 50%;
  font-size: 10px;
}

.sg-organizer-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.sg-organizer-img {
  max-width: 115px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* ============================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
============================================================ */
@media (max-width: 991px) {
  .sg-page-header {
    padding: 38px 0 36px;
  }
  .sg-header-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 253, 249, 0.92) 0%,
      rgba(255, 253, 249, 0.82) 55%,
      rgba(255, 253, 249, 0.65) 100%
    );
  }
  .sg-headline {
    font-size: 31px;
    line-height: 1.22;
  }
  .sg-lead {
    font-size: 14.5px;
    margin-bottom: 16px;
  }
  .sg-expo-chips {
    gap: 8px;
    margin-bottom: 18px;
  }
  .sg-chip {
    padding: 5px 12px;
  }
  .sg-actions-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .sg-btn-group {
    width: 100%;
  }
  .sg-btn-primary,
  .sg-btn-secondary {
    flex: 1;
    justify-content: center;
    padding: 11px 16px;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .sg-headline {
    font-size: 25px;
  }
  .sg-summit-ribbon {
    padding: 4px 10px;
    gap: 6px;
  }
  .sg-ribbon-edition,
  .sg-ribbon-tag {
    font-size: 10.5px;
  }
  .sg-expo-chips {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .sg-chip {
    width: 100%;
  }
  .sg-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .sg-btn-primary,
  .sg-btn-secondary {
    width: 100%;
  }
  .sg-organizer-pill {
    width: 100%;
    justify-content: center;
  }
}
