/**
 * LIOS Modern JNews Home - Black Friday Store Sale Hero Stylesheet
 *
 * Designed to seamlessly replace the hero with a high-converting
 * tropical Black Friday Bookstore CTA while preserving site aesthetics.
 */

:root {
  --lios-bf-navy-dark: #07254d;
  --lios-bf-navy-deep: #051a36;
  --lios-bf-blue: #0b4ea2;
  --lios-bf-blue-hover: #083877;
  --lios-bf-gold: #ffd000;
  --lios-bf-gold-gradient: linear-gradient(135deg, #fdd835 0%, #f59e0b 100%);
  --lios-bf-gold-dark: #d97706;
  --lios-bf-white: #ffffff;
}

/* ==========================================================================
   BLACK FRIDAY HERO CONTAINER & TROPICAL BACKDROP
   ========================================================================== */
.lios-home .lios-bf-store-hero,
.lios-bf-store-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 48px 20px 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  box-shadow: inset 0 -30px 40px rgba(0, 0, 0, 0.12);
}

@media (min-width: 992px) {
  .lios-home .lios-bf-store-hero,
  .lios-bf-store-hero {
    background-size: 100% 100%;
    min-height: 540px;
    padding: 44px 24px 38px;
  }
}

.lios-bf-store-hero__shell {
  position: relative;
  z-index: 3;
  width: min(100%, 1100px);
  margin-inline: auto;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Isolated Tropical Palm Fronds (Wind Breeze Animation)
   -------------------------------------------------------------------------- */
.lios-bf-store-hero__fronds {
  position: absolute;
  bottom: -20px;
  width: clamp(260px, 28vw, 420px);
  max-width: 45vw;
  height: auto;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.22));
}

.lios-bf-store-hero__fronds img {
  display: block;
  width: 100%;
  height: auto;
}

.lios-bf-store-hero__fronds--left {
  left: -20px;
  transform-origin: bottom left;
  animation: liosPalmsWindLeft 8s ease-in-out infinite alternate;
}

.lios-bf-store-hero__fronds--right {
  right: -20px;
  transform-origin: bottom right;
  transform: scaleX(-1);
  animation: liosPalmsWindRight 9.5s ease-in-out infinite alternate;
}

@keyframes liosPalmsWindLeft {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  30% {
    transform: rotate(2.4deg) translate(5px, -3px);
  }
  65% {
    transform: rotate(-1.5deg) translate(-2px, 2px);
  }
  100% {
    transform: rotate(1.8deg) translate(3px, -2px);
  }
}

@keyframes liosPalmsWindRight {
  0% {
    transform: scaleX(-1) rotate(0deg) translate(0, 0);
  }
  35% {
    transform: scaleX(-1) rotate(-2.6deg) translate(5px, -3px);
  }
  70% {
    transform: scaleX(-1) rotate(1.6deg) translate(-2px, 2px);
  }
  100% {
    transform: scaleX(-1) rotate(-1.8deg) translate(3px, -2px);
  }
}

