/* Black Friday case study page */
.bf-hero{
  padding:78px 0 54px;
  background:
    radial-gradient(circle at 80% 20%,rgba(0,103,255,.13),transparent 34%),
    linear-gradient(135deg,#EAF8FF 0%,#F8FBFF 48%,#fff 100%);
}

.bf-hero-inner{
  max-width:1120px;
}

.back-link{
  display:inline-flex;
  margin-bottom:24px;
  text-decoration:none;
  color:#0067FF;
  font-weight:800;
}

.bf-hero .eyebrow{
  margin-bottom:16px;
}

.bf-hero h1{
  max-width:980px;
  margin:0;
  font-size:clamp(44px,5vw,78px);
  line-height:1.02;
}

.bf-article-section{
  padding:52px 0 86px;
}

.bf-layout{
  display:grid;
  grid-template-columns:280px minmax(0, 920px);
  gap:44px;
  align-items:start;
  justify-content:center;
}

.bf-toc{
  position:sticky;
  top:100px;
}

.bf-toc-card{
  padding:22px;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 14px 34px rgba(7,17,39,.06);
}

.bf-toc-card strong{
  display:block;
  margin-bottom:14px;
  font-family:Inter,Arial,sans-serif;
  color:var(--dark);
  font-size:18px;
}

.bf-toc-card a{
  display:block;
  padding:10px 0;
  text-decoration:none;
  color:#607086;
  font-size:15px;
  font-weight:700;
  border-top:1px solid #EEF3FA;
}

.bf-toc-card a:hover{
  color:#0067FF;
}

.bf-article{
  min-width:0;
}

.bf-article h2{
  margin:52px 0 18px;
  font-size:clamp(30px,3vw,44px);
  line-height:1.08;
  font-weight:900;
}

.bf-article h3{
  margin:38px 0 14px;
  font-size:26px;
  line-height:1.15;
}

.bf-article h4,
.bf-article h5,
.bf-article h6{
  margin:30px 0 12px;
}

.bf-article p{
  margin:0 0 20px;
  color:#253248;
  font-size:18px;
  line-height:1.78;
}

.bf-article .bf-label{
  display:inline-flex;
  margin:22px 0 12px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(0,103,255,.08);
  color:#0067FF;
  font-size:14px;
  line-height:1.3;
  font-weight:850;
}

.bf-figure,
.bf-image-grid{
  margin:28px 0 34px;
}

.bf-figure img,
.bf-image-grid img{
  width:100%;
  border-radius:22px;
  border:1px solid #E4ECF7;
  box-shadow:0 18px 52px rgba(7,17,39,.09);
  background:#fff;
}

.bf-figure figcaption,
.bf-image-grid figcaption{
  margin-top:9px;
  color:#7A8798;
  font-size:13px;
  text-align:center;
}

.bf-image-grid{
  display:grid;
  gap:18px;
}

.bf-grid-2{
  grid-template-columns:repeat(2,1fr);
}

.bf-grid-3{
  grid-template-columns:repeat(3,1fr);
}

.bf-final-cta{
  margin:56px 0 0;
  padding:34px;
  border-radius:30px;
  background:
    radial-gradient(circle at 85% 20%,rgba(255,255,255,.24),transparent 34%),
    linear-gradient(135deg,#0067FF,#004EC4);
  color:white;
  text-align:center;
  box-shadow:0 22px 70px rgba(0,103,255,.24);
}

.bf-final-cta p{
  margin:0 0 20px;
  color:white;
  font-family:Inter,Arial,sans-serif;
  font-size:28px;
  font-weight:900;
  line-height:1.2;
}

.bf-final-cta .btn{
  background:#fff;
  color:#0067FF;
}

@media(max-width:1100px){
  .bf-layout{
    grid-template-columns:1fr;
  }

  .bf-toc{
    position:relative;
    top:auto;
  }

  .bf-toc-card{
    display:none;
  }
}

@media(max-width:820px){
  .bf-hero{
    padding:44px 0 34px;
  }

  .bf-hero h1{
    font-size:38px;
  }

  .bf-article-section{
    padding:34px 0 56px;
  }

  .bf-article h2{
    margin:38px 0 14px;
    font-size:29px;
  }

  .bf-article h3{
    font-size:23px;
  }

  .bf-article p{
    font-size:16px;
    line-height:1.68;
  }

  .bf-image-grid,
  .bf-grid-2,
  .bf-grid-3{
    grid-template-columns:1fr;
  }

  .bf-figure,
  .bf-image-grid{
    margin:22px 0 28px;
  }

  .bf-figure img,
  .bf-image-grid img{
    border-radius:16px;
  }

  .bf-final-cta{
    padding:28px 18px;
    border-radius:24px;
  }

  .bf-final-cta p{
    font-size:24px;
  }
}

/* Hide technical image filenames */
.bf-figure figcaption,
.bf-image-grid figcaption{
  display:none!important;
}
