/* Temporary Black Friday Craft-a-Thon campaign (November 27–28, 2026).
   Remove this stylesheet with the campaign templates and route. */

.bf-promo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bf-promo-frame {
  position: relative;
  display: block;
  width: 100%;
  container-type: inline-size;
}

.bf-poster {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.btn.bf-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  max-width: 100%;
  padding: 0.95rem 2.1rem;
  font-size: 1.5rem;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  vertical-align: middle;
}

/* The open band between the date line and the creator row is centered at
   about 66% of the poster height. Keep the button there while the band is
   tall enough to hold it; otherwise place the button under the image. */
@container (min-width: 720px) {
  .btn.bf-promo-cta {
    position: absolute;
    left: 50%;
    top: 66.1%;
    transform: translate(-50%, -50%);
    z-index: 1;
    margin-top: 0;
    padding: 1.15rem 3.25rem;
    font-size: 2rem;
    max-width: calc(100% - 2rem);
    white-space: nowrap;
  }
}

.bf-wordmark {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.5rem auto 0;
}

.bf-hero-cta {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.btn.bf-intro-cta {
  padding: 1.2rem 3.6rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.bf-intro p {
  margin-bottom: 0.85rem;
}

.bf-program {
  max-width: 1000px;
  margin-inline: auto;
}

.bf-day {
  display: inline-block;
  margin: 0;
  padding-bottom: 0.15rem;
  border-bottom: 8px solid #ffa7e4;
  border-radius: 4px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
}

.bf-day-heading {
  margin: 2.75rem 0 0.35rem;
}

.bf-day-heading-later {
  margin-top: 4.25rem;
}

.bf-session {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.35rem 0;
}

.bf-session + .bf-session {
  border-top: 1px solid #e6e6e6;
}

.bf-session-media {
  flex: 0 0 auto;
}

.bf-session-media img,
.bf-session-placeholder {
  display: block;
  width: 140px;
  height: auto;
}

.bf-session-placeholder {
  aspect-ratio: 162 / 217;
  border-radius: 16px;
  background: #f3f3f3;
  color: #444;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bf-session-time {
  margin: 0 0 0.25rem;
  color: #6b6b6b;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.bf-session-title {
  margin: 0 0 0.4rem;
  color: #1a1a1a;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.bf-session-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .bf-promo {
    margin-bottom: 1.5rem;
  }

  .bf-wordmark {
    margin-top: 1.5rem;
  }

  .bf-hero-cta {
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
  }

  .btn.bf-intro-cta {
    padding: 1rem 1.75rem;
    font-size: 1.35rem;
  }

  .bf-day {
    font-size: 1.6rem;
  }

  .bf-session {
    gap: 0.85rem;
    padding: 1.05rem 0;
  }

  .bf-session-media img,
  .bf-session-placeholder {
    width: 88px;
  }

  .bf-session-title {
    font-size: 1.125rem;
  }
}