@media (max-width: 900px) {
  .lios-bf-store-hero__fronds {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Eyebrow: -- BLACK FRIDAY STORE SALE --
   -------------------------------------------------------------------------- */
.lios-bf-store-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.lios-bf-hero-break {
  display: block;
  content: "";
  margin-top: 6px;
}

.lios-bf-store-hero__eyebrow-line {
  display: inline-block;
  height: 2px;
  width: 44px;
  background: var(--lios-bf-navy-dark);
}

.lios-bf-store-hero__eyebrow-text {
  font-size: clamp(14px, 2.2vw, 20px);
  font-weight: 900;
  color: var(--lios-bf-navy-dark);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Massive 50% OFF Gold Banner with Hanging Sale Tag
   -------------------------------------------------------------------------- */
.lios-bf-store-hero__banner-wrap {
  position: relative;
  display: inline-block;
  margin: 6px auto 4px;
}

.lios-bf-store-hero__discount-banner {
  background: var(--lios-bf-gold-gradient);
  color: var(--lios-bf-navy-dark);
  font-size: clamp(48px, 8.5vw, 88px);
  font-weight: 900;
  line-height: 1;
  padding: 10px 40px;
  display: inline-block;
  letter-spacing: -1.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Hanging Animated Yellow Sale Tag */
.lios-bf-store-hero__sale-tag {
  position: absolute;
  bottom: -80px;
  right: -130px;
  width: 155px;
  height: auto;
  pointer-events: none;
  z-index: 10;
  transform-origin: 5% 15%;
  animation: liosTagSwayHero 4.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.lios-bf-store-hero__sale-tag img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes liosTagSwayHero {
  0% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(3deg);
  }
}

@media (max-width: 860px) {
  .lios-bf-store-hero__sale-tag {
    display: none !important;
  }
}

/* Subtitle: EVERYTHING */
.lios-bf-store-hero__everything {
  font-size: clamp(28px, 5.2vw, 56px);
  font-weight: 900;
  color: var(--lios-bf-navy-dark);
  letter-spacing: 5px;
  line-height: 1.15;
  margin: 6px 0 14px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.85);
}

/* Descriptive Value Lead */
.lios-bf-store-hero__lead {
  font-size: clamp(15px, 2vw, 19px);
  color: #1a2f4c;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.45;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   CTA Action Row & Coupon Code
   -------------------------------------------------------------------------- */
.lios-bf-store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.lios-bf-store-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lios-bf-navy-dark);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(7, 37, 77, 0.35);
  transition: all 0.25s ease;
}

.lios-bf-store-hero__cta-btn:hover {
  background: var(--lios-bf-blue);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(7, 37, 77, 0.45);
}

.lios-bf-store-hero__coupon-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 20px;
  border-radius: 6px;
  border: 1.5px dashed var(--lios-bf-blue);
  font-size: 14px;
  font-weight: 700;
  color: var(--lios-bf-navy-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lios-bf-store-hero__coupon-code {
  background: var(--lios-bf-gold);
  color: var(--lios-bf-navy-dark);
  font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Urgency Countdown Bar
   -------------------------------------------------------------------------- */
.lios-bf-store-hero__countdown-wrap {
  margin-bottom: 24px;
}

.lios-home .lios-bf-store-hero__countdown-card,
.lios-bf-store-hero__countdown-card {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px) !important;
  padding: 8px 22px !important;
  border-radius: 40px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
}

.lios-home .lios-bf-store-hero__countdown-label,
.lios-bf-store-hero__countdown-label {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #dc2626 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.lios-home .lios-bf-store-hero__countdown-timer,
.lios-bf-store-hero__countdown-timer {
  display: flex !important;
  align-items: flex-start !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lios-home .lios-bf-store-hero__time-unit,
.lios-bf-store-hero__time-unit {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lios-home .lios-bf-store-hero__time-val,
.lios-bf-store-hero__time-val {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: var(--lios-bf-navy-dark) !important;
  line-height: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" !important;
  font-family: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lios-home .lios-bf-store-hero__time-colon,
.lios-bf-store-hero__time-colon {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--lios-bf-navy-dark) !important;
  line-height: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 3px !important;
  margin: 0 !important;
  vertical-align: top !important;
  opacity: 0.9 !important;
}

.lios-home .lios-bf-store-hero__time-lbl,
.lios-bf-store-hero__time-lbl {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #506680 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  line-height: 1 !important;
  margin-top: 3px !important;
  padding: 0 !important;
}

/* --------------------------------------------------------------------------
   Category Quick Jump Pills
   -------------------------------------------------------------------------- */
.lios-bf-store-hero__jump-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.lios-bf-store-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(7, 37, 77, 0.9);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(7, 37, 77, 0.2);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.lios-bf-store-hero__pill:hover {
  background: var(--lios-bf-blue);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 78, 162, 0.35);
}

.lios-bf-store-hero__pill-tag {
  background: var(--lios-bf-gold);
  color: var(--lios-bf-navy-dark);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 12px;
  text-transform: uppercase;
}

.lios-bf-store-hero__pill-tag--red {
  background: #ef4444;
  color: #ffffff;
}

/* Topic Navigation Container below Hero */
.lios-bf-store-hero__topic-nav {
  margin-top: 28px;
}

@media (max-width: 600px) {
  .lios-home .lios-bf-store-hero,
  .lios-bf-store-hero {
    min-height: 440px;
    padding: 32px 14px 28px;
  }
  .lios-bf-store-hero__discount-banner {
    padding: 8px 24px;
  }
  .lios-bf-store-hero__cta-btn {
    width: 100%;
    text-align: center;
  }
  .lios-bf-store-hero__coupon-tag {
    width: 100%;
    justify-content: center;
  }
  .lios-bf-store-hero__countdown-card {
    padding: 6px 16px;
    gap: 10px;
  }
}
