/* Offers hub, categories, page N and search (2026-11-25 redesign, user: a mix of two previews). of- = this page only.
   Hero: "Search First" (white, centred search, brand logos around it). Body: "Catalogue" (sticky sidebar, featured cards, rows).
   Program pages (program.php) keep programs.css. */

/* ---------- hero ---------- */
.of-hero{position:relative;overflow:hidden;margin:0 max(15px,calc((100% - 1770px) / 2));padding:56px 0 64px;border-radius:30px;background:linear-gradient(160deg,#F7F3FE 0%,#EEE7FB 100%);text-align:center}  /* 2026-11-25 (user): the same pale lavender panel as the Partners and Brands heroes */
.of-hero-in{position:relative;z-index:1;max-width:880px}
.of-hero h1{margin-top:16px;font-size:clamp(40px,4.6vw,66px);line-height:1.02;font-weight:800;letter-spacing:-.03em;text-wrap:balance}
.of-hero .h9-l2{color:var(--maroon)}
.of-h1-page{display:block;margin-top:10px;font-size:.4em;line-height:1.2;font-weight:700;letter-spacing:0;color:var(--body-text)}
.of-lead{max-width:680px;margin:22px auto 0;font-size:17px;line-height:1.65;color:var(--body-text)}
.of-search{position:relative;display:flex;align-items:center;max-width:700px;margin:34px auto 0;padding:8px 8px 8px 60px;border-radius:22px;background:#fff;text-align:left;box-shadow:0 0 0 1px rgba(86,38,196,.1),0 30px 60px -34px rgba(31,19,54,.5)}
.of-search > svg{position:absolute;left:24px;width:22px;height:22px;fill:none;stroke:#8A8F99;stroke-width:2;stroke-linecap:round}
.of-search input{flex:1;min-width:0;height:56px;border:0;background:none;font-size:17px;outline:0}
.of-search input::-webkit-search-cancel-button,.of-search input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}  /* our own clear button replaces the browser X (user) */
.of-search .btn{border-radius:15px}
/* the button turns into a square clear (X) button while the box has text (offers.js sets .is-clear and type="button") */
.of-go-x{display:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.of-search.is-clear .of-go{width:54px;padding-inline:0}
.of-search.is-clear .of-go-t{display:none}
.of-search.is-clear .of-go-x{display:block}
.of-search:focus-within{box-shadow:0 0 0 2px var(--maroon),0 30px 60px -34px rgba(31,19,54,.5)}
.of-status{min-height:22px;margin-top:12px;font-size:14px;line-height:22px;color:var(--body-text)}
.of-status a{margin-left:8px;color:var(--maroon);font-weight:700;text-underline-offset:3px}
.of-pop{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin-top:6px;font-size:15px;line-height:22px}
.of-pop span{color:var(--body-text)}
.of-pop a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:#C9B9EC;text-underline-offset:4px}
.of-pop a:hover{color:var(--maroon);text-decoration-color:currentColor}
.of-ring{position:absolute;inset:0;pointer-events:none}
.of-rl{position:absolute;display:grid;place-items:center;width:88px;height:88px;border-radius:24px;background:#fff;box-shadow:0 22px 40px -24px rgba(31,19,54,.45)}
.of-rl-in{display:grid;place-items:center;width:60px;height:60px;overflow:hidden;border-radius:14px}
.of-rl-in img{width:100%;height:100%;object-fit:contain}
.of-rl-1{left:7%;top:13%}.of-rl-2{left:15%;top:42%;width:72px;height:72px}.of-rl-3{left:4%;top:68%;width:76px;height:76px}.of-rl-4{left:17%;top:80%;width:64px;height:64px}
.of-rl-5{right:7%;top:12%}.of-rl-6{right:16%;top:40%;width:72px;height:72px}.of-rl-7{right:4%;top:66%;width:76px;height:76px}.of-rl-8{right:16%;top:81%;width:64px;height:64px}
.of-rl-2 .of-rl-in,.of-rl-6 .of-rl-in{width:48px;height:48px}.of-rl-4 .of-rl-in,.of-rl-8 .of-rl-in{width:42px;height:42px}
.mo .of-rl{animation:of-in .8s cubic-bezier(.2,.75,.25,1) both}
.mo .of-rl-2,.mo .of-rl-6{animation-delay:.15s}.mo .of-rl-3,.mo .of-rl-7{animation-delay:.3s}.mo .of-rl-4,.mo .of-rl-8{animation-delay:.45s}
@keyframes of-in{from{opacity:0;transform:scale(.85)}}
.pg-logo-txt{font-size:20px;font-weight:800;color:var(--maroon)}

/* ---------- catalogue: sticky sidebar beside featured cards and program rows ---------- */
.of-cat{padding:56px 0 88px;scroll-margin-top:90px}
.of-cat-g{display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px;align-items:start}
.of-side{position:sticky;top:96px;display:grid;grid-template-columns:minmax(0,1fr);gap:22px}  /* minmax(0) so the phone chip row scrolls instead of widening the page */
.of-side-h{margin-bottom:8px;font-size:14px;line-height:20px;font-weight:700;color:var(--ink)}
.of-cats ul{display:grid;gap:2px}
.of-cats a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;color:var(--body-text);font-size:15px;line-height:20px;text-decoration:none}
.of-cats a:hover{background:#F6F3FC;color:var(--ink)}
.of-cats a[aria-current]{background:#F0EAFB;color:var(--maroon);font-weight:700}
.of-dot{flex:none;width:10px;height:10px;border-radius:3px}
.of-dot--lilac{background:#B9A2EC}.of-dot--peach{background:#FFB08A}.of-dot--mint{background:#7FCFA8}.of-dot--sun{background:#FFC247}.of-dot--sky{background:#8EB8EA}.of-dot--all{background:var(--maroon)}
.of-side-join{padding:20px;border-radius:18px;background:#5626C4;color:#fff}
.of-side-join b{display:block;font-size:17px;line-height:23px}
.of-side-join p{margin-top:6px;font-size:14px;line-height:21px;color:#E5D5F7}
.of-side-join .btn{width:100%;margin-top:14px;padding:10px 18px;font-size:16px}
.of-btn-sun{background:#ffc247;border-color:#ffc247;color:#1F1336}
.of-btn-sun:hover{background:#ffd47a;border-color:#ffd47a;color:#1F1336}
.of-main{min-width:0;transition:opacity .2s}
.of-main[aria-busy="true"]{opacity:.55}
.of-h2{font-size:clamp(22px,2vw,28px);line-height:1.2;font-weight:700}
.of-feat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 52px}
.of-fc{display:flex;flex-direction:column;height:100%;padding:22px;border-radius:22px;color:var(--ink);text-decoration:none;transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s}
.of-fc:hover{transform:translateY(-3px);box-shadow:0 26px 50px -30px rgba(31,19,54,.5)}
.of-fc--peach{background:linear-gradient(155deg,#FFEDE3,#FFD3BE)}
.of-fc--mint{background:linear-gradient(155deg,#E8F6EF,#C8EAD9)}
.of-fc--lilac{background:linear-gradient(155deg,#F2ECFC,#E0D4F7)}
.of-fc-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:20px}
.of-fc-l{display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 16px 30px -18px rgba(31,19,54,.5)}
.of-fc-l img{width:100%;height:100%;object-fit:contain}
.of-fc b{font-size:21px;line-height:27px;font-weight:800}
.of-fc small{margin-top:2px;font-size:14px;color:#4A4F59}
.of-fc-d{margin:14px 0 20px;font-size:15px;line-height:23px;color:#3E434C}
.of-fc-go{display:inline-flex;align-items:center;gap:8px;margin-top:auto;font-weight:700;color:var(--maroon)}
.of-fc-go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.of-fc:hover .of-fc-go svg{transform:translateX(4px)}
.of-pay{flex:none;padding:5px 10px;border-radius:8px;background:#fff;color:#0b6a1f;font-style:normal;font-size:12.5px;line-height:16px;font-weight:700;white-space:nowrap}
.of-rows .of-pay{background:#E3F5EC}
.of-pay--rs,.of-rows .of-pay--rs{background:#F0EAFB;color:var(--maroon)}
.of-bar{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin-bottom:16px}
.of-bar p{font-size:15px;color:var(--body-text)}
.of-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.of-r{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 16px 12px 12px;border-radius:16px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 0 0 1px #EEEAF4;transition:box-shadow .2s,background-color .2s}
.of-r:hover{background:#FCFBFF;box-shadow:0 0 0 1px #D8CCF2}
.of-r-l{display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border-radius:13px;background:#fff;box-shadow:0 0 0 1px #EEEAF4}
.of-r-l img{width:100%;height:100%;object-fit:contain}
.of-r-n{min-width:0}
.of-r-n b{display:block;font-size:16px;line-height:21px;font-weight:700}
.of-r-n small{display:block;font-size:13px;line-height:18px;color:var(--body-text)}
.of-empty{margin-top:8px}
.pg-pager{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:36px}
.pg-pager a,.pg-pager span{display:grid;place-items:center;min-width:44px;height:44px;padding:0 14px;border-radius:12px;font-size:15px;font-weight:600;color:var(--ink);text-decoration:none;box-shadow:0 0 0 1px #EEEAF4}
.pg-pager a:hover{box-shadow:0 0 0 1px var(--maroon);color:var(--maroon)}
.pg-pager [aria-current]{background:var(--maroon);color:#fff;box-shadow:none}
.pg-pager [aria-disabled]{color:#B5B8BF}
.pg-pager .pg-pg-gap{box-shadow:none;min-width:20px;padding:0}

/* ---------- category pages: who should join, how to start (white, boxes on a pale tint) ---------- */
.of-fit{padding-top:0}
.of-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.of-box{padding:30px;border-radius:24px;background:#F8F5FD}
.of-box h2{font-size:22px;line-height:29px;font-weight:700}
.of-checks{display:grid;gap:12px;margin-top:18px}
.of-checks li{display:flex;gap:12px;font-size:16px;line-height:25px;color:var(--body-text)}
.of-ck svg{display:block;width:24px;height:24px;padding:5px;border-radius:50%;background:#fff;fill:none;stroke:var(--maroon);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;box-shadow:0 0 0 1px #E6E0F2}
.of-nums{display:grid;gap:14px;margin-top:18px;counter-reset:of}
.of-nums li{display:flex;gap:12px;font-size:16px;line-height:25px;color:var(--body-text);counter-increment:of}
.of-nums li::before{content:counter(of);flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--maroon);color:#fff;font-size:13px;font-weight:700}
.of-nums a{color:var(--maroon);font-weight:600}

/* ---------- hub: benefits panel, guide beside the FAQ (from the /offers-d1/ preview, user 2026-11-25) ---------- */
.of-t--lilac{background:linear-gradient(155deg,#F0EAFB,#DFD2F6)}
.of-t--peach{background:linear-gradient(155deg,#FFE9DD,#FFCDB6)}
.of-t--mint{background:linear-gradient(155deg,#E3F5EC,#C4E8D6)}
.of-t--sun{background:linear-gradient(155deg,#FFF6DA,#FFE7A8)}
.of-t--sky{background:linear-gradient(155deg,#E6F0FB,#CFE0F5)}
.of-why-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.of-why-g li{padding:10px 10px 26px;border-radius:22px;background:#fff;box-shadow:0 0 0 1px rgba(31,19,54,.05)}
.of-why-st{display:grid;place-items:center;min-height:170px;padding:18px;border-radius:15px}
.of-mini{display:grid;gap:8px;width:100%;max-width:220px;padding:14px;border-radius:13px;background:#fff;font-size:12.5px;line-height:17px;box-shadow:0 18px 36px -22px rgba(31,19,54,.45)}
.of-mini > b{font-size:13px}
.of-mini-row{display:grid;gap:6px}
.of-mini-row i{height:26px;border-radius:7px;background:#F4F2F8;box-shadow:inset 0 0 0 1px #ECE8F3}
.of-mini-btn{padding:7px;border-radius:30px;background:var(--maroon);color:#fff;text-align:center;font-weight:700}
.of-mini-code{padding:7px 9px;border-radius:8px;background:#F4F2F8;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11.5px}
.of-mini-ok{display:flex;align-items:center;gap:6px;color:#0b6a1f;font-weight:700}
.of-mini-ok svg{width:16px;height:16px;padding:3px;border-radius:50%;background:#d1fae5;fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.of-mini-kpi{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.of-mini-kpi span{padding:8px;border-radius:8px;background:#F4F2F8;font-size:17px;font-weight:800}
.of-mini-kpi small{display:block;font-size:11px;font-weight:500;color:#5B6170}
.of-mini-amt{font-size:24px;line-height:28px;font-weight:800;letter-spacing:-.02em}
.of-mini small{color:#5B6170}
.of-why-g h3{margin:20px 10px 0;font-size:19px;line-height:25px;font-weight:700}
.of-why-g p{margin:8px 10px 0;font-size:15.5px;line-height:24px;color:var(--body-text)}

.of-learn-g{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px 88px;align-items:start}
.of-choose h2{margin-top:14px}
.of-choose p:not(.eyebrow){margin-top:18px;font-size:17px;line-height:28px;color:var(--body-text)}
.of-faq-h{margin-bottom:8px;font-size:22px;line-height:28px;font-weight:700}

/* ---------- close: centred, amber circle low left, one ring ---------- */
.of-join{position:relative;isolation:isolate;overflow:hidden;margin-bottom:15px;padding:88px 0;background:#5626C4;color:#fff;text-align:center}
.of-join-deco{position:absolute;inset:0;z-index:-1;pointer-events:none}
.of-join-orb{position:absolute;left:-120px;bottom:-190px;width:420px;height:420px;border-radius:50%;background:linear-gradient(160deg,#FFB020,#FF8A1F)}
.of-join-ring{position:absolute;right:-180px;top:-240px;width:560px;height:560px;border-radius:50%;border:1.5px solid rgba(255,255,255,.22)}
.of-join h2{margin-top:14px;font-size:clamp(34px,4vw,56px);line-height:1.04;font-weight:800;letter-spacing:-.03em}
.of-join h2 span{color:#E5D5F7}
.of-join-lead{max-width:520px;margin:18px auto 0;font-size:18px;line-height:1.6;color:#F1E8FB}
.of-join .btn{margin-top:30px}

/* ---------- responsive ---------- */
@media (max-width:1280px){.of-rl{display:none}}
@media (max-width:1180px){
  .of-feat{grid-template-columns:repeat(2,minmax(0,1fr))}
  .of-feat li:nth-child(3){display:none}
  .of-rows{grid-template-columns:minmax(0,1fr)}
  .of-why-g{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1024px){
  .of-learn-g,.of-two{grid-template-columns:minmax(0,1fr)}
  .of-cat-g{grid-template-columns:minmax(0,1fr);gap:28px}
  .of-side{position:static}
  .of-cats ul{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--gut));padding:0 var(--gut)}
  .of-cats ul::-webkit-scrollbar{display:none}
  .of-cats a{flex:none;white-space:nowrap;background:#F6F3FC}
  .of-side-join{display:none}
  .of-rows{grid-template-columns:repeat(2,minmax(0,1fr))}
  .of-feat{grid-template-columns:repeat(3,minmax(0,1fr))}
  .of-feat li:nth-child(3){display:block}
}
@media (max-width:767px){
  .of-hero{padding:36px 0 40px;border-radius:20px}
  .of-cat{padding-top:36px}
  .of-hero h1{font-size:38px;line-height:1.06}
  .of-lead{font-size:16px;line-height:26px}
  .of-search{padding:6px 6px 6px 46px;border-radius:18px}
  .of-search > svg{left:16px}
  .of-search input{height:48px;font-size:16px}
  .of-search .btn{padding:10px 16px;font-size:15.5px}
  .of-search.is-clear .of-go{width:50px;padding-inline:0}
  .of-feat{display:flex;gap:12px;margin:14px calc(-1 * var(--gut)) 40px;padding:0 var(--gut) 6px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);scrollbar-width:none}
  .of-feat::-webkit-scrollbar{display:none}
  .of-feat li{flex:0 0 82%;scroll-snap-align:start}
  .of-rows{grid-template-columns:minmax(0,1fr)}
  .of-box{padding:22px}
  .of-why-g{display:flex;gap:12px;margin:0 calc(-1 * var(--gut));padding:0 var(--gut) 6px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);scrollbar-width:none}
  .of-why-g::-webkit-scrollbar{display:none}
  .of-why-g li{flex:0 0 80%;scroll-snap-align:start}
  .of-join{padding:56px 0}
  .of-join-orb{width:240px;height:240px;left:-100px;bottom:-120px}
}
@media (max-width:480px){.of-search .btn{display:none}.of-search{padding-right:16px}.of-search.is-clear .btn{display:inline-flex}.of-search.is-clear{padding-right:6px}}  /* results update as you type, so phones get the full width */
