/* Sitewide short sells line under brand (preview 9 Nov 2026)
   Desktop /offers: take sells out of flow so card shells match live
   exactly; reserve a band inside deal1 so the line stays readable.
   Exception: the 3 live cards that already ship with in-flow sells
   (parking x2, tinylux-bwc2) keep their live layout untouched. */

html body article.fcard .sells,
html body article.fc-card .sells,
html body #intl-grid article.card.offer .sells,
html body #results.grid article.card.offer:not([data-offer="awin-compareparking-big15"]):not([data-offer="awin-beeparking-beesuperaw"]):not([data-offer="awin-tinylux-bwc2"]) .sells,
html body article.card.offer:not([data-offer="awin-compareparking-big15"]):not([data-offer="awin-beeparking-beesuperaw"]):not([data-offer="awin-tinylux-bwc2"]) .sells{
  margin:0!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#5B6B7B!important;
  font-weight:400!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:100%!important;
}
@media (max-width:700px){
  html body article.card.offer .sells,
  html body article.fcard .sells,
  html body article.fc-card .sells,
  html body #intl-grid article.card.offer .sells{
    font-size:12px!important;line-height:15px!important;height:15px!important;max-height:15px!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
}


/* Live already ships in-flow sells on these 3 cards — match live typography
   (12px / 16.2lh) so parking stays 1 line and tinylux wraps to 2 like live. */
html body #results.grid article.card.offer[data-offer="awin-compareparking-big15"] .sells,
html body #results.grid article.card.offer[data-offer="awin-beeparking-beesuperaw"] .sells,
html body #results.grid article.card.offer[data-offer="awin-tinylux-bwc2"] .sells{
  margin:0!important;
  font-size:12px!important;
  line-height:16.2px!important;
  color:#5B6B7B!important;
  font-weight:400!important;
}

/* Desktop: keep live card shells. Sells fits inside — do not grow the box. */
@media (min-width:701px){
  /* Featured — live 326×409 */
  html body .featured article.fcard{
    height:409px!important;
    max-height:409px!important;
    overflow:hidden!important;
  }
  html body .featured article.fcard:has(.sells) .fsmall{
    max-height:16.8px!important;
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:1!important;
  }
  html body .featured article.fcard:has(.sells) .frow{
    margin-top:13.5px!important;
  }

  /* Weekly band — live 326×449.1 */
  html body #hoffer .of-cards > article.fc-card,
  html body #hoffer article.fc-card{
    height:449px!important;
    max-height:449px!important;
    overflow:hidden!important;
  }
  html body #hoffer article.fc-card:has(.sells) > p:not(.sells):not(.fc-close):not(.u-brand){
    max-height:19.5px!important;
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:1!important;
  }
  html body #hoffer article.fc-card:has(.sells) > .fc-org{
    margin-bottom:14px!important;
  }

  /* /offers — absolute sells (static position) = zero layout growth.
     Skip the 3 cards that already have in-flow sells on live. */
  html body #results.grid article.card.offer.u-off:not(#o1):not(#o2):not(#o3):has(.sells):not([data-offer="awin-compareparking-big15"]):not([data-offer="awin-beeparking-beesuperaw"]):not([data-offer="awin-tinylux-bwc2"]) > .body{
    position:relative!important;
  }
  html body #results.grid article.card.offer.u-off:not(#o1):not(#o2):not(#o3):has(.sells):not([data-offer="awin-compareparking-big15"]):not([data-offer="awin-beeparking-beesuperaw"]):not([data-offer="awin-tinylux-bwc2"]) > .body > .sells{
    position:absolute!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    height:16.2px!important;
    max-height:16.2px!important;
    margin:0!important;
    background:#fff!important;
    z-index:2!important;
    box-sizing:border-box!important;
  }
  /* bwc-amt deals are live 52px */
  html body #results.grid article.card.offer.u-off:not(#o1):not(#o2):not(#o3):has(.sells):not([data-offer="awin-compareparking-big15"]):not([data-offer="awin-beeparking-beesuperaw"]):not([data-offer="awin-tinylux-bwc2"]) > .body > .deal1.bwc-amt{
    padding-top:16.2px!important;
    box-sizing:border-box!important;
    height:52px!important;
    max-height:52px!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  /* plain deal1 (no bwc-amt) are live 47.8px */
  html body #results.grid article.card.offer.u-off:not(#o1):not(#o2):not(#o3):has(.sells):not([data-offer="awin-compareparking-big15"]):not([data-offer="awin-beeparking-beesuperaw"]):not([data-offer="awin-tinylux-bwc2"]) > .body > .deal1:not(.bwc-amt){
    padding-top:16.2px!important;
    box-sizing:border-box!important;
    height:47.8px!important;
    max-height:47.8px!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  /* Intl — approved new band; match weekly shell 449 */
  html body #intl-grid article.card.offer.u-off:not(#o1):not(#o2):not(#o3):has(.sells) > .body{
    position:relative!important;
  }
  html body #intl-grid article.card.offer.u-off:not(#o1):not(#o2):not(#o3) > .body > .sells{
    position:absolute!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    height:16.2px!important;
    max-height:16.2px!important;
    margin:0!important;
    background:#fff!important;
    z-index:2!important;
    box-sizing:border-box!important;
  }
  html body #intl-grid article.card.offer.u-off:not(#o1):not(#o2):not(#o3):has(.sells) > .body > .deal1.bwc-amt{
    padding-top:16.2px!important;
    box-sizing:border-box!important;
    height:52px!important;
    max-height:52px!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  html body #intl-grid article.card.offer.u-off:not(#o1):not(#o2):not(#o3):has(.sells) > .body > .deal1:not(.bwc-amt){
    padding-top:16.2px!important;
    box-sizing:border-box!important;
    height:47.8px!important;
    max-height:47.8px!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  html body #intl-grid > article.card.offer{
    height:449px!important;
    max-height:449px!important;
    overflow:hidden!important;
  }
}
