/* WithFeeling case study template (24 Nov 2026, preview). Markup from tools/cs_template.py.
   Black band: tag, title, film, facts, audio. White band: the story with labels. Phone first. */
.wfc,.wfc-story{font-family:Poppins,-apple-system,sans-serif;box-sizing:border-box}
.wfc *,.wfc-story *{box-sizing:border-box}
/* full bleed: break out of the theme container at every width */
.wfc,.wfc-story{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;position:relative}
body.single-portfolio{overflow-x:clip}
.wfc{background:#000;color:#fff;padding:96px 0 40px}
.wfc p,.wfc h1,.wfc dl,.wfc dd,.wfc-story p,.wfc-story h2,.wfc-story h3{margin:0;padding:0}

.wfc__head{padding:0 20px 24px;display:grid;grid-template-columns:1fr;grid-template-areas:"logo" "tag" "title"}
.wfc__tag{grid-area:tag}
.wfc__title{grid-area:title}
.wfc__logo{grid-area:logo;display:block;width:calc(var(--lw,280px) * .62)!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain;object-position:left center;margin:0 0 28px!important}
.wfc__tag{font-size:11px!important;line-height:16px!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.wfc__tag a{color:#24A1DE!important;text-decoration:none!important}
body .wfc .wfc__title{font-family:Poppins,sans-serif!important;font-size:36px!important;line-height:36px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:-.01em;color:#fff!important;margin-top:8px!important}

.wfc__film{margin:0}                       /* full bleed on a phone */
body .wfc__film .wf-cs,body .wfc__film .wf-cs__frame-wrap{border-radius:0!important;clip-path:none!important}

.wfc__info{padding:0 20px}
.wfc__facts{margin:24px 0 0!important;border-top:1px solid rgba(255,255,255,.14)}
.wfc__facts>div{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.wfc__facts dt{font-size:11px;line-height:22px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.wfc__facts dd{font-size:15px;line-height:22px;font-weight:600;color:#fff}
.wfc__facts a{color:#fff!important;text-decoration:none!important;background-image:linear-gradient(#24A1DE,#24A1DE);background-size:100% 2px;background-repeat:no-repeat;background-position:0 100%}
.wfc__facts a:hover{color:#24A1DE!important}
.wfc__facts a span{display:block;font-weight:400;color:rgba(255,255,255,.6);font-size:13px;line-height:20px}
.wfc__facts dd a:has(span){background-image:none}
.wfc__facts i{font-style:normal;margin-left:4px;color:#24A1DE}
.wfc__listen{margin-top:32px}
.wfc__listen .wfa{margin:0;background:#111;border:1px solid rgba(255,255,255,.08)}

.wfc-story{background:#fff;color:#0a0a0a;padding:56px 20px 64px}
body .wfc-story .wfc-story__h{font-family:Poppins,sans-serif!important;font-size:24px!important;line-height:28px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:-.005em;color:#0a0a0a!important;max-width:680px}
.wfc-story__part{margin-top:40px}
body .wfc-story .wfc-story__label{font-family:Poppins,sans-serif!important;font-size:11px!important;line-height:16px!important;font-weight:700!important;letter-spacing:.14em;text-transform:uppercase;color:#0a0a0a!important;padding-top:12px!important;position:relative}
.wfc-story__label:before{content:"";position:absolute;left:0;top:0;width:32px;height:4px;background:#24A1DE}
.wfc-story__text{margin-top:12px}
.wfc-story__text p{font-size:17px!important;line-height:28px!important;color:#3a3a3a!important;font-weight:400}
.wfc-story__text p+p{margin-top:20px!important}
.wfc-story__text em{font-style:normal;font-weight:700;color:#0a0a0a}

@media (min-width:1000px){
  .wfc{padding:160px 0 96px}
  .wfc__head,.wfc__film,.wfc__info{max-width:1200px;width:calc(100% - 96px);margin-left:auto;margin-right:auto}
  .wfc__head{padding:0 0 32px;grid-template-columns:1fr auto;grid-template-areas:"tag logo" "title logo";column-gap:48px;align-items:end}
  .wfc__logo{width:var(--lw,280px)!important;margin:0 0 6px!important;object-position:right bottom;justify-self:end}
  .wfc__tag{font-size:13px!important}
  body .wfc .wfc__title{font-size:80px!important;line-height:76px!important;margin-top:12px!important}
  body .wfc__film .wf-cs,body .wfc__film .wf-cs__frame-wrap{border-radius:6px!important;clip-path:inset(0 round 6px)!important}
  .wfc__info{padding:0;display:grid;grid-template-columns:360px 1fr;gap:64px;align-items:start;margin-top:48px}
  .wfc__facts{margin:0!important}
  .wfc__facts>div{grid-template-columns:112px 1fr;padding:16px 0}
  .wfc__facts dd{font-size:16px}
  .wfc__listen{margin-top:0}

  .wfc-story{padding:120px 0 128px}
  .wfc-story>*{max-width:1200px;width:calc(100% - 96px);margin-left:auto;margin-right:auto}
  body .wfc-story .wfc-story__h{font-size:44px!important;line-height:48px!important;max-width:1200px;width:calc(100% - 96px);margin:0 auto!important;padding-left:clamp(224px,calc(100% - 744px),304px)!important}
  .wfc-story__part{display:grid;grid-template-columns:minmax(160px,240px) minmax(0,680px);gap:64px;margin-top:64px;align-items:start}
  .wfc-story__label{position:sticky!important;top:120px}
  .wfc-story__text{margin-top:-6px}
  .wfc-story__text p{font-size:19px!important;line-height:32px!important}
}
@media (min-width:2200px){.wfc,.wfc-story{zoom:1.5}}
@media (min-width:3200px){.wfc,.wfc-story{zoom:2}}

/* extra media inside the story: second films, SoundCloud / Spotify embeds, images, quotes */
.wfc-story__media{margin:24px 0!important;max-width:100%}
.wfc-story__text>.wfc-story__media:first-child{margin-top:0!important}
.wfc-story__media .wf-cs{width:100%!important;max-width:100%!important;margin:0!important}
body .wfc-story__media .wf-cs,body .wfc-story__media .wf-cs__frame-wrap{border-radius:6px!important;clip-path:inset(0 round 6px)!important}
.wfc-story__media iframe{display:block;width:100%!important;max-width:100%!important;border:0}
.wfc-story__media img{display:block;max-width:100%!important;height:auto!important}
.wfc-story__media blockquote{margin:0!important;padding:0 0 0 20px!important;border-left:4px solid #24A1DE;font-size:19px;line-height:30px;color:#0a0a0a;font-weight:600}
.wfc-story__media blockquote p{color:#0a0a0a!important;font-weight:600}
.wfc-story__media ul,.wfc-story__media ol{margin:0 0 0 20px!important;font-size:17px;line-height:28px;color:#3a3a3a}
body .wfc-story .wfc-story__cap{font-size:11px!important;line-height:16px!important;font-weight:700!important;letter-spacing:.14em;text-transform:uppercase;color:#0a0a0a!important;margin:-12px 0 24px!important}
/* runs of logos / stills (Atheel Recognition): a tidy grid instead of a tall stack */
.wfc-story__text:has(.wfc-story__media+.wfc-story__media>img){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
.wfc-story__text:has(.wfc-story__media+.wfc-story__media>img)>p{grid-column:1/-1}
.wfc-story__text:has(.wfc-story__media+.wfc-story__media>img)>.wfc-story__media{margin:8px 0!important}
.wfc-story__text:has(.wfc-story__media+.wfc-story__media>img) .wfc-story__media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}
@media (min-width:1000px){.wfc-story__text:has(.wfc-story__media+.wfc-story__media>img){grid-template-columns:repeat(3,minmax(0,1fr))}}

/* the old pieces this template replaces */
.wf-rel-sub{display:none!important}
