/* DRAFT: Featured offers row (navy, white, green only) */
.featured{padding-top:20px}.featured h2{font-size:1.35rem;margin:0 0 12px;color:#0F2A44}
.fgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.fcard{border:1px solid #DDE3EA;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.fpic{position:relative;height:170px;background:#fff;border-bottom:1px solid #EEF2F6}
.fpic img{width:100%;height:100%;object-fit:contain;display:block}
.fpic img.flogo{position:absolute;left:10px;bottom:-18px;width:48px;height:48px;border-radius:10px;background:#fff;border:1px solid #DDE3EA;padding:4px;box-sizing:border-box;object-fit:contain}
.fbody{padding:26px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:1}
.fbrand{font-size:13px;color:#5B6B7B;margin:0}.ftitle{font-weight:700;font-size:15px;margin:0;color:#0F2A44}
.fcode{font-family:monospace;font-size:13px;border:1px dashed #0F2A44;border-radius:6px;padding:3px 8px;align-self:flex-start;color:#0F2A44;background:#fff}
.fsmall{font-size:11px;color:#5B6B7B;margin:0}
.frow{display:flex;gap:8px;margin-top:auto;padding-top:4px}
.fcp,.fgo{font-size:13px;white-space:nowrap;padding:6px 12px;border-radius:6px;text-decoration:none;line-height:1.3;cursor:pointer;font-family:inherit}
.fgo{background:#1E8E3E;color:#fff;font-weight:700;border:0}.fgo:hover{background:#17722F}
.fcp{background:#F5F5F7;color:#0F2A44;border:1px solid #DDE3EA}
.featured .aff-note{font-size:12px;color:#5B6B7B;margin:8px 0 0}
@media(max-width:760px){.fgrid{grid-template-columns:1fr 1fr;gap:10px}.fcp,.fgo{padding:6px 9px;font-size:12px}.ftitle{font-size:14px}.fpic{height:130px}}
/* Awin product picture on main offer cards / offer pages */
.ologo.opic,.opic{position:relative;background:#fff!important;display:block!important;padding:0!important;overflow:visible;border-bottom:1px solid #EEF2F6}
.card.offer .top.opic{height:170px;margin-bottom:18px}
.opic .ppic{width:100%;height:100%;object-fit:contain;display:block}
.opic .pbadge{position:absolute;left:10px;bottom:-18px;width:48px;height:48px;border-radius:10px;background:#fff;border:1px solid #DDE3EA;padding:4px;box-sizing:border-box;object-fit:contain;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#0F2A44;z-index:2}
.offer .top.opic::after{display:none}
.op-pic.opic{height:260px;border:1px solid #DDE3EA;border-radius:16px;margin-bottom:22px}
.rlist .offer .top.opic{height:auto;min-height:120px;margin-bottom:0}
@media(max-width:760px){.featured h3.ftitle{font-size:14px!important;line-height:1.25}.fbrand{font-size:12px}.fbody{padding:24px 10px 10px;gap:5px}.fpic{height:120px}.card.offer .top.opic{height:140px}}
.offer .top.opic::before{display:none!important}.opic .ppic{position:relative;z-index:1}
.op-pic.opic{height:300px!important;min-height:0!important;max-height:300px}.op-pic.opic .ppic{max-height:300px!important;width:100%!important;height:100%!important}
#live-results .lr-pic.opic{background:#fff}#live-results .lr-pic.opic .ppic{object-fit:contain}#live-results .lr-pic.opic .pbadge{width:40px;height:40px;left:8px;bottom:8px;top:auto;object-fit:contain}

/* non-Awin stock pictures fill the frame */
.opic .ppic[src*="/offers-pics/"],.op-card>.op-pic.opic .ppic[src*="/offers-pics/"],#live-results .lr-pic.opic .ppic[src*="/offers-pics/"]{object-fit:cover}


/* v451 fix4-1112 (Mark's direct yes, 12 Nov 2026 11:44): show the whole stock photo
   on offer cards instead of cropping its top and bottom. Only object-fit/position on
   /offers-pics/ photos changes; picture slot size, card shape, layout and order are unchanged.
   The white card shows in any spare space at the sides. */
html body article.offer .top.opic > img.ppic[src*="/offers-pics/"]:not(#f1):not(#f2):not(#f3):not(#f4):not(#f5):not(#f6),
html body .op-card > .op-pic.opic > img.ppic[src*="/offers-pics/"]:not(#f1):not(#f2):not(#f3):not(#f4):not(#f5):not(#f6),
html body #live-results .lr-pic.opic .ppic[src*="/offers-pics/"]:not(#f1):not(#f2):not(#f3):not(#f4):not(#f5):not(#f6){
  object-fit:contain!important;
  object-position:center center!important;
}

/* r4 preview: homepage Featured Copy code matches the standard header orange, card-scoped only.
   Does not change the site header or #results copy boxes. */
#featured-grid .fcard .aff-copy,
#featured-grid .fcard .fcp{
  background:#E8730C!important;
  border-color:#E8730C!important;
  color:#fff!important;
}

/* r4 preview: Featured / This week one-line slots — no ellipsis; JS fit-text shrinks the font
   in the fixed slot so the full honest name is visible. Heights stay unchanged. */
#featured-grid .fcard .fbrand,
#featured-grid .fcard .sells,
#hoffer article.fc-card > .fc-org > span:not(.fc-logo):not(.fc-ini),
#hoffer article.fc-card > p.sells{
  text-overflow:clip!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
